PLEASE READ: I've noticed quite a few ROM devs are using my files without crediting me or linking back to this thread. I don't want people to start asking my permission or anything, feel free to use these files in your own work, but I worked hard trying to get my head round these files; finding out just what everything does and what the volume limits are. If you do use the modified files or modify your own using my guide please at least give me some credit. Thanks.
I've also made an Application that can do this for you. It can be found here.
PART 1
File: 'System/etc/default_gain.conf'
Hey everyone!
For those who remember my old volume hack on the T-Mobile G1, this is essentially the same thing! For some bizarre reason, Samsung decided to map all the maximum volume levels to an easily accessible file (system/etc/default_gain.conf), which is different to 99% of Android phones out there because it's usually built into the kernel or something harder to modify. Cheers Samsung!
THIS MOD WILL MAKE THE PHONE'S SPEAKER AS LOUD AS THE OS ALLOWS. ANY LOUDER AND THE AUDIO BREAKS! YOU HAVE BEEN WARNED!
Things this modification can achieve:
There are a few others in that file too. It's weird that instead of defining the Headset Volume for everything, things like 'incall' and 'FMradio' are all separate.
How To Modify
Any text editor will do but I strongly recommend Notepad++ because it's just awesome!
How To Apply
1) Download attatched file ('default_gain.conf' inside 'VolumeMods.zip')
2) Use a file manager or ADB to push it to "system/etc" (back up existing file first!)
3) From ADB or the Terminal do:
or reboot your phone!
4) Enjoy
PART 2
File: 'System/etc/Volume.db'
This isn't really an audio hack as such, it simply allows you to disable some irritating sounds you cannot normally disable.
What this mod disables:
All this is so far useful for is to disable the camera sounds without modifying the camera itself.
There are most likely other things this file can do but I've not had chance to play with it properly yet, I'll keep going and update this post if I find anything else.
How To Modify
I strongly recommend using the free "SQL Lite Databse Browser". Any program that can open .db files should work just fine though.
How To Apply
1) Download attatched file ('Volume.db' inside 'VolumeMods.zip')
2) Use a file manager or ADB to push it to "system/etc" (back up existing file first!)
3) From ADB or the Terminal do:
or reboot your phone!
4) Enjoy
Flashable Zips
Many thanks to Jesus_c and GadgetCheck
Zip Downloads can be found
here.