Gear sound volume files - Samsung Galaxy Gear

Hi guys just installed null rom, excellent rom just was hoping that some files may have been tweaked for louder ringtines and notifications but alas no, I tried changing some of the files in system /etc/default gain file like the note 2 volume files but never made any difference, can someone please tell me how this may be accomplished as there are quite a few threads on the low volume thanks guys

Related

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

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)
Click to expand...
Click to collapse
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
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
Flashable Zips
Many thanks to Jesus_c and GadgetCheck
jesus_c said:
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
Click to expand...
Click to collapse
Zip Downloads can be found here.
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
"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??
benny6812 said:
"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??
Click to expand...
Click to collapse
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!
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
just tried this and i can confirm its working very well
well done and thanks mate!
yes it works
im on AOKP and there is no default_gain.conf file on system/etc
works like hell
Thanks!
katsuru said:
im on AOKP
Click to expand...
Click to collapse
And you're looking for a Samsung ROM mod?
katsuru said:
im on AOKP and there is no default_gain.conf file on system/etc
Click to expand...
Click to collapse
Sorry, I should have been more specific.
Its a file that Samsung added and so won't be present on AOKP, CM9, MIUI, etc.
Sent from my GT-I9300 using xda premium
Don't suppose a flashable zip would be available for this mate?
(as in where you don't have to do all the notead,etc stuff)
katsuru said:
im on AOKP and there is no default_gain.conf file on system/etc
Click to expand...
Click to collapse
Aokp is no Samsung rom, so it can't be there. But probably the kernel supports the file as cm9 kernel is based on Samsung open source code. However if it is a proprietary module that reads the file that is not in the rom, then there is no way.
–—–—–—–—–—–—–—–—
tapatalked from Galaxy SIII
jonny68 said:
Don't suppose a flashable zip would be available for this mate?
(as in where you don't have to do all the notead,etc stuff)
Click to expand...
Click to collapse
You don't have to modify anything, just download the attached zip, move the 'default_gain.conf' file to your phone and use root explorer or something to put it in the 'system/etc' folder. Or you can just "adb push C:/link/to/default_gain.conf' system/etc".
Much quicker and easier than flashing a zip
Nice!
I'm using Omega;s AOKP & it works great. Had to move the 2 files to /system/etc is instructed from the OP.
TYVM!
I nearly went deaf after starting ME, had to lower the volume down. I can tell the big difference with this mod, no more blasting the volume at max to be able to hear anything.
Stock headphones .
4 ok. 5 bit to loud. 6 far to loud.
This mod.
1 ok. 2 loud. 3 to loud. 4 no way.
Problem is constant background hiss .
Think I will lower the numbers s bit in the file and see the result.
jje
Sent from my GT-I9300 using xda premium
RMXO said:
I'm using Omega;s AOKP & it works great. Had to move the 2 files to /system/etc is instructed from the OP.
TYVM!
I nearly went deaf after starting ME, had to lower the volume down. I can tell the big difference with this mod, no more blasting the volume at max to be able to hear anything.
Click to expand...
Click to collapse
You using an AOKP rom and this worked for you?
Omega is sammy rom.
jje
Sent from my GT-I9300 using xda premium
JJEgan said:
Omega is sammy rom.
jje
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Omega has an AOKP, and he mentioned Omega's AOKP rom.

Add bootsound and poweroff sound in CM10

I'm in a desperate need of adding boot sound and power off sound to CyanogenMod 10. I am actually using a MIUI 3.6.14 ROM, a port of the official MIUI, and it's based on CM10 (or 10.1).
I know no one has ever been able to use boot sound and power off sounds in CM10, I'm actually wondering why these were disabled in first place. But anyway, I'm not here for the simple copy-paste solution.
If anyone has any idea on how to add these sounds in CM, no matter how many system files I have to edit and mess around with, please let me know. I really hate having a silent boot with a simple animation logo... it sucks big time.
T3STY said:
I'm in a desperate need of adding boot sound and power off sound to CyanogenMod 10. I am actually using a MIUI 3.6.14 ROM, a port of the official MIUI, and it's based on CM10 (or 10.1).
I know no one has ever been able to use boot sound and power off sounds in CM10, I'm actually wondering why these were disabled in first place. But anyway, I'm not here for the simple copy-paste solution.
If anyone has any idea on how to add these sounds in CM, no matter how many system files I have to edit and mess around with, please let me know. I really hate having a silent boot with a simple animation logo... it sucks big time.
Click to expand...
Click to collapse
looks like it is capable of playing sound but CM has gone ahead and removed whatever we need to hear it. check this site
https://jira.cyanogenmod.org/browse...ira.plugin.system.issuetabpanels:all-tabpanel
Yeah... ok, they removed important things because they think bootsounds are useless. That's fine for me if that's their philosophy about this, but they could at least leave us a guide on how to add it back!
Also, I wonder why no other developer has been able to restore it. I've seen many great ROM developers out there, making a lot of complicated modifications in their ROM, but no one is able to restore a simple bootsound?? That's crazy man, unbelievable.
T3STY said:
Yeah... ok, they removed important things because they think bootsounds are useless. That's fine for me if that's their philosophy about this, but they could at least leave us a guide on how to add it back!
Also, I wonder why no other developer has been able to restore it. I've seen many great ROM developers out there, making a lot of complicated modifications in their ROM, but no one is able to restore a simple bootsound?? That's crazy man, unbelievable.
Click to expand...
Click to collapse
^^^
10.1.3. is still obviously just beta OS because they've abandoned any real development and just moved on to something else... like Oppo.
In-call volume sux.
Ring volume is great, but once you answer a call, you gotta find yourself some stinky pay phone so that your caller can be heard.
You can't hear tap volume unless your ear is up to the phone.
Quote from Steve Kondick: "We've rejected boot sounds about a dozen times now. The general consensus is that they suck and should be abolished."
Where's the consensus on call volume? You guys don't like that either?
Even the in-call volume settings have been greyed out. LOL!

Low volume on AOSP custom roms

Hey guys, I just want to ask a quick question about the volume on our GS3 mini. Do you guys notice the speakers to be much quieter when using AOSP roms such as novafusions cm 11 or cm 12? For me, when i use stock roms i get a much louder sound from speaker so i was wondering if any of you guys have this issue.
Yeah but it doesnt really bother me
JoniSerenius said:
Yeah but it doesnt really bother me
Click to expand...
Click to collapse
Thanks for the reply. Do you know any methods like editing the rom or something to increase the volume.
EDIT: i found some info about a file called mixer_paths.xml where you can edit the volume but i couldn't find the file on our GS3 mini. Is there a similar file that do the same thing?
JoniSerenius said:
Yeah but it doesnt really bother me
Click to expand...
Click to collapse
Equals_Android said:
Thanks for the reply. Do you know any methods like editing the rom or something to increase the volume.
EDIT: i found some info about a file called mixer_paths.xml where you can edit the volume but i couldn't find the file on our GS3 mini. Is there a similar file that do the same thing?
Click to expand...
Click to collapse
Nova's releases are quite buggy. the have a lot of reason.. but the are stable for daily use.
the "low in call bug" or low earphone volume bug is one of them. but there is a easy work around.
if you call or get called, FIRST press volume down, then up. volume becomes magically +100% xD
peace.

[Mod] Native volume boost - no apps needed! mixer_paths.xml - Update Jan 13 2016

This is a tiny mod to get some better volume from Moto G3. I used the mixer_paths.xml from the .44 2gb build for xt1540, but the file should be universal for g3, maybe even g2 and g...I haven't tested it on anything but my own g3, so I can't say.
Use at your own risk!
Drop the file in /etc, rename to mixer_paths.xml, and change permissions to rw-r--r--
To revert, use the mixer_paths-84.xml file provided, rename to mixer_paths.xml and set permissions rw-r--r--
You must reboot for changes to apply. This is a TOTAL volume mod!! it will boost every volume on the device.
Default value is 84, I set it at 90. I like my music extremely loud, and this was slightly lower than I would choose, so it should be good for most people. If anyone wants more or less, I can take requests.
Code:
[b]**Update Changelog:[/b]
[u]Jan 13 2016 - [/u]
- fixed oversight for in-call volume.
- changed file names to be easier to differentiate.
- mixer_paths-84.xml is the stock 100% untouched backup now.
- same exact file, new name. no need to redownload.
- added volume 92.
*WARNING!! For the new vol-92 option, speaker volume WILL be distorted turned all the way up. I got lazy and didn't want to play trial and error to find the one that controls speaker. I will fix this in the next update, coming as soon as I have time. For now, please just turn it down a click or two if you use this one.
mixer_paths-84-90.xml (in- call volume 84 & all others 90.)
Clipping like hell.
No issues, working great but sometimes on full volume, the lower back gets warmed up around the speaker.
maarten2001 said:
Clipping like hell.
Click to expand...
Click to collapse
what rom and music app are you using? I've flashed quite a few roms and used this with no issues on any yet.
I've used this with the MM soak test and it still works fine. It shouldn't need any updating when the official MM rom releases.
....just an fyi
hp420 said:
This is a tiny mod to get some better volume from Moto G3. I used the mixer_paths.xml from the .44 2gb build for xt1540, but the file should be universal for g3, maybe even g2 and g...I haven't tested it on anything but my own g3, so I can't say.
Use at your own risk!
Drop (replace) the file in /etc and change permissions to rw-r--r--
To revert, use the mixer_paths.xml.bak file provided, rename mixer_paths.xml, and set permissions.
You must reboot for changes to apply. This is a TOTAL volume mod!! it will boost every volume on the device.
Default value is 84, I set it at 90. I like my music extremely loud, and this was slightly lower than I would choose, so it should be good for most people. If anyone wants more or less, I can take requests.
mixer_paths.xml (volume 90)
https://drive.google.com/file/d/0B8idNtSYGvpqejFHX3JSdmphX00
mixer_paths.xml.bak (restore stock)
https://drive.google.com/file/d/0B8idNtSYGvpqeExxV25Rb0gzNzA
Click to expand...
Click to collapse
will this work on moto E X1521?though currently using cm12.1
maybe...it's a standard aosp file. I would back up your original mixer_paths.xml and give it a shot. You can just copy your original one back if you have any issues.
All ok in Moto G 3gen (XT1541)
my moto g is now a disco inferno xD (thx man)
dont work in CM12.1 and Blu Life 8
viciuz said:
dont work in CM12.1 and Blu Life 8
Click to expand...
Click to collapse
Only stock, sorry
Works for me on cm12.1
Works amazing on Resurrection-Remix-LP-v5.5.9 no clipping yet
Osprey
Works like a charm here (stock 5.1.1). I was really anoyed by the weak maximum volume, much better now Thanks again.
On my XT1541 all notification, ringtone, calls, etc, goes off, no sounds, worst, after backup the file it's the same no results.
Solution..?? Restore backup or somebody share the stock file to XT1541?
Someone can help me?
Thanks.
Enviado do meu MotoG3 através de Tapatalk
djekan said:
On my XT1541 all notification, ringtone, calls, etc, goes off, no sounds, worst, after backup the file it's the same no results.
Solution..?? Restore backup or somebody share the stock file to XT1541?
Someone can help me?
Thanks.
Enviado do meu MotoG3 através de Tapatalk
Click to expand...
Click to collapse
What rom are you using?
Also, if you restored the original file and have the same results you obviously did something wrong....that or it wasn't working beforehand either, because to restore the original file is to return it to its state prior to modifying it...as in getting rid of my modification entirely. Trust me, my file doesn't affect your device once it's gone...that is completely impossible in every way, shape and form.
Did you remember to change the permissions?? That would definitely explain having absolutely no sound at all.
Also, your sku means absolutely nothing since we all share this identical file within our firmware. There is not a single moto g3 variant which comes stock with a different mixer_paths.xml
Hello again, after a few days of testing the maximum volume is still a bit weak in my opinion (especially for classical music ), is there any way to increase it even more? Thank you again for your work :good:
mendelssohn said:
Hello again, after a few days of testing the maximum volume is still a bit weak in my opinion (especially for classical music ), is there any way to increase it even more? Thank you again for your work :good:
Click to expand...
Click to collapse
Ask and receive! Please see the warning note in the OP before installing. Enjoy!
Code:
[b]**Update Changelog:[/b]
[u]Jan 13 2016 - [/u]
- fixed oversight for in-call volume.
- changed file names to be easier to differentiate.
- mixer_paths-84.xml is the stock 100% untouched backup now.
- same exact file, new name. no need to redownload.
- added volume 92.
Hello, amazing thank you very much
Hmm... Wonder if I could write a OpenRecovery script that would allow you to pick one of these mods, flash it (and backup current settings), and set permissions...
Then, if someone was completely stock but with an unlocked bootloader (like me) you could boot twrp, flash the mod, and still be completely stock and not rooted, thus able to receive an OTA safely too.
Hmm...
Or I could be lazy and finally just root... Tired of those iBrats at work blowing away the volume of my MotoG3 on the speakers in the back of the house, on max with speakers on max it's sad compared to iPhone.
Sent from my MotoG3 using Tapatalk
acejavelin said:
Hmm... Wonder if I could write a OpenRecovery script that would allow you to pick one of these mods, flash it (and backup current settings), and set permissions...
Then, if someone was completely stock but with an unlocked bootloader (like me) you could boot twrp, flash the mod, and still be completely stock and not rooted, thus able to receive an OTA safely too.
Hmm...
Or I could be lazy and finally just root... Tired of those iBrats at work blowing away the volume of my MotoG3 on the speakers in the back of the house, on max with speakers on max it's sad compared to iPhone.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
You're more than welcome to use these any way you like

Marshmallow with Kitkat's Output Power

Hello guys. I had posted some months ago my question but all I was suggested was installing mods that I already had tried.
So, my 'problem' is that I find Stock Marshmallow's output(volume and bass) on headphones (3.5 jack) pretty low compared to Stock Kitkat. Especially the bass, it is really, really louder/heavier on Kitkat.
Is there any way to get/move Kitkat's sound enhancements right into Marshmallow?
Thanks in advance, have a happy new year!
The only way to try this would be decrypting the original KitKat files and recode them into MM, though you need some knowledge about how it works for it. As for now, I do not know any way to get back that feature from KK.
Mods are really great in this sort of situation, I myself use the A.R.I.S.E. mod and configured it for my in-ears.
devil188 said:
The only way to try this would be decrypting the original KitKat files and recode them into MM, though you need some knowledge about how it works for it. As for now, I do not know any way to get back that feature from KK.
Mods are really great in this sort of situation, I myself use the A.R.I.S.E. mod and configured it for my in-ears.
Click to expand...
Click to collapse
Unfortunately, I have no knowledge of coding etc.. I had tried arise sound mod but the sound was completely distorted(maybe I had installed something wrong,but all I did was install a .zip file and nothing more.)
Edit: could you message me and redirect me to the things you did and worked for you? I think I'll give a try tonight or tomorrow night! Thanks!
kwstas 13 said:
Unfortunately, I have no knowledge of coding etc.. I had tried arise sound mod but the sound was completely distorted(maybe I had installed something wrong,but all I did was install a .zip file and nothing more.)
Edit: could you message me and redirect me to the things you did and worked for you? I think I'll give a try tonight or tomorrow night! Thanks!
Click to expand...
Click to collapse
Well, installing the .zip is fine, but you ... gotta turn it on, too. When you flashed the zip, a new tool called Viper4Arise pops up in your app list. Open that and configure how you like to. In the app, you can change everything you like (and there's tons of stuff, trust me) but keep in mind to check if the module is active ( [≡] > Driver Status).
As of the settings I've done, I made the for my personal in-earphones (SoundMagic E10). There are things like ViPER-DDC which makes the sound of your head/earphones pretty nice if they're supported, if not, well then you gotta tune it yourself. Might plan to listen to a lot of different music and testing all the settings for your own preferences
devil188 said:
Well, installing the .zip is fine, but you ... gotta turn it on, too. When you flashed the zip, a new tool called Viper4Arise pops up in your app list. Open that and configure how you like to. In the app, you can change everything you like (and there's tons of stuff, trust me) but keep in mind to check if the module is active ( [≡] > Driver Status).
As of the settings I've done, I made the for my personal in-earphones (SoundMagic E10). There are things like ViPER-DDC which makes the sound of your head/earphones pretty nice if they're supported, if not, well then you gotta tune it yourself. Might plan to listen to a lot of different music and testing all the settings for your own preferences
Click to expand...
Click to collapse
Well, I'll maybe give a try and write you back... I didn't really understand whay you said there ' check if the module is active ( [≡] > Driver Status). '
Also, which one of these folders should I open and then,which version(file name) should I download?
I'm on Stock 6.0.1 with any other mod installed.
(yes,i'll make a nandroid backup before installing it)
Thanks in advance
Edit: I installed ViPER4Arise+2.5.0.5 and it worked fine,but still,the sound is quite,compared to Stock KitKat... Even after raising Master Gate (Limiter) to the max (6dB)... I don't know what to do
kwstas 13 said:
Well, I'll maybe give a try and write you back... I didn't really understand whay you said there ' check if the module is active ( [≡] > Driver Status). '
Also, which one of these folders should I open and then,which version(file name) should I download?
I'm on Stock 6.0.1 with any other mod installed.
(yes,i'll make a nandroid backup before installing it)
Thanks in advance
Edit: I installed ViPER4Arise+2.5.0.5 and it worked fine,but still,the sound is quite,compared to Stock KitKat... Even after raising Master Gate (Limiter) to the max (6dB)... I don't know what to do
Click to expand...
Click to collapse
Then it is probably limited by the ROM itself.. Well you can look up how to create your own custom rom with higher output at the audio jack, but aside from that, I don't have any other ideas how to raise it other than going back to kitkat.
Well the volume is loud enough for me, so sadly I can't help you with this
devil188 said:
Then it is probably limited by the ROM itself.. Well you can look up how to create your own custom rom with higher output at the audio jack, but aside from that, I don't have any other ideas how to raise it other than going back to kitkat.
Well the volume is loud enough for me, so sadly I can't help you with this
Click to expand...
Click to collapse
Exactly, KitKat allowed more output volume than Marshmallow does, I guess....I wish I knew how to increase the output levels and set them just as high as the Stock Kikat are.
kwstas 13 said:
Exactly, KitKat allowed more output volume than Marshmallow does, I guess....I wish I knew how to increase the output levels and set them just as high as the Stock Kikat are.
Click to expand...
Click to collapse
I might just randomly found a way to set the volume gain, but you need a unlocked bootloader + elitekernel (or any other) for that.
devil188 said:
I might just randomly found a way to set the volume gain, but you need a unlocked bootloader + elitekernel (or any other) for that.
Click to expand...
Click to collapse
Ah yeah, I found that too some months ago,forgot to mention that...but i don't want to unlock bootloader for now...thank you man!

Categories

Resources