pushing Music.apk from CM 5.0.8 to froyo? - Nexus One Q&A, Help & Troubleshooting

Hey guys, in desperate attempt to getting the FLAC files to work on my phone i would like to ask if pushing libFLAC to lib and the music.apk from CM 5.0.8 to my froyo would allow me to play FLAC?
Has anyone managed to get it working? A little advice or help here please ! THANKS !
PS: Waiting eagerly for CM's Froyo!

Given that the music player doesn't actually do the playing (it just calls into the framework) I seriously doubt it.
In general, any codec addition require changes to the framework, which may tie it to a new kernel (if the new framework requires kernel features) which often requires new drivers (that are sometimes binary blobs) etc etc.

the music player from CM 5.0.8 is the one i modded, you can find it at:
http://development.piratemedia.tv
however the flac codec is not part of the player as SilentMobius rightly said, the codecs for audio play back are in the phone framework, and as froyo source isnt currently available there not much we can do about this at the current time.
Eliot

Ok i get it guys. well hope google releases the froyo like tmr! and cachinjection i love your music mod man! ITS AWESOME! maybe you could cook up smth with the video player too! cheers!

Related

Possible to port HTC Music.apk to Android 2.1?

is it possible to port the HTC Music player from Sense 2.1 to a vanilla Android 2.1 such as Cannon, Open Eclair, etc?
i'm guessing changes need to be made to the build.trout and sapphire.prop files...
I'd say it is possible. Whatever works on 1.6 will also work on newer versions of Android (i guess)
But the HTC music widget is checking the build.prop and so on. Maybe that could somehow be disabled?
You can also just take an htc sense 2.1 dump
Maybe the framework from semse can be taken like it was possible in 1.5 roms?
that's what i was thinking as well. can't really do anything at the moment since i'm at work.
It's gonna be the same as the 1.5 version, framework problems and things that need to be ported, not a direct drop and edit a few text files.
bump thread
I would love to have htc music app on a 2.1 rom
It's a lot of changing in the framework and then a simple push of the Music.apk file. Unfortunately changing framework from source is complex and not for beginners.
We might have better luck using the music.apk from the MT3G LE since it's very similiar (if not identical) and it already works on 1.6. Haven't tried it though.
That's the thing, you can't do it like that because of the closed source HTC framework.
evilkorn said:
That's the thing, you can't do it like that because of the closed source HTC framework.
Click to expand...
Click to collapse
From the LE yes, but from Hero, no. It's been done for a few Cyanogen ROM versions... but it's old (I think back in early 4.0 days).
I have my HTC Magic and before I upgraded I could add songs to the now playing list before the current song finished playing. So I could make a song/album play after the current one was done. After I did the upgrade to the latest ROM I cannot add songs to the play queue and that sucks.
I have tried Mixzing and I can add to now playing, but it adds them at the end and I can't move them.
Like if I have 10 songs in my list and am on #5 when I add a song it becomes #11, sometimes I want it to be #6 (Play right after the current song). I cannot change the order of the play list. On the new ROM's default player I can but there's no point if I can't even add songs to it. All I can do it take an album and add it to Now Playing, if I want to hear a song from a different album then I have to clear the list and change it to that album...
Does anyone have a copy of the old HTC Music that lets you add songs to now playing, and if not does anyone know a Music app that lets you add songs to now playing and change the order of the play queue. I cannot beleive there aren't any apps to do this, I searched the market and google for Music players and not one does this...

[Patch] 32m Heap Size, + True Streaming Audio Fix

http://adrynalyne.stfuthxbye.net/n_patches/stagefright2.zip
So far, I have been given the thumbs up on this. I compiled it earlier today from aosp.
You can read about the fix here:
android.git.kernel.org Git - platform/frameworks/base.git/commit
This should work for any Froyo leak 2 based rom. Make a Nandroid backup, of course. If using on any other rom, use the patch from the SECOND post (and revert build.prop changes to stagefright stuff, if you made them).
Phone neutral Froyo patch:
http://adrynalyne.stfuthxbye.net/test_patches/stagefright.zip
Tested on Droid Incredible and Moto Droid.
thanks adrynalyne
Thanks much appreciated
So only changes are audio and heap size?
Just loaded it. Thanks
Right. The second post has just audio changes.
Thanks for this!
Is this built into any of your roms yet?
Its only been out 30 minutes.
Thanks a lot adrynalyne.
Thank you sir. your work is really appreciated.
Edit: should I say: your works are really appreciated.
So froyo roms based on the first leak is second post while froyo roms based on latest leak is first post? Just want to clarify
Sent from my Incredible using XDA App
Yes. Also, if you made any changes to your stagefright stuff in your build.prop, you need to change it back.
WOW!!!
-first test: 64kbps AAC+ songs on my internal memory using stock HTC music player sound like they used to sound on 2.1. patch seems to work.
-second test: XiiaLive still won't play my AAC+ streams. i think this is the app blocking all AAC+ streams to 2.2 phones. is there a way to trick the app into thinking im on 2.1? can i simply alter the build prop to accomplish this?
-third test: Pandora over 3g sounds just as crappy as it normally did on 2.1. lets face it, pandora's sound quality isn't anywhere near audiophile quality. it definitely no longer sounds broken though, so the patch works.
-fourth test: Slacker radio no longer sounds broken either, on 3g it sounds just as crappy as it did on 2.1. it's not audiophile quality either, but it's not broken. patch seems to work.
i got one more app to test.
EDIT:
test five: MOG will play roughly 2:15 of a song and then skip to the next. this sucks because i pay $10 a month for this app and i really like it. i am thinking this is a problem with the app though. seems as though it doesn't like 2.2 and the whole stagefright thing.
adrynalyne said:
http://adrynalyne.stfuthxbye.net/n_patches/stagefright2.zip
This should work for any Froyo leak 2 based rom. Make a Nandroid backup, of course. If using on any other rom, use the patch from the SECOND post (and revert build.prop changes to stagefright stuff, if you made them).
Click to expand...
Click to collapse
Stagefright? Newbie here again! Do I need this for my music? Pandora? Radio? I'm running the aiccucs 2.2 lite.
cooksalot said:
Stagefright? Newbie here again! Do I need this for my music? Pandora? Radio? I'm running the aiccucs 2.2 lite.
Click to expand...
Click to collapse
Stagefright is the media framework that Google included in Android 2.2. All media apps use it to decode music. So, yes, you do need it if you've been affected by the audio bug.
Mr. Spontaneous said:
Stagefright is the media framework that Google included in Android 2.2. All media apps use it to decode music. So, yes, you do need it if you've been affected by the audio bug.
Click to expand...
Click to collapse
As it all that static and jumpieness (don't think that's a real word) in the music? OK will do. Thanks!
Thank You!!
Slacker appears to sound better (won't know for sure until I'm in the car), but twice now a song has ended prematurely. I don't know at what time marks, but I'm watching more closely now. Also, I'm testing streaming currently over 3G and will be testing cached stations in a bit.
Unfortunately, the last two songs have played to completion. Fortunate, actually, but making me watch music times even longer. Ah well, it's all in the name of science! My boss will understand!

Motorola xoom sound problem

I have been using Motorola xoom since last 6 month. Initially it was running on Honeycomb but later on i upgraded it to the ICS 4.0.4. When it was running on Honeycomb i could play audio files on some websites very well( like online news, live audio from FM stations etc). Flash player was also installed on it by default. After i upgrade it to the ics 4.0.4, i downloaded flash player from adobe archive page and installed the latest one " Flash player 11.1 for Android 4.0(11.1.115.27) . Now i can play such kind of audio files but after few minutes i hear annoying noisy sound which even becomes worse afterward. It has been a permanent problem, few minutes running very well and afterward making noise. I would like to know any techniques to get rid of it. Can i still go back to honeycomb version without losing its performance. Is there any other solution to that. Waiting for reply.

[Q] Looking for a media playing ROM for the Galaxy Ace

Hello! I am not new to the concept of modifying my Galaxy Ace. However, I switched to an HTC 8x. Because xbox music is such a pain to deal with and because Android is still my favorite, I've decided to keep my Ace, even though I won't be using it for anything but browsing and music. I'm looking for a stable ROM that plays media smoothly. I'm not looking for ICS, I really don't care what it looks like. Honestly, it doesn't even need to come with google apps installed. I am running Linux, so I cannot use Odin well enough to actually accomplish anything. Can anyone point me in the direction of a ROM that will work for this? If there is none, are there any programs for creating custom ROMs on Linux?
Stock roms or Custom Stock roms (Stocklite, Mcrage {audio enchancement already has incluided}, StockEvolution...) with audio enchancements (Beats Audio, Megabass and Beats...)
You can see the link below in my sign "Ace's Audio Battle" or use the search

[Q] Android 2.3.x FLAC support

Hi,
I'm a Galaxy Mini user and now are almost 3 years I am using this phone.
I have flashed and enjoyed so many roms in this forum and I have been very excited about the developement of first CM9, CM10 and now CM11.
I think CM9 is the highest upgrade that our mini can reach having good performances and sufficently new stuff and interface, however, for my needs, cm7.2 is still the most stable and efficient android version, with the best battery life and performances compared to all others.
I don't really feel the need to have a newer Android version and, yes, I'm happy with this low-end phone.
The only thing I really would like to understand and the only reason which keep me looking at CM9 is the native flac support.
I think this is the only lack of gingerbread, if this could be supported, I would definitely go for that.
Now, I know there are 3party player and also that Cm7.2 player plays flawlessy FLAC files, but the problem is not with local files, stored on my SD, but with DLNA support.
The only application i found that can stream FLAC files from my NAS is BubbleUpnp but is really too heavy and cpu-stressing, making phone quite unusable.
UpnPlay was perfect and very lightweight, it was exactly what i needed but under gingerbread is unable to stream FLAC files due to unsupported file type, while on CM9 can.
Mp3 files are streamed perfectly also in cm7.2, obviously, but it is quite impossible and also absurd to have the whole media library on my server both in FLAC and mp3 format when it could be possible just to keep the highest-quality format one.
It's not a matter of quality, I know my phone wouldn't take any kind of benefict in sound quality, good music can be listened only on an axcellent hi-fi system, but of practicality.
So, is there anyone that can tell me if there is a way to implement the native support of this files? Any mod/engine? It would be very important.
I know that some others phones have customs cm7 builds with this kind of feature built-in, so I think should be possible to add the support to versions of android under 3.x, as Gingerbread.
Thanks in advance and I would really appreciate you if can give me some informations.

Categories

Resources