CM13 "Stereo" Audio Mod - ONE Themes and Apps

I while back, on kit-kat, someone (I can't remember who, or I would give credit) made a little modification to the mixer_paths.xml, in order to use the earpiece as a tiny, but still quite useful, speaker.
Since then quite a lot has changed in that file and even though his old mod file still worked somewhat, I wanted to use the latest mixer_paths.xml, with all its fixes.
Anyway, after a little comparing and merging I managed to get it to work on sultanxda's latest rom (should work on all recent roms).
So far I didn't encounter any problems. Everything I tested worked as expected and, of course, the earpiece is now a speaker as well.
I'll attach the file if someone wants to try it.
It's not flashable, so just unzip it, replace the one in /etc, chmod to 644 and reboot.
Make a backup before, just in case.
If your phone stops working afterwards or your cat dies, it's not my fault...

tks for share ^^
---------- Post added at 02:48 PM ---------- Previous post was at 02:45 PM ----------
i'm testing on slimsaber mm rom, the in call sound has been mute. ^^

chetchuakaka said:
tks for share ^^
---------- Post added at 02:48 PM ---------- Previous post was at 02:45 PM ----------
i'm testing on slimsaber mm rom, the in call sound has been mute. ^^
Click to expand...
Click to collapse
You're right. I'll look into that.
Only tested speaker, which works fine.

Ok, please download the file again. I think I fixed it.

Flashable Zips
Hey armitage, your stereo mod seems to be fine so I made some flashable zips, and I also made other sound profile for users.
Feel free to add this post to OP
Tested and working; since all ROMs shouldn't have a different mixer_paths.xml file this mod will probably work on all of them. :fingers-crossed:
Since ExtremelyHigh profile has Extremely High volume
{
"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"
}
It can cause problems to our speaker...although it is what I use :good:
Happy flashing :>
To change volume to your own preferences:
Code:
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="XX" /> \\Headset
<ctl name="RX3 Digital Volume" value="XX" / \\Speaker
<ctl name="RX4 Digital Volume" value="XX" /> \\Earpiece (?)
Profiles explained:
Stock: (This use armitage media_profile.xml values)
Code:
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="87" />
<ctl name="RX3 Digital Volume" value="77" />
<ctl name="RX4 Digital Volume" value="80" />
Medium:
Code:
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="87" />
<ctl name="RX3 Digital Volume" value="80" />
<ctl name="RX4 Digital Volume" value="80" />
High:
Code:
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="87" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
Extremely High:
Code:
<path name="speaker">
<path name="spk-ear" />
<ctl name="RX1 Digital Volume" value="87" />
<ctl name="RX3 Digital Volume" value="90" />
<ctl name="RX4 Digital Volume" value="86" />
Thanks to:
@abhi08638 for zip template
@[armitage] ofc, for mixer paths

MrVoshel said:
Hey armitage, your stereo mod seems to be fine so I made some flashable zips, and I also made other sound profile for users.
Feel free to add this post to OP
Tested and working; since all ROMs shouldn't have a different mixer_paths.xml file this mod will probably work on all of them. :fingers-crossed:
Since ExtremelyHigh profile has Extremely High volume
It can cause problems to our speaker...although it is what I use :good:
Happy flashing :>
To change volume to your own preferences:
Thanks to:
@abhi08638 for zip template
@[armitage] ofc, for mixer paths
Click to expand...
Click to collapse
"Stock" is the same as armitage, but flashable?

Thanks for making flashable zip files.
I'll have a look later on regarding the the audio profiles.
I'm not at home right now.

achaw said:
"Stock" is the same as armitage, but flashable?
Click to expand...
Click to collapse
yep

[armitage] said:
Thanks for making flashable zip files.
I'll have a look later on regarding the the audio profiles.
I'm not at home right now.
Click to expand...
Click to collapse
I also made "Profiles explained" section where you can easily check the changes. I hope this can help

This isn't stereo, just triple mono.

erorcun said:
This isn't stereo, just triple mono.
Click to expand...
Click to collapse
That's why I put it in quotes.
I'm well aware that, at least the way I did it, it can't be stereo.
Anyway, the guy who did this mod a while back had a stereo version, but I never used it cause the volume was way too low.

Hi, I've been traying to port a mod like that to my mi4c, but no progress. How did you managed to get it working?

Related

[Fix]Nexus 4 handset mic issue[Finally]

Well got my nexus 4 a month back and i found that I have a famous inaudible mic issue which is people on the other side can only be able to hear u if u place your mouth so close(almost in contact) to the handset mic and speak when I Google about this issue I found that so many users got replaced with a new nexus 4.
So I thought of sending for replacement but when I tried replacing with a new mic the problem persists so It confirms that its a software issue regarding the noise cancellation stuff or may be a hardware fault regarding the noise cancellation feature.
I digged into the issue so deep and found the culprit which is the mixerpaths.XML file located in system/etc.
I played with the file with many values and at last I found this fix.
Instructions
Use a root based file explorer
Open system/etc/mixer path.XML
Find this line
ctl name="DEC7 Volume" value=84
Change the value to 111
Reboot
Done
Google has to ashamed of this although not so many will have this issue I just posted it to show people google's mistake.
Sent from my Nexus 4 using XDA Free mobile app
showstopper1 said:
Instructions
Use a root based file explorer
Open system/etc/mixer path.XML
Find this line
Change the value to 111
Reboot
Done
Click to expand...
Click to collapse
find what line?
Yeah.. Incomplete. What line?
Smowza said:
find what line?
Click to expand...
Click to collapse
yethz said:
Yeah.. Incomplete. What line?
Click to expand...
Click to collapse
This line
ctl name="DEC7 Volume" value="84"
Sent from my Nexus 4 using XDA Free mobile app
Help!
This might sound dumb but i am unable to edit the specified file.
My Nexus 4 is not rooted and i have been using the set perfectly for quite sometime and this problem happened suddenly today.
Root it
And follow the instructions in op.
Sent from my Nexus 4 using XDA Free mobile app
Fail
showstopper1 said:
Root it
And follow the instructions in op.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
Rooted, Modified the file, No use. Switched to CM 11, modified the file - Still same issue
The same bloody mic/earpiece are working perfect on other apps such as Viber, WhatsApp, Skype and even recording - precisely everything but the call.
HunainA said:
Rooted, Modified the file, No use. Switched to CM 11, modified the file - Still same issue
The same bloody mic/earpiece are working perfect on other apps such as Viber, WhatsApp, Skype and even recording - precisely everything but the call.
Click to expand...
Click to collapse
Should work check the file after the reboot whether it has been modified if it is modified raise the value to 117 n reboot it again
Sent from my Nexus 4 using XDA Free mobile app
showstopper1 said:
Should work check the file after the reboot whether it has been modified
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
Yes mate. I had cross checked, the file had modified. I actually did this before moving to CM 11 but then i changed the entire ROM thinking that if the issue is related to software, that might fix things up but even after moving to CM 11 the issue was as it is.
HunainA said:
Yes mate. I had cross checked, the file had modified. I actually did this before moving to CM 11 but then i changed the entire ROM thinking that if the issue is related to software, that might fix things up but even after moving to CM 11 the issue was as it is.
Click to expand...
Click to collapse
Copy paste the set of lines here after you modified I will check it.
Sent from my Nexus 4 using XDA Free mobile app
showstopper1 said:
Copy paste the set of lines here after you modified I will check it.
Sent from my Nexus 4 using XDA Free mobile app
Click to expand...
Click to collapse
You want me to paste the entire log? or just the DEC section?
---------- Post added at 07:25 PM ---------- Previous post was at 06:59 PM ----------
<ctl name="Voice Tx Mute" value="0" />
<ctl name="Voice Rx Volume" value="0" />
<ctl name="TTY Mode" value="Off" />
<ctl name="LINEOUT1 Volume" value="12" />
<ctl name="LINEOUT2 Volume" value="12" />
<ctl name="LINEOUT3 Volume" value="12" />
<ctl name="LINEOUT4 Volume" value="12" />
<ctl name="LINEOUT5 Volume" value="12" />
<ctl name="HPHL Volume" value="6" />
<ctl name="HPHR Volume" value="6" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="RX7 Digital Volume" value="84" />
<ctl name="ADC1 Volume" value="3" />
<ctl name="ADC2 Volume" value="3" />
<ctl name="ADC3 Volume" value="3" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="ADC5 Volume" value="3" />
<ctl name="ADC6 Volume" value="3" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC3 Volume" value="84" />
<ctl name="DEC4 Volume" value="84" />
<ctl name="DEC5 Volume" value="84" />
<ctl name="DEC6 Volume" value="84" />
<ctl name="DEC7 Volume" value="111" />
<ctl name="DEC8 Volume" value="84" />
<ctl name="DEC9 Volume" value="84" />
<ctl name="DEC10 Volume" value="84" />
HunainA said:
You want me to paste the entire log? or just the DEC section?
---------- Post added at 07:25 PM ---------- Previous post was at 06:59 PM ----------
<ctl name="Voice Tx Mute" value="0" />
<ctl name="Voice Rx Volume" value="0" />
<ctl name="TTY Mode" value="Off" />
<ctl name="LINEOUT1 Volume" value="12" />
<ctl name="LINEOUT2 Volume" value="12" />
<ctl name="LINEOUT3 Volume" value="12" />
<ctl name="LINEOUT4 Volume" value="12" />
<ctl name="LINEOUT5 Volume" value="12" />
<ctl name="HPHL Volume" value="6" />
<ctl name="HPHR Volume" value="6" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX5 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="RX7 Digital Volume" value="84" />
<ctl name="ADC1 Volume" value="3" />
<ctl name="ADC2 Volume" value="3" />
<ctl name="ADC3 Volume" value="3" />
<ctl name="ADC4 Volume" value="3" />
<ctl name="ADC5 Volume" value="3" />
<ctl name="ADC6 Volume" value="3" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC3 Volume" value="84" />
<ctl name="DEC4 Volume" value="84" />
<ctl name="DEC5 Volume" value="84" />
<ctl name="DEC6 Volume" value="84" />
<ctl name="DEC7 Volume" value="111" />
<ctl name="DEC8 Volume" value="84" />
<ctl name="DEC9 Volume" value="84" />
<ctl name="DEC10 Volume" value="84" />
Click to expand...
Click to collapse
try changing the "111" to "122" and reboot.
showstopper1 said:
try changing the "111" to "122" and reboot.
Click to expand...
Click to collapse
After changing it to 122 following happens.
There's a static sound for few seconds and then dead silence. The only thing new is the deadly static sound and nothing else.
Status: Issue unresolved
Sent from my Nexus 4 using XDA Free mobile app
I had problem with the mic on my nexus and i decided to try your method. Changed it to "111" and it seems to be fixed. But after changing the value from 84 to 111 I noticed a strange noise in phone's speaker. It appeared after the change of values...

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?

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>

Categories

Resources