How to increase in-call volume? - OnePlus 3T Questions & Answers

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?

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..

(Guide)(How To) (Lollipop Volume Increase All Varient's)

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?

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

[Q] Volume Boost?

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

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>

Categories

Resources