FORUMS

T-Mobile Galaxy S6 Battery Woes

I’ve been using a T-Mobile Galaxy S6 since the device launched with T-mobile’s … more

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the … more

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the … more

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

[TIP] Installing DSP-based equalizer on Android 2.2 stock ROMs.

353 posts
Thanks Meter: 40
 
By mrcrassic, Senior Member on 15th September 2010, 07:17 PM
Post Reply Subscribe to Thread Email Thread
As most of you know, alankila published a modified AudioFlinger library that gives rooted Android installations much-needed DSP capabilities. (See here.) This has been upstreamed to Cyanogen-6 development branch and has been released in CM6 stable and a few other cooked ROMs. However, there wasn't much information on installing it on stock ROMs with locked bootloaders/recovery images (i.e. will only accept Google-signed update ZIPs), so here's a tutorial on how to do that. This has been tested working on my Nexus One running FRF91 and the stock HTC Passion bootloader and recovery image.

NOTE. You must be root!

1) Download the attached dsp-signed update ZIP. I'm not sure which version this is, but it lets you control both the speaker and headset curves independently.

2) Extract its contents to a local folder or to the SD card on the phone.

3) Using ADB, drop to a root shell (adb shell, then su.) and remount the system partition as read-write.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Afterwards, make a backup of libaudioflinger so that you can restore it in case your phone blows up.
Code:
mv /system/lib/libaudioflinger.so /system/lib/libaudioflinger_bak.so
. Finally, copy DSPManager.apk to /system/app and the modified libaudioflinger on your SD card to /system/lib.
Code:
mv [path-to-files]/DSPManager.apk /system/app/
Code:
mv [path-to-files]/libaudioflinger.so /system/lib/
4) Reboot.

If your phone fails to boot, just delete the libaudioflinger library you copied over and restore the original from the backup you made.

Enjoy! It's fantastic!
Attached Files
File Type: zip dsp-signed.zip - [Click for QR Code] (90.6 KB, 9880 views)
The Following 2 Users Say Thank You to mrcrassic For This Useful Post: [ View ]
 
 
15th September 2010, 09:34 PM |#2  
Junior Member
Thanks Meter: 0
 
More
This works great on my Incredible with stock 2.2!

Thanks!
16th September 2010, 12:57 PM |#3  
mrcrassic's Avatar
OP Senior Member
Flag New York
Thanks Meter: 40
 
More
Of course, you could also just install ROM Manager, then flash a custom recovery image and install the update ZIP that way if it's easier.
18th September 2010, 05:53 PM |#4  
jdubdieslo's Avatar
Senior Member
Flag Austin, Texas
Thanks Meter: 0
 
More
Does this app control ear piece, speaker and headphones? also does it apply the settings to calls as well as music? thanks. I have it on my phone for evils sense rom but not really noticing much of a difference. thanks.
18th September 2010, 10:34 PM |#5  
Smabbage's Avatar
Senior Member
Flag Lost in Arkansas
Thanks Meter: 25
 
More
This works great, I just wish the sliders were a bit more responsive.
18th September 2010, 11:46 PM |#6  
Senior Member
Thanks Meter: 19
 
More
installed through clockwork recovery on LeoFroyo rom 2.0.1Beta3, and it works like a charm. the sliders could use + and - icons on side to help change the numbers.
19th September 2010, 05:19 AM |#7  
Senior Member
Thanks Meter: 10
 
More
All the dsp settings do is make my speakers clip...

Sent from my Nexus One using XDA App
19th September 2010, 06:30 AM |#8  
mrcrassic's Avatar
OP Senior Member
Flag New York
Thanks Meter: 40
 
More
I would be careful with equalizing the speaker; if it's like most phone speakers, it's pretty fragile...

@jdub: It works for speakers, headphones and bluetooth devices. It affects all sound on the phone.
21st September 2010, 11:20 AM |#9  
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by dgart08

All the dsp settings do is make my speakers clip...

Sent from my Nexus One using XDA App

Same here, no matter how slightly (0.3dB or so) I change the level of any band, it clips when connected to my car stereo, with headphones the issue is also present but less annoying.
6th October 2010, 06:19 AM |#10  
tomasitoc's Avatar
Senior Member
Flag California
Thanks Meter: 50
 
More
will this work for bluetooth streaming
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes