Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more

Nova Launcher Update Brings Lollipop Functionality and Feel

One of the most popular third party launcher on Android, Nova Launcher, has just … more

Check Your I/O Usage with Iotop for Android

Ever needed to check the I/O usage of apps? If so, you probably tried searching for an iotop … more

T-Mobile HTC One M8 Gets Selfie-Friendly Android 4.4.4 OTA

The T-Mobie variant of HTC One (M8) just now received an over-the-air update … more
Post Reply

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

OP mrcrassic

15th September 2010, 07:17 PM   |  #1  
mrcrassic's Avatar
OP Senior Member
Flag New York
Thanks Meter: 40
 
352 posts
Join Date:Joined: Sep 2007
More
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, 9637 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
 
3 posts
Join Date:Joined: Aug 2010
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
 
352 posts
Join Date:Joined: Sep 2007
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
 
148 posts
Join Date:Joined: Sep 2009
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
 
187 posts
Join Date:Joined: May 2010
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
 
234 posts
Join Date:Joined: Feb 2010
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: 9
 
328 posts
Join Date:Joined: Aug 2010
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
 
352 posts
Join Date:Joined: Sep 2007
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
 
92 posts
Join Date:Joined: Oct 2009
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: 49
 
870 posts
Join Date:Joined: Aug 2008
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