How to increase system speaker volume in Any ROM included PA - Xiaomi Redmi 1S

step 1 – Make sure your RedMi 1s is rooted.
Step2- Install ‘ Root explorer ’ from Play store.
Step 3- Open Root Explorer and allow Super user acess
Step 4-In Root Explorer, open the Device (/) directory from Menu > Local > Device. Go to system>etc folder and open the mixer_paths.xml file with RB text Editor Or any other Editor
Step 5- Edit the file by selecting the edit option from top right corner. Then scroll down and find the line
<ctl name="RX1 Digital Volume" value="84">
<ctl name="RX2 Digital Volume" value="84">
<ctl name="RX3 Digital Volume" value="84">
<ctl name="RX4 Digital Volume" value="84">
the edit these file...and increase the value for ex.
<ctl name="RX1 Digital Volume" value="91">
<ctl name="RX2 Digital Volume" value="91">
<ctl name="RX3 Digital Volume" value="91">
<ctl name="RX4 Digital Volume" value="91">
CAUTION: Don't Increase too much it will damage your speaker. and i'm not responsible for this
Step 6 - Go back and select ‘Yes’ to save the build.prop file.
Step 7- Reboot your phone
Here You Go..
Hit thanks if you like my work :good:

I didn't find that mixer_path.XML file
Sent from my HM 1SW using XDA Free mobile app

aiyalsenthil said:
I didn't find that mixer_path.XML file
Sent from my HM 1SW using XDA Free mobile app
Click to expand...
Click to collapse
Which ROM are you using??

Miui 45 stable
Sent from my HM 1SW using XDA Free mobile app

aiyalsenthil said:
Miui 45 stable
Sent from my HM 1SW using XDA Free mobile app
Click to expand...
Click to collapse
Sorry Bro!! there isn't any Mixer_path.xml file in MIUI ROM. MIUI Rom changes File name, some codes and file path. that's why you can't find it. but MIUI 45 stable already has maximum volume sound so if you increase volume level than you will surely get distortion effect in your speaker sound. but you can increase sounds in any other ROM except MIUI. PA4.6 Beta 5 has very low system volume that's why i created this thread. Thanks!

Thanks bro... For ur response..
Sent from my HM 1SW using XDA Free mobile app

aiyalsenthil said:
Thanks bro... For ur response..
Sent from my HM 1SW using XDA Free mobile app
Click to expand...
Click to collapse
Your welcome

Fix the first post, you've typed rx1 for all four lines

sinnerz2000 said:
Fix the first post, you've typed rx1 for all four lines
Click to expand...
Click to collapse
Thanks!!

manish.kunwal said:
Thanks!!
Click to expand...
Click to collapse
You can also add this alternative method if you want.
Find "speaker" in mixer paths.XML file and add or edit the line which is circled in the screenshot.

sinnerz2000 said:
You can also add this alternative method if you want.
Find "speaker" in mixer paths.XML file and add or edit the line which is circled in the screenshot.
Click to expand...
Click to collapse
Thanks Sir!! But i don't have to... everything is working fine now..

For TouchWiz ROMs one has to make changes in default_gain.conf file in /system/etc.
Hope it helps !

Thank you very much, it works well in mi 4i lollipop. The only difference is there are no RX4, but it still work.
Thanksa again

anyone try this?

Thanks Bro...
manish.kunwal said:
step 1 – Make sure your RedMi 1s is rooted.
Step2- Install ‘ Root explorer ’ from Play store.
Step 3- Open Root Explorer and allow Super user acess
Step 4-In Root Explorer, open the Device (/) directory from Menu > Local > Device. Go to system>etc folder and open the mixer_paths.xml file with RB text Editor Or any other Editor
Step 5- Edit the file by selecting the edit option from top right corner. Then scroll down and find the line
<ctl name="RX1 Digital Volume" value="84">
<ctl name="RX2 Digital Volume" value="84">
<ctl name="RX3 Digital Volume" value="84">
<ctl name="RX4 Digital Volume" value="84">
the edit these file...and increase the value for ex.
<ctl name="RX1 Digital Volume" value="91">
<ctl name="RX2 Digital Volume" value="91">
<ctl name="RX3 Digital Volume" value="91">
<ctl name="RX4 Digital Volume" value="91">
CAUTION: Don't Increase too much it will damage your speaker. and i'm not responsible for this
Step 6 - Go back and select ‘Yes’ to save the build.prop file.
Step 7- Reboot your phone
Here You Go..
Hit thanks if you like my work :good:
Click to expand...
Click to collapse
That was awesome...
That increased my Device's Volume

It's not not working on 5.1.1 lollipop ? if ther anyway???

aliirani said:
It's not not working on 5.1.1 lollipop ? if ther anyway???
Click to expand...
Click to collapse
That is for lollipop, working fine here
Sent from my HM 1SW using Tapatalk

It's not working on lollipop... ..

aliirani said:
It's not working on lollipop... ..
Click to expand...
Click to collapse
Already told you, I'm on lollipop and its working for me, so either you are doing something wrong or have some hearing loss.
Sent from my HM 1SW using Tapatalk

I'm using ES file explore root Mount R/W I have already click.. But it's not happening...

Related

[How To] Port Note keyboard to S2 [dedicated number row]

Christian ported this keyboard to S2 but this is a how to do it yourself, prepared it from scratch after a lot of research
1) Extract SamsungIME.apk from the ROM that you prefer that has the default S2 Samsung keyboard
2) decompile the apk
3) in the extracted/decompiled folder, browse to res\xml-sw320dp-hdpi\properties.xml
4) search for the following line and change the value to "true" as seen below
<Property key="USE_ADDTO_NUMBER_KEY_FIRST_LINE" value="true" type="bool" />
5) add the following line at the bottom of the same file
<Property key="NOTE_KEYPAD_TYPE" value="true" type="bool" />
6) next browse to /res/xml-sw320dp-hdpi/qwerty_en.xml and add the following code at the top. Blue color code is what was added to the top to add the numeric row. Modified file attached.
<Row android:keyHeight="0.0px" android:horizontalGap="0.0px" android:verticalGap="@dimen/qwerty_first_line_vertical_gap">
<Key android:keyWidth="100.0%p" android:codes="-257" android:keyLabel="StrEmpty" />
</Row>
<Row android:keyHeight="@dimen/qwerty_number_key_height" android:rowEdgeFlags="top">
<Key android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="0x31" android:keyEdgeFlags="left" android:keyLabel="1" />
<Key android:codes="0x32" android:keyLabel="2" />
<Key android:codes="0x33" android:keyLabel="3" />
<Key android:codes="0x34" android:keyLabel="4" />
<Key android:codes="0x35" android:keyLabel="5" />
<Key android:codes="0x36" android:keyLabel="6" />
<Key android:codes="0x37" android:keyLabel="7" />
<Key android:codes="0x38" android:keyLabel="8" />
<Key android:codes="0x39" android:keyLabel="9" />
<Key android:codes="0x30" android:keyEdgeFlags="right" android:keyLabel="0" />
</Row>
<Row>
<Key android:horizontalGap="@dimen/qwerty_first_col_horizontal_gap" android:codes="113" androidopupCharacters="@string/default_umlaut_q" android:keyEdgeFlags="left" android:keyLabel="q" />
<Key android:codes="119" androidopupCharacters="@string/default_umlaut_w" android:keyLabel="w" />
<Key android:codes="101" androidopupCharacters="@string/default_umlaut_e" android:keyLabel="e" />
<Key android:codes="114" androidopupCharacters="@string/default_umlaut_r" android:keyLabel="r" />
<Key android:codes="116" androidopupCharacters="@string/default_umlaut_t" android:keyLabel="t" />
<Key android:codes="121" androidopupCharacters="@string/default_umlaut_y" android:keyLabel="y" />
<Key android:codes="117" androidopupCharacters="@string/default_umlaut_u" android:keyLabel="u" />
<Key android:codes="105" androidopupCharacters="@string/default_umlaut_i" android:keyLabel="i" />
<Key android:codes="111" androidopupCharacters="@string/default_umlaut_o" android:keyLabel="o" />
<Key android:codes="112" androidopupCharacters="@string/default_umlaut_p" android:keyEdgeFlags="right" android:keyLabel="p" />
</Row>
7) most of the ported keyboards did not have 5 rows in the symbols page. I preferred to match 5 rows on the symbols page like the note keyboard. So, I had to make changes to qwerty_number_symbols.xml file. I remapped the keys and hence attached xml file to the post.
8) Finally I preferred to increase the height of the numeric keys and so I change "qwerty_number_key_height" in dimens.xml to 48 from default value of 31 or 32
I change it both under \res\values\dimes.xml and also \res\values-sw320dp-hdpi\dimes.xml
9) decompile back the apk and then replace the original file with the modified apk file in \preload...\app\
Note: these are the steps to be performed to English language keyboard. For other languages, you need to edit the corresponding qwerty_xx.xml and qwerty_number_symbols_xx.xml file. Thanks to Christian for highlighting this.
Hoping not to missed anything. Got ideas from Korean website.
http://www.matcl.com/?m=bbs&bid=usermoim&cat=팁&uid=191755
josephpatrick said:
Christian ported this keyboard to S2 but this is a how to do it yourself, prepared it from scratch after a lot of research
1) Extract SamsungIME.apk from the ROM that you prefer that has the default S2 Samsung keyboard
2) decompile the apk
3) in the extracted/decompiled folder, browse to res\xml-sw320dp-hdpi\properties.xml
4) search for the following line and change the value to "true" as seen below
5) add the following line at the bottom of the same file
6) next browse to /res/xml-sw320dp-hdpi/qwerty_en.xml and add the following code at the top. Blue color code is what was added to the top to add the numeric row. Modified file attached.
7) most of the ported keyboards did not have 5 rows in the symbols page. I preferred to match 5 rows on the symbols page like the note keyboard. So, I had to make changes to qwerty_number_symbols.xml file. I remapped the keys and hence attached xml file to the post.
8) Finally I preferred to increase the height of the numeric keys and so I change "qwerty_number_key_height" in dimens.xml to 48 from default value of 31 or 32
I change it both under \res\values\dimes.xml and also \res\values-sw320dp-hdpi\dimes.xml
Click to expand...
Click to collapse
josephpatrick said:
9) decompile back the apk and then replace the original file with the modified apk file in \preload...\app\
Hoping not to missed anything. Got ideas from Korean website.
http://www.matcl.com/?m=bbs&bid=usermoim&cat=팁&uid=191755
Click to expand...
Click to collapse
Should not we recompile the apk at last?
BTW nice guide
Sent from my GT-I9100 using Tapatalk 2
corruptionfreeindia said:
[/hide]
Should not we recompile the apk at last?
BTW nice guide
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Corrected, thanks
Good job with the guide mate
But don't forget to type that they need to edit all the remaining querty_xx.xml (xx is the abbreviated language) or to edit their favorite language
Good job once again , I was too lazy to start making a guide for the extra row with the numbers
Sent from my PMP5880D using Tapatalk Pro v4
Touchwiz Independent
How to make it independent from Touchwiz or Samsung Firmware? In other words how to make it work on AOSP and other ROMs variations?
Thanks'
mma173 said:
How to make it independent from Touchwiz or Samsung Firmware? In other words how to make it work on AOSP and other ROMs variations?
Thanks'
Click to expand...
Click to collapse
Does not seem possible because of the Samsung framework
Thanks for very useful guide. I could edit the code and got number row working on my Samsung default keyboard on Galaxy S3 Korean variant. I was looking for this guide from many days. Thanks again bro.
One thing, there are no keys beneath the number rows, can you guide how to add these ? only number rows are seen
Thanks.
kmdangi said:
Thanks for very useful guide. I could edit the code and got number row working on my Samsung default keyboard on Galaxy S3 Korean variant. I was looking for this guide from many days. Thanks again bro.
One thing, there are no keys beneath the number rows, can you guide how to add these ? only number rows are seen
Click to expand...
Click to collapse
You might want to check "sip_key_bg_number.9.png" and "sip_key_bg_number_qwerty.9.png" under res\drawable-sw3**** folders. For landscape layout, you need to also make changes in folder "res\drawable-sw***-land***" folders
josephpatrick said:
You might want to check "sip_key_bg_number.9.png" and "sip_key_bg_number_qwerty.9.png" under res\drawable-sw3**** folders. For landscape layout, you need to also make changes in folder "res\drawable-sw***-land***" folders
Click to expand...
Click to collapse
thanks josephpatrick,
I deleted <Property key="USE_ADDTO_NUMBER_KEY_FIRST_LINE" value="true" type="bool" /> from properties.xml and the problem was solved !!
Can you help me, How to disable the secondary keylabels seen on the number buttons ?
kmdangi said:
thanks josephpatrick,
I deleted <Property key="USE_ADDTO_NUMBER_KEY_FIRST_LINE" value="true" type="bool" /> from properties.xml and the problem was solved !!
Can you help me, How to disable the secondary keylabels seen on the number buttons ?
Click to expand...
Click to collapse
Glad u figured it out. Normally the number row has a different background image/color.
For the symbol part, system/csc/feature.xml ==> remove following lines
<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>de;en_US;en_GB</CscFeature_Sip_EnableSymbolInSecondary>
Use root explorer and edit the file
josephpatrick said:
Glad u figured it out. Normally the number row has a different background image/color.
For the symbol part, system/csc/feature.xml ==> remove following lines
<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>de;en_US;en_GB</CscFeature_Sip_EnableSymbolInSecondary>
Use root explorer and edit the file
Click to expand...
Click to collapse
==============
deleted above lines from feature.xml but the secondary labels on number keys are still present
Note : labels are seen only during alphabet view of keyboard, during symbol view it does not show up.

