Volume Boost Mod - T-Mobile Samsung Galaxy S6

For those that have their shiny S6 rooted.. copy this file with any root explorer to System/etc and make sure permissions are set to 0644. It's a noticeable boost. You can go higher but then the distortion starts.
Modded one Link
Stock untouched one Link
PIC
Code:
<path name="gain-media-speaker">
<ctl name="DSP5L Input 1 Volume" value="32" />
<ctl name="DSP5L Input 2 Volume" value="32" />
<ctl name="AIF4TX1 Input 1 Volume" value="32" />
<ctl name="AIF4TX2 Input 1 Volume" value="32" />
</path>
Those are values that I c hanged. Enjoy.

Volume boost S6(SM-g920f)
Thank you so much! Works good

You said it's a file, but this looks more like a script in the link. How do we apply this specifically?

megagodx said:
You said it's a file, but this looks more like a script in the link. How do we apply this specifically?
Click to expand...
Click to collapse
you copy the file. the code is just showing which file was changed.

Sorry man I'm not getting it either. It opens an html. Am i supposed to copy all the lines of code and paste it somewhere?

If you open it with your pc you can download it

guaneet said:
If you open it with your pc you can download it
Click to expand...
Click to collapse
Thank you. I dont use the pc too often so now I have a reason to fire it up. Kind of like an old muscle car. I just drive it once a month on the weekends[emoji12]

I've done some searching but cant seem to find the answer. When I open the permissions and there are 6 boxes, which ones stand for the numbers 0644? I got it working with the same permissions as the stock file but I guess for future reference, what is what?
Edit: Found it.
http://support.hostgator.com/articles/cpanel/how-to-change-permissions-chmod-of-a-file

Here's my question mates, is there any form to apply a volume boost just for the headset gain? i mean, for me the s6 speaker is fine, i dont wanna distorsion it, but i would really like is to boost volume on headset for the music.!

ArturoH4L said:
Here's my question mates, is there any form to apply a volume boost just for the headset gain? i mean, for me the s6 speaker is fine, i dont wanna distorsion it, but i would really like is to boost volume on headset for the music.!
Click to expand...
Click to collapse
http://forum.xda-developers.com/tmobile-galaxy-s6/help/increase-headphone-volume-t3089163

I have updated the file with headset volume boost. Values changed from 32 to 50. Could adjust according to desired max volume. It made a considerable boost to max volume, maybe too much.
Code:
<path name="gain-media-headset">
<ctl name="Noise Gate Switch" value="0" />
<ctl name="HPOUT1L Impedance Volume" value="117" />
<ctl name="HPOUT1R Impedance Volume" value="117" />
<ctl name="HPOUT1L Input 1 Volume" value="50" />
<ctl name="HPOUT1R Input 1 Volume" value="50" />
</path>

vidar808 said:
I have updated the file with headset volume boost. Values changed from 117 to 150. Could adjust according to desired max volume. It made a considerable boost to max volume.
Code:
<path name="gain-media-headset">
<ctl name="Noise Gate Switch" value="0" />
<ctl name="HPOUT1L Impedance Volume" value="150" />
<ctl name="HPOUT1R Impedance Volume" value="150" />
<ctl name="HPOUT1L Input 1 Volume" value="32" />
<ctl name="HPOUT1R Input 1 Volume" value="32" />
</path>
Click to expand...
Click to collapse
Tried flashing it in TWRP, no dice lol. (failure)

megagodx said:
Tried flashing it in TWRP, no dice lol. (failure)
Click to expand...
Click to collapse
Sorry, you need to extract the mixer_path.xml file from the zip and place in phone storage. And move it to "/system/etc/mixer_path.xml" and overwrite the existing.
I used root explorer app to copy the file to /system/etc/
Also, you will need to enable Read/Write for the /etc/ folder. Root explorer makes it easy.

Ty so much mate!

ArturoH4L said:
Ty so much mate!
Click to expand...
Click to collapse
I have a BT headset, can anyone help me to increase the BT Headset volume too?
Thanks!

