Hi everybody
This method has been tested and working but you do at your own risk. I will not be held responsible for any damage
To do this your phone must be unlocked and rooted :
*** I use Root Explorer to do this ***
Go to:
odm/etc/audio/hi6403
and open the file named "mixer_volumes_MANHATTAN_normal.xml"
find the lines :
<path name="media-headphone" >
<ctl name="S1 IL PGA GAIN" value="0" />
<ctl name="S1 IR PGA GAIN" value="0" />
</path>
Click to expand...
Click to collapse
replace the zeroes with higher value (7 works perfect for me)
Save
Reboot
Enjoy
Related
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
1: Download the file from here: https://www.gammerson.com/downloads/lineageos-audi-fix(Gammerson.com).zip
2: Transfer the zip file to your device’s storage;
2: Flash it with TWRP;
3: Wipe Dalvik Cache;
4: Restart your device;
5: Have Fun.
All the credits to the user hemanlu, that send me a private message with this procede.
Thanks if it works!
Will this also work on epic rom?
rouxbee said:
Will this also work on epic rom?
Click to expand...
Click to collapse
Dont know
I would advise against this method, as it more or less disconnects audio configurations completely.
You are better off increasing the /system/etc/mixer_paths_tasha.xml handset ctl's digital volume slightly.
Probably not a good idea to go over default 84, as there may be good reason for Xiaomi setting this as low as 80.
Code:
<path name="handset">
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="EAR PA Gain" value="G_0_DB" />
[B] <ctl name="RX0 Digital Volume" value="84" />[/B]
<ctl name="PIEZO Port Switch" value="1" />
</path>
Strangely enough when I flash this the calls are perfectly hearable but all of my system sounds / alarms / ringtones are not working anymore.
Does anyone has a solution for this?
EDIT:
I did a 'upgrade' using the latest LOS rom (the same I used) and now the in call volume and the sound works... without flashing the above zip...
Strange but glad it works again
Tiago A said:
1: Download the file from here: https://www.gammerson.com/downloads/lineageos-audi-fix(Gammerson.com).zip
2: Transfer the zip file to your device’s storage;
2: Flash it with TWRP;
3: Wipe Dalvik Cache;
4: Restart your device;
5: Have Fun.
All the credits to the user hemanlu, that send me a private message with this procede.
Thanks if it works!
Click to expand...
Click to collapse
It does not work can you maybe attach the file
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 guys sorry for my bad English, I bring this little contribution to the forum.
I have p9-Lo9, but the sound is a bit low, I come from an m8 htc and I like it to sound louder than normal, So look in other forums, the way to do it without any results, only exists for the p9 lite, I found a way to do it without using applications, I managed to modify a file of the system that allows us to alter the volume standards,
requirements
have the rooted phone and a file explorer that allows us to enter the system folder
1- for android 6
Download the file mixer_volumes_EVA android 6 or 7 and copy it to system / etc / audio / hi6402.
2- for android 7
enter the root of the whole system, find the folder product / etc / audio / hi6402.
decompress the downloaded files and move them, that's all maybe in the future it could be in oreo, at the moment it does not work modifying the file
links
android 6
https://mega.nz/#!j8Ry1I7R!EAB-OiIW0Q39nhZb4ItzKkLyqwF7jRP9EITeMxBdWVw
android 7
https://mega.nz/#!bkYUCQLY!SHNcAUO9KlWi-hWM1O_o1k_ysHD__fSqdoBHw0yA7_Q
android 8
https://mega.nz/#!G0RwQIwK!Ew1bE4M-DiWhPszOv0owE81ydSc6fPrUD62QlXZqlm8
updated for oreo android
I do not speak English sorry if you do not understand some thing
already works for oreo
luis taylor said:
already works for oreo
Click to expand...
Click to collapse
Do you keep a patent on that or why you don't describe how you do it for Oreo?
hi
zgfg said:
Do you keep a patent on that or why you don't describe how you do it for Oreo?
Click to expand...
Click to collapse
I will update the thread
Headphones volume Oreo
zgfg said:
Do you keep a patent on that or why you don't describe how you do it for Oreo?
Click to expand...
Click to collapse
Oreo
root/ODM/etc/audio/hi6402
Save original mixer_volumes_EVA_ce.xml
Edit
<ctl name="HPL PGA GAIN" value="12" />
<ctl name="HPR PGA GAIN" value="12" />
Replace it
<ctl name="HPL PGA GAIN" value="27" />
<ctl name="HPR PGA GAIN" value="27" />
Copy root/ODM/etc/audio/hi6402
Check permissions. -rw-r--r-- ( 644 ).
Reboot
cunaja said:
Oreo
root/ODM/etc/audio/hi6402
Save original mixer_volumes_EVA_ce.xml
Edit
<ctl name="HPL PGA GAIN" value="12" />
<ctl name="HPR PGA GAIN" value="12" />
Replace it
<ctl name="HPL PGA GAIN" value="27" />
<ctl name="HPR PGA GAIN" value="27" />
Copy root/ODM/etc/audio/hi6402
Check permissions. -rw-r--r-- ( 644 ).
Reboot
Click to expand...
Click to collapse
For some reason (?) I had problems to make a copy of the xml file. Every time I tried, it copied but as an empty file, 0 B.
Eventually, I copied to SD card and back, to get a correct copy, 80,17 KB
hi
cunaja said:
Oreo
root/ODM/etc/audio/hi6402
Save original mixer_volumes_EVA_ce.xml
Edit
<ctl name="HPL PGA GAIN" value="12" />
<ctl name="HPR PGA GAIN" value="12" />
Replace it
<ctl name="HPL PGA GAIN" value="27" />
<ctl name="HPR PGA GAIN" value="27" />
Copy root/ODM/etc/audio/hi6402
Check permissions. -rw-r--r-- ( 644 ).
Reboot
Click to expand...
Click to collapse
no, that does not work in oreo
hi
luis taylor said:
I will update the thread
Click to expand...
Click to collapse
use the files for oreo and you will notice the difference, just moficar a file does not make a difference