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

Search This thread

Ausboy 2011

Senior Member
Oct 31, 2011
2,208
497
I m using this volume hack in omega, revolution and others jb custom Rom and everything is ok.
I don't know about flashable zip cause i always replaced the files in /system/etc before install the Rom.

Sent from my GT-I9300 using Tapatalk 2

What about headphone volume there must be another way to make it louder simply changing the values using the app or manually doesn't cut it on jb

Sent from my GT-I9300 using xda app-developers app
 

break1

Senior Member
Oct 29, 2010
429
40
34
Berlin
xdaforums.com
Hi,
Since i flashed this mod i get horrible call quality. I cant understand people. They cant understand me either...
Is there a way to fix that? Maybe disable volume boost for calls? Can someone please make a flashable zip or explain me how to do it manually?
Would be much appreciated!
Cheers :)

Sent from my GT-I9300 using xda premium
 

Ausboy 2011

Senior Member
Oct 31, 2011
2,208
497
Hi,
Since i flashed this mod i get horrible call quality. I cant understand people. They cant understand me either...
Is there a way to fix that? Maybe disable volume boost for calls? Can someone please make a flashable zip or explain me how to do it manually?
Would be much appreciated!
Cheers :)

Sent from my GT-I9300 using xda premium

Download the file from op and push it through root explorer

Sent from my GT-I9300 using xda app-developers app
 

ivo34

Senior Member
Dec 4, 2008
201
8
stockholm
I been flashed the mod and is working very good!, I use a equalizer frecuency bands always under 0 db, the sound will be much better! ....many thanks to the developer! :)
 
Last edited:

Ausboy 2011

Senior Member
Oct 31, 2011
2,208
497
Download the file from op and push it through root explorer

Sent from my GT-I9300 using xda app-developers app

:) wasn't setting permission on jb all good now cheers mate

Sent from my GT-I9300 using xda app-developers app

---------- Post added at 07:27 AM ---------- Previous post was at 07:26 AM ----------


Yup works flawlessly

Sent from my GT-I9300 using xda app-developers app
 
  • Like
Reactions: pela_pmcba

richardlibeau

Senior Member
Feb 19, 2012
2,257
875
49
Albemarle, NC
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:
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:


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 :)



Flashable Zips

Many thanks to Jesus_c and GadgetCheck


Zip Downloads can be found here.

Got guys on sgs2 thread checking this out with all credit to Meltus . Great work been using your hacks for awhile now on different phones. Thanks for all your work it's definitely appreciated.
 
  • Like
Reactions: zyclops1

vasra

Senior Member
Jun 3, 2009
373
50
How to disable Volume Up/Down System beep?

Before I install this and blow out my eardrums (i have IEMs)...

Is there a way to totally turn off the System Volume UP/DOWN beep that you hear, when you press the Volume UP/DOWN button?

I already had a very painful experience using the Voodoo Sound at level 61 with IEMs while pressing the Volume UP button and hearing a very loud BEEEP! straight into my ear.
 

jswl.dty

Senior Member
Sep 16, 2012
82
10
i have installed OMEGA V26.1 on my S3 yesterday and i have andro zip manager installed on my S3 but i am unable to copy or move the zip files to my System/etc can anyone tell me why as it is saying operation failed and let me tell that my phone is rooted and Andro Zip have super user permission granted
 

Meltus

Senior Member
Jan 11, 2009
1,903
1,023
Manchester
www.androidaudiohacks.com
i have installed OMEGA V26.1 on my S3 yesterday and i have andro zip manager installed on my S3 but i am unable to copy or move the zip files to my System/etc can anyone tell me why as it is saying operation failed and let me tell that my phone is rooted and Andro Zip have super user permission granted

Sounds like you haven't mounted the system as read/write.

