Can someone who has not modded there volume mixer_paths.xml file located in root/etc please tell me the values. If you open the file with root explorer and look and post your settings or upload the file for me please, I would like to go back to stock or know at least mine is stock. It will be about a 1/4 way down on the file mixer_paths file, when you open it up and should look like this below. I am looking for the values. I would really appreciate the help. :highfive:
It will look just like this I just need to know what the values are.
<!-- Play Scenario -->
-<path name="handset">
<path name="rcv"/>
<ctl value="POS_3_DB" name="EAR PA Gain"/>
<ctl value="85" name="RX1 Digital Volume"/>
</path>
-<path name="speaker">
<path name="spk"/>
<ctl value="80" name="RX7 Digital Volume"/>
<ctl value="8" name="SPK DRV Volume"/>
<ctl value="1" name="COMP0 Switch"/>
</path>
-<path name="headset">
<path name="ear"/>
<ctl value="21" name="HPHL Volume"/>
<ctl value="21" name="HPHR Volume"/>
<ctl value="81" name="RX1 Digital Volume"/>
<ctl value="81" name="RX2 Digital Volume"/>
<ctl value="1" name="COMP1 Switch"/>
</path>
-<path name="dock">
<path name="lineout"/>
<ctl value="84" name="RX3 Digital Volume"/>
<ctl value="84" name="RX5 Digital Volume"/>
<ctl value="20" name="LINEOUT1 Volume"/>
<ctl value="20" name="LINEOUT2 Volume"/>
<ctl value="1" name="COMP2 Switch"/>
</path>
-<path name="speaker-and-headphones">
<path name="spk-ear"/>
<ctl value="0" name="HPHL Volume"/>
<ctl value="0" name="HPHR Volume"/>
<ctl value="82" name="RX1 Digital Volume"/>
<ctl value="82" name="RX2 Digital Volume"/>
<ctl value="80" name="RX7 Digital Volume"/>
<ctl value="8" name="SPK DRV Volume"/>
</path>
-<path name="speaker-and-hdmi">
<path name="spk"/>
<ctl value="82" name="RX7 Digital Volume"/>
<ctl value="8" name="SPK DRV Volume"/>
</path>
-<path name="speaker-and-proxy">
<path name="spk"/>
<ctl value="85" name="RX7 Digital Volume"/>
<ctl value="7" name="SPK DRV Volume"/>
</path>
-<path name="speaker-and-dock">
<path name="spk-lineout"/>
<ctl value="85" name="RX3 Digital Volume"/>
<ctl value="85" name="RX5 Digital Volume"/>
<ctl value="20" name="LINEOUT1 Volume"/>
<ctl value="20" name="LINEOUT2 Volume"/>
<ctl value="82" name="RX7 Digital Volume"/>
<ctl value="8" name="SPK DRV Volume"/>
</path>
<!-- end of Play Scenario -->
Here u go.
https://www.dropbox.com/s/lur4wo459wzjf3k/S5_Volume_RESTORE.zip?dl=0
Samsung unlock Bootloader on SM-870A.
That's ok looks like different Phone my be way go.
Thanks!
Related
Could anyone conform that this works on our phones too? credits to @spiderio
open file manager then go to /system/etc go to mixer_paths
Code:
29 | <ctl name="RX1 Digital Volume" value="65" />
30 | <ctl name="RX2 Digital Volume" value="65" />
779 | <path name="speaker">
780 | <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
781 | <ctl name="SLIM_0_RX Channels" value="One" />
782 | <ctl name="RX3 MIX1 INP1" value="RX1" />
783 | <ctl name="RX3 Digital Volume" value="65" />
784 | <ctl name="RX4 Digital Volume" value="65" />
785 | <ctl name="RDAC5 MUX" value="DEM3_INV" />
786 | <ctl name="LINEOUT1 Volume" value="22" />
787 | <ctl name="LINEOUT3 Volume" value="22" />
788 | <ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
789 | <ctl name="SPK Amp Volume" value="3" />
790 | </path>
854 | <path name="headphones">
855 | <ctl name="SLIM RX1 MUX" value="AIF1_PB" />
856 | <ctl name="SLIM RX2 MUX" value="AIF1_PB" />
857 | <ctl name="SLIM_0_RX Channels" value="Two" />
858 | <ctl name="RX1 MIX1 INP1" value="RX1" />
859 | <ctl name="RX2 MIX1 INP1" value="RX2" />
860 | <ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
861 | <ctl name="HPHL DAC Switch" value="1" />
862 | <ctl name="HPHL Volume" value="20" />
863 | <ctl name="HPHR Volume" value="20" />
864 | <ctl name="RX1 Digital Volume" value="65" />
865 | <ctl name="RX2 Digital Volume" value="65" />
866 | <ctl name="COMP1 Switch" value="1" />
867 | </path>
998 | <path name="speaker-and-headphones">
999 | <path name="headphones" />
1000 | <ctl name="COMP1 Switch" value="0" />
1001 | <ctl name="HPHL Volume" value="15" />
1002 | <ctl name="HPHR Volume" value="15" />
1003 | <ctl name="RX1 Digital Volume" value="58" />
1004 | <ctl name="RX2 Digital Volume" value="58" />
1005 | <ctl name="RX3 MIX1 INP1" value="RX1" />
1006 | <ctl name="RX3 MIX1 INP2" value="RX2" />
1007 | <ctl name="RX3 Digital Volume" value="65" />
1008 | <ctl name="RX4 Digital Volume" value="65" />
1009 | <ctl name="RDAC5 MUX" value="DEM3_INV" />
1010 | <ctl name="LINEOUT1 Volume" value="20" />
1011 | <ctl name="LINEOUT3 Volume" value="20" />
1012 | <ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
1013 | </path>
From where did you get this mod? I believe exynos and snapdragon has different file paths or location, I could be wrong though. I too would really like to have a working volume hack to increase overall volume.
Thanks
Sent from my SM-N910C using Tapatalk
Can anyone post a flashable zip for boosting volume?
My mixer_paths is different:
Code:
<mixer>
<!-- Playback paths -->
<path name="media-speaker"></path>
<path name="media-headphones"></path>
<path name="speaker-and-headphones"></path>
<path name="voice-rec-speaker"></path>
<path name="voice-rec-headphones"></path>
<path name="communication-speaker"></path>
<path name="communication-headphones"></path>
<path name="bt-sco-headset"></path>
<!-- Capture paths -->
<path name="main-mic"></path>
<path name="media-main-mic"></path>
<path name="media-second-mic"></path>
<path name="media-headset-mic"></path>
<path name="voice-rec-main-mic"></path>
<path name="voice-rec-headset-mic"></path>
<path name="communication-main-mic"></path>
<path name="communication-headset-mic"></path>
<path name="bt-sco-mic"></path>
</mixer>
mcreego said:
Can anyone post a flashable zip for boosting volume?
Click to expand...
Click to collapse
Waiting for a flashable zip as well.
twe90kid said:
Waiting for a flashable zip as well.
Click to expand...
Click to collapse
Would be nice to have one maybe donatec
Sent from my SM-N910P using XDA Premium HD app
Oh yeah. Always mod volume on all outputs on all phones when possible. Editing code does work but will wait for proper flashable zip. If my buddy makes one up soon I'll post it.
Sent from my *ROOTED* Note 4 SM-N910W8
What's up everybody. This time I bring you a simple mod to increase the volume's on lollipop. What we're going to do is make some edit's in the mixer_paths.xml located in system/etc. Open in Notepad++ or editor of your choice and search for <path name="handset"> . See below for area's to edit,be careful and adjust slowly. Set permissions to 644 or rw-r-r.
Lollipop Guide: Location =system/etc
Only increase levels by a maximum of +10 to avoid speaker damage. On HPHL & HPHR raise levels slowly to avoid damage or distortion.
<!-- ================================================================ -->
<!-- Play Scenario -->
<path name="handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="90" /> <--------------
</path>
<path name="speaker">
<path name="spk" />
<ctl name="RX7 Digital Volume" value="83" /> <--------------
<ctl name="SPK DRV Volume" value="8" />
<ctl name="COMP0 Switch" value="1" />
</path>
<path name="headset">
<path name="ear" />
<ctl name="HPHL Volume" value="20" /> <--------------
<ctl name="HPHR Volume" value="20" /> <--------------
<ctl name="RX1 Digital Volume" value="90" /> <--------------
<ctl name="RX2 Digital Volume" value="90" /> <--------------
<ctl name="COMP1 Switch" value="1" />
</path>
<path name="dock">
<path name="lineout" />
<ctl name="RX3 Digital Volume" value="83" />
<ctl name="RX5 Digital Volume" value="83" />
<ctl name="LINEOUT1 Volume" value="19" />
<ctl name="LINEOUT2 Volume" value="19" />
<ctl name="COMP2 Switch" value="1" />
</path>
<path name="speaker-and-headphones">
<path name="spk-ear" />
<ctl name="HPHL Volume" value="5" /> <--------------
<ctl name="HPHR Volume" value="5" /> <--------------
<ctl name="RX1 Digital Volume" value="90" /> <--------------
<ctl name="RX2 Digital Volume" value="90" /> <--------------
<ctl name="RX7 Digital Volume" value="79" />
<ctl name="SPK DRV Volume" value="8" />
</path>
<path name="speaker-and-hdmi">
<path name="spk" />
<ctl name="RX7 Digital Volume" value="81" /> <--------------
<ctl name="SPK DRV Volume" value="8" />
</path>
<path name="speaker-and-proxy">
<path name="spk" />
<ctl name="RX7 Digital Volume" value="84" />
<ctl name="SPK DRV Volume" value="7" />
</path>
<path name="speaker-and-dock">
<path name="spk-lineout" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="LINEOUT1 Volume" value="19" />
<ctl name="LINEOUT2 Volume" value="19" />
<ctl name="RX7 Digital Volume" value="81" />
<ctl name="SPK DRV Volume" value="8" />
</path>
<path name="speaker-and-bt-sco">
<path name="spk" />
<ctl name="RX7 Digital Volume" value="79" />
<ctl name="SPK DRV Volume" value="8" />
<ctl name="COMP0 Switch" value="1" />
</path>
<path name="speaker-and-headphones-bt-sco">
<path name="spk-ear" />
<ctl name="HPHL Volume" value="5" />
<ctl name="HPHR Volume" value="5" />
<ctl name="RX1 Digital Volume" value="86" /> <--------------
<ctl name="RX2 Digital Volume" value="86" /> <--------------
<ctl name="RX7 Digital Volume" value="80" />
<ctl name="SPK DRV Volume" value="8" />
</path>
<!-- end of Play Scenario -->
Fixed lollipop guide and added kitkat,.... Please post your xml when finished so we can share them with everyone. You can also post your stock and I'll update it and post it.Thanks.....
Thank you for this post! I have been looking for a while for a way to enhance the quality of my Bluetooth Headphones (Noise Cancelling Philips SHB8850NC). At the beginning I tried to install Viper4Android on my Samsung S5, but I was not able to make it work because I have the Android Lollipop 5.0 with Knox installed. So the only solution was to manually increase all the gains of the mixer_paths.xml file as described here, and now I can enjoy the best Bluetooth Experience! The bass is now pretty deep with the built-in Samsung player (bass equalizer).
Call mic gain in mixer_paths.xml
I read with great interest "How to increase volume in Lollipop Samsung S5". In my S5 the sensitivity of the call microphone is low: I need to speak with very loud voice.
I have not found in the Italian Forums a way to boost the sensitivity. I would appreciate if you could explain to me what I must variations in file mixer_paths.xml to achieve the required purpose.
I would ask you to be very clear how my experience is limited. If a slight increase in sharp ones the possibility exist too. My S5 SM-G900FD is rooted. Thank you.
Does this work with the exynos version?
I am asking because I use an S5 neo but the mixer_path.xml content is different from this one.
Does this work with g900f?
I'm guessing you boost the volume by modifying mixer_paths_tasha.xml file. I've tried the usual suspects below already with no effect:
1) initial mixer settings
Code:
<ctl name="HPHL Volume" value="25" />
<ctl name="HPHR Volume" value="25" />
<ctl name="RX0 Digital Volume" value="94" />
<ctl name="RX1 Digital Volume" value="94" />
<ctl name="RX2 Digital Volume" value="94" />
<ctl name="RX3 Digital Volume" value="94" />
<ctl name="RX4 Digital Volume" value="94" />
<ctl name="RX5 Digital Volume" value="95" />
<ctl name="RX6 Digital Volume" value="95" />
<ctl name="RX7 Digital Volume" value="94" />
<ctl name="RX8 Digital Volume" value="94" />
and 2) headphones
Code:
<path name="headphones-44.1">
<ctl name="SLIM RX3 MUX" value="AIF3_PB" />
<ctl name="SLIM RX4 MUX" value="AIF3_PB" />
<ctl name="SLIM_5_RX Channels" value="Two" />
<!-- [email protected],2016/4/7,use 24bits to get rid of 16bits innate noise -->
<ctl name="SLIM_5_RX Format" value="S24_LE" />
<!-- #endif VENDOR_EDIT-->
<ctl name="SLIM_5_RX SampleRate" value="KHZ_44P1" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX3" />
<ctl name="RX INT2_1 MIX1 INP1" value="RX4" />
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX INT2 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="SPL SRC0 MUX" value="SRC_IN_HPHL" />
<ctl name="SPL SRC1 MUX" value="SRC_IN_HPHR" />
<ctl name="RX INT1 SPLINE MIX HPHL Switch" value="1" />
<ctl name="RX INT2 SPLINE MIX HPHR Switch" value="1" />
</path>
Anyone know how to make this happen?
Thanks
I'm using the latest OOS 7.1.1, rooted and with TWRP
just noticed the in-call volume is quite low and hard to hear other people. any way to increase this?
speaker volume is okay, no issues there
if you're willing to flash elementalx, there's a mic volume adjustment (which actually boosts the in call volume) that you can use. Set that to max on accident one time and can hear the person speaking 2 feet away from ear speaker on min volume.
edit root/system/etc/mixer_paths.xml and change the value (default is 84). 95 is the new high value (look for <path name="speaker">).
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX8 MIX1 INP1" value="RX2" />
<ctl name="RX7 Digital Volume" value="95" />
<ctl name="RX8 Digital Volume" value="95" />
<ctl name="COMP0 Switch" value="1" />
</path>
lolmango said:
if you're willing to flash elementalx, there's a mic volume adjustment (which actually boosts the in call volume) that you can use. Set that to max on accident one time and can hear the person speaking 2 feet away from ear speaker on min volume.
Click to expand...
Click to collapse
Hahaha 2feet away? You're using the elmentax app as well?
neinfricatu said:
edit root/system/etc/mixer_paths.xml and change the value (default is 84). 95 is the new high value (look for <path name="speaker">).
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX8 MIX1 INP1" value="RX2" />
<ctl name="RX7 Digital Volume" value="95" />
<ctl name="RX8 Digital Volume" value="95" />
<ctl name="COMP0 Switch" value="1" />
</path>
Click to expand...
Click to collapse
Can someone confirm if it's working.?
ddaharu said:
Hahaha 2feet away? You're using the elmentax app as well?
Click to expand...
Click to collapse
haha ya thats how I was able to set the mic gain.
Vaibhunk786 said:
Can someone confirm if it's working.?
Click to expand...
Click to collapse
Confirmed. It's working.
Which Data Manager you use to edit "Root speaker" without rooting the device?
neinfricatu said:
edit root/system/etc/mixer_paths.xml and change the value (default is 84). 95 is the new high value (look for <path name="speaker">).
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX8 MIX1 INP1" value="RX2" />
<ctl name="RX7 Digital Volume" value="95" />
<ctl name="RX8 Digital Volume" value="95" />
<ctl name="COMP0 Switch" value="1" />
</path>
Click to expand...
Click to collapse
Do you know how to change the incall volume for the earpiece thanks in advance
---------- Post added at 03:19 PM ---------- Previous post was at 03:18 PM ----------
neinfricatu said:
Confirmed. It's working.
Click to expand...
Click to collapse
So this thing made your speaker louder during call ?
juanitolo said:
Which Data Manager you use to edit "Root speaker" without rooting the device?
Click to expand...
Click to collapse
You can't edit it without root.
---------- Post added at 05:56 PM ---------- Previous post was at 05:54 PM ----------
genuine55 said:
Do you know how to change the incall volume for the earpiece thanks in advance
---------- Post added at 03:19 PM ---------- Previous post was at 03:18 PM ----------
So this thing made your speaker louder during call ?
Click to expand...
Click to collapse
Yes, the ear speaker is now louder.
neinfricatu said:
You can't edit it without root.
---------- Post added at 05:56 PM ---------- Previous post was at 05:54 PM ----------
Yes, the ear speaker is now louder.
Click to expand...
Click to collapse
Thats weird didnt work for md on my one plus 3 had to do it another way thanks
neinfricatu said:
edit root/system/etc/mixer_paths.xml and change the value (default is 84). 95 is the new high value (look for <path name="speaker">).
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX8 MIX1 INP1" value="RX2" />
<ctl name="RX7 Digital Volume" value="95" />
<ctl name="RX8 Digital Volume" value="95" />
<ctl name="COMP0 Switch" value="1" />
</path>
Click to expand...
Click to collapse
Thanx bro. Now in call voice is louder. Do you know similar way of increasing the default phone speaker volume.?
genuine55 said:
Thats weird didnt work for md on my one plus 3 had to do it another way thanks
Click to expand...
Click to collapse
How did you do it?
---------- Post added at 08:30 PM ---------- Previous post was at 08:29 PM ----------
Vaibhunk786 said:
Thanx bro. Now in call voice is louder. Do you know similar way of increasing the default phone speaker volume.?
Click to expand...
Click to collapse
No, sorry.
neinfricatu said:
edit root/system/etc/mixer_paths.xml and change the value (default is 84). 95 is the new high value (look for <path name="speaker">).
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX8 MIX1 INP1" value="RX2" />
<ctl name="RX7 Digital Volume" value="95" />
<ctl name="RX8 Digital Volume" value="95" />
<ctl name="COMP0 Switch" value="1" />
</path>
Click to expand...
Click to collapse
How do I edit the value? Through what app can I do this
sakumaxp said:
How do I edit the value? Through what app can I do this
Click to expand...
Click to collapse
Use solid Explorer or ES File Explorer
GREAT thank you for your help, sounds louder!
neinfricatu said:
edit root/system/etc/mixer_paths.xml and change the value (default is 84). 95 is the new high value (look for <path name="speaker">).
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX8 MIX1 INP1" value="RX2" />
<ctl name="RX7 Digital Volume" value="95" />
<ctl name="RX8 Digital Volume" value="95" />
<ctl name="COMP0 Switch" value="1" />
</path>
Click to expand...
Click to collapse
its working on oneplus 3t as well ?
neinfricatu said:
edit root/system/etc/mixer_paths.xml and change the value (default is 84). 95 is the new high value (look for <path name="speaker">).
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX8 MIX1 INP1" value="RX2" />
<ctl name="RX7 Digital Volume" value="95" />
<ctl name="RX8 Digital Volume" value="95" />
<ctl name="COMP0 Switch" value="1" />
</path>
Click to expand...
Click to collapse
Well, I love you.
Was looking arround. Even replaced the OEM earpiece for a new one cause I thought it was broken and it was only changing those values. Can't thank you enough.
proel said:
Well, I love you.
Was looking arround. Even replaced the OEM earpiece for a new one cause I thought it was broken and it was only changing those values. Can't thank you enough.
Click to expand...
Click to collapse
Don't thank me, others came up with the idea
Anyway, i am using the method bellow now. It is working better.
https://forum.xda-developers.com/showpost.php?p=72825218&postcount=9
neinfricatu said:
edit root/system/etc/mixer_paths.xml and change the value (default is 84). 95 is the new high value (look for <path name="speaker">).
<path name="speaker">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX7 MIX1 INP1" value="RX1" />
<ctl name="RX8 MIX1 INP1" value="RX2" />
<ctl name="RX7 Digital Volume" value="95" />
<ctl name="RX8 Digital Volume" value="95" />
<ctl name="COMP0 Switch" value="1" />
</path>
Click to expand...
Click to collapse
How can I use this please? How can I apply?
I just own Mi a2, bought it second hand from other people.
Atm i'm using Pixel Experience ROM.
My proboek is about Low Recording Volume.
I tried to record my voice via whatsapp audio recording and 3rd party app recording, but the result is a low volume voice recorded.
I was using stock ROM with magisk installed and Quickswitch module installed. I noticed low volume recording sound so i thought it was because the rom and then i flashed PE, but the problem still remain.
The funny thing is, if i record a video through stock camera app or through instagram story, the sound does recorded properly, not low voice volume.
Anyone know how to fix this? Do Mi A2 have two mic, since video recording can record voice good, but calling or recording the volume is too low? Thank you for your answer.
Sent from my Mi 8 using Tapatalk
Same
i have same issue with you, anyone please help us
afiyuden said:
i have same issue with you, anyone please help us
Click to expand...
Click to collapse
For me its hardware related. I take it to service center and they clean the mic, the problem solved.
Sent from my MI 8 using Tapatalk
riyosakura said:
For me its hardware related. I take it to service center and they clean the mic, the problem solved.
Sent from my MI 8 using Tapatalk
Click to expand...
Click to collapse
I don't think mine is hardware related. It doesn't happen when i use Easy Voice Recorder app, it happens when I use stock camera app to record.
i have same issue, anyone has fix for this?
Introducion
Same problem here: Mi A2 on Pixel Experience, but I had problems also with the stock version.
Since I've got the root and I remember that with my Nexus 5 (old good times) I had the possibility to change gain in kernel settings. Here, I cannot.
Then I remembered that I also heard about mixer_paths.xml file, that if changed, can change the gain of speakers and microphone. Since I'm not able to identify what parameter should I change/increase, I went to Google and searched for some infos. Unfortunately, every device has "its own" mixer_paths.xml, and it changes.
I found for example a guide for Nexus 4 here and something with Samsung S5 here.
How to
Important:
Before ANY modification, keep TWO copies of your mixer_paths.xml original file. Two because I was stupid and I lost my first one, and the second was already broken ¯\_(ツ)_/¯
I'm not responsible for any loss and damage, nor hardware nor software related.
Remember to save the mixer_paths.xml file with EXACT SAME PERMISSIONS as it has before modification. Since, again, I'm stupid, it has the 0777 permission (all checked in FX File Explorer)
Tested only on Pixel Experience QQ1B.200105.004 on Mi A2, 64+4GB
Experimenting here and there, I found that increasing some values effectively changes my gain, but I'm not sure why and what precisely. Gain works great on IM, like Telegram, but I'm still not great (but better) on camera videos.
Code:
<!-- Lines from 357 to 358 (only speaker boost!) -->
<ctl name="HPHL Volume" value="8" />
<ctl name="HPHR Volume" value="8" />
Code:
<!-- Lines from 367 to 373, that 95 is from Samsung S5 guide -->
<ctl name="ADC1 Volume" value="8" />
<ctl name="ADC2 Volume" value="8" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="DEC1 Volume" value="95" />
<ctl name="DEC2 Volume" value="95" />
<ctl name="DEC3 Volume" value="95" />
<ctl name="DEC4 Volume" value="95" />
Code:
<!-- Lines from 2066 to 2098 -->
<path name="adc1">
<ctl name="ADC1 Volume" value="8" />
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="ADC1_INP1 Switch" value="1" />
</path>
<path name="adc2">
<ctl name="ADC2 Volume" value="8" />
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP2" />
</path>
<path name="adc3">
<ctl name="ADC3 Volume" value="8" />
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="va-enroll-mic">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
<ctl name="ADC3 Volume" value="8" />
</path>
<path name="asr-mic">
<ctl name="INT3_MI2S_TX Channels" value="Two" />
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="ADC1_INP1 Switch" value="1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
<ctl name="ADC1 Volume" value="8" />
<ctl name="ADC3 Volume" value="8" />
</path>
Code:
<!-- Lines from 2495 to 2499, that 99 is from Nexus 4 guide -->
<path name="headset-mic">
<path name="adc2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
<ctl name="DEC8 Volume" value="99" />
</path>
I attached also my current mixer_paths_8.xml - just rename it and remove that "_8" if you want to use it as-is.
My voice recordings were very bad when player back in the recorder app. The problem solved by this method:
• in the Recorder app, go to settings (the gear/wheel).
• disable "use receiver to play audio"
• done.
Redmi 8
---------- Post added 21-08-2020 at 12:04 AM ---------- Previous post was 20-08-2020 at 11:56 PM ----------
My voice recordings were very bad when player back in the recorder app. The problem solved by this method:
• in the Recorder app, go to settings (the gear/wheel).
• disable "use receiver to play audio"
• done.
Redmi 8
I just formatted my phone and switched from CRDroid to Lineage OS. The mixer_paths.xml file is somehow different, but I manage to fix it out.
To fix low microphone on Mi A2 on CRDroid just use my comment above.
To fix low microphone on Mi A2 on Lineage OS 18.1 find same values and change them, but lines will be different:
XML:
<!-- Lines 349-355 -->
<ctl name="ADC1 Volume" value="8" />
<ctl name="ADC2 Volume" value="8" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="DEC1 Volume" value="95" />
<ctl name="DEC2 Volume" value="95" />
<ctl name="DEC3 Volume" value="95" />
<ctl name="DEC4 Volume" value="95" />
XML:
<!-- Lines 339-340 -->
<ctl name="HPHL Volume" value="8" />
<ctl name="HPHR Volume" value="8" />
XML:
<!-- Lines 1819-1835 -->
<path name="adc1">
<ctl name="ADC1 Volume" value="8" />
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="ADC1_INP1 Switch" value="1" />
</path>
<path name="adc2">
<ctl name="ADC2 Volume" value="8" />
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP2" />
</path>
<path name="adc3">
<ctl name="ADC3 Volume" value="8" />
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
XML:
<!-- lines 2262-2276 -->
<path name="handset-dmic-endfire">
<path name="adc1" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
<ctl name="INT3_MI2S_TX Channels" value="Two" />
</path>
<path name="speaker-dmic-endfire">
<path name="adc1" />
<ctl name="ADC3 Volume" value="8" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
<ctl name="INT3_MI2S_TX Channels" value="Two" />
</path>
XML:
<!-- lines 2065-2069-->
<path name="headset-mic">
<path name="adc2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
<ctl name="DEC8 Volume" value="95" />
</path>