Post Reply

[MOD][ROOT] Audio Hacks and Modifications + New Insanely Loud Volume Hack!! (post 2)

OP Meltus

20th June 2012, 06:13 PM   |  #1  
Meltus's Avatar
OP Senior Member
Flag Manchester
Thanks Meter: 1,015
 
1,911 posts
Join Date:Joined: Jan 2009
Donate to Me
More
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:
Quote:

Louder Speaker Volume (Ringtones/Messages/Videos/MusicPlayer/etc.)
Louder In-Call Volume (Earpiece and Speakerphone)

Louder Headset Volume (Perhaps - untested)
Louder Bluetooth Volume (Perhaps - untested)
Louder Analogue Dock Volume (Perhaps - untested)
Louder Digital AUX Volume (Perhaps - untested)
Louder FM Radio Volume (Perhaps - untested)

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:
Code:
killall mediaserver
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:
Quote:

Camera Shutter Sound 1
Camera Shutter Sound 2
Camera Shutter Sound 3
Boot Sound
Camcorder Sounds
AutoFocus Sound

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:
Code:
killall mediaserver
or reboot your phone!
4) Enjoy

Quote:

All the usual warnings apply: I am NOT responsible if this breaks your phone, speaker or ear-drums and I am not responsible for anything else negative that may occur. If you rooted your phone you should know how to recover from potential soft-bricks, etc. It's your responsibility, not mine.

Flashable Zips

Many thanks to Jesus_c and GadgetCheck
Quote:
Originally Posted by jesus_c

Based on update.zip by GadgetCheck

60_sound_mod - max vol = 60 (boot sound on, camera sound off)
63_sound_mod - max vol = 63 (boot sound on, camera sound off)
63S_sound_mod - max vol = 63 (boot sound off, camera sound off)

Backup_sound_mod - original unmodified files

all zips CWM flashible

Zip Downloads can be found here.
Attached Files
File Type: zip VolumeMods.zip - [Click for QR Code] (5.2 KB, 36590 views)
Last edited by Meltus; 30th August 2012 at 04:35 PM.
The Following 191 Users Say Thank You to Meltus For This Useful Post: [ View ]
20th June 2012, 06:13 PM   |  #2  
Meltus's Avatar
OP Senior Member
Flag Manchester
Thanks Meter: 1,015
 
1,911 posts
Join Date:Joined: Jan 2009
Donate to Me
More
Insane Volume Boost

As the name suggests, this extra little mod (to the same file) will increase the volume even higher. Seriously high. I wouldn't recommend doing this as it distorts to hell and will most likely damage the speaker in the long run.

For those of you crazy enough to give this a go, here are the instructions:

1) Take the 'default_gain.conf' file (attached to the first post)
2) Search for the following section:
Code:
Modifier "Normal" {
  Supported Device {
    "Speaker"
  }
  Enable {...
and then look for
Code:
 { "AIF1 Boost Volume",
Change the value after that to whatever you want. The highest I've dared to go is 55. 55 is PLENTY loud enough, but you can probably go higher.

DISCLAIMER
The volume is getting absolutely ridiculous now. Be seriously careful if you decide to do this because it can go insanely loud and will most probably damage your speaker. You have been warned!!

Enjoy
Last edited by Meltus; 23rd June 2012 at 04:26 PM.
The Following 21 Users Say Thank You to Meltus For This Useful Post: [ View ]
20th June 2012, 06:35 PM   |  #3  
Senior Member
Thanks Meter: 4
 
148 posts
Join Date:Joined: Jan 2010
"THIS MOD WILL MAKE THE PHONE'S SPEAKER AS LOUD AS THE OS ALLOWS. ANY LOUDER AND THE AUDIO BREAKS! YOU HAVE BEEN WARNED!"

Can you clarify this please. Do you mean that you have cranked the values up as high as sound quality allows??
The Following User Says Thank You to benny6812 For This Useful Post: [ View ]
20th June 2012, 06:52 PM   |  #4  
Meltus's Avatar
OP Senior Member
Flag Manchester
Thanks Meter: 1,015
 
1,911 posts
Join Date:Joined: Jan 2009
Donate to Me
More
Quote:
Originally Posted by benny6812

"THIS MOD WILL MAKE THE PHONE'S SPEAKER AS LOUD AS THE OS ALLOWS. ANY LOUDER AND THE AUDIO BREAKS! YOU HAVE BEEN WARNED!"

Can you clarify this please. Do you mean that you have cranked the values up as high as sound quality allows??

I've turned it up as loud as the phone will allow. It's currently set to '63' but setting it to '64' breaks the audio so you end up with no sound until you change it back. It doesn't seem to distort that much either; the SGS3's speaker is surprisingly good!
The Following 4 Users Say Thank You to Meltus For This Useful Post: [ View ]
20th June 2012, 07:03 PM   |  #5  
Senior Member
Thanks Meter: 4
 
148 posts
Join Date:Joined: Jan 2010
Okay, I'll be the first to try it out...reporting back in a min

---------- Post added at 07:03 PM ---------- Previous post was at 06:57 PM ----------

Probably just me but I didn't notice any difference except that MAYBE the drop effect during unlock was louder

Actually, I think that the notifications are louder which i like
20th June 2012, 07:34 PM   |  #6  
ratcom's Avatar
Senior Member
Flag Nottingham, England
Thanks Meter: 189
 
1,361 posts
Join Date:Joined: Mar 2005
More
just tried this and i can confirm its working very well

well done and thanks mate!
The Following User Says Thank You to ratcom For This Useful Post: [ View ]
20th June 2012, 08:21 PM   |  #7  
gh.rohit's Avatar
Recognized Contributor / Recognized Developer
Flag Mumbai
Thanks Meter: 4,106
 
6,343 posts
Join Date:Joined: Oct 2011
Donate to Me
More
yes it works
The Following User Says Thank You to gh.rohit For This Useful Post: [ View ]
20th June 2012, 08:22 PM   |  #8  
katsuru's Avatar
Senior Member
Herford, Germany
Thanks Meter: 32
 
348 posts
Join Date:Joined: Apr 2010
Donate to Me
im on AOKP and there is no default_gain.conf file on system/etc
20th June 2012, 08:46 PM   |  #9  
meule46's Avatar
Senior Member
Thanks Meter: 132
 
225 posts
Join Date:Joined: Feb 2011
More
Thumbs up
works like hell

Thanks!
The Following User Says Thank You to meule46 For This Useful Post: [ View ]
20th June 2012, 08:52 PM   |  #10  
Account currently disabled
Thanks Meter: 68
 
257 posts
Join Date:Joined: Oct 2010
Quote:
Originally Posted by katsuru

im on AOKP

And you're looking for a Samsung ROM mod?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S III Android Development by ThreadRank