[MOD] Stereo sound mod

Aug 27, 2016
13
4
0
22
Vitebsk
Stereo mod for xiaomi mi4c (libra)

Based on [OFFICIAL] sources Lineage OS.

Includes:
1. Connecting stereo sound "Speaker - Main Speaker" [LEFT-RIGHT] respectively.
2. Increase the volume of device. (I recommend to use it in conjunction with viper fx with "speaker otimization" enabled.)
3. Increase the sensitivity of microphones.

DISCLAIMER:
I just report to work on [official]lineageOS I am not responsible in any way for anything that happens to your device. You do so at your own risk.
However, it works for most users without problems.


Installation:
You can install a couple different ways including extracting the files included in the zip and manually pushing them to system/etc, set permissions to rw r r, and reboot or just flash the included zips in your custom recovery.

CREDITS:
Cozzmy13 - He made LineageOS port and achieved official support. I used these source files.
kevinkvothe - Thanks for the first port of the stereo mod on our device. So I use some of the developments from his mod.

Download:

STEREO MOD

REVERT TO STOCK

With love from Belarus
 

celrau

Senior Member
Mar 24, 2013
430
78
48
Yeah man, it works as advertised, thanks. Would you be able to tell me (by line # or title) which values I need to change (I'm guessing the ones which are 93 now) for headphones and earpiece? I may want to increase them.
 
Aug 27, 2016
13
4
0
22
Vitebsk
Yeah man, it works as advertised, thanks. Would you be able to tell me (by line # or title) which values I need to change (I'm guessing the ones which are 93 now) for headphones and earpiece? I may want to increase them.
I think so.

<path name="headphones">
<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="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="88" />
<ctl name="RX2 Digital Volume" value="88" />
</path>
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone