Hi,
I have a Z5 Compact with 7.1.1 completly stock.
What is the simplest way to edit mixer_paths.xml? I assume I need to root?
I have searched like I fool but cant find any good instructions.
Would also strongly prefer to not erase all the information.
Is this even possible?
Thanks!
Chipsadin said:
Hi,
I have a Z5 Compact with 7.1.1 completly stock.
What is the simplest way to edit mixer_paths.xml? I assume I need to root?
I have searched like I fool but cant find any good instructions.
Would also strongly prefer to not erase all the information.
Is this even possible?
Thanks!
Click to expand...
Click to collapse
You do need to root - no other way to modify anything in /system. After that u need a file explorer like Root Explorer or MiXplorer.
I modified this file to lower the volume of the speaker and the sensitivity of the microphone (echo issue) without having to root the phone. I did everything from TWRP using the provided terminal. In TWRP I mounted the partition using the graphical interface and then navigated to the file and edited it using vim. This is not in any way convenient but I only wanted to perform that one-shot modification so it seemed adequate.
This process requires to install TWRP, therefore to unlock the bootloader (which you might not want to do) but the phone is not "rooted" (according to what is usually called "rooting"), temporary root access is achieved from TWRP. So, you need root permissions to modify this file, but you do not need to "root your phone".
fetchaspade said:
I modified this file to lower the volume of the speaker and the sensitivity of the microphone (echo issue) without having to root the phone. I did everything from TWRP using the provided terminal. In TWRP I mounted the partition using the graphical interface and then navigated to the file and edited it using vim. This is not in any way convenient but I only wanted to perform that one-shot modification so it seemed adequate.
This process requires to install TWRP, therefore to unlock the bootloader (which you might not want to do) but the phone is not "rooted" (according to what is usually called "rooting"), temporary root access is achieved from TWRP. So, you need root permissions to modify this file, but you do not need to "root your phone".
Click to expand...
Click to collapse
Rooting is just flashing Magisk or another root app from TWRP where we have /system R/W rights. You were one step away from rooting anyway... After unlocking bootloader rooting us child's play.
The trick is if it's possible to root without unlocking BL. Thats more important. If you unlocked - you might as well root, you already have recovery.
someone know how to make volume louder without cut off? or 2 speakers at call?
ive tried some ready files but it wanst good, didnt find any where manual how to edit it by meself
thanks
Finally found wherestereo incall speaker (or at least move it to the upper speaker with is louder)
<ctl name="RX7 Digital Volume" <<<<< top speaker
<ctl name="RX8 Digital Volume" <<<<< bottom speaker
<path name="voice-speaker">
<ctl name="AIF4_VI Mixer SPKR_VI_1" value="1" />
<ctl name="AIF4_VI Mixer SPKR_VI_2" value="1" />
<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="0" />
<ctl name="RX8 Digital Volume" value="84" />
<ctl name="COMP0 Switch" value="1" />
<ctl name="VI_FEED_TX Channels" value="Two" />
<ctl name="SLIM0_RX_VI_FB_LCH_MUX" value="SLIM4_TX" />
<ctl name="SLIM0_RX_VI_FB_RCH_MUX" value="SLIM4_TX" />
</path>
Click to expand...
Click to collapse
now just need
to make my ringtone stereo (didint found this part yet)
Related
CyanogenMod is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices.
http://wiki.cyanogenmod.org/w/About
Credits
My work is based on @bonuzzz work for G850F and CM official exynos5 device sources.
The initial mixer_paths.xml is created by @modpunk.
Disclaimer
This is my hobby project. The goal of the project is running cm12.1 on G850F as *my* daily driver.
I am not responsible if you "brick" your device or in anyway damage it or void your warranty.
Proceed at your own risk.
Instructions
Make sure that your G850F has the lollipop bootloader and modem (The last installed stock ROM must be 5.0.2).
Install a TWRP <https://twrp.me/devices/samsunggalaxyalpha.html>.
Wipe data & cache and Flash CyanogenMod.
Install the Google Apps.
Download
CyanogenMod 12.1: cm-12.1-20160218-UNOFFICIAL-slte.zip (final build)
https://www.androidfilehost.com/?fid=24421527759881472
https://www.androidfilehost.com/?w=files&flid=33699
Source code
* Device specific repos
https://github.com/kyasu/android_device_samsung_slte
https://github.com/kyasu/android_kernel_samsung_slte
https://github.com/kyasu/android_vendor_samsung_slte
https://github.com/kyasu/android_hardware_samsung_slsi_exynos5430
Known Issues
The current status is stable.
SELinux is permissive.
XDA:DevDB Information
[5.1.x][SM-G850F] CyanogenMod 12.1 UNOFFICIAL: Galaxy Alpha (slte), ROM for the Samsung Galaxy Alpha
Contributors
kyasu
ROM OS Version: 5.1.x Lollipop
Version Information
Status: Stable
Current Stable Version: 2016-02-18
Stable Release Date: 2016-02-18
Created 2015-06-28
Last Updated 2016-02-20
Changelog
cm-12.1-20160218-UNOFFICIAL-slte
Revert "Fix network operator search".
cm-12.1-20160209-UNOFFICIAL-slte
Use LL camera blobs (with modpunk gralloc patch).
Fix network operator search (with modpunk patch).
cm-12.1-20150912-UNOFFICIAL-slte
Just lower the mic volume on call.
cm-12.1-20150906-UNOFFICIAL-slte
Back to the old and stable exynos5 source.
Back to the two mic configuration on call.
cm-12.1-20150822-UNOFFICIAL-slte
Use new exynos5 source (android_hardware_samsung_slsi-cm_xxx).
Fix cpufreq interactive governor parameters for big.LITTLE.
Fix minor audio routing bug.
cm-12.1-20150815-UNOFFICIAL-slte
Fix the camera video recording bug (the inverted colors).
cm-12.1-20150809-UNOFFICIAL-slte
Set the mDNIe mode to AUTO instead of STANDARD
cm-12.1-20150801-UNOFFICIAL-slte
Fix mic bug if speaker is on during a call
cm-12.1-20150724-UNOFFICIAL-slte
Disable a call noise suppression by default
cm-12.1-20150719-UNOFFICIAL-slte
Fix some phone call bugs
cm-12.1-20150712-UNOFFICIAL-slte
New audio HAL
Phone call over bluetooth works partially
cm-12.1-20150705-UNOFFICIAL-slte
Fix notification LED
Small updates on audio parameters
Tips
If other side of call hears the echo, please lower the mic volume by editing the following paths in /system/etc/mixer_paths.xml.
Builtin mic (Bottom mic):
Code:
<path name="volume-builtin-mic-incall-earpiece">
<!-- stock rom value
<ctl name="IN1L Volume" value="24" />
<ctl name="IN1L Digital Volume" value="128" />
-->
<ctl name="IN1L Volume" value="18" />
<ctl name="IN1L Digital Volume" value="128" />
</path>
Back mic (Top mic):
Code:
<path name="volume-back-mic-incall-earpiece">
<!-- stock rom value
<ctl name="IN3L Volume" value="17" />
<ctl name="IN3L Digital Volume" value="128" />
-->
<ctl name="IN3L Volume" value="9" />
<ctl name="IN3L Digital Volume" value="110" />
</path>
The following paths are for the speaker phone.
Builtin mic (Bottom mic):
Code:
<path name="volume-builtin-mic-incall-speaker">
<!-- stock rom value
<ctl name="IN1L Volume" value="14" />
<ctl name="IN1L Digital Volume" value="142" />
-->
<ctl name="IN1L Volume" value="9" />
<ctl name="IN1L Digital Volume" value="110" />
</path>
Back mic (Top mic):
Code:
<path name="volume-back-mic-incall-speaker">
<!-- stock rom value
<ctl name="IN3L Volume" value="23" />
<ctl name="IN3L Digital Volume" value="142" />
-->
<ctl name="IN3L Volume" value="14" />
<ctl name="IN3L Digital Volume" value="128" />
</path>
How is camera quality, is it same as stock or the quality is poor?
Sent from my SM-G850M using XDA Free mobile app
Recent apps button
Recent Apps button doesn't work on my device. I think it's problem with kernel. On malaysian stock kernel all work correctly.
O know, Bluetooth is untested. Music works but no calls over Bluetooth.
Best and thanks..
Sent from my SM-G850F using XDA Free mobile app
thank you your rom is fantastic
Kyasu, thanks, how about OTA?
There is echo during call fixed? On other 511 roms all peple with i am talking hear own voices.
hi
:good::good::good:
I always thought SELINUX = permissive is advantage
since it's easier to install certain program (viper4a,etc)
does this have the audio call sound problem like resurrection remix? thanks.
How's the screen? Any way to change display mode to 'basic'?
hello your rom Work very well but not bluetooth phone for my car. Bluetooth connect, music is ok but not phone? do you have a solution?
Hramonica said:
Recent Apps button doesn't work on my device. I think it's problem with kernel. On malaysian stock kernel all work correctly.
Click to expand...
Click to collapse
Recent Apps button works well. Please try full wipe.
gabrielking9 said:
How is camera quality, is it same as stock or the quality is poor?
Sent from my SM-G850M using XDA Free mobile app
Click to expand...
Click to collapse
This ROM if for G850F.
miszko77 said:
There is echo during call fixed? On other 511 roms all peple with i am talking hear own voices.
Click to expand...
Click to collapse
Shafayat said:
does this have the audio call sound problem like resurrection remix? thanks.
Click to expand...
Click to collapse
dgjl said:
How's the screen? Any way to change display mode to 'basic'?
Click to expand...
Click to collapse
I have been used my ROM for two weeks as my daily driver.
I tested Wi-Fi/RIL (Calls, MMS, Mobile Data, LTE)/Camera/Video/Audio/GPS/NFC/... and no major problem except for "known issues".
Please try and test.
They are the same exynos based cpu but from different country
Sent from my SM-G850M using XDA Free mobile app
Beide known bugs nothing else with my phone running CM as well.
really very snappi!
Most important points is increase audio even more for phone and bluetooth working with phone - only works with music.
Best and thank,
Blubbert
Echo during call is not repaired. Major phone function is not working properly. It should be primary bug to be fixed.
and bluetooth please? don't work for me!
kyasu said:
Recent Apps button works well. Please try full wipe.
Click to expand...
Click to collapse
It's a device related bug that affect some people not others.
Basically the only "fix" to it for the affected people right now is to use the stock Malaysian kernel (that Ozcan posted in his Rom thread from memory).
I rooted my LG Logos US550 and changed the <ctl name=”HPHL Volume” /> and <ctl name=”HPHR Volume” /> values in the mixer_paths.xml file under system>ect from <ctl name=”HPHL Volume"9" /> and <ctl name=”HPHR Volume"9" /> to <ctl name=”HPHL Volume"16"/> and <ctl name=”HPHR Volume"16"/> and in the process accidentally changed the code from ISO-8859-1 to UTF-8 with es explorer and saved after reboot there is no sound at all from anything even after I changed the values back. I know that was a foolish thing to do without a backup but there is no recovery available for the LG Logos US550 so I couldn't make a back up. I've tried everything I know to do I even called customer support but of course they said they wouldn't help. It's only a $75 phone but i'm broke and unemployed at the moment so if someone could please help I would greatly appreciate it.
Factory reset it
I tried factory resetting it after it happened and it didn't fix it
Hello there, i have a hardware problem with my main microphone, but my second microphone works well(cam recording and loudspeaker calling) i saw that there is a way to swap them, and make my second mic works as main.
Anyone know what can i change in mixer_paths.xml file so i can make it work?
I use C6833 with unlocked bootloader and latest RR rom. Thanks in advance.
Eversio said:
Hello there, i have a hardware problem with my main microphone, but my second microphone works well(cam recording and loudspeaker calling) i saw that there is a way to swap them, and make my second mic works as main.
Anyone know what can i change in mixer_paths.xml file so i can make it work?
I use C6833 with unlocked bootloader and latest RR rom. Thanks in advance.
Click to expand...
Click to collapse
Any help please? i can post my mixer_paths.xml file if that may help.
Eversio said:
Any help please? i can post my mixer_paths.xml file if that may help.
Click to expand...
Click to collapse
Hi! you have to find these sections and change them like following, note it doesn't work on nougat, i didn't have enough time to figure that out, if you could would be great to let me know how! works fine on AICP or RR marshmallow rom.
<path name="adc4">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC2" />
<ctl name="DEC2 MUX" value="ADC5" />
<ctl name="IIR1 INP1 MUX" value="DEC2" />
</path>
<path name="handset-mic">
<path name="adc4" />
<!-- 67 % of 124 (range 0 - 124) Register: 0x231 -->
<ctl name="DEC3 Volume" value="83" />
<!-- 63 % of 19 (range 0 - 19) Register: 0x15F -->
<ctl name="ADC5 Volume" value="17" />
</path>
in the handset mic i turned the volume up for better sound.
Hello,
If you got the same problems like me on any lineage rom with the microphone volume, i just found a fix for that.
What do you need?
-root (of course)
-Any root file browser that can edit xml files.
What to do:
Android N:
edit /system/etc/mixer_paths_tasha.xml
Android O
edit /system/vendor/etc
on line 2122 change
value to 124
Code:
<path name="speaker-mic">
<path name="dmic3" />
<ctl name="DEC7 Volume" value="124" />
</path>
on line 2177 change
value to 124
Code:
<path name="handset-mic">
<ctl name="DMIC Delay" value="ON" />
<path name="dmic1" />
<ctl name="DEC7 Volume" value="124" />
</path>
on line 2312 change
value to 124
Code:
<path name="voice-speaker-mic">
<path name="speaker-mic" />
<ctl name="DEC7 Volume" value="124" />
</path>
of course you can rise the volume up, but i think thats okay on that values.
reboot your device and spam voice mails
Backup your file before you edit it
Isnt there already fixes in places for these roms from J0SH1X?
basicreece said:
Isnt there already fixes in places for these roms from J0SH1X?
Click to expand...
Click to collapse
its fixed at latest kernel source from lineage, but the mic volume is way to low. You can test it with voice memos or WhatsApp
Thanks
Useful! Thanks!
---------- Post added at 04:57 PM ---------- Previous post was at 04:32 PM ----------
I'm using Lineage and when I record video there is a pop at the beginning and the is so low it's almost muted. I tried Snapchat and the stock camera video recording app, both with the same results.
---------- Post added at 04:58 PM ---------- Previous post was at 04:57 PM ----------
Any ideas?
For Oreo users , the file is located in /System/Vendor/ETC
Unfortunately, the problem remains. After changing these values as described above, it just got worse and I can't hear the other participant anymore.
No one can hear me and I now i can't hear anything too, after changing these values like above.
I also tried the Magisk addon "low call fix" before, but unfortunately it didn't work either.
Are there any other solutions???
On stocked Rom this problem don't exist, but on Lineage, RR and AOSP Extended everywhere the same.
Do anybody have any solutions? My Device is a LG G6 (870)
Has anybody found a better fix? I'm experiencing this as well and it's my only problem. The people on the other end report that I sound like I'm cutting out. It makes it unusable unfortunately.
gataahaythem said:
For Oreo users , the file is located in /System/Vendor/ETC
Click to expand...
Click to collapse
whats the name of the file?
wogooo said:
whats the name of the file?
Click to expand...
Click to collapse
mixer_paths_tasha.xml
I don't have it :silly:
habobababo said:
Hello,
If you got the same problems like me on any lineage rom with the microphone volume, i just found a fix for that.
What do you need?
-root (of course)
-Any root file browser that can edit xml files.
What to do:
Android N:
edit /system/etc/mixer_paths_tasha.xml
Android O
edit /system/vendor/etc
on line 2122 change
value to 124
Code:
<path name="speaker-mic">
<path name="dmic3" />
<ctl name="DEC7 Volume" value="124" />
</path>
on line 2177 change
value to 124
Code:
<path name="handset-mic">
<ctl name="DMIC Delay" value="ON" />
<path name="dmic1" />
<ctl name="DEC7 Volume" value="124" />
</path>
on line 2312 change
value to 124
Code:
<path name="voice-speaker-mic">
<path name="speaker-mic" />
<ctl name="DEC7 Volume" value="124" />
</path>
of course you can rise the volume up, but i think thats okay on that values.
reboot your device and spam voice mails
Backup your file before you edit it
Click to expand...
Click to collapse
I can't find the file on Oreo. Nexus 6p
Just in case it could help Galaxy S3/i9305 users (Lineage 14.1) : the corresponding file to fix is located here : /system/etc/sound/m3
and the one provided in the post below fixed almost everything for me (I just extracted the file and copy it under /system/etc/sound/m3) :
https://forum.xda-developers.com/t/...-1-for-gt-i9305.3542012/page-40#post-77940230
Hello guys!
This topic was made only for the Mi 8 lite phones runing with Official global firmware MIUI 11 ( ANDROID 9 AND 10)
I was Looking for a loot of Time to find any way to increase that phone's speaker.. Too hard.
So i found some tricks to do that ?
You must have rooted phone. With magisk of course.
Code:
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
backup your data before flashing it!
YOU are choosing to make these modifications, and if
you don't fallow all the steps don't judge me!
Do everything at your own risk!
Tested on Mi 8 lite Global Official firmware Android 10 latest update.
The mod works fine with android 9 and 10.
Steps :
1.Root
2.Magisc Manager
3.Viper4Android (see at attachaments the version)
4.Root Explorer
5.A lot of patience ?
*First root your phone using magisk. Install the viper4android apk you can find it in magisc module download must search for "viper4android" and download the version from attachaments.
Now install the driver for viper 4 android!. Restart your phone and see if the mod works. You must first install the driver and make the ViperX to work on your device.
Speaker volume boost
Now fallow this steps to boost your speaker.
Open any root EXPLORER (Root Explorer pro it's ok) you can find it by search on Google.
Go to system/vendor/etc
>There should be a loot of mixer paths like me.. Skush skushlite Tasha etc etc.
Open with a text editor all of these mixer but do not open mixer paths dinamic and static. There is no speaker boost inside.. Only the headphones can be boosted from the Static mixer paths. . Open all others mixer paths.
Search for
<ctl name="HPHL Volume" value="40" />
<ctl name="HPHR Volume" Value="40" />
In every mixer paths. Except mixer paths static and mixer paths dinamic.
Increase the Value with +20. If it is 10 put 30.
WARNING!!!
<ctl name="EAR PA Boost" value="DISABLE" />
**DO NOT ENABLE NEVER THIS LINE WHEN YOU SET HPHL AND HPHR VOLUME YOU WILL DESTROY YOUR EARPIECE SPEAKER. WE ARE INCREASING ONLY THE MAIN SPEAKER OF THE PHONE NOT THE EARPIECE.**
After you increased the 2 lines, go and SEARCH again in all of your mixer paths for
RX DIGITAL VOLUME 1
RX DIGITAL VOLUME 2
RX DIGITAL VOLUME 3
RX DIGITAL VOLUME 4
RX DIGITAL VOLUME 5
DO NOT Increase RX DIGITAL VOLUME 0 BECAUSE IT GOES TO THE EARPIECE AND YOU MAY DAMAGE IT IF YOU WILL INCREASE A LOOT!
>Put the volumes at the RX Digital volumes to 120 for EVERY ONE, from RX1 to RX5 in every mixer paths Except mixer paths dinamic and mixer paths static of course. Then restart your phone. And open Viper4android and turn on master power at the speaker tab maximize the output db and the threshold limit should be 0.
If you fix all of these your sound should be increased by 7-8 db ( a loot for that phone)
Headset volume boost
If you want to increase the headset volume fallow this Steps it's easy.
Go at system/vendor/etc and find Mixer Paths Static.
Open it with a text editor and scroll down untill you find this line :
<path name="headphones">
<ctl name="INT0_MI2S_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="COMP0 RX1" value="0" />
<ctl name="COMP0 RX2" value="0" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
<ctl name="RX1 Digital Volume" value="97" />
<ctl name="RX2 Digital Volume" value="97" />
</path>
**Increase the RX1 AND RX 2. DO NOT INCREASE MORE THAN 100 YOU CAN BOOST MORE FROM VIPER4ANDROID IF YOU NEED MORE VOLUME..
100 ITS VERY LOUD.
* Finished *
Restart your device and you got boosted volume trough the phone speaker and headphones.
Don't forget
(!) You need root with magisk manager. And the viper4android version from the attachaments. :good:
The mod works very fine. Everything it's ok i tested it (!) for about 3 weeks
Tested MIUI 11 BASED ON ANDROID 9 AND MIUI 11 BASED ON ANDROID 10 BOTH OF ANDROID WORK'S WITH THIS MOD.
If you have any questions, just leave a comment. I will try to help you as much as I can :angel:
Process is kind of painful, but it works. Thanks for this workaround.
gunmoule said:
Process is kind of painful, but it works. Thanks for this workaround.
Click to expand...
Click to collapse
Yep.. Need a loot of patience for the Best results(!)
Thanks for feedback! If you got any issue leave a comment about your problem i will try to help you :highfive:
Dont work
Hi, i made all de steps and now my audio dont work anything.
Diocerejo said:
Hi, i made all de steps and now my audio dont work anything.
Click to expand...
Click to collapse
Hello there! The mod it's working well. I tested it many times before share.
Maybe you missed some steps or edited wrong patches ?
Back up your mixer paths to original and you will get again audio working.
*What android version are you using?
* For that phone (MI 8 LİTE) Speaker audio will only be full removed Just in case you delete the MIXER_PATHS.XML, Definitely (!)
(!) Did you set the permissions to 0644 after editing?
By editing these patches you will never lose the audio. It will be more loud. So be sure you have fallowed all my steps and you set the right permissions.
(!) Make sure you are using Android 9 or 10 and at least
MIUI 11+ (!)
This mod is only for stock rom.
If you got the android 10 update you should try the next mod :
https://forum.xda-developers.com/mi-8-Lite/themes/sound-mod-dolby-viper4android-stable-t4073987
Very usefull / stable.
hi, i'm having a volume problem during the call but on different phone, i have a mi 9 cepheus where i run the xiaomi.eu rom stable release 12.0.6
do you know if i can follow your guide also on my scenario?
thanks
Hello, thanks for this mod, I successfully made it to my redmi note 9 pro, thought it needed some adjustments from your tuto to made this works on my phone.
For ones that are interested, that's is my new mixer_paths_wcd937x.xml (this is weird cause the DAC on my device is the WCD9385, Xiaomi probably used the same file for multiples devices and left it as it), I've already tried to change my mixer_paths.xml file but it seems that my device only use the other one, anyway there are my modifications :
XML:
<path name="headphones">
<ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" />
<ctl name="RX_MACRO RX1 MUX" value="AIF1_PB" />
<ctl name="RX_CDC_DMA_RX_0 Channels" value="Two" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX1" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX_COMP1 Switch" value="0" />
<ctl name="RX_COMP2 Switch" value="0" />
<ctl name="HPHL_COMP Switch" value="0" />
<ctl name="HPHR_COMP Switch" value="0" />
<ctl name="HPHL_RDAC Switch" value="1" />
<ctl name="HPHR_RDAC Switch" value="1" />
</path>
<!-- 2019.12.17 longcheer chenqiang add for ce mode start-->
<path name="headphones-ce">
<path name="headphones" />
<ctl name="RX_RX0 Digital Volume" value="100" />
<ctl name="RX_RX1 Digital Volume" value="100" />
</path>
<path name="headphones-no-ce">
<path name="headphones" />
<ctl name="RX_RX0 Digital Volume" value="100" />
<ctl name="RX_RX1 Digital Volume" value="100" />
</path>
<!-- 2019.12.17 longcheer chenqiang add for ce mode end-->
I've set the same values to "headphones-ce" and "headphones-no-ce" but I don't know what are ce headphones, if anyone could tell me I'll appreciate for my knowledge, thanks.
This is perfect along with my mod to enhance the DAC quality (I've set my DAC output at 24bits @ 192KHz on my device, it sound perfect), thanks you !
_xenoxis_ said:
Hello, thanks for this mod, I successfully made it to my redmi note 9 pro, thought it needed some adjustments from your tuto to made this works on my phone.
For ones that are interested, that's is my new mixer_paths_wcd937x.xml (this is weird cause the DAC on my device is the WCD9385, Xiaomi probably used the same file for multiples devices and left it as it), I've already tried to change my mixer_paths.xml file but it seems that my device only use the other one, anyway there are my modifications :
XML:
<path name="headphones">
<ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" />
<ctl name="RX_MACRO RX1 MUX" value="AIF1_PB" />
<ctl name="RX_CDC_DMA_RX_0 Channels" value="Two" />
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
<ctl name="RX INT1_1 MIX1 INP0" value="RX1" />
<ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" />
<ctl name="RX_COMP1 Switch" value="0" />
<ctl name="RX_COMP2 Switch" value="0" />
<ctl name="HPHL_COMP Switch" value="0" />
<ctl name="HPHR_COMP Switch" value="0" />
<ctl name="HPHL_RDAC Switch" value="1" />
<ctl name="HPHR_RDAC Switch" value="1" />
</path>
<!-- 2019.12.17 longcheer chenqiang add for ce mode start-->
<path name="headphones-ce">
<path name="headphones" />
<ctl name="RX_RX0 Digital Volume" value="100" />
<ctl name="RX_RX1 Digital Volume" value="100" />
</path>
<path name="headphones-no-ce">
<path name="headphones" />
<ctl name="RX_RX0 Digital Volume" value="100" />
<ctl name="RX_RX1 Digital Volume" value="100" />
</path>
<!-- 2019.12.17 longcheer chenqiang add for ce mode end-->
I've set the same values to "headphones-ce" and "headphones-no-ce" but I don't know what are ce headphones, if anyone could tell me I'll appreciate for my knowledge, thanks.
This is perfect along with my mod to enhance the DAC quality (I've set my DAC output at 24bits @ 192KHz on my device, it sound perfect), thanks you !
Click to expand...
Click to collapse
Hey. As far as I know The headphones volume can be increased only from mixer_paths_static.
I have tryed all the others mixer's but no one work. I used the other mixer's to increase the speaker volume +10db max supported by this phone..
That mod for dac quality it's working on MI 8 lite?
On my side, I successfully increased the headphones and line volume with mixer_paths_wcd937x.xml on my device, it really depend on which version of Android you have. In fact, there's a lot of xml configuration files but Android read only one, others are just either some sort of saved xml configuration, or some undeleted files when from older Android versions or rom.
About the Mod for the DAC, it depend on which Android version you're running and the DAC inside your device (it must accept 24bits @ 192KHz), it should works on Android 10+ devices from recents Xiaomi/Redmi, but it's still possible there is some device where the mod doesn't work for some reasons.
Please post question on the DAC mod thread, so I will anwser your questions and it can be useful for everybody interested in doing this mod.
_xenoxis_ said:
On my side, I successfully increased the headphones and line volume with mixer_paths_wcd937x.xml on my device, it really depend on which version of Android you have. In fact, there's a lot of xml configuration files but Android read only one, others are just either some sort of saved xml configuration, or some undeleted files when from older Android versions or rom.
About the Mod for the DAC, it depend on which Android version you're running and the DAC inside your device (it must accept 24bits @ 192KHz), it should works on Android 10+ devices from recents Xiaomi/Redmi, but it's still possible there is some device where the mod doesn't work for some reasons.
Please post question on the DAC mod thread, so I will anwser your questions and it can be useful for everybody interested in doing this mod.
Click to expand...
Click to collapse
I was using android 9 10 and 11. In all of these versions I needed to edit the mixer_paths_static.xml file. Any other xml file does not take effect for me....
hi and please help me im on android 11
miui12.5 my phone is poco x3 nfc
and i havent a file mixer patch static
and when i edit mixe patch wcd937
and restart the file back to default
please help me i need this a lot
derrekgamer said:
Hello guys!
This topic was made only for the Mi 8 lite phones runing with Official global firmware MIUI 11 ( ANDROID 9 AND 10)
I was Looking for a loot of Time to find any way to increase that phone's speaker.. Too hard.
So i found some tricks to do that ?
You must have rooted phone. With magisk of course.
Code:
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
backup your data before flashing it!
YOU are choosing to make these modifications, and if
you don't fallow all the steps don't judge me!
Do everything at your own risk!
Tested on Mi 8 lite Global Official firmware Android 10 latest update.
The mod works fine with android 9 and 10.
Steps :
1.Root
2.Magisc Manager
3.Viper4Android (see at attachaments the version)
4.Root Explorer
5.A lot of patience ?
*First root your phone using magisk. Install the viper4android apk you can find it in magisc module download must search for "viper4android" and download the version from attachaments.
Now install the driver for viper 4 android!. Restart your phone and see if the mod works. You must first install the driver and make the ViperX to work on your device.
Speaker volume boost
Now fallow this steps to boost your speaker.
Open any root EXPLORER (Root Explorer pro it's ok) you can find it by search on Google.
Go to system/vendor/etc
>There should be a loot of mixer paths like me.. Skush skushlite Tasha etc etc.
Open with a text editor all of these mixer but do not open mixer paths dinamic and static. There is no speaker boost inside.. Only the headphones can be boosted from the Static mixer paths. . Open all others mixer paths.
Search for
<ctl name="HPHL Volume" value="40" />
<ctl name="HPHR Volume" Value="40" />
In every mixer paths. Except mixer paths static and mixer paths dinamic.
Increase the Value with +20. If it is 10 put 30.
WARNING!!!
<ctl name="EAR PA Boost" value="DISABLE" />
**DO NOT ENABLE NEVER THIS LINE WHEN YOU SET HPHL AND HPHR VOLUME YOU WILL DESTROY YOUR EARPIECE SPEAKER. WE ARE INCREASING ONLY THE MAIN SPEAKER OF THE PHONE NOT THE EARPIECE.**
After you increased the 2 lines, go and SEARCH again in all of your mixer paths for
RX DIGITAL VOLUME 1
RX DIGITAL VOLUME 2
RX DIGITAL VOLUME 3
RX DIGITAL VOLUME 4
RX DIGITAL VOLUME 5
DO NOT Increase RX DIGITAL VOLUME 0 BECAUSE IT GOES TO THE EARPIECE AND YOU MAY DAMAGE IT IF YOU WILL INCREASE A LOOT!
>Put the volumes at the RX Digital volumes to 120 for EVERY ONE, from RX1 to RX5 in every mixer paths Except mixer paths dinamic and mixer paths static of course. Then restart your phone. And open Viper4android and turn on master power at the speaker tab maximize the output db and the threshold limit should be 0.
If you fix all of these your sound should be increased by 7-8 db ( a loot for that phone)
Headset volume boost
If you want to increase the headset volume fallow this Steps it's easy.
Go at system/vendor/etc and find Mixer Paths Static.
Open it with a text editor and scroll down untill you find this line :
<path name="headphones">
<ctl name="INT0_MI2S_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="COMP0 RX1" value="0" />
<ctl name="COMP0 RX2" value="0" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
<ctl name="RX1 Digital Volume" value="97" />
<ctl name="RX2 Digital Volume" value="97" />
</path>
**Increase the RX1 AND RX 2. DO NOT INCREASE MORE THAN 100 YOU CAN BOOST MORE FROM VIPER4ANDROID IF YOU NEED MORE VOLUME..
100 ITS VERY LOUD.
* Finished *
Restart your device and you got boosted volume trough the phone speaker and headphones.
Don't forget
(!) You need root with magisk manager. And the viper4android version from the attachaments. :good:
The mod works very fine. Everything it's ok i tested it (!) for about 3 weeks
Tested MIUI 11 BASED ON ANDROID 9 AND MIUI 11 BASED ON ANDROID 10 BOTH OF ANDROID WORK'S WITH THIS MOD.
If you have any questions, just leave a comment. I will try to help you as much as I can
Click to expand...
Click to collapse
Hey I don't have the fold Mixer Paths Statics, I have android 12
derrekgamer said:
Hello guys!
This topic was made only for the Mi 8 lite phones runing with Official global firmware MIUI 11 ( ANDROID 9 AND 10)
I was Looking for a loot of Time to find any way to increase that phone's speaker.. Too hard.
So i found some tricks to do that ?
You must have rooted phone. With magisk of course.
Code:
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
backup your data before flashing it!
YOU are choosing to make these modifications, and if
you don't fallow all the steps don't judge me!
Do everything at your own risk!
Tested on Mi 8 lite Global Official firmware Android 10 latest update.
The mod works fine with android 9 and 10.
Steps :
1.Root
2.Magisc Manager
3.Viper4Android (see at attachaments the version)
4.Root Explorer
5.A lot of patience ?
*First root your phone using magisk. Install the viper4android apk you can find it in magisc module download must search for "viper4android" and download the version from attachaments.
Now install the driver for viper 4 android!. Restart your phone and see if the mod works. You must first install the driver and make the ViperX to work on your device.
Speaker volume boost
Now fallow this steps to boost your speaker.
Open any root EXPLORER (Root Explorer pro it's ok) you can find it by search on Google.
Go to system/vendor/etc
>There should be a loot of mixer paths like me.. Skush skushlite Tasha etc etc.
Open with a text editor all of these mixer but do not open mixer paths dinamic and static. There is no speaker boost inside.. Only the headphones can be boosted from the Static mixer paths. . Open all others mixer paths.
Search for
<ctl name="HPHL Volume" value="40" />
<ctl name="HPHR Volume" Value="40" />
In every mixer paths. Except mixer paths static and mixer paths dinamic.
Increase the Value with +20. If it is 10 put 30.
WARNING!!!
<ctl name="EAR PA Boost" value="DISABLE" />
**DO NOT ENABLE NEVER THIS LINE WHEN YOU SET HPHL AND HPHR VOLUME YOU WILL DESTROY YOUR EARPIECE SPEAKER. WE ARE INCREASING ONLY THE MAIN SPEAKER OF THE PHONE NOT THE EARPIECE.**
After you increased the 2 lines, go and SEARCH again in all of your mixer paths for
RX DIGITAL VOLUME 1
RX DIGITAL VOLUME 2
RX DIGITAL VOLUME 3
RX DIGITAL VOLUME 4
RX DIGITAL VOLUME 5
DO NOT Increase RX DIGITAL VOLUME 0 BECAUSE IT GOES TO THE EARPIECE AND YOU MAY DAMAGE IT IF YOU WILL INCREASE A LOOT!
>Put the volumes at the RX Digital volumes to 120 for EVERY ONE, from RX1 to RX5 in every mixer paths Except mixer paths dinamic and mixer paths static of course. Then restart your phone. And open Viper4android and turn on master power at the speaker tab maximize the output db and the threshold limit should be 0.
If you fix all of these your sound should be increased by 7-8 db ( a loot for that phone)
Headset volume boost
If you want to increase the headset volume fallow this Steps it's easy.
Go at system/vendor/etc and find Mixer Paths Static.
Open it with a text editor and scroll down untill you find this line :
<path name="headphones">
<ctl name="INT0_MI2S_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="COMP0 RX1" value="0" />
<ctl name="COMP0 RX2" value="0" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
<ctl name="RX1 Digital Volume" value="97" />
<ctl name="RX2 Digital Volume" value="97" />
</path>
**Increase the RX1 AND RX 2. DO NOT INCREASE MORE THAN 100 YOU CAN BOOST MORE FROM VIPER4ANDROID IF YOU NEED MORE VOLUME..
100 ITS VERY LOUD.
* Finished *
Restart your device and you got boosted volume trough the phone speaker and headphones.
Don't forget
(!) You need root with magisk manager. And the viper4android version from the attachaments. :good:
The mod works very fine. Everything it's ok i tested it (!) for about 3 weeks
Tested MIUI 11 BASED ON ANDROID 9 AND MIUI 11 BASED ON ANDROID 10 BOTH OF ANDROID WORK'S WITH THIS MOD.
If you have any questions, just leave a comment. I will try to help you as much as I can
Click to expand...
Click to collapse
I don't have the Mixer Paths Static folder, I only have Mixer Paths AND Soun Trigger Mixer Paths I have Android 12, where would I have to make the modification so that I can increase the volume of the headphones
armin0k said:
hi and please help me im on android 11
miui12.5 my phone is poco x3 nfc
and i havent a file mixer patch static
and when i edit mixe patch wcd937
and restart the file back to default
please help me i need this a lot
Click to expand...
Click to collapse
were you able to solve it? The same thing happens to me with Android 12
Editing the mixer xml file doesn't work for me to adjust headphone/earphone gain for example.
Anyway, since I use a custom ROM with a custom kernel, and am rooted, I just used the Smartpack app (free) or FK Manager (not free) to edit the kernel's volume settings. All good, no distortion even at high db.
The file it edits, in my phone at least are :
echo '9 9' > /sys/kernel/sound_control/headphone_gain
This means +9db. You can try +3, +6, etc.
The file that will be edited may be different on your phones.