tjuanma said:
I have a BT headset, can anyone help me to increase the BT Headset volume too?
Thanks!
Click to expand...
Click to collapse
I have added media volume boost to Bluetooth. I don't have a device to test it at the moment. Please try it and let me know if it worked.
Code:
<path name="gain-media-speaker-bt-sco-headset">
<ctl name="DSP5L Input 1 Volume" value="40" />
<ctl name="DSP5L Input 2 Volume" value="40" />
<ctl name="AIF4TX1 Input 1 Volume" value="40" />
<ctl name="AIF4TX2 Input 1 Volume" value="40" />
<ctl name="AIF3TX1 Input 1 Volume" value="40" />
<ctl name="AIF3TX2 Input 1 Volume" value="40" />
</path>

Thank you so much! I will try it in few hours and I will comment
Thanks!

i've found 1 side effect from boosting headphone volume. i boosted mine to 50 and when i turn the volume up in my headphones the device automatically stops the music at a certain volume. i dont know if this is a fail safe thing or if the DAC in my phone is faulty. anyone else's phone doing this? it does this for me using poweramp or the default music player.

Same here. Referring to the post above mine.

freebee269 said:
i've found 1 side effect from boosting headphone volume. i boosted mine to 50 and when i turn the volume up in my headphones the device automatically stops the music at a certain volume. i dont know if this is a fail safe thing or if the DAC in my phone is faulty. anyone else's phone doing this? it does this for me using poweramp or the default music player.
Click to expand...
Click to collapse
You're overloading your DAC..trying to amplify sound outside it's lmits

Related

[Q] Increase Headphone Volume

has anyone figured out what in the /system/etc/mixer_path.xml file we change to increase headphone volume?
I figured it out. Go into mixer_paths.XML and scroll down to the output volume stage around line 2221. Below that is gain media headset. That's the area you want to alter. Below that you will see hpout1l input 1 volume. Change that value and the hpout1r value. I turned mine up to 50 and it's definitely noticeable.
Sent from my SM-G920T using XDA Free mobile app
Forgot to add the screenshots.
Sent from my SM-G920T using XDA Free mobile app
freebee269 said:
has anyone figured out what in the /system/etc/mixer_path.xml file we change to increase headphone volume?
Click to expand...
Click to collapse
Updated mixer_path.xml with speaker and headset volume boost. Input value changed from 32 to 50.
Code:
<path name="gain-media-speaker">
<ctl name="DSP5L Input 1 Volume" value="32" />
<ctl name="DSP5L Input 2 Volume" value="32" />
<ctl name="AIF4TX1 Input 1 Volume" value="32" />
<ctl name="AIF4TX2 Input 1 Volume" value="32" />
</path>[CODE]
[CODE] <path name="gain-media-headset">
<ctl name="Noise Gate Switch" value="0" />
<ctl name="HPOUT1L Impedance Volume" value="117" />
<ctl name="HPOUT1R Impedance Volume" value="117" />
<ctl name="HPOUT1L Input 1 Volume" value="50" />
<ctl name="HPOUT1R Input 1 Volume" value="50" />
</path>[CODE]
freebee269 said:
Forgot to add the screenshots.
Sent from my SM-G920T using XDA Free mobile app
Click to expand...
Click to collapse
I tried this but if I go to a higher volume it crashes, did you have this problem?
Rossyyy said:
I tried this but if I go to a higher volume it crashes, did you have this problem?
Click to expand...
Click to collapse
Yes my dac crashed even if I set it to 40. I found a sweet spot at 37. Gives a good volume increase and the dac in my phone doesn't crash.
Sent from my SM-G920T using XDA Free mobile app
Which one of those lines controls Bluetooth volume? I noticed one that was media bt or something along that's sorts
skamp92 said:
Which one of those lines controls Bluetooth volume? I noticed one that was media bt or something along that's sorts
Click to expand...
Click to collapse
I have the same question.

(How To / MOD) Microphone Gain Increase on All S5 Variants + Mod *Update 02/11/16

