MOD boost sound headphones LG G5 H850 OREO - LG G5 Themes, Apps, and Mods

process to increase the headphone volume of the LG G5 h850 with oreo can be used in other variants, but it is not tested, it is not responsible for damage to the device, tested and works perfectly.
First go with any folder manager, and needed root, I used root explorer, go to root / vendor / etc folder. Then open the mixer_paths_tasha.xml file.
And look for this line:
***<path name = "headphones">
********<ctl name = "RX HPH Mode" value = "CLS_H_LP" />
********<ctl name = "SLIM RX2 MUX" value = "AIF4_PB" />
********<ctl name = "SLIM RX3 MUX" value = "AIF4_PB" />
********<ctl name = "SLIM_6_RX Channels" value = "Two" />
********<ctl name = "RX INT1_2 MUX" value = "RX2" />
********<ctl name = "RX INT2_2 MUX" value = "RX3" />
********<ctl name = "RX INT1 DEM MUX" value = "CLSH_DSM_OUT" />
********<ctl name = "RX INT2 DEM MUX" value = "CLSH_DSM_OUT" />
********<ctl name = "RX1 Mix Digital Volume" value = "87" />
********<ctl name = "RX2 Mix Digital Volume" value = "87" />
********<ctl name = "HPHL Volume" value = "20" />
********<ctl name = "HPHR Volume" value = "20" />
****</ path>
Just replace the 75 of the RX1 Mix Digital Volume by 87 doing the same thing on the RX2
You can increase more, but it will distort that was the highest volume I got without distortion.

On LG G2, it didn't work... anyone who tried on G5? It works?

Is their a way to boost bluetooth audio? Headphone works
Sent from my [device_name] using XDA-Developers Legacy app

coool! what about main speaker ? and earphone?

Amazing... I'ts work bro. Good job. I did't need to installing dolby. Combining Viper and your trick, my h850 wow... Amazing.

Unimo said:
Amazing... I'ts work bro. Good job. I did't need to installing dolby. Combining Viper and your trick, my h850 wow... Amazing.
Click to expand...
Click to collapse
Hello,
can you share the viper .zip, please?
Thanks.

search on the forum, viper from guitardedhero share, ViPER4Android_2.5.0.5_guitardedhero.zip, work on me, no magisk, just twrp and supersu.

Did someone got this magisk Volumefix Mod working?
And I also found this Dual speaker mod for Oreo.

Related

Audio Mode. How to enable Mono?

Hi guys. I had the moto g2 for like 10 days before I dropped it. Sent it for repair but the technician busted my bottom speaker. It's a long story...
Anyway I've been like this for as long as I can remember (my main issue is notification sounds, Apparently they only play in bottom speaker eaker) and I noticed that the g2 audio chip supports mono output.
Searched for ways to enable Mono audio but to no luck.
I think Samsung phones have this option under accessibility...
Do you guys have any idea how to do this?
More info: I'm on Titan Prime 1.0.3. Xposed installed.
Sent from my xt1063/64 from work, school, or toilet.
Android: Lollipop 5.0.2
Rom: Titan Prime v1.0.3
Look at an app called SoundAbout in Play. There's a free and Pro version that offers a lot of sound options. It's worth a shot.
Hi, thanks I tried it but there's not an option for mono. Only Bluetooth headpiece mono. The other sound managers I've tried can do as much.
Winnapp has mono for music but I need to change the whole phone to mono. Or just notifications... Maybe something in the build.prop I can modify?
I have no idea :banghead:
Sent from my xt1063/64 from work, school, or toilet.
Android: Lollipop 5.0.2
Rom: Titan Prime v1.0.3
Can you post the winnapp google play link?
Can't find it... thanks!
Soso2001 said:
Hi guys. I had the moto g2 for like 10 days before I dropped it. Sent it for repair but the technician busted my bottom speaker. It's a long story...
Anyway I've been like this for as long as I can remember (my main issue is notification sounds, Apparently they only play in bottom speaker eaker) and I noticed that the g2 audio chip supports mono output.
Searched for ways to enable Mono audio but to no luck.
I think Samsung phones have this option under accessibility...
Do you guys have any idea how to do this?
More info: I'm on Titan Prime 1.0.3. Xposed installed.
Sent from my xt1063/64 from work, school, or toilet.
Android: Lollipop 5.0.2
Rom: Titan Prime v1.0.3
Click to expand...
Click to collapse
Google this
mixer_paths.xml Moto G
should find tons of support for the 2013 moto g which should be similar. Or just read up on the mixer_paths.xml file in general. I know on my OPO that a dev was able to modify our mono output to stereo output by making use of both the loud speaker as the right channel and the ear piece for the left channel. Effectively hacking stereo to a mono device. I imagine you could find what you want by studying this file.
rukusx7 said:
Google this
mixer_paths.xml Moto G
should find tons of support for the 2013 moto g which should be similar. Or just read up on the mixer_paths.xml file in general. I know on my OPO that a dev was able to modify our mono output to stereo output by making use of both the loud speaker as the right channel and the ear piece for the left channel. Effectively hacking stereo to a mono device. I imagine you could find what you want by studying this file.
Click to expand...
Click to collapse
HI, thank you so much.
I was able to narrow down the lines that govern speaker channel & volume:
<path name="speaker">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RDAC3 MUX" value="DEM1" />
<ctl name="RDAC4 MUX" value="DEM2" />
<ctl name="RDAC5 MUX" value="DEM4" />
<ctl name="LINEOUT1 Volume" value="14" />
<ctl name="LINEOUT2 Volume" value="14" />
</path>
<path name="speaker-reverse">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="RX2 MIX1 INP1" value="RX1" />
<ctl name="RX3 MIX1 INP1" value="RX2" />
<ctl name="RDAC3 MUX" value="DEM1" />
<ctl name="RDAC4 MUX" value="DEM2" />
<ctl name="RDAC5 MUX" value="DEM4" />
<ctl name="LINEOUT1 Volume" value="14" />
<ctl name="LINEOUT2 Volume" value="14" />
</path>
The lines that indicate what channel belongs to wich speaker are:
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
Rx1 and Rx2 are the channels. The thing is I don't know how to combine them. I've tried setting channel value to "One" and setting both RX to 1 or 2 but doesn't work...
Will keep trying any information will be greatly appreciated. Thank you!
Sent from my xt1063/64 from work, school, or toilet.
Android: Lollipop 5.0.2
Rom: Titan Prime v1.0.3
Soso2001 said:
HI, thank you so much.
I was able to narrow down the lines that govern speaker channel & volume:
<path name="speaker">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="RDAC3 MUX" value="DEM1" />
<ctl name="RDAC4 MUX" value="DEM2" />
<ctl name="RDAC5 MUX" value="DEM4" />
<ctl name="LINEOUT1 Volume" value="14" />
<ctl name="LINEOUT2 Volume" value="14" />
</path>
<path name="speaker-reverse">
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="RX2 MIX1 INP1" value="RX1" />
<ctl name="RX3 MIX1 INP1" value="RX2" />
<ctl name="RDAC3 MUX" value="DEM1" />
<ctl name="RDAC4 MUX" value="DEM2" />
<ctl name="RDAC5 MUX" value="DEM4" />
<ctl name="LINEOUT1 Volume" value="14" />
<ctl name="LINEOUT2 Volume" value="14" />
</path>
The lines that indicate what channel belongs to wich speaker are:
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RX3 MIX1 INP1" value="RX1" />
Rx1 and Rx2 are the channels. The thing is I don't know how to combine them. I've tried setting channel value to "One" and setting both RX to 1 or 2 but doesn't work...
Will keep trying any information will be greatly appreciated. Thank you!
Sent from my xt1063/64 from work, school, or toilet.
Android: Lollipop 5.0.2
Rom: Titan Prime v1.0.3
Click to expand...
Click to collapse
I'm not entirely certain myself. I only know that the changes will be made there. Just remember to back your files up before editing!! Share your solution when complete please! Wouldnt be a bad idea to create a flashable zip file, in case youre a frequent flasher, then you can flash your new mixer_paths.xml from Recovery.
Hi guys, well I can't find a solution right now, my knowledge is limited but will keep looking.
I found a workaround: installed cm12.1.1 and notifications sounds are playing now. Maybe it's because of different audio paths/routing???? in cm 12.
I will compare files between stock and cm12 and tell you what I find.
Saludos!
Sent from my xt1063/64 from work, school, or toilet.
Android: Lollipop 5.0.2
Rom: Titan Prime v1.0.3 Beta
Kernel: Stellar Kernel V.2.1
Hi There, any updates on this case? i had my bottom speaker blown when replacing my cracked screen and now no notification sound and loud speaker in calls, tried to get a replacement speaker but with no luck, so maybe a modification to allow the top speaker/audio channel to handle both???
Thanks in advance..

