[MOD] DualSpeaker SoundMod - Tutorial - Xiaomi Mi 8 Lite Guides, News, & Discussion

Hi!
I let you here a litle tutorial how to activate earpieace as a second speaker.
Don´t hope you gonna get any super sound system... Is a very tiny speaker!
Try it at your one risk, ok?
Let´s start!
Suposing that you already now how this all works!
Pull from Vendor/etc the file mixer_paths_tashalite.xml.
Add this line under speaker lines:
Code:
<path name="earpieace">
<ctl name="COMP7 Switch" value="1" />
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="two" />
<ctl name="RX INT7_1 MIX1 INP0" value="RX0" />
<ctl name="EAR PA Gain" value="G_6_DB" />
<ctl name="RX0 Digital Volume" value="86" />
</path>
Save the file.
Now with root or in TWRP.
Copy the file to ext sd card.
Got to vendor/etc and rename de stock file as mixer_paths_tashalite.xml.bk
Copy the mod file to vendor/etc and chmod to 644 (in TWRP is easy, just select the file and you will see chmod option).
Reboot!
I must thanks to @Dante63 for his tutorial, it help me in the right way.
Check it if you noticed any change, i had to try a few times because earpiece have a low power sound, i try to rise Digital Volume above but it cut off.
See you around!

I have to try it!
"earpieace" ?
I don't understand where to add this lines. Please share the modified xml!

kennethstarr said:
I have to try it!
"earpieace" ?
I don't understand where to add this lines. Please share the modified xml!
Click to expand...
Click to collapse
Rename the stock file by adding at end .bk.
Place this one in system /etc.

Thanks! It works.

Salam Aleykum.
How to unenable this mode?
Is it possible?

Thanks! It works on my Redmi Note 7 with eu rom 12.5 rom using stormbreaker kernel.

Redskitter said:
Thanks! It works on my Redmi Note 7 with eu rom 12.5 rom using stormbreaker kernel.
Click to expand...
Click to collapse
Hello , where should i put the lines?

Related

How to increase system speaker volume in Any ROM included PA

step 1 – Make sure your RedMi 1s is rooted.
Step2- Install ‘ Root explorer ’ from Play store.
Step 3- Open Root Explorer and allow Super user acess
Step 4-In Root Explorer, open the Device (/) directory from Menu > Local > Device. Go to system>etc folder and open the mixer_paths.xml file with RB text Editor Or any other Editor
Step 5- Edit the file by selecting the edit option from top right corner. Then scroll down and find the line
<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">
the edit these file...and increase the value for ex.
<ctl name="RX1 Digital Volume" value="91">
<ctl name="RX2 Digital Volume" value="91">
<ctl name="RX3 Digital Volume" value="91">
<ctl name="RX4 Digital Volume" value="91">
CAUTION: Don't Increase too much it will damage your speaker. and i'm not responsible for this
Step 6 - Go back and select ‘Yes’ to save the build.prop file.
Step 7- Reboot your phone
Here You Go..
Hit thanks if you like my work :good:
I didn't find that mixer_path.XML file
Sent from my HM 1SW using XDA Free mobile app
aiyalsenthil said:
I didn't find that mixer_path.XML file
Sent from my HM 1SW using XDA Free mobile app
Click to expand...
Click to collapse
Which ROM are you using??
Miui 45 stable
Sent from my HM 1SW using XDA Free mobile app
aiyalsenthil said:
Miui 45 stable
Sent from my HM 1SW using XDA Free mobile app
Click to expand...
Click to collapse
Sorry Bro!! there isn't any Mixer_path.xml file in MIUI ROM. MIUI Rom changes File name, some codes and file path. that's why you can't find it. but MIUI 45 stable already has maximum volume sound so if you increase volume level than you will surely get distortion effect in your speaker sound. but you can increase sounds in any other ROM except MIUI. PA4.6 Beta 5 has very low system volume that's why i created this thread. Thanks!
Thanks bro... For ur response..
Sent from my HM 1SW using XDA Free mobile app
aiyalsenthil said:
Thanks bro... For ur response..
Sent from my HM 1SW using XDA Free mobile app
Click to expand...
Click to collapse
Your welcome
Fix the first post, you've typed rx1 for all four lines
sinnerz2000 said:
Fix the first post, you've typed rx1 for all four lines
Click to expand...
Click to collapse
Thanks!!
manish.kunwal said:
Thanks!!
Click to expand...
Click to collapse
You can also add this alternative method if you want.
Find "speaker" in mixer paths.XML file and add or edit the line which is circled in the screenshot.
sinnerz2000 said:
You can also add this alternative method if you want.
Find "speaker" in mixer paths.XML file and add or edit the line which is circled in the screenshot.
Click to expand...
Click to collapse
Thanks Sir!! But i don't have to... everything is working fine now..
For TouchWiz ROMs one has to make changes in default_gain.conf file in /system/etc.
Hope it helps !
Thank you very much, it works well in mi 4i lollipop. The only difference is there are no RX4, but it still work.
Thanksa again
anyone try this?
Thanks Bro...
manish.kunwal said:
step 1 – Make sure your RedMi 1s is rooted.
Step2- Install ‘ Root explorer ’ from Play store.
Step 3- Open Root Explorer and allow Super user acess
Step 4-In Root Explorer, open the Device (/) directory from Menu > Local > Device. Go to system>etc folder and open the mixer_paths.xml file with RB text Editor Or any other Editor
Step 5- Edit the file by selecting the edit option from top right corner. Then scroll down and find the line
<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">
the edit these file...and increase the value for ex.
<ctl name="RX1 Digital Volume" value="91">
<ctl name="RX2 Digital Volume" value="91">
<ctl name="RX3 Digital Volume" value="91">
<ctl name="RX4 Digital Volume" value="91">
CAUTION: Don't Increase too much it will damage your speaker. and i'm not responsible for this
Step 6 - Go back and select ‘Yes’ to save the build.prop file.
Step 7- Reboot your phone
Here You Go..
Hit thanks if you like my work :good:
Click to expand...
Click to collapse
That was awesome...
That increased my Device's Volume
It's not not working on 5.1.1 lollipop ? if ther anyway???
aliirani said:
It's not not working on 5.1.1 lollipop ? if ther anyway???
Click to expand...
Click to collapse
That is for lollipop, working fine here
Sent from my HM 1SW using Tapatalk
It's not working on lollipop... ..
aliirani said:
It's not working on lollipop... ..
Click to expand...
Click to collapse
Already told you, I'm on lollipop and its working for me, so either you are doing something wrong or have some hearing loss.
Sent from my HM 1SW using Tapatalk
I'm using ES file explore root Mount R/W I have already click.. But it's not happening...

[Help] Audio Volume and Navbar

Edit 3- Sound mod is working so far.
For the audio mod, I'm able to decrease/increase the global volume through the following edit in mixer_paths_wcd9326.xml:
Handset volume is increased by adding the following line to <path name="handset">:
Code:
<ctl name="RX0 Digital Volume" value="93" />
It should look like this inside the XML:
Code:
<path name="handset">
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="EAR PA Gain" value="G_6_DB" />
<ctl name="RX0 Digital Volume" value="93" />
</path>
I've tried so many things trying to increase headphone volumes to no avail. I will try further.
=====
Hi Folks!
Two things I'm trying to mod on our Mi Max:
Volume Mod - On my previous device, I could modify the /system/etc/mixer_paths.xml and change some RX1 and RX2 values to increase or decrease specific output volumes such as the in call volume, earphone volume etc. Upon looking at the mixer_paths on our Mi Max, I can't seem to find similar values that I can edit.
I tried changing the following values to 0:
Code:
<ctl name="RX1 Digital Volume" value="0" />
<ctl name="RX2 Digital Volume" value="0" />
<ctl name="RX3 Digital Volume" value="0" />
Code:
<path name="handset">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="0" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="EAR_S" value="Switch" />
</path>
to no avail. This is how I tested my sound mod on my previous device. No volume means I shouldn't hear anything. Once I've established which are the values, I can easily increase them rather than blindly increasing values and trying to play it by ear. Can anyone point me to the right direction?
Navbar Mod - This one seemed really simple. Change the value qemu.hw.mainkeys to 0 and you should get it right? Well, I can't seem to do that as it seems like something is overwriting system/build.prop.
I tried doing this by:
1. Directly editing the file in System
2. Using resetprop in Magisk to do it.
I know that the change doesn't reflect because I don't see the navbar and in addition, upon entering the terminal command:
Code:
getprop qemu.hw.mainkeys
in returns with the value:
Code:
1
Is there another place where MIUI reads this particular prop configuration?
Hoping some folks can help. Thanks!
oreo27 said:
Hi Folks!
Two things I'm trying to mod on our Mi Max:
Volume Mod - On my previous device, I could modify the ......
Hi, first thing try with 3 files that begins with mixer in /system/etc
second thing in build prop at the very down it`s present the line qemu.hw.mainkeys but I`m in the last version 8.1.4.0 and it seem don`t work
Click to expand...
Click to collapse
SubwayChamp said:
oreo27 said:
Hi Folks!
Two things I'm trying to mod on our Mi Max:
Volume Mod - On my previous device, I could modify the ......
Hi, first thing try with 3 files that begins with mixer in /system/etc
second thing in build prop at the very down it`s present the line qemu.hw.mainkeys but I`m in the last version 8.1.4.0 and it seem don`t work
Click to expand...
Click to collapse
Edit 3- Sound mod is working so far.
For the audio mod, I'm able to decrease/increase the global volume through the following edit in mixer_paths_wcd9326.xml:
Handset volume is increased by adding the following line to <path name="handset">:
Code:
<ctl name="RX0 Digital Volume" value="93" />
It should look like this inside the XML:
Code:
<path name="handset">
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="EAR PA Gain" value="G_6_DB" />
<ctl name="RX0 Digital Volume" value="93" />
</path>
I've tried so many things trying to increase headphone volumes to no avail. I will try further.
Maybe someone can help us with the Navbar issue.
Click to expand...
Click to collapse

[Q] any way to increase speaker volume(rooted)

as title says,does anyone know what line we can edit in mixerpaths.xml file to get louder speaker volume?
Here i have made a tutorial video... https://youtu.be/2MPrIn8Xtjk
singhkamal said:
Here i have made a tutorial video... https://youtu.be/2MPrIn8Xtjk
Click to expand...
Click to collapse
Thanks! I definitly noticed it on my headphones, but not so much on the speakers? How much higher can it go? Also, will it make bluetooth things louder?
It should also make bluetooth voice louder
Thanks to you.
Try Viper4Android FX if you have root.
https://forum.xda-developers.com/showthread.php?t=2191223
1. Install the app.
2. Allow root access.
3. Allow the driver update/install when prompted.
4. Under the "Phone Speaker" section, switch on "extra loud".
5. Adjust the settings to suit your own preference.
It works for me to increase the speaker volume, as my phone's volume is too soft even at full volume last time.
Hope it works for you
increasing in-call volume?
Hello friends,
I wanna know how to boost the volume while speking with someone on the phone. (samsung j700F rooted stock custom MM)
Which parts should I edit on folders for example mixer.paths.xml
By the way I successfully boosted speaker and headset volume as they are shown below.
I try to boost in-call / handset/ call volume , however you call it
In order to increase speaker Volume change "3" with "5 or 6 "
<path name="gain-media-speaker">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Speaker Volume" value="3" />
</path>
In order to increase headset Volume change "36" with "38 or 39 "
<path name="gain-media-headset">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Headphone Volume" value="36" />
</path>
komikaze said:
Hello friends,
I wanna know how to boost the volume while speking with someone on the phone. (samsung j700F rooted stock custom MM)
Which parts should I edit on folders for example mixer.paths.xml
By the way I successfully boosted speaker and headset volume as they are shown below.
I try to boost in-call / handset/ call volume , however you call it
In order to increase speaker Volume change "3" with "5 or 6 "
<path name="gain-media-speaker">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Speaker Volume" value="3" />
</path>
In order to increase headset Volume change "36" with "38 or 39 "
<path name="gain-media-headset">
<ctl name="S2801 MIX1_LVL" value="0" />
<ctl name="DAC Gain" value="121" />
<ctl name="Headphone Volume" value="36" />
</path>
Click to expand...
Click to collapse
mixer.paths.xml does not exist in the huawei p10 lite as i can do???????
broky said:
as title says,does anyone know what line we can edit in mixerpaths.xml file to get louder speaker volume?
Click to expand...
Click to collapse
See if my solution can help you:
https://forum.xda-developers.com/showpost.php?p=82526989&postcount=3
user0701 said:
See if my solution can help you:
https://forum.xda-developers.com/showpost.php?p=82526989&postcount=3
Click to expand...
Click to collapse
Thanks m8 but I don t have my A5 anymore:good:
Hi everyone I am new here I want to root my Samsung galaxy A5 2017 ,I have some doubts regarding rooting phone.my question is ,is it necessary to flash Rmm State Bypass and no verity opt encrypt 6.0 after installing TWRP ?or can I directly flash magisk manager by skipping those two zip files? Because I watched so many videos on YouTube as they didn't flashed those two zip files so I am not sure to flash or not.
I'm currently on Oreo version,country India,Android security patch level is 1 Feb 2020.your answer will be appreciable
Thanks

earpiece volume issue