Well everybody, as it has been asked many times now so i bring you the guide to increase the ""Microphone Gain"" on lollipop.
You will need to make some changes to the mixer_paths.xml content located in system/etc.
Open in Notepad++ or editor of choice and search for <path name="rec-main-mic">.
See below for what to edit,be careful not to adjust more than the value stated.
Save and set permissions to 644 or rw-r-r then reboot.
<!-- ================================================================>
<!-- Recording Scenario -->
<path name="rec-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="95" /> <------------- Increase Value to 106
</path>
<path name="rec-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="94" /> <------------- Increase Value to 106
</path>
<path name="rec-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="DEC5 Volume" value="72" /> <------------- Increase Value to 106
</path>
<path name="rec-stereo-mic">
<ctl name="Main Mic Delay" value="4" />
<path name="sub-main-mic" />
<ctl name="DEC2 Volume" value="95" /> <------------- Increase Value to 106
<ctl name="DEC4 Volume" value="94" /> <------------- Increase Value to 106
</path>
<path name="rec-high-gain-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="87" /> <------------- Increase Value to 106
</path>
<path name="rec-high-gain-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="87" /> <------------- Increase Value to 106
</path>
<path name="rec-high-gain-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="DEC5 Volume" value="84" /> <------------- Increase Value to 106
</path>
<path name="rec-high-gain-stereo-mic">
<path name="sub-3rd-mic" />
<ctl name="DEC2 Volume" value="87" /> <------------- Increase Value to 106
<ctl name="DEC4 Volume" value="87" /> <------------- Increase Value to 106
</path>
<path name="rec-NS-mic-interview">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="87" />
<ctl name="DEC4 Volume" value="87" />
<ctl name="ES705-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="7" />
</path>
<path name="rec-NS-mic-conversation">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="87" />
<ctl name="DEC4 Volume" value="87" />
<ctl name="ES705-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="8" />
</path>
<path name="rec-NS-mic-conference">
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="87" />
<ctl name="DEC4 Volume" value="87" />
</path>
<!-- end of Recording Scenario -->
You "WILL" have to reflash the mod after each ROM update
Hope this helps :good:
Downloads:
Attached At Bottom Of Post
Versions Explained:
10.x version is just a standard up-scaled mic and speaker gain..
11.x Same as 10.x but uses the internal speaker as well as loud speaker for sound playback
Credits to: @byte9 @stalli0nUK @langeveld024 @oetzi83
thejester123 said:
Credits to: @byte9
Click to expand...
Click to collapse
Ideally CM would take it serious and patch in upstream but they stand by "we use the same values as Samsung" which clearly is broken if ANY testing had been done.
Most people don't even catch the gain issue as the volume stands out a lot more. For me the fix comes with the xml and long term will probably be with a new phone.
Moto X Pure or Note 5 incoming.
Can you also make a file for better (very) loud recordings?
Can you also edit, that in normal recording volume its like on stock?
phoberus said:
Can you also make a file for better (very) loud recordings?
Can you also edit, that in normal recording volume its like on stock?
Click to expand...
Click to collapse
I will upload a "Stock" version but if you backup your original before flashing the zip then you can always reverse the changes . The recording mic gain is pretty loud in my mod, you can increase it more but I do not recommend this at all.
thejester123 said:
I will upload a "Stock" version but if you backup your original before flashing the zip then you can always reverse the changes . The recording mic gain is pretty loud in my mod, you can increase it more but I do not recommend this at all.
Click to expand...
Click to collapse
Sorry, I think I writed it a little bit wrong.
I mean a zip to record in loud places, not loud audiofiles. For example, at a concert
But the mic volume on phonecalls and peaceful surroundings should like stock, is this possible?
Okay, I tried the modified file for one day and it is a bit too loud for me. When I was driving and you had driving sound in the background while recording a voice message in WhatsApp it sounds very distorted.. When it is quiet around you it is very good. Is there anything I can do against this? Maybe lower the values a bit? So if I lower it do I have to lower all values?
The microphone is definitely not as good as my galaxy S2's microphone, that has a superb audio quality.. I guess Samsung makes savings on microphone quality or it is limited by settings..
I don't know if it would be helpful to send you the xml File of my S2 to compare the values. There I had installed CM11 and sound was great
Regards
Sent from my GT-I9100 using german Tapatalk 4
j1gga84 said:
Okay, I tried the modified file for one day and it is a bit too loud for me. When I was driving and you had driving sound in the background while recording a voice message in WhatsApp it sounds very distorted.. When it is quiet around you it is very good. Is there anything I can do against this? Maybe lower the values a bit? So if I lower it do I have to lower all values?
The microphone is definitely not as good as my galaxy S2's microphone, that has a superb audio quality.. I guess Samsung makes savings on microphone quality or it is limited by settings..
I don't know if it would be helpful to send you the xml File of my S2 to compare the values. There I had installed CM11 and sound was great
Regards
Sent from my GT-I9100 using german Tapatalk 4
Click to expand...
Click to collapse
You can send it and I will compare the two files, I will take a look at lowering the values and see where we can improve the quality , thanks for the feedback..
phoberus said:
Sorry, I think I writed it a little bit wrong.
I mean a zip to record in loud places, not loud audiofiles. For example, at a concert
But the mic volume on phonecalls and peaceful surroundings should like stock, is this possible?
Click to expand...
Click to collapse
The mod does not affect the mic during phone calls, that remains untouched. I am looking into making it a little more audible in loud environments.
http://d-h.st/zQOs <-- Right I have given this one a test round my screaming kids and there is minimal if an distortion when making whatsapp voice messages @j1gga84 . Will update OP later on today...
thejester123 said:
You can send it and I will compare the two files, I will take a look at lowering the values and see where we can improve the quality , thanks for the feedback..
Click to expand...
Click to collapse
Many thanks, I will send you the file after work today evening
regards
thejester123 said:
The mod does not affect the mic during phone calls, that remains untouched. I am looking into making it a little more audible in loud environments.
Click to expand...
Click to collapse
Just to clarify.......This mod does not change ANYTHING for your average phone call conversation. Correct?
Stupifier said:
Just to clarify.......This mod does not change ANYTHING for your average phone call conversation. Correct?
Click to expand...
Click to collapse
Yes that is correct
I can't wait to try this... Thanks!
thejester123 said:
You can send it and I will compare the two files, I will take a look at lowering the values and see where we can improve the quality , thanks for the feedback..
Click to expand...
Click to collapse
Damn I am on Android 4.4.4 (SlimSaber, a derivate of SlimKat) on my old Galaxy S2 and there I cannot find that file..
Do you know if it is maybe somewhere else under KitKat?
EDIT:
Okay I checked the new file, it is better but still a bit scratched in the peaks. What did you changed compared to the first file? I would also say, that the voice is a bit deeper than on my Galaxy S2 but I think that is not settings related but hardware
regards
j1gga84 said:
Damn I am on Android 4.4.4 (SlimSaber, a derivate of SlimKat) on my old Galaxy S2 and there I cannot find that file..
Do you know if it is maybe somewhere else under KitKat?
EDIT:
Okay I checked the new file, it is better but still a bit scratched in the peaks. What did you changed compared to the first file? I would also say, that the voice is a bit deeper than on my Galaxy S2 but I think that is not settings related but hardware
regards
Click to expand...
Click to collapse
I dropped the "rec-high-gain" areas by 10 that was all so perhaps a little more fine tuning and we will have this bad boy perfect . Thanks for your testing,feedback and patience...
Noob Question
deleted
thejester123 said:
I dropped the "rec-high-gain" areas by 10 that was all so perhaps a little more fine tuning and we will have this bad boy perfect . Thanks for your testing,feedback and patience...
Click to expand...
Click to collapse
Good morning,
many thanks again for your work
I checked it again while driving today. It is better than with the first file but still a bit distorted in the peaks.
Volume is good but quality is still a bit "scratched"
I could also record a sound file in whatsapp and send it to you via Mail if you need it for further improvement
If everything is ok I will share your thread in german android-hilfe forum and translate it to german
Btw. I found a very little error in the opener: "Back to Sock Zip" - I think you mean Stock Zip
regards
That is not a problem at all @j1gga84. Haha, minor spelling errors darn it, I have a new file to upload when I get to my laptop
is increasing the gain better for a quiet environment or a loud compared to stock?
phoberus said:
is increasing the gain better for a quiet environment or a loud compared to stock?
Click to expand...
Click to collapse
I would say for a quiet environment because microphone gets more sensitive, in a lound environment it gets distorted but thejester123 is still optimizing the file and the one you can download right now is much better than the first one from yesterday :good:
regards

Galaxy S5 low audio notes FIX (Cyanogenmod 13/14) Step by step.

Hi, I'm here with a solution for the low audio notes on Samsung Galaxy S5 running cyanogenmod 13 or 14, also works on 14.1.
I have the SM-G900M version, I don't know if this works on the other versions.
Well, to increase volume on audio notes (like when you record in Whatsapp) first you have to:
1- Download a file browser. I download ES File Explorer File Manager.
2- Then activate root on: Settings > Developer options* > Root Acces > Apps and ADB''
*You can activate developer clicking many times on : ''Settings > About Phone > Build number''
3- Go to ES File Explorer and activate ''Root Explorer'' and ''Show Hidden Files''. Then go to Settings (in the app) and in Home Directory select '' / '' click ''Ok''
4- ''App menu > Home'' and select the folder ''etc'' the scroll down and select the file ''mixer_paths.xml'' and open it with Es Note Editor.
5- Scroll down until you see <!-- Recording Scenario -->
6- Then change the values as I have them here :
<!-- Recording Scenario -->
<path name="rec-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="130" />
</path>
<path name="rec-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="130" />
</path>
<path name="rec-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="12" />
<ctl name="DEC5 Volume" value="103" />
</path>
<path name="rec-stereo-mic">
<ctl name="Main Mic Delay" value="4" />
<path name="sub-main-mic" />
<ctl name="DEC2 Volume" value="97" />
<ctl name="DEC4 Volume" value="97" />
</path>
<path name="rec-high-gain-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="130" />
</path>
<path name="rec-high-gain-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="97" />
</path>
<path name="rec-high-gain-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="12" />
<ctl name="DEC5 Volume" value="84" />
</path>
<path name="rec-high-gain-stereo-mic">
<path name="sub-3rd-mic" />
<ctl name="DEC2 Volume" value="97" />
<ctl name="DEC4 Volume" value="97" />
</path>
<path name="rec-NS-mic-interview">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="97" />
<ctl name="DEC4 Volume" value="97" />
<ctl name="ES705-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="7" />
</path>
<path name="rec-NS-mic-conversation">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="97" />
<ctl name="DEC4 Volume" value="97" />
<ctl name="ES705-AP Tx Channels" value="One" />
<ctl name="Internal Route Config" value="8" />
</path>
<path name="rec-NS-mic-conference">
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="97" />
<ctl name="DEC4 Volume" value="97" />
</path>
<!-- end of Recording Scenario -->
<!--
Click to expand...
Click to collapse
7- Save the changes, go back and reboot.
8- If is to loud, or low, you can change the values that I put in ''130'', if you put instead of ''130'', ''90'' the recording audios will be hear more low.
-Sorry for my english (I speak spanish)
-I'm not a developer, just a curious guy.
-This is my first post and I post this because I was a lot of time searching for the fix of this problem, and maybe this could help you.
Thank you so much dude! I had the same problem on my G900F. Thanks to your tutorial I'm able to use voice messages again.
Greetings from Germany
Perfect,
Thx soooooo much. wonderfull settings, also on the G900F, thx from the Netherlands.
You saved the day !
cheers,
Rene
- Conax - said:
Thank you so much dude! I had the same problem on my G900F. Thanks to your tutorial I'm able to use voice messages again.
Greetings from Germany
Click to expand...
Click to collapse
rfnreynders said:
Perfect,
Thx soooooo much. wonderfull settings, also on the G900F, thx from the Netherlands.
You saved the day !
cheers,
Rene
Click to expand...
Click to collapse
You're welcome!! :good:
Woah, nice, but why does miine show zero everywhere?
I have A.R.I.S.E sound mod and my problem is:
- Low mic (other people can hardly here when I make calls)
- Loud speaker (notifications, alarms etc are super loud)
Thanks a lot
raylogic said:
Woah, nice, but why does miine show zero everywhere?
I have A.R.I.S.E sound mod and my problem is:
- Low mic (other people can hardly here when I make calls)
- Loud speaker (notifications, alarms etc are super loud)
Thanks a lot
Click to expand...
Click to collapse
Hi, i don't really know because i'm not a developer. But try increasing the values you've there, first make a backup of that code, and then try.
thanks dude, It worked perfectly, i ****ing love u
I'm wondering if anyone knows how to specifically increase the earbuds in call volume? Thank you
Can anyone show me how to boost microphone in video recording? All other things are working, but when I record a video my microphone sound is very, very low. What I have to edit?
Thanks.
Man, you are insane, I've been looking for this for a long time! Thank you so much!
I find 117 instead of 130 more to my taste.
I wonder if there's a way to control also the whatsapp video calls mic gain...
It works! My G900M S5 was in a lower voice and after change the values now fixed it. Thanks
Is this fix S5 exclusive? I have the same low mic volume issue on my S4 since the last update of LOS. It used to work fine in previous versions.
Great fix
I have ressurection Remix ROM on an SM-GT900T Galaxy S5 and Voice recordings and WhatsApp Voice recording were low, I applied your fix to only the three values you suggested at 130 and edited them to 120 and the results were excellent.
Thanks
amsjnkml said:
I have ressurection Remix ROM on an SM-GT900T Galaxy S5 and Voice recordings and WhatsApp Voice recording were low, I applied your fix to only the three values you suggested at 130 and edited them to 120 and the results were excellent.
Thanks
Click to expand...
Click to collapse
I have the same device and the same rom, but I can not find the file. (Im root)
alfredomadrid said:
I have the same device and the same rom, but I can not find the file. (Im root)
Click to expand...
Click to collapse
Hi, you need to install ES File Explorer.
Then follow instructions in this thread https://forum.xda-developers.com/galaxy-s5/general/galaxy-s5-low-audio-notes-fix-t3542279
alfredomadrid said:
I have the same device and the same rom, but I can not find the file. (Im root)
Click to expand...
Click to collapse
I'm in the same problem, I only found this mixer in "etc/vendor" path, did the change but nothing changed... My partner can't hear me in whatsapp videos call, even using headphones...
Math_Apolo said:
I'm in the same problem, I only found this mixer in "etc/vendor" path, did the change but nothing changed... My partner can't hear me in whatsapp videos call, even using headphones...
Click to expand...
Click to collapse
Try applying the fix in this thread,
https://forum.xda-developers.com/galaxy-s5/general/mic-volume-gain-mod-s5-t3491483
I used the MICGAIN26normal and it corrected the problem.
amsjnkml said:
Try applying the fix in this thread,
https://forum.xda-developers.com/galaxy-s5/general/mic-volume-gain-mod-s5-t3491483
I used the MICGAIN26normal and it corrected the problem.
Click to expand...
Click to collapse
Thx for help, it didn't work too, Like nothing change at all, unless I can't transfer files now and everytime get media error, not blaming you, just saying what happening now.
"android.process.media stopped" all the time
I think I have to live with this **** mic, my partner can't hear me even if I use mic on headphones....
shkedov said:
Man, you are insane, I've been looking for this for a long time! Thank you so much!
I find 117 instead of 130 more to my taste.
I wonder if there's a way to control also the whatsapp video calls mic gain...
Click to expand...
Click to collapse
I'm using Galaxy S5 g900m (klte) and I'm having the same issue, but it's not on Cyanogenmod, it's on LineageOS 15.1 Oreo.
When you record audio and send it via Whatsapp, Telegram, the sound is too low compared to the Stock ROM.
It happens when you listen to the audio as well. Everything seems to be very low, even if you put eveything 100%
mixer_paths.xml doesn't exist on lineageOS