Sent from my GT-I9300 using xda app-developers app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 200
    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:
    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:
    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 :)

    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
    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.
    69
    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
    24
    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 ;)
    5
    Hi Meltus,

    great job, very impressive indeed.

    I wonder whether you can guide me which values to change in the file to only have headphone volume boosted.

    I was always happy with the speaker volume as such, so would like to not change that but boost the headphone to the maximum.

    If you tell me which values to modify, I am happy to do that on my own.
    Or is that somehow linked together and therefore not possible?

    Thanks a lot
    Andi

    Thanks :)

    The file is incredibly detailed and each individual parameter can be changed.
    I'll list here everything I know about the file.

    It's basically split up into 2 sections: The "Output Modifier Stage" and the "Input Modifier Stage". So the output stage controls volume and the input stage controls microphone gain, essentially. Under each stage you have a list of "Modifiers" and under each modifier you'll have the "Supported Devices".
    Here is the complete list of modifiers for the output stage (we're not interested in the input stage for now*):

    Output Modifier Stage
    ---------------------
    Normal
    Incall
    Ringtone
    Dual Normal
    Incommunication
    Voipout
    SecVoipout
    FMRadio
    FMRadio_Mute
    Loopback
    LoopbackPacket

    And here's a list of the devices for the Output Stage (many more in the input stage!):

    Supported Devices (for the output modifiers)
    -------
    Earpiece
    Speaker
    Headset Out
    Headphone
    SCO
    SCO Headset Out
    SCO Carkit
    Analogue Dock Out
    AUX Digital Out

    So how do we use this information?
    Well, let's say we wanted to boost the in-call volume:

    As mentioned above, there are 2 things we need to keep an eye on; "Modifier" and "Supported Devices".
    So say you wanted to boost the volume during a call but only for the earpiece (and not for the headset, bluetooth, etc). Well, we find the correct modifier, which is "Incall" and then we find our correct device, which is "Earpiece". We navigate to that little section, find the "Output Volume" and increase the value! :)
    For "Speaker" related sections the value will be "Speaker Volume" and for the Headset it will be "Headset Volume". There may be other variations too.

    Now, for your question; Boosting the headset volume:

    For this we need: Modifier "Normal", Supported Device "Headphone".
    So, we search for this section (it's not very far down) and increase the value!

    The section you are looking for should look like this:

    Code:
    Modifier "Normal" {
    	SupportedDevice {
    		"Headphone"
    	}
    	Enable {
    		{ "Speaker Mixer Volume", 1 },
    		{ "Speaker Volume", 0 },
    		{ "Headphone ZC Switch", 0 },
    		{ "AIF1DAC1 Volume", 96 },
    		{ "AIF1 Boost Volume", 0 },
    		{ "DAC1 Volume", 96 },
    		{ "Left Output Mixer DAC Volume", 7 },
    		{ "Right Output Mixer DAC Volume", 7 },
    		{ "Headphone Volume", 50 },
    	}

    Headphone Volume is the value you need to change.

    Please note: If your headphones double up as a headset (you can place and receive calls with it) the phone might recognise it as "Headset Out" instead, I'm not sure. Probably better to change both.

    So you can match each modifier up with each supported device and create a very complex audio configuration file.
    For example, match up the "Ringtone" with the "Headset/Headphones" section and you can control how loud the ringtone plays through the headset when a call comes in! This file's pretty in depth :p

    We also now know that there is another volume controlling parameter called "AIF1 Boost Volume". This can boost the volume even further than you can with the normal "Output Volume" values, etc. (see post 2).

    *Whilst we're not interested in the "Input" stage for this mod, it could be incredibly useful for tweaking microphone sensitivity. You can alter the input gain for during a call and for when you're recording a video.


    This is my interpretation of the file. Whilst I know some of it is correct, some of it could also be completely wrong, there's just far too much to test. Please go easy on me if some of this is wrong! :D
    5
    Loud it is..

    But Distorts stuff!!

    Any ways if you want to Flashey Flashey use the file below... flash via CWM :D