[Help] Audio Volume and Navbar

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

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

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

earpiece volume issue

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

[MOD] DualSpeaker SoundMod - Tutorial

Hi!
I let you here a litle tutorial how to activate earpieace as a second speaker.
Don´t hope you gonna get any super sound system... Is a very tiny speaker!
Try it at your one risk, ok?
Let´s start!
Suposing that you already now how this all works!
Pull from Vendor/etc the file mixer_paths_tashalite.xml.
Add this line under speaker lines:
Code:
<path name="earpieace">
<ctl name="COMP7 Switch" value="1" />
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" />
<ctl name="SLIM_0_RX Channels" value="two" />
<ctl name="RX INT7_1 MIX1 INP0" value="RX0" />
<ctl name="EAR PA Gain" value="G_6_DB" />
<ctl name="RX0 Digital Volume" value="86" />
</path>
Save the file.
Now with root or in TWRP.
Copy the file to ext sd card.
Got to vendor/etc and rename de stock file as mixer_paths_tashalite.xml.bk
Copy the mod file to vendor/etc and chmod to 644 (in TWRP is easy, just select the file and you will see chmod option).
Reboot!
I must thanks to @Dante63 for his tutorial, it help me in the right way.
Check it if you noticed any change, i had to try a few times because earpiece have a low power sound, i try to rise Digital Volume above but it cut off.
See you around!
I have to try it!
"earpieace" ?
I don't understand where to add this lines. Please share the modified xml!
kennethstarr said:
I have to try it!
"earpieace" ?
I don't understand where to add this lines. Please share the modified xml!
Click to expand...
Click to collapse
Rename the stock file by adding at end .bk.
Place this one in system /etc.
Thanks! It works.
Salam Aleykum.
How to unenable this mode?
Is it possible?
Thanks! It works on my Redmi Note 7 with eu rom 12.5 rom using stormbreaker kernel.
Redskitter said:
Thanks! It works on my Redmi Note 7 with eu rom 12.5 rom using stormbreaker kernel.
Click to expand...
Click to collapse
Hello , where should i put the lines?

Categories

Resources