[AUDIO][PIE][V30/V30+] Restore Legacy Audio Configuration

Hi all, this mod is to restore audio configuration for 3rd party app music like PowerAmp Hi-Res Output to be compatible on PIE ROM which supported Quad DAC Panel.
Changelog :
Code:
*Enable all sampling rate up to 384khz
*Restore stock audio configuration to match with HiFi Quad Dac Panel
*Bypass Quad DAC detection for headset/headphones to be enable for all connected AUX
*Restore Google stock volume value for Headset/Headphones
This audio configuration will enable Hi-res Output Experimental for AUX/Wired Headphones in PowerAMP since PowerAMP didn't detect AUX/Wired Headphones in PIE ROM
NOTE :
PowerAMP still has bug DVC in PIE ROM in certain sampling rate (88.2Khz,176Khz,352Khz,384Khz) no sound if you choose the one that i listed.
DVC Only work with 44.1Khz,48Khz,96Khz and 192Khz
So if u want to use e.g 384Khz you need to disable DVC in PowerAMP
Install this mod via TWRP and you are ready to listening music
I can confirm it fixes the inverted bug of the quad DAC switch in AOSP pie Roms. Working well over here, i can hear the difference in sound.
The filters seem to be a bit buggy now.
I am using this on my device as I found that inverted switch irritating.
I use USB audio player btw
This is amazing thank you for this ,I'm a longtime Poweramp user, best music player in the market
Thks for your hardwork on this mod
---------- Post added at 02:28 AM ---------- Previous post was at 02:08 AM ----------
Rizal Lovins said:
Hi all, this mod is to restore audio configuration for 3rd party app music like PowerAmp Hi-Res Output to be compatible on PIE ROM which supported Quad DAC Panel.
Install this mod via TWRP and you are ready to listening music
Click to expand...
Click to collapse
Would you mind sharing what you change in these file?
Mrxyzl said:
Would you mind sharing what you change in these file?
Click to expand...
Click to collapse
You can take all those files from Stock ROM, since stock ROM still include old/legacy audio configuration, for more info https://source.android.com/devices/audio/implement-policy
To fix Quad DAC you need to edit mixer_path_tavil.xml
Code:
<!-- ESS DAC START -->
<path name="headphones-hifi-dac">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="1" />
</path>
<path name="headphones-hifi-dac-advanced">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="2" />
</path>
<path name="headphones-hifi-dac-aux">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="3" />
</path>
<path name="headphones-hifi-dacdop">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="1" />
</path>
<path name="headphones-hifi-dacdop-advanced">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="2" />
</path>
<path name="headphones-hifi-dacdop-aux">
<ctl name="Es9018 AVC Volume" value="0" />
<ctl name="Es9018 Master Volume" value="0" />
<ctl name="Es9018 HEADSET TYPE" value="3" />
</path>
I use dual speaker mod in stock oreo, but bottom speaker is much treble? how to fix?
Step to install it? I'm new to it and searching to enable hi res on my RR ROM in poweramp
topertups said:
Step to install it? I'm new to it and searching to enable hi res on my RR ROM in poweramp
Click to expand...
Click to collapse
Dont use this on pie, it has bugs. Search Magisk] Enable 24 bit output for PowerAmp on PIE thread
Just want to give my thanks! You're a life saver.
I just bought a V30 because it looked like a perfect phone with a great headphone jack. Unlocked it and tried some custom ROMs, and EVERY single one had a horrible hiss/high noise floor in the sound, no matter the DAC setting. I was literally ready to sell this phone just a week after buying it because I love my good sound quality. But your ZIP fixed it. It sounds perfect now.
So if anyone has a loud hiss using headphones, regardless of HIM or regular DAC modes, absolutely give this a try.
I'm running the ResurrectionRemix 7 (Pie) ROM. I don't have any bugs, and my DAC actually seems to function better, i.e. I don't have to turn it off and on every time I play music to actually apply the DAC settings.
How do I restore to stock? I get terrible hissing with my earbuds.
As this is a TWRP flashable, the changes it makes are not easily reversible. You can either take apart the flashable zip, read through the install script and try to reverse it. Or you can restore the system backup you made before flashing a TWRP mod. If you didn't make a backup, your next best bet is to reflash the rom itself through TWRP or if your coming from a KDZ, reflash the System partition using patched LGUP (make sure its the EXACT KDZ you came from, if its not, your better off backing up your data and following one of Chaz's guides to reflash the whole thing, these phones CAN be bricked by software if your not careful).
cLick1338 said:
How do I restore to stock? I get terrible hissing with my earbuds.
Click to expand...
Click to collapse
This mod simply overrides some files. You'll need to put the original files back. What is your ROM version? I also tried this mod and didn't like it. Reverted it back with the flashable zip (attached) containing the original files made for my specific ROM version (V30q). It might cause issues if you have an other version but I don't really think it will.
Thank you, that did the job (v30q, H930). All mods should have a remover if possible, really. Partially my fault for not doing a backup before though.
Fluvance said:
*
Click to expand...
Click to collapse
It's great to see that it solved the noise problem for you. Is there hissing or noise when playing in apps, for example Youtube, Spotify or Tidal? Or it just fixes the noise floor/ hissing for Poweramp?
DooMLoRD77 said:
It's great to see that it solved the noise problem for you. Is there hissing or noise when playing in apps, for example Youtube, Spotify or Tidal? Or it just fixes the noise floor/ hissing for Poweramp?
Click to expand...
Click to collapse
It only fixed the hissing in Poweramp. Which was my main concern. But it's a little funny when listening to a song with zero hiss, and then have a notification sound come up in the middle that hisses like crazy.
But yeah, Spotify, YouTube, Firefox, system sounds, etc all hiss.

