Hello Today I am Showing How to add Extra Options in Settings CPU Info Screen Resolution Mem Info Swap Mem Info I will Update This Thread with New Options So Let"s Start
Requirement:
Apktool http://forum.xda-developers.com/show....php?t=1755243
Settings.apk From Your Phone
Nice Brain to Understand
Credits:
My Friends Aryne Neil Carlno Cabatan
Instructions:
Step 1 :- Pull Your Settings from Your Phone
Step 2 :- Decompile The Settings.apk
Step 3 :- Merged The Your Settings with My Zip
Step 4 :- Open Values/strings.xml
Step 5 :- Add This
Code:
<string name="cpu_info">CPU info</string>
<string name="mem_info">Mem info (avail/total)</string>
<string name="swap_mem_info">Swap mem info (avail/total)</string>
<string name="device_screen_resolution">Screen resolution</string>
Step 6 :- Open xml/device_info_settings
Step 7 :- Remove All lines
Step 8 :- Add This
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen android:title="@string/device_status" android:key="status_info" android:summary="@string/device_status_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Status" />
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" />
<Preference android:title="@string/cpu_info" android:key="device_cpu" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/device_screen_resolution" android:key="device_screen_resolution" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mem_info" android:key="device_memory" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/swap_mem_info" android:key="device_swap_memory" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="Guide by" android:key="android_fire_xda" android:summary="AndroidFire" style="?android:preferenceInformationStyle" />
</PreferenceScreen>
Step 9 :- Recompile and Decompile Again
Step 10 :- Go to values/public.xml
Step 11 :- search for device_info_settings Note the id code
Step 12 :- Search for 0x7f040010 Change This according to your public
Step 13 :- Recompile And Sign And Enjoy
My Work
My Work
Android
APP
AF-Root Checker
[APP][4.1+] AF Calendar Widget
[APP][2.3+] AF CPU Widget
GUIDE
[GUIDE][2.3+] How to add AF Volume Panel to Android Phone
AF-Battery Mod
ICS PlatLogo
[GUIDE] How to Disable Scrolling Cache for Smooth
[GUIDE] How to add Extra Options in About Sections
[GUIDE] How to add Colorey Platlogo
[GUIDE] How to add Android L Preview Platlogo
[GUIDE] [TUTORIAL] [GUIDE] How to Play with Screen Title
[GUIDE]How to Replace Checkbox with Switch
ROM
[ROM] AF Firey
TOOL
[TOOL] AF-Apk[TOOL] AF-Signer
Reserved
AF Work
AF Work
Android
APP
[APP][4.1+] AF Calendar Widget
[APP][2.3+] AF CPU Widget
GUIDE
[GUIDE][2.3+] How to add AF Volume Panel to Android Phone
ROM
[ROM] AF Firey
TOOL
[TOOL] AF-Apk[TOOL] AF-Signer
I have an error
Hello there
At first I apologize for my English.
I tried this method but I have a problem with steps 11 and 12
can you help me?
when I do research in device_info_settings .. / values / public.xml
I find 2 id's:
Line 451: <public type="xml" name="device_info_settings" id="0x7f050011" />
Line 2469: <public type="string" name="device_info_settings" id="0x7f0b04a8" />
And I tried with the two solution, I get an error ...
And id 0x7f040010, is:
Line 261: <public type="layout" name="auto_brightness_preview" id="0x7f040010" />
thank you in advance.
daemon1666 said:
Hello there
At first I apologize for my English.
I tried this method but I have a problem with steps 11 and 12
can you help me?
when I do research in device_info_settings .. / values / public.xml
I find 2 id's:
Line 451:
Line 2469:
And I tried with the two solution, I get an error ...
And id 0x7f040010, is:
Line 261:
thank you in advance.
Click to expand...
Click to collapse
First of Thing that What Android Version r using if Your Android Version 2.3 leave step 12 and 13 if are using 3.0+ then find for that ids change valuse according to ur public device_info_settings (xml one not strings) if u get error pls show me logcat logcat will easily to understand ur problem Recommended You to use AF-Apk to Decompile and Recompile Apk If Want it search on google ok
2nd Things No Need to Say Thanks Just Presss the button
AndroidFire said:
First of You What Android Version if Your Android Version 2.3 leave step 12 and 13 if are using 2.3+ then find for that ids change valuse according to ur public device_info_settings (xml one not layout)
2nd Things No Need to Say Thanks Just Presss the button
Click to expand...
Click to collapse
I have a nexus 5
in custom rom 4.4.4
I started in xml, so I don't know by what I must change the id
can you show me an example?
Sorry but I am a beginner.
daemon1666 said:
I have a nexus 5
in custom rom 4.4.4
I started in xml, so I don't know by what I must change the id
can you show me an example?
Sorry but I am a beginner.
Click to expand...
Click to collapse
First things.
can u attach ur public.xml and DeviceInfoSettings.smali I will Do for You
Second Things Thanks Button will more appericated then saying thanks
AndroidFire said:
First things.
can u attach ur public.xml and DeviceInfoSettings.smali I will Do for You
Second Things Thanks Button will more appericated then saying thanks
Click to expand...
Click to collapse
I joined the archive.
Ihave already made steps 1-9
And
I clicked on the button "thanks" and +1 on Google+
daemon1666 said:
I joined the archive.
Ihave already made steps 1-9
And
I clicked on the button "thanks" and +1 on Google+
Click to expand...
Click to collapse
done mind don't kang my work respect my work here is the link just replace the file
https://db.tt/ieOJqB3g
Thx... Again
If something has changed, I'm sorry, I had tried so many things by myself.
What was the problem?
I just tested ..
The first compilation, I have problems compiling
having replaced the device_info_settings.smali well.
I have attached the log
deleted sorry..
hello
i want some settings be enabled by default so i decompiled settings apk.
The most setting can i enable by true/false but superuser not.
In the settings of the phone superusers it's just switch on/off.
but the xml is different?
Code:
<com.android.settings.FunuiPreferenceCategory android:persistent="false" android:title="@string/device_admin_title" android:key="device_admin_category">
<Preference android:persistent="false" android:layout="@layout/funui_preference_top_vertical" android:title="@string/manage_device_admin" android:summary="@string/manage_device_admin_summary" android:fragment="com.android.settings.DeviceAdminSettings" />
[CODE] <com.android.settings.advanced.PersonalSwitchPreference android:layout="@layout/funui_switch_preference_normal" android:title="@string/personal_settings_superuser_title" android:key="personal_settings_superuser" android:summary="@string/personal_settings_superuser_summary" android:fragment="com.koushikdutta.superuser.PolicyNativeFragment" />
<com.android.settings.FunuiCheckBoxPreference androidersistent="false" android:title="@string/install_applications" android:key="toggle_install_applications" android:summaryOn="@string/install_unknown_applications" android:summaryOff="@string/install_unknown_applications" />
<com.android.settings.FunuiCheckBoxPreference androidersistent="false" android:title="@string/verify_applications" android:key="toggle_verify_applications" android:summaryOn="@string/verify_applications_summary" android:summaryOff="@string/verify_applications_summary" />
<Preference androidersistent="false" android:title="@string/manage_notification_access" android:key="manage_notification_access" android:fragment="com.android.settings.NotificationAccessSettings" />
</com.android.settings.FunuiPreferenceCategory>[/CODE]
where do i need to look to enable superuser by default?
grts b
For Sony phones running KitKat it was simple sollution:
----------------
1. Go to
/data/data/com.sonyericsson.conversations/shared_prefs
2. Open
com.sonyericsson.conversations_preferences.xml
3. Enabling costs saving
Change <boolean name="semc_pref_key_character_conversion" value="false" /> to <boolean name="semc_pref_key_character_conversion" value="true" />
_______________
There is also Sony Xposed module http://forum.xda-developers.com/showthread.php?p=53009040#post53009040
But my question is how to add this option on stock lollipop messages application or at least how to change it in preferences (I can not find preferences.xml file for messages on lollipop)
I have found option in /data/data/com.android.mms/shared_prefs/com.android.mms_preferences.xml
<boolean name="pref_key_sms_characters" value="true" />
But I do not know what it means...
https://code.google.com/p/synergy-t...ed_prefs/com.android.mms_preferences.xml?r=66
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.