[Mod] Stereo + Sound Boost for Lollipop (.242)

SpiritBreak3r

Senior Member
Jun 5, 2014
271
132
43
Between the planes.

Attachments

Last edited:

dazjp71

Member
Mar 9, 2011
25
7
0
This mod kills audio, I get an Unfortunately Audio settings has stopped, I also can't get jetaudio and some other apps to run.

I removed the mod and everything works again
 

Soldat0815

Member
Apr 17, 2012
27
1
0
I re-uploaded the working mixer_path.xml. It seems to have been corrupted while I pushed it from my phone. Try it again.
Now the Mod works but the sound on the headspeaker is not good.
It´s a effekt like the speaker overmodulate but didn´t stop if you turn down the volume.
 
Last edited:

Lessismooore

Member
Nov 2, 2013
19
14
0
Thanks for the mod, it's working but the sound is very distorted and the headphone is extremely loud that despite it may damage your headset, it can seriously cause some problems to your ears.

anyway I edited the original file "mixer_paths.xml" from the official lollipop in my z1 compact and adjusted the values for a high volume with clear sound without distortion...

I changed the values under these tags:

<path name="speaker">

<path name="speaker-mic">

<path name="headphones">

<path name="headset-mic">

- and for more information here is what I've done in details:

-Original speaker values:

<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="RX7 MIX1 INP2" value="RX2" />
<!-- 67 % of 124 (range 0 - 124) Register: 0x2E7-->
<ctl name="RX7 Digital Volume" value="83" />
<!-- 100 % of 8 (range 0-8) Register: 0x1E0-->
<ctl name="SPK DRV Volume" value="8" />
</path>

-Edited speaker values:

<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="RX7 MIX1 INP2" value="RX2" />
<!-- 67 % of 124 (range 0 - 124) Register: 0x2E7-->
<ctl name="RX7 Digital Volume" value="91" />
<!-- 100 % of 8 (range 0-8) Register: 0x1E0-->
<ctl name="SPK DRV Volume" value="8" />
</path>

------------

-Original speaker-mic values:

<path name="speaker-mic">
<path name="adc4" />
<!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
<ctl name="ADC4 Volume" value="12" />
<!-- 66 % of 124 (range 0 - 124) Register: 0x231 -->
<ctl name="DEC3 Volume" value="82" />
</path>

-Edited speaker-mic values:

<path name="speaker-mic">
<path name="adc4" />
<!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
<ctl name="ADC4 Volume" value="14" />
<!-- 66 % of 124 (range 0 - 124) Register: 0x231 -->
<ctl name="DEC3 Volume" value="82" />
</path>

------------

-Original headphones values:

<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" />
<!--70 % of 20 register: 0x1AE-->
<ctl name="HPHL Volume" value="14" />
<!--70 % of 20 register: 0x1B4-->
<ctl name="HPHR Volume" value="14" />
<!--66 % of 124 (rounded) register: 0x2B7-->
<ctl name="RX1 Digital Volume" value="82" />
<!--66 % of 124 (rounded) register: 0x2BF-->
<ctl name="RX2 Digital Volume" value="82" />
</path>

-Edited headphones values:

<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" />
<!--70 % of 20 register: 0x1AE-->
<ctl name="HPHL Volume" value="16" />
<!--70 % of 20 register: 0x1B4-->
<ctl name="HPHR Volume" value="16" />
<!--66 % of 124 (rounded) register: 0x2B7-->
<ctl name="RX1 Digital Volume" value="84" />
<!--66 % of 124 (rounded) register: 0x2BF-->
<ctl name="RX2 Digital Volume" value="84" />
</path>

------------

-Original headset-mic values:

<path name="headset-mic">
<path name="adc2" />
<!--42 % of 19 (rounded) register: 0x155-->
<ctl name="ADC2 Volume" value="8" />
<!--80 % of 124 (rounded) register: 0x241-->
<ctl name="DEC5 Volume" value="99" />
</path>

-Edited headset-mic values:

<path name="headset-mic">
<path name="adc2" />
<!--42 % of 19 (rounded) register: 0x155-->
<ctl name="ADC2 Volume" value="10" />
<!--80 % of 124 (rounded) register: 0x241-->
<ctl name="DEC5 Volume" value="99" />
</path>


The adjusted file in the attachments.
Use the same instructions provided by SpiritBreak3r in the original post.
And enjoy your z1c with high clear sound :good:

Thanks &
Best Regards,
 

Lessismooore

Member
Nov 2, 2013
19
14
0
Thanks for sharing,no cracking sound anymore. but speaker voice is still too low even turn on almost max volume.
I agree with you, comparing to the other devices still low volume even after boosting it..
but comparing to its original sound I found this more better than never, and I am not going to say I am very satisfied but at least satisfied right now comparing to its real low original sound.

by the way I tried different values and when I tried to go higher or trying the mod in the OP, regardless the distortion of the sound in both experiences, when I play a song with maximum volume and touching the screen I felt like the screen is gonna explode because of the impact of the extreme high sound is somehow going into the device more than coming out of it, I don't know but maybe it's because of the waterproof thing this is why we're not getting the most out of the speakers.

If someone has any modifications, adjustments, additions will be more than welcome...

Thanks for sharing your feedback,
Best Regards..
 

Oreltub

Senior Member
Sep 10, 2014
247
30
0
The adjusted file in the attachments. Use the same instructions provided by [URL="http://forum.xda-developers.com/member.php?u=5891919" said:
SpiritBreak3r[/URL] in the original post.
And enjoy your z1c with high clear sound :good:

Thanks &
Best Regards,
Thx!
Tried only with earphones, sounds good..?
I'll check it later with speakers..

Update : I checked the speakers and it is louder .. Of course, the quality is pretty lame, but its only because we are taking our z1 compact to the limit .. Waterproof price..
Sent from my D5503 using XDA Free mobile app
 
Last edited:

nutdevza

Senior Member
Mar 14, 2013
132
15
0
Lampang
Here is stock lollipop mixer_part.XML I think stock speaker volume is louder than your mod. Analyze it if there would be another better way for mod.
In a nutshell.
Stock = loud speaker, low headphones volume .
Mod files = low speaker volume but loud headphones.
 
Last edited:

dotzi75

Senior Member
Jul 3, 2013
174
60
0
Meiningen
Here is stock lollipop mixer_part.XML I think stock speaker volume is louder than your mod.
In a nutshell.
Stock = loud speaker, low headphones volume .
Mod files = low speaker volume but loud headphones.
I agree with you, but i'm happy with this mod. Because i only hear music with headphones.
Great mod!
 

bongokongo

Member
Apr 12, 2014
13
1
0
after using the mod for a while, i appreciate the increase of quality in headphones, but the speaker volume "croaks" a little bit.

i noticed that with the clear audio+ enabled, the quality is little better

do you have tried other combinations of the equalizer? Opinions?
 
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