Increase Bluetooth Audio?

Hello!
I am using HavocOS and my Xiaomi Airdots pro. Is there a way to increase the Bluetooth volume? Is increasing it with Viper the only way? Especially in Spotify it is very quitly. I have tried to deactivate the max bluetooth volume in the dev settings but with no result.
You have a few options,
You can sift through audio folders that are approximately here : Path : system/vendor/etc/ and then locate mixer_paths_overlay_static.xml and mixer_paths_tavil.xml
Do some trial and error with manually increasing audio values For example : changing <ctl name="HPHL Volume" value="17" /> to <ctl name="HPHL Volume" value="20" />
Another option
Flash the attached files that I found on 4PDA a few months ago
I don't remember who to give credit to because I had trouble re-finding it just now. So if the creator sees this post, PM me with your details and I will edit this post and provide credit.
Edit Credit goes to this person : http://4pda.ru/forum/index.php?showtopic=912822&view=findpost&p=83438213
I have used the mod and it definitely worked for me and should work on any rom.
First a Caveat : Use at your own risk.
Although I have used this mod and as mentioned it does in fact work. If you have an issue, don't blame me.
Although there is an uninstall file : make a Nandroid backup and so if the sound quality isn't ideal for you, and for some reason the uninstaller doesn't work, you can quickly go back without too much hassle.
Enjoy.
Thank You very much, i will try
You can also install Xiaomi eu. It's playing music much much better and louder than official rom.
Alex2017Germany said:
Hello!
I am using HavocOS and my Xiaomi Airdots pro. Is there a way to increase the Bluetooth volume? Is increasing it with Viper the only way? Especially in Spotify it is very quitly. I have tried to deactivate the max bluetooth volume in the dev settings but with no result.
Click to expand...
Click to collapse
You can also use the louder audio flashable zip I made for mi8 in the mods section.
https://forum.xda-developers.com/showpost.php?p=78865714&postcount=1
Agimax said:
You can also use the louder audio flashable zip I made for mi8 in the mods section.
https://forum.xda-developers.com/showpost.php?p=78865714&postcount=1
Click to expand...
Click to collapse
Cool!
I never knew that you made one.
Edit: How much headroom does your audio mod leave? As you probably already know, should be definitely no higher than -3db, this volume is usually loud enough and without compression artifacts or digital noise.
Edit 2 : Nevermind, I see you left the dynamics, Excellent!
I am sure that your mod has better quality than the one I posted. Thanks for your work.
Agimax said:
You can also use the louder audio flashable zip I made for mi8 in the mods section.
https://forum.xda-developers.com/showpost.php?p=78865714&postcount=1
Click to expand...
Click to collapse
Does it work also on HavocOS? Because in the topic stands "[MIUI Global]"
Just asking to be sure.
Alex2017Germany said:
Does it work also on HavocOS? Because in the topic stands "[MIUI Global]"
Just asking to be sure.
Click to expand...
Click to collapse
It should if you are using MIUI firmware / Vendor partition. The audio files are in the Vendor partition and usually are linked to that location from the system/etc directory. The mod goes to both places.
Ich have found the file mixer_paths_tavil.xml in vendor/etc/
There are some sections with "Digital Volume"
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="RX7 Digital Volume" value="84" />
I dont know if i can change it to 90. There are more sections where "Digital Volume" is listed but with diferent values like 81 and so
Alex2017Germany said:
Ich have found the file mixer_paths_tavil.xml in vendor/etc/
There are some sections with "Digital Volume"
<ctl name="RX0 Digital Volume" value="84" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="RX7 Digital Volume" value="84" />
I dont know if i can change it to 90. There are more sections where "Digital Volume" is listed but with diferent values like 81 and so
Click to expand...
Click to collapse
You can do what you prefer, but i've been modding sound since the first consumer HERO phone. I would not go higher than 87 or 88 on the digital side to help reduce distortion. I also wouldn't turn the amp louder than 19 to 21 (def no more than 24 max).
Rule of thumb for audio:
LINEOUT 1&2 Volume to around 18 or 19
HPHL & HPHR to around 24
ADC1 & ADC2 all to 84
RX0 to RX7 all to 84
DEC0 to DEC8 all to 84
Don't forget to check the other mixer files overlay_dynamic and overlay_static. My mod goes through all of the files tweaks all areas for change.

Categories

Resources