FORUMS

Which IM Client on Android is best?

With so many different messengers to choose from, it can be tough to find the best one for you and … more

Android Factory Reset Security Flaw and More – XDA TV

Nvidia is releasing a 500Gb SHIELD TV Pro! That and much more news is … more

Android M Code Name: Macadamia Nut Cookie

While the official name for the latest iteration of Android has yet to be revealed, the code … more

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more
Post Reply Subscribe to Thread Email Thread

[FIX] Fix poor AAC streaming performance (Pandora, Slacker, etc) on Froyo

27th July 2010, 08:16 PM |#1  
mrcrassic's Avatar
OP Senior Member
Flag New York
Thanks Meter: 40
 
More
When I installed Froyo on my N1, I found that streaming quality over Pandora suffered tremendously; low-quality was unbearable, and high-quality sounded worse than low-quality normally does. The change to StageFright from OpenCore is to blame here, while it improves HTTP streaming, it's AAC decoder doesn't decode LC-AAC streams properly.

To disable it temporarily, use
Code:
adb setprop media.stagefright.enable-player false
and restart any applications actively playing anything. To disable it permanently, pull build.prop from /system and change the value there. When you restart, it should be disabled; use adb getprop to verify.

Of course, the phone needs to be rooted for this to happen, as r/w access to /system is required.
Last edited by mrcrassic; 27th July 2010 at 08:18 PM.
The Following User Says Thank You to mrcrassic For This Useful Post: [ View ]
 
 
27th July 2010, 10:03 PM |#2  
Senior Member
Thanks Meter: 10
 
More
THANK YOU!!!

I was so completely frustrated by this, as my phone is my primary source of music in my car via Rhapsody, that i had just rolled back to 2.1 yesterday.

I just verified your 'fix' and my sound is now perfect again!

Side note to everyone out there, setprop is a shell command, so you actual command to set the property is:
adb shell setprop media.stagefright.enable-player false

But there's no reason you shouldn't change the property in your build.prop file if you listen to streaming music regularly.

Again, THANK YOU for this fix!!

One other side note: this change also appears to fix the bluetooth "skipping" issue that appeared in 2.2 as well.
Last edited by propain4444; 27th July 2010 at 10:05 PM.
27th July 2010, 10:45 PM |#3  
Mikey's Avatar
Retired Senior Moderator
Flag Chicago
Thanks Meter: 1,542
 
Donate to Me
More
HUGE difference for the better

Thank you
28th July 2010, 12:16 AM |#4  
Senior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by cnunez1987

When I installed Froyo on my N1, I found that streaming quality over Pandora suffered tremendously; low-quality was unbearable, and high-quality sounded worse than low-quality normally does. The change to StageFright from OpenCore is to blame here, while it improves HTTP streaming, it's AAC decoder doesn't decode LC-AAC streams properly.

To disable it temporarily, use

Code:
adb setprop media.stagefright.enable-player false
and restart any applications actively playing anything. To disable it permanently, pull build.prop from /system and change the value there. When you restart, it should be disabled; use adb getprop to verify.

Of course, the phone needs to be rooted for this to happen, as r/w access to /system is required.

Thanks for the info man


Just curious though, does anyone know the cause of why this is? Maybe a different decoder would have more success?
28th July 2010, 12:41 AM |#5  
Junior Member
Flag Euless, Texas
Thanks Meter: 0
 
More
Thanks, sounds much better.

Now I have to remember to change my build.prop nearly everyday when I flash a new rom.
28th July 2010, 01:17 AM |#6  
Senior Member
Flag Justice
Thanks Meter: 1
 
More
I'm rooted and pulled the build.prop file, but what program do I need to open the build.prop file and edit it?
28th July 2010, 01:31 AM |#7  
Senior Member
Flag Seattle
Thanks Meter: 8
 
More
Quote:
Originally Posted by PeRRiiN

I'm rooted and pulled the build.prop file, but what program do I need to open the build.prop file and edit it?


any text editor, notepad included, will work
28th July 2010, 01:36 AM |#8  
Senior Member
Flag Justice
Thanks Meter: 1
 
More
Quote:
Originally Posted by Manacit

any text editor, notepad included, will work

Thank you, I'll try it out.
28th July 2010, 02:02 AM |#9  
Member
Flag Jacksonville
Thanks Meter: 1
 
More
Thanks so much for the fix. Now I can listen to my tunes without some of the lyrics sounding like a Chimpmunks sing-a-long!
28th July 2010, 02:15 AM |#10  
venelar's Avatar
Senior Member
Flag Baton Rouge
Thanks Meter: 364
 
More
Thanks for this! Having some trouble pulling it off though I'm new to android.

I have root/unlocked, and have successfully used the adb pull command to pull the build.prop file. I've got the file edited, but cannot seem to get it to push back to the device.

Here is my problem if anyone would be willing to point me to the correct method.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes