Hi all,
I would like to ask developers if it is possible to apply the mic gain fix released for n5 to the n4.
The fix changes the file linked below:
https://android.googlesource.com/device/lge/hammerhead/+/76d97e7.
Google is working on a similar fix but no eta released.
Thank you all and thanks to Jonas Karlsoon who discovered the file on Google products forum.
Sent from my Nexus 4 using Tapatalk
its possible but wrong section, 2 options, general section or q&a section!
Thread reported.
Regards,
OD
Hi!
If your phone is rooted, you can modify the headset microphone volume in the file /system/etc/mixer_paths.xml (see below).
I've done that on my Nexus 4 and it's working great.
If your phone is not rooted, I've published a patch on android source : https://android-review.googlesource.com/#/c/73711/
Hopefully someone at Google will see it and merge it for the next release => vote/comment it so that it gets attention!
/system/etc/mixer_paths.xml - before modification
=================================================
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="2" />
</path>
/system/etc/mixer_paths.xml - after modification
================================================
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="2" />
<ctl name="DEC8 Volume" value="99" />
</path>
Cheers,
--
Steph
Hi stephane! thank you for your patch! At the moment my phone is running completely stock android so I will vote for the patch. If in a couple of weeks google won't do anything I will root and use your mod!
stephane.rosi said:
Hi!
If your phone is rooted, you can modify the headset microphone volume in the file /system/etc/mixer_paths.xml (see below).
I've done that on my Nexus 4 and it's working great.
If your phone is not rooted, I've published a patch on android source : https://android-review.googlesource.com/#/c/73711/
Hopefully someone at Google will see it and merge it for the next release => vote/comment it so that it gets attention!
/system/etc/mixer_paths.xml - before modification
=================================================
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="2" />
</path>
/system/etc/mixer_paths.xml - after modification
================================================
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 Volume" value="2" />
<ctl name="DEC8 Volume" value="99" />
</path>
Cheers,
--
Steph
Click to expand...
Click to collapse
Headphone and Speaker Volume Boost mod for the LG G3
for those who feel that stock volume is not loud enough
Requirement
1. Root
2. File Manager with Root Access
3. Text Editor
GUIDE
//IMPORTANT mixer_paths_qcwcn.xml (for D855 and Verizon) or mixer_paths.xml (for D851)
//change mixer_paths_qcwcn.xml on this guide to mixer_paths.xml if you are using D851
1. open file manager, go to /system/etc
2. backup your original mixer_paths_qcwcn.xml (D855) or mixer_paths.xml (D851)
(copy to sdcard, rename to mixer_paths_qcwcn2.xml, etc, etc)
3. open mixer_paths_qcwcn.xml (D855) or mixer_paths.xml (D851)
4. change this green value to your liking
Code:
[COLOR="Green"]29 | <ctl name="RX1 Digital Volume" value="70" />
30 | <ctl name="RX2 Digital Volume" value="70" />[/COLOR]
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" />
[COLOR="Green"]783 | <ctl name="RX3 Digital Volume" value="75" />
784 | <ctl name="RX4 Digital Volume" value="75" />[/COLOR]
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 | [COLOR="Green"]<ctl name="SPK Amp Volume" value="5" />[/COLOR]
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" />
[COLOR="Green"]864 | <ctl name="RX1 Digital Volume" value="75" />
865 | <ctl name="RX2 Digital Volume" value="75" />[/COLOR]
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" />
[COLOR="Green"]1001 | <ctl name="HPHL Volume" value="18" />
1002 | <ctl name="HPHR Volume" value="18" />
1003 | <ctl name="RX1 Digital Volume" value="64" />
1004 | <ctl name="RX2 Digital Volume" value="64" />[/COLOR]
1005 | <ctl name="RX3 MIX1 INP1" value="RX1" />
1006 | <ctl name="RX3 MIX1 INP2" value="RX2" />
[COLOR="Green"]1007 | <ctl name="RX3 Digital Volume" value="65" />
1008 | <ctl name="RX4 Digital Volume" value="65" />[/COLOR]
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>
5. save it
6. fix the permission to rw-r-r or 644 (chmod 644 mixer_paths_qcwcn.xml)
Done...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LOLLIPOP 5.0 UPDATE
Flash This via TWRP for Medium Sound Update
without hassle, first of all, backup your default file,
backup mixer_paths.xml, mixer_paths_auxpcm.xml, mixer_paths_qcwcn.xml
for LG G3 Lollipop Stock
Download spiderio-lollipop-sound-mod.zip
md5 : 202445fdaa1dc7f9c1ee6212e0e642cd | size : 147.3KB
Disclaimer:
DO NOT USE additional volume boosting tweaks/applications with this mod.
Always check the volume level before playing music, I will not be held responsible for damaged speakers or hearing impairment!
@spiderio
Does it causes any disortions to the sound if you increase the volume or the sound quality remains the same?
czechu01 said:
Does it causes any disortions to the sound if you increase the volume or the sound quality remains the same?
Click to expand...
Click to collapse
please don't quote the OP
as long as the volume value is not higher than 93
i have already tried this but it had no effect!
there is my "old" thread: http://forum.xda-developers.com/lg-g3/help/making-headphone-louder-t2812892
spiderio said:
please don't quote the OP
as long as the volume value is not higher than 93
Click to expand...
Click to collapse
What values are you personally using for each lines?
I've felt like I need more volume from the speakers, so thanks!
I'm having issues with opening the mixer_paths with root explorer, however - I cannot open the entire file because it says it's too big. I'm also unable to find the file through the file manager that comes stock with the phone.
AhsanU said:
I've felt like I need more volume from the speakers, so thanks!
I'm having issues with opening the mixer_paths with root explorer, however - I cannot open the entire file because it says it's too big. I'm also unable to find the file through the file manager that comes stock with the phone.
Click to expand...
Click to collapse
use 920 Text Editor
Anyway this can be made to a flashable zip?
This doesn't seem to work at all.
Sent from my LG-D850 using XDA Premium 4 mobile app
paratox said:
i have already tried this but it had no effect!
there is my "old" thread: http://forum.xda-developers.com/lg-g3/help/making-headphone-louder-t2812892
Click to expand...
Click to collapse
It has effect on my g3 D855 10A.
I write the wrong file
The correct one should be mixer_patah_qcwcn.xml
Sorry I got excited and write the wrong file name
Try it again
Set the speaker to 90 to try the effects
matthewwing said:
This doesn't seem to work at all.
Sent from my LG-D850 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hahahaha sorry I mean the file is mixer_paths_qcwcn.xml
Sorry about that
spiderio said:
Hahahaha sorry I mean the file is mixer_patah_qcwcn.ml
Sorry about that
Click to expand...
Click to collapse
You may want to update the OP with the correct path then so people don't keep trying the wrong one.
nest75068 said:
You may want to update the OP with the correct path then so people don't keep trying the wrong one.
Click to expand...
Click to collapse
It's already fixed mate..
Thanks for your support
spiderio said:
It's already fixed mate..
Thanks for your support
Click to expand...
Click to collapse
When I see the OP it says this
. backup your original mixer_paths_qcwcn.xml (copy to sdcard, rename to mixer_paths_qcwcn2.xml, etc, etc)
3. open mixer_paths_qcwcn.xml
Your two posts stating the correct path is
The correct one should be mixer_patah_qcwcn.xml
Working great
Works wonders! Thanks for the guide! :good:
Thanks for the guide. Sorry if this is a dump question but to just change the headphone volume which values do i need to change thanks in advance
Sent from my LG-D855 using XDA Free mobile app
azcamm27 said:
Thanks for the guide. Sorry if this is a dump question but to just change the headphone volume which values do i need to change thanks in advance
Sent from my LG-D855 using XDA Free mobile app
Click to expand...
Click to collapse
Just edit the headphones value
On the line 8xx
See the OP the middle code the headphones paths
Trying to do this hack. But as you can see, the file you are telling me to edit does not exist in my phone. Now what?
Sent from my LG-D851 using Tapatalk
i don't have this file , mixer_patah_qcwcn.xml
but i have this file, mixer_paths_qcwcn.xml and upon checking the lines of those "green" which we have to edit they are the same.
pandacookie said:
Trying to do this hack. But as you can see, the file you are telling me to edit does not exist in my phone. Now what?
Sent from my LG-D851 using Tapatalk
Click to expand...
Click to collapse
Try editing the mixer_paths.xml
I'm using International D855
And try to change the speaker value to 90
If it works just let me know
I will change the OP for D851 version guide
If it works could you send me your mixer_paths.xml
radeonxt said:
i don't have this file , mixer_patah_qcwcn.xml
but i have this file, mixer_paths_qcwcn.xml and upon checking the lines of those "green" which we have to edit they are the same.
Click to expand...
Click to collapse
Yeah that's my autocorrect fault
Hi, I have Galaxy S5 klte and Resurrection Remix 5.8.3 (latest version) installed but the microphone does not work correctly. I can record but when I listen to the recording the sound ist very quiet and unclear. How can I fix this problem? Thanks for help!
With my Phone on 6.0.0 at android 8.1.0 is exactly the same.
find mixer_paths.xml in /system/etc/ and modify the "Recording scenario" values to your needs
jizzy001 said:
find mixer_paths.xml in /system/etc/ and modify the "Recording scenario" values to your needs
Click to expand...
Click to collapse
Any examples?
fparri said:
Any examples?
Click to expand...
Click to collapse
The file can be located in /system/etc or /system/vendor/etc (in my case RR 6.0.0 - G900F)
open up the file and edit the values by your needs after editing save it,
set the permissions to -rw-r--r-- (644) and reboot your device
this is my modified version of the original file (just the microphone part)
the values are normaly aroud 85-93...and that is pretty low
Down below the bold values are the ones that should be modified
Code:
<!-- ================================================================ -->
<!-- Recording Scenario -->
<path name="rec-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="[B]115[/B]" />
</path>
<path name="rec-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="[B]110[/B]" />
</path>
<path name="rec-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="DEC5 Volume" value="[B]92[/B]" />
</path>
<path name="rec-stereo-mic">
<ctl name="Main Mic Delay" value="4" />
<path name="sub-main-mic" />
<ctl name="DEC2 Volume" value="[B]110[/B]" />
<ctl name="DEC4 Volume" value="[B]110[/B]" />
</path>
<path name="rec-high-gain-main-mic">
<path name="main-mic" />
<ctl name="DEC2 Volume" value="[B]68[/B]" />
</path>
<path name="rec-high-gain-sub-mic">
<path name="sub-mic" />
<ctl name="DEC4 Volume" value="[B]68[/B]" />
</path>
<path name="rec-high-gain-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="DEC5 Volume" value="[B]84[/B]" />
</path>
<path name="rec-high-gain-stereo-mic">
<path name="sub-3rd-mic" />
<ctl name="DEC2 Volume" value="[B]72[/B]" />
<ctl name="DEC4 Volume" value="[B]72[/B]" />
</path>
<path name="rec-NS-mic-interview">
<ctl name="ES705 TX1 Enable" value="1" />
<path name="main-sub-mic" />
<ctl name="DEC2 Volume" value="[B]110[/B]" />
<ctl name="DEC4 Volume" value="[B]110[/B]" />
<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="[B]112[/B]" />
<ctl name="DEC4 Volume" value="[B]112[/B]" />
<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="[B]110[/B]" />
<ctl name="DEC4 Volume" value="[B]110[/B]" />
</path>
<!-- end of Recording Scenario -->
<!-- ================================================================ -->
Thanks a lot! I've bookmarked your reply. I'm going to try that tonight at home
fparri said:
Thanks a lot! I've bookmarked your reply. I'm going to try that tonight at home
Click to expand...
Click to collapse
Report if it works
I have the same problem in s5 G900H but i cant find recording scenario in it. Would u plz help me
---------- Post added at 11:54 PM ---------- Previous post was at 11:30 PM ----------
swppy said:
I have the same problem in s5 G900H but i cant find recording scenario in it. Would u plz help me
Click to expand...
Click to collapse
@jizzy001
jizzy001 said:
The file can be located in /system/etc or /system/vendor/etc (in my case RR 6.0.0 - G900F)
open up the file and edit the values by your needs after editing save it,
set the permissions to -rw-r--r-- (644) and reboot your device
this is my modified version of the original file (just the microphone part)
the values are normaly aroud 85-93...and that is pretty low
Down below the bold values are the ones that should be modified
Click to expand...
Click to collapse
I've got the same problem on an Galaxy S5 (SM-G900W8 ) with crDroid. I think both ROMs come from Lineage OS and although I haven't tried it I'll bet Lineage 15.1 has the same problem.
I'd like to give it a try, but I can't seem to modify the file. I mixer_paths.xml in /system/vendor/etc, but when I try to edit it I get a message that it's a read only file system.
Permissions on the directories look OK:
/system 755
/system/vendor/ 755
/system/vendor/etc 755
I also tried to create a file with "touch" in /system/vendor/etc and that failed-confirming the whole directory can not be written. Can someone please tell me what I'm doing wrong.
rootkitty said:
I've got the same problem on an Galaxy S5 (SM-G900W8 ) with crDroid. I think both ROMs come from Lineage OS and although I haven't tried it I'll bet Lineage 15.1 has the same problem.
I'd like to give it a try, but I can't seem to modify the file. I mixer_paths.xml in /system/vendor/etc, but when I try to edit it I get a message that it's a read only file system.
Permissions on the directories look OK:
/system 755
/system/vendor/ 755
/system/vendor/etc 755
I also tried to create a file with "touch" in /system/vendor/etc and that failed-confirming the whole directory can not be written. Can someone please tell me what I'm doing wrong.
Click to expand...
Click to collapse
Just mount the system partition R/W find some tutorial or app how to mount it
swppy said:
I have the same problem in s5 G900H but i cant find recording scenario in it. Would u plz help me
---------- Post added at 11:54 PM ---------- Previous post was at 11:30 PM ----------
@jizzy001
Click to expand...
Click to collapse
Can you send me the whole file or paste iz somewhere?
jizzy001 said:
Just mount the system partition R/W find some tutorial or app how to mount it
Can you send me the whole file or paste iz somewhere?
Click to expand...
Click to collapse
Im not able to snd it through this way would you give ur email address ???
swppy said:
Im not able to snd it through this way would you give ur email address ???
Click to expand...
Click to collapse
[email protected]
Sent from my SM-G900F using Tapatalk
jizzy001 said:
[email protected]
Click to expand...
Click to collapse
Plz check ur email bruh
I want to give some more power to usb and bluetooth headphones. I've read that I can do it by editing mixer.paths file, but I couldn't find tutorial matching to my file. Can someone help me, by editing my file or give me own files (edited and original). I have le pro 3 x722 with paranoid 7.3.1 (nougat)
ctl name="RX1 Digital Volume" value="99" />. org. 84
<ctl name="RX2 Digital Volume" value="99" />
<ctl name="ANC HPHL Enable Switch" value="1" />
<ctl name="ANC HPHR Enable Switch" value="1" />
<ctl name="HPHL Volume" value="35" /> org. 20
<ctl name="HPHR Volume" value="35" />
This is my config, and its work. I changed All 3 paths with "headphones" in name
Hello friends
My question is how can I boost the in-call (handset) volume by editing mixer.paths.xmls file.
I can successfully boosted speaker and headset volume as I show below, but question is related with increasing the volume while calling someone.
I am j700f MM user with root and custom stock samsung MM rom.
I am waiting for your suggestions.
Thanks in advance
For speaker boost I changed 3 with 5 or 6
<path name="gain-media-speaker">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Speaker Volume" value="3" />
</path>
For headset boost I changed 36 with 39 or 39
<path name="gain-media-headset">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Headphone Volume" value="36" />vido36-38
</path>