Stereo Sound MOD for G5 [root]

This file enables earpiece speaker to have stereo sound. And overall it sounds a lot better than original configuration.
Tested only with H850 and H830, do it at your own risk!
You'll need some file manager, I'm using Total Commander in this example. First, go to /system/etc and backup your mixer_paths_tasha.xml file, (it will ask to give root permissions to do that), then delete it.
Paste new file into system/etc and change permissions to 644
Reboot and enjoy stereo!
Download V1.1 for stock
mixer_paths.xml v1.1 for CM 13 -credtis to @nima0003
mixer_paths.xml v1.1 for CM 14.1 -credtis to @nima0003
CM14.1 instructions by @nima0003:
1. Remove mixer_paths_tasha.xml from the etc folder
2. Paste the mixer_paths.xml file (don't worry about the name)
3. Set permissions
4. Reboot
Revert back
If you want to test out with different G5 version, download this file and do the same steps (you may need to rename the file to match your mixer_paths file name) and report if it does work on your model.
Man this is awesome . Works perfectly on my H850.
OK, in order to make it work with CM 13 I had to modify a few things, otherwise it would give no audio. Do you want to post it in the OP or do you want me to make a new thread?
Works perfectly thanks a lot makes it sound a lot better biggest question is lets hope it cannot cause no damage to the earpiece speaker
Great work
nima0003 said:
OK, in order to make it work with CM 13 I had to modify a few things, otherwise it would give no audio. Do you want to post it in the OP or do you want me to make a new thread?
Click to expand...
Click to collapse
I can post it to OP and give you the credits
ashirviskas said:
I can post it to OP and give you the credits
Click to expand...
Click to collapse
Sure, I will attach the file.
brockyneo said:
Works perfectly thanks a lot makes it sound a lot better biggest question is lets hope it cannot cause no damage to the earpiece speaker
Great work
Click to expand...
Click to collapse
It won't damage it it's a speaker it's not that sensitive.
nima0003 said:
Sure, I will attach the file.
Click to expand...
Click to collapse
Added!
einhuman197 said:
It won't damage it it's a speaker it's not that sensitive.
Click to expand...
Click to collapse
Ok thanks that was my first worry even on my s7 too and it was only today I was going to swap my g5 with the gf for her iphone 6s as Well lol
ashirviskas said:
Added!
Click to expand...
Click to collapse
Not trying to be rude or anything, but can you please ad an "@" symbol before my name in the OP, like this: "@nima0003" thanks!
Wow! Sounds great. Good work m8!
works well
So awesome, thank you very much hope this will be incorporated in to muistones patch and the other roms
works perfect with AICP ??
gesendet von meinem LG G5 H850 AICP11.0
Thanks it work perfectly
Just gave it a quick test yesterday. Seems to work very well! Usually use headphones most of the time though and just restored my backup. Just a quick heads up incase it happens to anyone else. After I restored the file I couldn't play videos at all. Kept getting errors in youtube and netflix and such. Needed to change the permissions of the file after restore aswell. Working fine now
amazing sound is like a HTC10 now,I wait this for a time,but now is perfect!
Works great! :laugh:
if any interested, here the patch what all modified (CM13 only)
Code:
From e5b738f1d895ff3a68098f1f285d05d9de968867 Mon Sep 17 00:00:00 2001
From: nima0003
Date: Mon, 31 Oct 2016 13:18:13 +0100
Subject: [PATCH 1/1] CM Stereo hack
---
configs/mixer_paths.xml | 52 ++++++++++++++++++++++++++++++++++++-------------
1 file changed, 38 insertions(+), 14 deletions(-)
diff --git a/configs/mixer_paths.xml b/configs/mixer_paths.xml
index 8308332..f33c468 100755
--- a/configs/mixer_paths.xml
+++ b/configs/mixer_paths.xml
@@ -512,8 +512,6 @@
<ctl name="LSM7 MUX" value="None" />
<ctl name="LSM8 MUX" value="None" />
<ctl name="SLIMBUS_5_TX LSM Function" value="None" />
- <ctl name="MADONOFF Switch" value="0" />
- <ctl name="MAD Input" value="DMIC0" />
<!-- listen end-->
<!-- ADSP testfwk -->
@@ -1625,30 +1623,30 @@
</path>
<!-- For Tasha, DMIC numbered from 0 to 5 -->
- <path name="dmic1">
+ <path name="dmic3">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC7" />
<ctl name="ADC MUX7" value="DMIC" />
- <ctl name="DMIC MUX7" value="DMIC0" />
+ <ctl name="DMIC MUX7" value="DMIC2" />
<ctl name="IIR0 INP0 MUX" value="DEC7" />
</path>
- <path name="dmic2">
+ <path name="dmic1">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC7" />
<ctl name="ADC MUX7" value="DMIC" />
- <ctl name="DMIC MUX7" value="DMIC1" />
+ <ctl name="DMIC MUX7" value="DMIC0" />
<ctl name="IIR0 INP0 MUX" value="DEC7" />
</path>
- <path name="dmic3">
+ <path name="dmic2">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC7" />
<ctl name="ADC MUX7" value="DMIC" />
- <ctl name="DMIC MUX7" value="DMIC2" />
+ <ctl name="DMIC MUX7" value="DMIC1" />
<ctl name="IIR0 INP0 MUX" value="DEC7" />
</path>
@@ -1680,23 +1678,49 @@
</path>
<path name="speaker-fluid">
- <ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
- <ctl name="SLIM_0_RX Channels" value="One" />
- <ctl name="RX INT7_1 MIX1 INP0" value="RX0" />
+ <ctl name="RX HPH Mode" value="CLS_H_LP" />
+ <ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
+ <ctl name="SLIM RX1 MUX" value="AIF_MIX1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
+ <ctl name="RX INT7_1 MIX1 INP0" value="RX1" />
<ctl name="SpkrLeft COMP Switch" value="1" />
<ctl name="SpkrLeft BOOST Switch" value="1" />
<ctl name="SpkrLeft VISENSE Switch" value="1" />
<ctl name="SpkrLeft SWR DAC_Port Switch" value="1" />
+ <ctl name="SpkrRight COMP Switch" value="1" />
+ <ctl name="SpkrRight BOOST Switch" value="1" />
+ <ctl name="SpkrRight VISENSE Switch" value="1" />
+ <ctl name="SpkrRight SWR DAC_Port Switch" value="1" />
+ <ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
+ <ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
+ <ctl name="EAR PA Gain" value="G_6_DB" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <ctl name="RX7 Digital Volume" value="86" />
+ <ctl name="RX0 Digital Volume" value="86" />
</path>
<path name="speaker-mono">
- <ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
- <ctl name="SLIM_0_RX Channels" value="One" />
- <ctl name="RX INT7_1 MIX1 INP0" value="RX0" />
+ <ctl name="RX HPH Mode" value="CLS_H_LP" />
+ <ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
+ <ctl name="SLIM RX1 MUX" value="AIF_MIX1_PB" />
+ <ctl name="SLIM_0_RX Channels" value="Two" />
+ <ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
+ <ctl name="RX INT7_1 MIX1 INP0" value="RX1" />
<ctl name="SpkrLeft COMP Switch" value="1" />
<ctl name="SpkrLeft BOOST Switch" value="1" />
<ctl name="SpkrLeft VISENSE Switch" value="1" />
<ctl name="SpkrLeft SWR DAC_Port Switch" value="1" />
+ <ctl name="SpkrRight COMP Switch" value="1" />
+ <ctl name="SpkrRight BOOST Switch" value="1" />
+ <ctl name="SpkrRight VISENSE Switch" value="1" />
+ <ctl name="SpkrRight SWR DAC_Port Switch" value="1" />
+ <ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
+ <ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
+ <ctl name="EAR PA Gain" value="G_6_DB" />
+ <ctl name="HPHL DAC Switch" value="1" />
+ <ctl name="RX7 Digital Volume" value="84" />
+ <ctl name="RX0 Digital Volume" value="87" />
</path>
<path name="speaker">
--
1.9.1
can be used when build your own CM13 based Rom with Stereo Hack included. Credits to @nima0003
work excellent

How to increase in-call volume?

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?

Mic Problem Low Recording Volume

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>

[MAGISK]-DUAL_SPEAKER_MOD_REALME 6,7 AND NARZO 20 PRO (By Dr.Ritshi Amchi)

-----ENABLE DUAL SPEAKER IN REALME G90T,G95 SERIES_(REALME6,REALME7,NARZO 20 PRO)------
------ENABLES EARPICE AS A SECONDARY SPEAKER [BUT THE VOLUME FROM EARPICE IS LOW COMPARED TO BOTTOM SPEAKER DUE TO HARDWARE LIMITATIONS]------
----------PLEASE READ CAREFULLY BEFORE FLASHING THIS [MAGISK MODULE]-----------
-----REQUIRMENTS-----
1. MAGISK INSTALLED (v18 above)
2. WORKS ON BOTH [RUI 1.0/2.0] AND OTHER [A.O.S.P ROMS]
3. REMOVE "ALL OTHER SOUND MOD" BEFORE INSTALLING THIS (MODULE) OTHERWISE IT MAY CONFLICT WITH OTHER MODULES.
4. DON'T USE "audio_modification_libary" AND "audio_compatibility_patch" WITH THIS MODULE.
5. DON'T USE [DOLBY_ATMOS_MODULE] WHICH REQUIRED "audio_modification_libary" TO WORK.
THERE ARE FEW DOLBY_ATMOS_MODULE(e.g dolby atmos module imported from 'ZTE AXON' AND 'RAZER PHONE' WHICH DOES'T REQUIRED "audio_modification_libary" TO WORK)
6. YOUR BRAIN AND SOME COMMON SENSE
--------PROCESS--------[METHOD]
1. DOWNLOAD THE "duel speaker mod realme.zip" (size 11.1 Kb)
2. REMOVE ALL OTHER SOUND MOD I REPEAT REMOVE ALL OTHER MOD
3. FLASH THE "duel speaker mod realme.zip" IN MODULE SECTION OF MAGISK AND REBOOT.
...THATS IT..----NOW YOUR EARPICE WILL WORK AS A SECONDARY SPEAKER BUT THE DIFFERENCE CAN BE ONLY HEARED ON 80% ABOVE VOLUME
...FOR TESTING WEATHER IT'S WORKING OR NOT TRY PLAYING A SONG AND MAXOUT THE VOLUME ABOVE 80% AND COVER THE BOTTOM LOUDSPEAKER WITH FINGER...NOW LISTEN THROUGH THE EARPICE..I'M SURE YOU WILL BE ABLE TO HEAR IT
---------[ADDITIONAL/ OPTIONAL]-----------
------THIS IS AN OPTIONAL ONE-----
IF YOU WANT YOUR SOUND TO BE CLEAR AND OPTIMISED THEN YOU CAN FLASH NL-SOUND MEDIATEK DRIVERS AFTER FLASHING THE DUEL SPEAKER MAGISK MODULE
THESE MEDIATEK DRIVERS WILL ONLY WORK FOR ANY MEDIATEK BASED ANDROID DEVICE NOT FOR QUALCOM
SOURCE CODE AND PROCESS TO BUILD THE MOD
I HAVE PROVIDED THE FILE NAMED AS "audio_device.xml" WHICH I HAVE MODIFIED TO ENABLE EARPICE AS A SECONDARY SPEAKER ANYONE CAN DOWNLOAD THE FILE OR EXTRACT FROM THE dual speaker realme.zip AND MODIFIED IT ACCORDING TO THEIR OWN TASTE AND REPACK IT TO ZIP AND USE IT...
UNLIKE QUALCOM AND EXYNOS WHICH USES mixer_path.xml FILE TO DEFINE THE PATH AND AUDIO PLAYBACK CHANELS, HERE MEDIATEK USES ANOTHER FILE NAMED AS audio_device.xml WHICH IS LOCATED IN /system/vendor/etc/audio_device.xml
"RCV"means RECIEVER
"SPK" means SPEAKER
I ADD A LINE IN EXTERNAL_SPEAKER OUTPUT SECTION
i.e kctl name="Ext_Reciver_Amp Switch" value="1" />
1 means turn on and 0 means turn off
THIS COMMAND FORCE THE EARPICE TO ACT AS A SECOND PATH WAY FOR AUDIO OUTPUT CHANEL
YOU NEED TO ADD AN TURN ON AND TURN OFF COMMAND IN EACH COMMAND
EXAMPLE-
<!--external_speaker output-->
<path name="ext_speaker_output" value="turnon">
<kctl name="Ext_Speaker_Amp Switch" value="1" />
<kctl name="Ext_Reciver_Amp Switch" value="1" /> (turn on command)
</path>
<path name="ext_speaker_output" value="turnoff">
<kctl name="Ext_Speaker_Amp Switch" value="0" />
<kctl name="Ext_Reciver_Amp Switch" value="0" /> (turn off command)
NOW,
YOU NEED TO DEFINE LEFT AND RIGHT CHANELN [ EARPICE IS ALWAYS DEFINED AS LEFT CHANEL]
YOU NEED TO ADD THIS LINES IN EXTERNAL_SPEAKER OUTPUT SECTION
<!--external_speaker output left-->
<path name="ext_speaker_output_left" value="turnon"> (defines left out put turn on)
<kctl name="Ext_Speaker_Amp Switch" value="0" /> (left chanel off for spk)
<kctl name="Ext_Reciver_Amp Switch" value="1" /> (left chanel on for rcv)
</path>
<path name="ext_speaker_output_left" value="turnoff"> (defines left out put turn off)
<kctl name="Ext_Speaker_Amp Switch" value="0" /> (left chanel off for spk)
<kctl name="Ext_Reciver_Amp Switch" value="0" /> (left chanel off for spk)
</path>
<!--external_speaker output right-->
<path name="ext_speaker_output_right" value="turnon">
<kctl name="Ext_Speaker_Amp Switch" value="1" />
<kctl name="Ext_Reciver_Amp Switch" value="0" />
</path>
<path name="ext_speaker_output_right" value="turnoff">
<kctl name="Ext_Speaker_Amp Switch" value="0" />
<kctl name="Ext_Reciver_Amp Switch" value="0" />
THE OVERALL WILL LOOK LIKETHIS
<!--external_speaker output-->
<path name="ext_speaker_output" value="turnon">
<kctl name="Ext_Speaker_Amp Switch" value="1" />
<kctl name="Ext_Reciver_Amp Switch" value="1" />
</path>
<path name="ext_speaker_output" value="turnoff">
<kctl name="Ext_Speaker_Amp Switch" value="0" />
<kctl name="Ext_Reciver_Amp Switch" value="0" />
</path>
<!--external_speaker output left-->
<path name="ext_speaker_output_left" value="turnon">
<kctl name="Ext_Speaker_Amp Switch" value="0" />
<kctl name="Ext_Reciver_Amp Switch" value="1" />
</path>
<path name="ext_speaker_output_left" value="turnoff">
<kctl name="Ext_Speaker_Amp Switch" value="0" />
<kctl name="Ext_Reciver_Amp Switch" value="0" />
</path>
<!--external_speaker output right-->
<path name="ext_speaker_output_right" value="turnon">
<kctl name="Ext_Speaker_Amp Switch" value="1" />
<kctl name="Ext_Reciver_Amp Switch" value="0" />
</path>
<path name="ext_speaker_output_right" value="turnoff">
<kctl name="Ext_Speaker_Amp Switch" value="0" />
<kctl name="Ext_Reciver_Amp Switch" value="0" />
</path>
AGAIN,
<!--receiver output-->
<path name="receiver_output" value="turnon">
<kctl name="RCV_AMP_MODE" value="RECIEVER_MODE" /> (defines RCV as RCV) CALLS
<kctl name="DAC In Mux" value="Normal Path" />
<kctl name="RCV Mux" value="Voice Playback" />
<kctl name="Ext_Reciver_Amp Switch" value="1" />
</path>
<path name="receiver_output" value="turnoff">
<kctl name="RCV Mux" value="Open" />
<kctl name="Ext_Reciver_Amp Switch" value="0" />
<kctl name="RCV_AMP_MODE" value="SPEAKER_MODE" /> (defines RCV as SPK) MUSIC
</path>
NOW,
COPY AND PASTE THIS LINE IN <!-- 2-in-1 speaker output-->
<!-- 2-in-1 speaker output-->
<path name="two_in_one_speaker_output" value="turnon">
<kctl name="RCV_AMP_MODE" value="RECIEVER_MODE" />
<kctl name="DAC In Mux" value="Normal Path" />
<kctl name="RCV Mux" value="Voice Playback" />
<kctl name="Ext_Reciver_Amp Switch" value="1" />
</path>
<path name="two_in_one_speaker_output" value="turnoff">
<kctl name="Ext_Reciver_Amp Switch" value="0" />
<kctl name="RCV Mux" value="Open" />
<kctl name="RCV_AMP_MODE" value="SPEAKER_MODE" />
</path>
I AM NOT RESPONSIBLE FOR ANY DAMAGE
Can you tell me how did you learned editing those files? it's very nice modifcation, I wish it was avalible for realme 6 pro, I'm currently working on it, but I got no luck as there is no tutorial that really give any helpful information, and mostly tutorials are outdated and won't work with todays device
would you give a look on this realme 6 pro mixerpaths.xml attached

Categories

Resources