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
[KK] XTREME SOUND MOD [clear audio stereo+] & ( volume boost speakers-headphones )
I'M NOT RESPONSIBLE FOR ANY DAMAGE MADE TO YOUR DEVICE OR HEARING
WARNING!!!!! the sound is too loud!!!
{
"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"
}
for better quality use ViPER4Android
http://forum.xda-developers.com/showthread.php?t=2191223
works on:
-Xperia Z ultra, Z1, Z1C
-Any Xperia with kitkat custom ROM:
- Xperia Z, ZL,ZR,T2U,T3,M2,E1 (only with Kitkat)
could woks on:
-Xperia Z2 (At the end I adjunt the the zip)
Doesn't works on:
-Xperia Z ultra GPE
this mod release the true audio power on your device, speakers and headphone
requeriments:
-root
-root explorer
-bakup
mixer_paths.xml
Unpack zip file and just move the file to System/etc with the next permissions:
reboot and ready!
you can experiment yourself!!!!
Method
-Use any root explorer and go to
system/ etc/ mixer_paths.xml
-search for <path name="speaker"> then edit <ctl name=RX7 Digital Volume" value = "83" />
change 83 to 89 or any digit below 93 (just to be on the safer side)
-tha same way for headseat
-search:
<path name="headphones">
<ctl name="RX1 Digital Volume" value="82" /> (max 93)
<!--66 % of 124 (rounded) register: 0x2BF-->
<ctl name="RX2 Digital Volume" value="82" /> (max 93)
and this:
<path name="speaker-and-headphones">
<path name="speaker" />
<path name="headphones" />
<ctl name="RX1 Digital Volume" value="64" /> (max 93)
<ctl name="RX2 Digital Volume" value="64" /> (max 93)
</path>
you can try with another parameters who include the next names but is your responsability!!!
<ctl name="RX1 Digital Volume" value="??" />
<ctl name="RX2 Digital Volume" value="??" />
<ctl name="RX3 Digital Volume" value="??" /> )
<ctl name="RX4 Digital Volume" value="??" />
<ctl name="RX5 Digital Volume" value="??" />
<ctl name="RX6 Digital Volume" value="??" /> )
<ctl name="RX7 Digital Volume" value="??" /> )
special thanks to:
olokos and Pannam
hasablack said:
I'M NOT RESPONSIBLE FOR ANY DAMAGE MADE TO YOUR DEVICE OR HEARING
WARNING!!!!!! the sound is too loud!!!
for better quality use ViPER4Android
http://forum.xda-developers.com/showthread.php?t=2191223
works on:
Xperia Z ultra, Z1, Z1C
could woks on Xperia Z2 (need tasters)
this mod release the true audio power in your device, speakers and headphone
requeriments:
-root
-root explorer
-bakup
Unpack the file "mixer_paths.xml" from the folder "extreme sound mod"
and just move the file to SYSTEM/ETC with the next permissions:
https://mega.co.nz/#!iswFiZiA!y0fU4yIdlQFRp3iOU__ZtLFlZ9OLZCsSndVRTPwDT8I
reboot the phone and ready!
special thanks to:
olokos and Pannam
Click to expand...
Click to collapse
Speaker sound or headphones?? Which?
Xperia Z2
this mod is for the both :good:
hasablack said:
this mod is for the both :good:
Click to expand...
Click to collapse
Spaker volume???
Xperia Z2
Does it just boost the volume or it actually enhance audio quality?
Can it work for AOSP based ROM?
vashollow said:
Can it work for AOSP based ROM?
Click to expand...
Click to collapse
if your device is; Z1, Z1C or Z ultra, should works but I´m not sure
hasablack said:
if your device is; Z1, Z1C or Z ultra, should works but I´m not sure
Click to expand...
Click to collapse
i'm using xperia Z. using carbon rom. my xperia speaker very slow.
I unrar'd the file, pushed it in System/etc folder (backupped my original file first) but it doesn't work, after a reboot I don't have any sound at all.
I changed the permissions to rw-r-r as per instructions, of course.
Z Ultra here, stock 4.4.4.
Which values do I have to change to pump up headset and Bluetooth volumes?
Sent from my C6833 using Tapatalk
Can you lower the speaker and earpiece volume and keep the headphone volume? because this volume will tear my speaker and earpiece apart
fastest83 said:
I unrar'd the file, pushed it in System/etc folder (backupped my original file first) but it doesn't work, after a reboot I don't have any sound at all.
I changed the permissions to rw-r-r as per instructions, of course.
Z Ultra here, stock 4.4.4.
Which values do I have to change to pump up headset and Bluetooth volumes?
Sent from my C6833 using Tapatalk
Click to expand...
Click to collapse
Same here, flashed and rebooted, no sounds (on Z1C)...
Try with this file I'm using this now and works in my device (Z Ultra with 4.4.4)
Obviously you should unpack the zip and give the correct permissions
fastest83 said:
I unrar'd the file, pushed it in System/etc folder (backupped my original file first) but it doesn't work, after a reboot I don't have any sound at all.
I changed the permissions to rw-r-r as per instructions, of course.
Z Ultra here, stock 4.4.4.
Which values do I have to change to pump up headset and Bluetooth volumes?
Sent from my C6833 using Tapatalk
Click to expand...
Click to collapse
Are you using any sound mod? I also have Z Ultra 4.4.4 and works
hasablack said:
Are you using any sound mod? I also have Z Ultra 4.4.4 and works
Click to expand...
Click to collapse
I just have viper drivers installed, could that be the culprit?
I think it would be better to have the whole file explained, so that everyone could change every specific value...
I don't have the knowledge to do it, but I guess an app to do so would be easy to do even for a first time developer...
Sent from my C6833 using Tapatalk
Method
-Use any root explorer and go to
system/ etc/ mixer_paths.xml
-search for <path name="speaker"> then edit <ctl name=RX7 Digital Volume" value = "83" />
change 83 to 89 or any digit below 93 (just to be on the safer side)
-search for <path name="headphones">
<ctl name="RX1 Digital Volume" value="82" /> edit this (max 93)
<!--66 % of 124 (rounded) register: 0x2BF-->
<ctl name="RX2 Digital Volume" value="82" /> edit this (max 93)
-search for
<path name="speaker-and-headphones">
<path name="speaker" />
<path name="headphones" />
<ctl name="RX1 Digital Volume" value="64" /> (max 93)
<ctl name="RX2 Digital Volume" value="64" /> (max 93)
</path>
you can try with another parameters but is your responsability!!!
hasablack said:
Try with this file I'm using this now and works in my device (Z Ultra with 4.4.4)
Obviously you should unpack the zip and give the correct permissions
Click to expand...
Click to collapse
That one is working fine, thanks
hasablack said:
Method
-Use any root explorer and go to
system/ etc/ mixer_paths.xml
-search for <path name="speaker"> then edit <ctl name=RX7 Digital Volume" value = "83" />
change 83 to 89 or any digit below 93 (just to be on the safer side)
-search for <path name="headphones">
<ctl name="RX1 Digital Volume" value="82" /> edit this (max 93)
<!--66 % of 124 (rounded) register: 0x2BF-->
<ctl name="RX2 Digital Volume" value="82" /> edit this (max 93)
-search for
<path name="speaker-and-headphones">
<path name="speaker" />
<path name="headphones" />
<ctl name="RX1 Digital Volume" value="64" /> (max 93)
<ctl name="RX2 Digital Volume" value="64" /> (max 93)
</path>
you can try with another parameters but is your responsability!!!
Click to expand...
Click to collapse
That's cool mate, I wrote 86 for speaker, 93 for headphones and I'm good with that.
Anyway, the file you posted worked just fine, and that makes me think there's something wrong with the file in the first post...
Sent from my C6833 using Tapatalk
doesnt work for my z2.
Im on 438 version after I push it into the system no sound at all. I have tried with the other one still no luck.
PiskopatYazar said:
doesnt work for my z2.
Im on 438 version after I push it into the system no sound at all. I have tried with the other one still no luck.
Click to expand...
Click to collapse
Try changing the figures he explained two posts before, I did just that...
Sent from my C6833 using Tapatalk
fastest83 said:
Try changing the figures he explained two posts before, I did just that...
Sent from my C6833 using Tapatalk
Click to expand...
Click to collapse
I search for <path name="speaker"> I find it but there is no <ctl name=RX7 Digital Volume" value = "83" /> to change the values
Can you share a screenshot of it or something.
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>