The volume through my earpiece is very less i cant hear the person properly. I have already asked but no one responded.. please help. How can i increase the volume of it.?
Any help???
gunavat said:
Any help???
Click to expand...
Click to collapse
You can modify file mixer_paths.xml (or mixer_paths_tasha.xml). Which is in the directory: /system/etc/ (if you have non-treble rom).
/vendor/etc/ (if you have treble rom) and find and change parameter value <ctl name="RX0 Digital Volume" value="84" /> (maximum value is 124, but you can break your earpiece) After you change value, reboot device

No sound | LineageOS for MicroG 16.0 | Samsung A7 (2017) SM-A720F

My phone doesn't have any sound from: Loudspeaker and jack (Bluetooth is ok). When i was using Stock ROM everything was fine.
Here are the contents of the files inside /system/vendor/etc/
mixer_gains.xml
https://pastebin.com/dy43st09
mixer_paths.xml
https://pastebin.com/1Z4Z59xq
mixer_paths_0.xml
https://pastebin.com/tms1bNnZ
Hey guys any help, pelase? I'm still struggling with that. I've tried to change the values in these files, but nothing changed.
My Bluetooth headphone and the voice at calls are ok. But the: ringtone, headphone connect to jack and speakers don't sound.
I solved the problem by myself. I flashed the crDroid 6.x for the Galaxy A5/A7 2017 (https://forum.xda-developers.com/sa...nt/unofficial-crdroid-6-x-a5-a7-2017-t4054989) and the sounds were all ok, so i backuped mixer_paths.xml , re-flashed the LOS, and replaced the mixer_paths.xml from crDroid.
Here is the contents of the mixer_paths.xml from crDroid:
https://pastebin.com/sk48DqVy
The diff -c between mixer_paths.xml from LOS and crDroid:
Code:
*** mixer_paths(LineageOS_sound_problem).xml 2020-05-09 21:51:52.651774000 -0300
--- mixer_paths(Crdroid_sound_ok).xml 2020-05-09 21:39:06.471758000 -0300
***************
*** 1,6 ****
<mixer>
<!-- In this model, directly connect AP to external DAC & AMP for speaker path, not use codec DAC & AMP -->
! <include name="/system/etc/mixer_gains.xml" />
<pcmdai playback_link="7" />
<pcmdai playback_jam_link="8" />
--- 1,6 ----
<mixer>
<!-- In this model, directly connect AP to external DAC & AMP for speaker path, not use codec DAC & AMP -->
! <include name="/system/vendor/etc/mixer_gains.xml" />
<pcmdai playback_link="7" />
<pcmdai playback_jam_link="8" />
***************
*** 1036,1043 ****
<!-- WifiCall input -->
<path name="wificall_wb-handset-mic">
! <path name="route-ap-rx" />
! <path name="dev-dual-mic" />
</path>
<path name="wificall_wb-speaker-mic">
--- 1036,1042 ----
<!-- WifiCall input -->
<path name="wificall_wb-handset-mic">
! <path name="media-mic" />
</path>
<path name="wificall_wb-speaker-mic">
***************
*** 1050,1057 ****
</path>
<path name="wificall_wb-headphone-mic">
! <path name="route-ap-rx" />
! <path name="dev-dual-mic" />
</path>
<path name="wificall_wb-bt-sco-headset-in">
--- 1049,1055 ----
</path>
<path name="wificall_wb-headphone-mic">
! <path name="media-mic" />
</path>
<path name="wificall_wb-bt-sco-headset-in">
***************
*** 1059,1066 ****
</path>
<path name="wificall_nb-handset-mic">
! <path name="route-ap-rx" />
! <path name="dev-dual-mic" />
</path>
<path name="wificall_nb-speaker-mic">
--- 1057,1063 ----
</path>
<path name="wificall_nb-handset-mic">
! <path name="media-mic" />
</path>
<path name="wificall_nb-speaker-mic">
***************
*** 1073,1080 ****
</path>
<path name="wificall_nb-headphone-mic">
! <path name="route-ap-rx" />
! <path name="dev-dual-mic" />
</path>
<path name="wificall_nb-bt-sco-headset-in">
--- 1070,1076 ----
</path>
<path name="wificall_nb-headphone-mic">
! <path name="media-mic" />
</path>
<path name="wificall_nb-bt-sco-headset-in">
***************
*** 1182,1188 ****
<path name="incall_nb-headphone-mic">
<path name="route-cp" />
! <path name="dev-dual-mic" />
</path>
<path name="incall_nb-bt-sco-headset-in">
--- 1178,1184 ----
<path name="incall_nb-headphone-mic">
<path name="route-cp" />
! <path name="dev-main-mic" />
</path>
<path name="incall_nb-bt-sco-headset-in">
I didn't need to change anything in mixer_gains.xml and mixer_paths_0.xml.

Categories

Resources