[GUIDE] How-to modify the ear speaker volume on Mi A1

Moycano

Senior Member
Oct 21, 2017
87
48
0
Leon
This mini guide is for users who want to modify the ear/handset speaker volume for their Xiaomi Mi A1.


* You need to open one of the following files with root permissions:
(For STOCK) "root"\system_root\system\vendor\etc\mixer_paths_mtp_global.xml
(For CUSTOM) "root"\system\vendor\etc\mixer_paths_mtp.xml

* Find <path name="handset"> (Hint: It's near the bottom). Modify <ctl name="RX1 Digital Volume" value="88" /> for a value closer to 100 to increase the volume (92 works fine for me) or lower that number if the ear speaker is too loud for you.

* You can also modify the "Digital Gain" value within <path name="speaker"> if you want a louder bottom speaker. In my case the default is 56 and I increased it to 64.

* Save without changing the format (UTF-8 if the editor ask), and reboot.


Tested on two Xiaomi Mi A1 under STOCK 8.1 and Lineage OS 15.1, using Magisk Manager 16 (for root access), and Hootan Parsa's MIXplorer.

Best regards. [Sorry for my bad English]
 
Last edited:

Moycano

Senior Member
Oct 21, 2017
87
48
0
Leon
In bluetooth works?
I don't see any numerical value to boost under <path name="headphones"> (nor Bluetooth headphones) for our device, but you can try to increase one at a time the following values under <mixer> near the beginning of the same file: BEWARE that this is a global change
Code:
        <ctl name="RX1 Digital Volume" value="83" />
        <ctl name="RX2 Digital Volume" value="83" />
        <ctl name="RX2 Digital Volume" value="83" />
 

xgr3d

New member
May 31, 2018
3
0
0
Hi

Moycano, how do I change root permissions?
I need to root my phone? I never did something like this. Does it erase my phone data?
How can I root my phone? Do you recommend on a good guide?
I really want to change my phone volume, it's very low.

Thanks,
Saar.
 

jack_21

Senior Member
Mar 29, 2013
520
185
0

Moycano

Senior Member
Oct 21, 2017
87
48
0
Leon
Thanks for the answer. Does it put my phone in danger? Does it earse my phone data? I just want my volume to be louder, there's no other way to fix this problem with no rooting?
I don't think you can apply this fix without rooting, and rooting is probably the best thing you can do anyway; I can't stand a smartphone without ad-blocking, for starters.
 

moudy75799

Member
Dec 12, 2014
21
3
23
i changed the value to 92 and rebooted and still no change in the call volume so i changed it to 99 and rebooted but still nothing and now it is 130 and nothing changed the volume is still very low
what should i do please help
 

roman.zverina

New member
Apr 13, 2012
1
0
0
it works !

it works perfect!
my value is 84, i change to 74 and the volume of the call is finally OK!!

THANK YOU VERY MUCH !!! YOU SAVE MY EAR..
:good::good::good::good::good:
 

Moycano

Senior Member
Oct 21, 2017
87
48
0
Leon
I updated the post with proper instructions for Stock after I went back to it about a week ago. It was a little confusing since both files exist even after a full-format clean install but the system doesn't read the same file than LOS.
 
Last edited:

[email protected]

New member
Feb 27, 2014
1
0
0
Thanks ALot! :)
It worked as expected. it was frustrating attending calls with low earpiece volume had to keep earphones around.!!
Also
can we unroot and relock the boot-loader without affecting these changes? just like the case we do while installing google-cam and unrooting/re-locking doesn't affect camera2api or eis.
 

Moycano

Senior Member
Oct 21, 2017
87
48
0
Leon
I can confirm OTA updates work just fine for LineageOS + MindTheGapps + SuAddon.

On the other hand, Stock + Magisk require to uninstall Magisk before OTA or it fails.
 

Derestriction

New member
Nov 8, 2009
1
0
0
Used this after my in ear volume was so soft after the July update. Turned the value up from 84 to 99 and it worked perfectly. Thank you so much this saved me a lot of money instead of getting a new phone!
 

VinMiA1

New member
Aug 20, 2019
2
0
0
Not able to save file after changing value.

Used this after my in ear volume was so soft after the July update. Turned the value up from 84 to 99 and it worked perfectly. Thank you so much this saved me a lot of money instead of getting a new phone!

Not able to save file after changing value. I am using miX to access file. Please let me know how to change value and fix the issue.