Hi, I found a way to enable Sound Enhancement on Non stock based custom rom(Such as CM10, AOKP)
You Should read carefully before apply this patch and tutorial. If you apply this patch you can't use DSP Manager.
* Require
- ICS or JB non Stock based rom (ex : CM, AOKP, AOSP etc)
- Sony Walkman App
- Root Explorer
- CWM Recovery
- First, download Sound Enhancement Patch File to SD Card.
- Install Patch file through CWM Recovery.
- After Boot, Open Walkman app and press menu key and open Sound Enhancement.
- Maybe you can see Sound Enhancement FC. I recommend you delete other EQ App and Sound Mod. If you see Music FX error just delete data of Music FX and move musicfx.apk from /system/app to /system and move again to /system/app.
- Then open Root Explorer and go to /data/data/com.sonyericsson.soundenhancement/shared_prefs
- You can see two xml Files. EQUALIZER_SETTINGS_PREFS.xml is Equalizer and Clear Bass Setting Value File and SORRUND_SETTINGS_PREFS.xml is Surround Setting File.
Open EQUALIZER_SETTINGS_PREFS.xml with text editor.
- You can see this
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="PREFS_COUNT" value="1" />
<string name="PACKAGE_NAME0">com.sonyericsson.music</string>
<int name="CONTENT_TYPE0" value="0" />
<int name="PRESET0" value="0" />
<int name="BAND0_0" value="0" />
<int name="BAND0_1" value="0" />
<int name="BAND0_2" value="0" />
<int name="BAND0_3" value="0" />
<int name="BAND0_4" value="0" />
<int name="BAND0_5" value="0" />
</map>
Below is information about xml value
*prefs_count : Number of App using Sound Enhancement.
*package_name : Package Name of App using Sound Enhancement.
*content_type : Type of App using Sound Enhancement. Most app's value is 0. Just leave it 0.
*PRESET : Value of preset.
0 Off
1 Rock
2 Pop
3 Jazz
4 Unique
5 Soul
6 Easy Listening
7 Bass Boost
8 Treble Boost
-1 User Setting
*BAND : If you set preset value to -1. Sound Enhancement will load this value.
BAND_0 <Clear Bass >
BAND_1 <400Hz>
BAND_2 <1KHz>
BAND_3 <2.5KHz>
BAND_4 <6KHz>
BAND_5 <16KHz>
Equalizer Step is -10 ~ 10. Input Number you want to apply. But You should add 00 end of value
(ex : Clear Bass 10 Step = <int name="BAND0_0" value="1000" /> )
- After finish your setting. Then Save and Exit it.
- If you want surround setting just open SURROUND_SETTINGS_PREFS.xml with text editor
- You can see below
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="PREFS_COUNT" value="1" />
<string name="PACKAGE_NAME0">com.sonyericsson.music</string>
<int name="CONTENT_TYPE0" value="0" />
<int name="PRESET0" value="0" />
</map>
Information about this
* PREFS_COUNT, PACKAGE_NAME, CONTENT_TYPE is same of equlizer.xml
* PRESET
0 Off
1 Studio
2 Club
3 Secret Prest This Preset is not in Srround Settings but you can apply this through editing xml. I don't know why sony disable this preset.
4 Concert Hall
After finish Save and Exit
- Delete .bak File
- Play Music through Sony Walkman App. You can hear your modified sound
Download
http://www.choicec.net/XPERIA/Arc/BBangSik/Etc/
Mirror : http://db.tt/S89JoCXC
Sorry for my poor English
Enjoy!
BBangSik
Sent from my LT15i using xda premium
BBangSik said:
Hi, I found a way to enable Sound Enhancement on Non stock based custom rom(Such as CM10, AOKP)
You Should read carefully before apply this patch and tutorial. If you apply this patch you can't use DSP Manager.
* Require
- ICS or JB non Stock based rom (ex : CM, AOKP, AOSP etc)
- Sony Walkman App
- Root Explorer
- CWM Recovery
- First, download Sound Enhancement Patch File to SD Card.
- Install Patch file through CWM Recovery.
- After Boot, Open Walkman app and press menu key and open Sound Enhancement.
- Maybe you can see Sound Enhancement FC. I recommend you delete other EQ App and Sound Mod. If you see Music FX error just delete data of Music FX and move musicfx.apk from /system/app to /system and move again to /system/app.
- Then open Root Explorer and go to /data/data/com.sonyericsson.soundenhancement/shared_prefs
- You can see two xml Files. EQUALIZER_SETTINGS_PREFS.xml is Equalizer and Clear Bass Setting Value File and SORRUND_SETTINGS_PREFS.xml is Surround Setting File.
Open EQUALIZER_SETTINGS_PREFS.xml with text editor.
- You can see this
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="PREFS_COUNT" value="1" />
<string name="PACKAGE_NAME0">com.sonyericsson.music</string>
<int name="CONTENT_TYPE0" value="0" />
<int name="PRESET0" value="0" />
<int name="BAND0_0" value="0" />
<int name="BAND0_1" value="0" />
<int name="BAND0_2" value="0" />
<int name="BAND0_3" value="0" />
<int name="BAND0_4" value="0" />
<int name="BAND0_5" value="0" />
</map>
Below is information about xml value
*prefs_count : Number of App using Sound Enhancement.
*package_name : Package Name of App using Sound Enhancement.
*content_type : Type of App using Sound Enhancement. Most app's value is 0. Just leave it 0.
*PRESET : Value of preset.
0 Off
1 Rock
2 Pop
3 Jazz
4 Unique
5 Soul
6 Easy Listening
7 Bass Boost
8 Treble Boost
-1 User Setting
*BAND : If you set preset value to -1. Sound Enhancement will load this value.
BAND_0 <Clear Bass >
BAND_1 <400Hz>
BAND_2 <1KHz>
BAND_3 <2.5KHz>
BAND_4 <6KHz>
BAND_5 <16KHz>
Equalizer Step is -10 ~ 10. Input Number you want to apply. But You should add 00 end of value
(ex : Clear Bass 10 Step = <int name="BAND0_0" value="1000" /> )
- After finish your setting. Then Save and Exit it.
- If you want surround setting just open SURROUND_SETTINGS_PREFS.xml with text editor
- You can see below
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="PREFS_COUNT" value="1" />
<string name="PACKAGE_NAME0">com.sonyericsson.music</string>
<int name="CONTENT_TYPE0" value="0" />
<int name="PRESET0" value="0" />
</map>
Information about this
* PREFS_COUNT, PACKAGE_NAME, CONTENT_TYPE is same of equlizer.xml
* PRESET
0 Off
1 Studio
2 Club
3 Secret Prest This Preset is not in Srround Settings but you can apply this through editing xml. I don't know why sony disable this preset.
4 Concert Hall
After finish Save and Exit
- Delete .bak File
- Play Music through Sony Walkman App. You can hear your modified sound
Download
http://www.choicec.net/XPERIA/Arc/BBangSik/Etc/
Mirror : http://db.tt/S89JoCXC
Sorry for my poor English
Enjoy!
BBangSik
Sent from my LT15i using xda premium
Click to expand...
Click to collapse
Will try soon
Sent from my Xperia Arc S using xda app-developers app
Great tutorial, but will I be able to adjust EQ & ClearBass levels like on stock roms? Or will everything be preconfigured?
Sent from my MT15i using xda app-developers app
Hello Xperia lovers..
I want to share how to improve image quality. If you like mobile photography, you can try this mod. I have try this on my z3c .232
Requirement:
1. root access to system file
2. Little knowledge for edit code
First step:
Go to system/etc, and find media_profiles.xml
find code:
Code:
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
Change to:
Code:
<!ATTLIST ImageEncoding quality (100|100|100|100|100|100) #REQUIRED>
---
Then find this code (have 2 line similiar, front cam & back cam):
Code:
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
Change to:
Code:
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
---------------------
Now add this code to build.prop , if it already exists no need:
Code:
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.jpeg.quality=100
DONE!!!
don't forget restart
I also attach my media_profiles.xml already modified.
Thanks to:
for Guide -> [GUIDE][CAM] How To Hack SONY Xperia Camera (Bring Higher Bitrate & More Options)
Great. Noce job man. Can you post some pictures taked after this mod?
I moded my media_profiles as the OP instructed and i can see that the pics are now 7+ mb. It's cold and cloudy here where i live so i can't test the quality itself yet,but the compression is definitely lowered and files are bigger now. Thanx for your share
No difference
I see no difference in quality or size - in Superior Auto at 20MP (with xposed module 20MP Superior Auto) .
With or without the mod the pictures have around 7.5Mb (same ISO and Exposure time).
Might be the xposed module ......
currently use the Z5 cam libs [mod]
toke some foto b4 n after the change in media profile. [with same parameter / SA]
in my amateur opinion, there is no significant differences...
but maybe i do some mistakes in the doing...
in what line should i add code in build.prop?
dark.blue said:
but maybe i do some mistakes in the doing...
in what line should i add code in build.prop?
Click to expand...
Click to collapse
You can add the Lines in the build.prop under ADDITIONAL_BUILD_PROPERTIES
My phone keeps restarting after i done this??
Bootloop too
benalouas said:
Bootloop too
Click to expand...
Click to collapse
i think you change or delete something by mistake in build.prop.. i made that change and it`s ok .. no bootloop ..
No no i just did exactly what is written, nothing more nothing less
why the image quality is so bad in this phone?
post results please
Is it right like that?
Hello is it right like that? Thanks so lot I mean inkl that ##?
# Touch
sys.cover_state=0
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.jpeg.quality=100
ro.product-res-path=framework/SemcGenericUxpRes/SemcGenericUxpRes.apk
keyguard.no_require_sim=true
ro.com.android.dataroaming=false
ro.com.android.dateformat=MM-dd-yyyy
ro.carrier=unknown
ro.vendor.extension_library=libqti-perfd-client.so]
Any results?
Hy!! Firstly thank you for this tip/mod. Im a newb so my question is do i need to root my z3c first or no need?
@bigdanny3
Yep.
Logger82 said:
Hello is it right like that? Thanks so lot I mean inkl that ##?
# Touch
sys.cover_state=0
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.jpeg.quality=100
ro.product-res-path=framework/SemcGenericUxpRes/SemcGenericUxpRes.apk
keyguard.no_require_sim=true
ro.com.android.dataroaming=false
ro.com.android.dateformat=MM-dd-yyyy
ro.carrier=unknown
ro.vendor.extension_library=libqti-perfd-client.so]
Click to expand...
Click to collapse
Any results for my question??
Thanks
Logger82 said:
Any results for my question??
Thanks
Click to expand...
Click to collapse
Yes. "#" without qoutes means it is skipps reading this line (each line with text you dont want to be read has to have # at the beginning). You can also use it to disable code lines. Though you only need it to be like this since the "ADDITIONAL_BUILD_PROPERTIES" doesnt break into the next text row.
# Touch
sys.cover_state=0
# ADDITIONAL_BUILD_PROPERTIES
ro.media.dec.jpeg.memcap=20000000
ro.media.enc.jpeg.quality=100
ro.product-res-path=framework/SemcGenericUxpRes/SemcGenericUxpRes.apk
keyguard.no_require_sim=true
ro.com.android.dataroaming=false
ro.com.android.dateformat=MM-dd-yyyy
ro.carrier=unknown
ro.vendor.extension_library=libqti-perfd-client.so]
Click to expand...
Click to collapse
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 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.