Increase Headphones Volume of Mi3 - Mi 3 Q&A, Help & Troubleshooting

Hi all,
I recently brough MI3, everything about phone was good except volume from headphones were very low,
Since many review called it as "Apple of China" i expected lot about volume,
I found a thread miui.com about volume increase,
Normally i done it by editing snd_soc_msm_2x file in my previous s4 mini and xperia sp but MI3 doesn't have it,
The file which has to be edit is "system/etc/mixer_paths_3_2_forte"
Steps:
1. Root your device
2. Download any root explorer
3. Goto to "System/etc"
4. Open "mixer_paths_3_2_forte" file
5. In that file Search for "<path name="headphones">"
6. Below that there will be two line
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
7. Change value to higher as per ur needs, i set "90"
8. Now save that file and Reboot your Phone.
Alternatively,
Copy that file "mixer_paths_3_2_forte" to pc,
Edit with Notepad++
Replace again in "system/etc" by overwriting old one
Or,
I have attached Edited file which is set to "value=90"
Just download and replace it.
You can change other values like speaker and other anc-headphone or earpiece volume also.
I really don't what other files regardless of "mixer_paths_3_2_forte" of same name do.
Enjoy.
BEFORE YOU REBOOT YOUR PHONE MAKE SURE THAT FILE HAS PROPER PERMISSION "rw-r-r", ELSE YOU WILL END UP WITH BOOTLOOP
I found this method at http://www.miui.com/thread-1836269-1-1.html.
All credits goes to original OP of that Thread.

Not works on latest firmware, Can some one post original file of it.

This works fine, been using it since I got my Mi3 around the start of the year. I also change the the hphl and hphr volume from between 35-50 and change the TI PA Gain value from between 30-50 anymore and in will sound awful. But that will increase the volume a notable amount.

Thanks for that, works OK for me!

How to increase microphone volume in calls?

No sound for I've done this mod.
I've tried to edit file manually and set the value to 90.
When I restart "no volume" and the settings > sound application is crashing.
I've tried to copy and paste your file too and same thing.
Finally I tried to restore the file "source copy & source paste" and same error occur.
Is this an encoding problem ?
I do not know how to restore the original file and I have no more sound at all on my Xiaomi .
I am using the dev rom (build number : KTU84P).

ftyteca said:
No sound for I've done this mod.
I've tried to edit file manually and set the value to 90.
When I restart "no volume" and the settings > sound application is crashing.
I've tried to copy and paste your file too and same thing.
Finally I tried to restore the file "source copy & source paste" and same error occur.
Is this an encoding problem ?
I do not know how to restore the original file and I have no more sound at all on my Xiaomi .
I am using the dev rom (build number : KTU84P).
Click to expand...
Click to collapse
Check the permission is properly set for the file, it should be rw-r-r

I checked it already but something appear to be strange with perms on xiaomi mi3.
I see rw-r-r but when I try to edit the file it tells me that "file is read-only. Do I want to set it read/write to edit".
I reply all, set my update 84 => 90 then save and exit.
Reboot ... no sound and Settings => Sounds is crashing.
I did not try furthermore and I flashed it my MI3 with the new dev rom.
Sound back and I did not try to modify the file again.
By the way thanks for your help.

please can you write what i need to change to increase speaker soung. (ringtone, music or everything via speaker)

What should be edited in the file to increase in-call volume? TIA!

Can you increase music volume similarly ?

vasiulla said:
Hi all,
I recently brough MI3, everything about phone was good except volume from headphones were very low,
Since many review called it as "Apple of China" i expected lot about volume,
I found a thread miui.com about volume increase,
Normally i done it by editing snd_soc_msm_2x file in my previous s4 mini and xperia sp but MI3 doesn't have it,
The file which has to be edit is "system/etc/mixer_paths_3_2_forte"
Steps:
1. Root your device
2. Download any root explorer
3. Goto to "System/etc"
4. Open "mixer_paths_3_2_forte" file
5. In that file Search for "<path name="headphones">"
6. Below that there will be two line
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
7. Change value to higher as per ur needs, i set "90"
8. Now save that file and Reboot your Phone.
Alternatively,
Copy that file "mixer_paths_3_2_forte" to pc,
Edit with Notepad++
Replace again in "system/etc" by overwriting old one
Or,
I have attached Edited file which is set to "value=90"
Just download and replace it.
You can change other values like speaker and other anc-headphone or earpiece volume also.
I really don't what other files regardless of "mixer_paths_3_2_forte" of same name do.
Enjoy.
BEFORE YOU REBOOT YOUR PHONE MAKE SURE THAT FILE HAS PROPER PERMISSION "rw-r-r", ELSE YOU WILL END UP WITH BOOTLOOP
I found this method at http://www.miui.com/thread-1836269-1-1.html.
All credits goes to original OP of that Thread.
Click to expand...
Click to collapse
Also you can use ViPER4Android to do this and also change a lot of different setting to improve audio quality.
I don't if it works with call volume though.

Related

How To Change Your Boot Up Sound

Before anyone reads the following instructions, I would like to point out that THESE INSTRUCTIONS WERE MADE BY makbil, I only thought that since it was only a post in a thread it would take a lot of time to find it, credits all go to him!
Here is a short guide for those who want to change their boot up sound.
1- Find your dream file and convert it to ogg format (Google will be very helpful in finding free converters).
2- Rename the converted file to: android_audio.mp3
3- Copy the converted & renamed file to your SD card.
4- Using "Root Explorer" go to /data/local (Astro does not work, it will not show root folders)
5- View the permissions for android_audio.mp3 there (It's read for all and read/write for user)
6- Delete android_audio.mp3
7- Copy android_audio.mp3 from your SDcard to /data/local.
8- Check permissions and change to the previously observed values.
9- Exit Root Explorer.
10- Reboot (nornal)
Enjoy your new boot sound
Again, credit goes to makbil.
Ah, very nice... unfortunately it's only for around 17 secs, whereas my boot animation is for about 25secs... anyway for us to make it match the duration of the boot animation?
Try slowing down the sound very slightly so it lasts longer, or you could add something extra at the end?
The sound file is just under 1 minute in length so it could not be that...
Well you don't need a sound file that lasts just under 1 min if your animation is only 25 secs, try shortening it
I just cut the audio file to 25s but the music still stops around 16/17s into the boot animation. Maybe there is a duration limit?
There is no time limit, because I moved there a song which lasts over six minutes. The song will stop when system is ready, of course!
You can set also downanimation sound, if You go to /system/customize/CID/ and open default.xml. Open it and cp text
audio="/data/local/android_audio.mp3" /> between
<ShutdownAnimation image_png="/system/customize/resource/downanimation.zip"
and
fps="15" />
Like this:
<ShutdownAnimation image_png="/system/customize/resource/downanimation.zip"
audio="/data/local/youraudioname.mp3" fps="15" />
And You must not convert your song. It is enough, if it is mp3.
I will try this again after submitting this..
Sent from my Desire HD using XDA Premium App
Keeping it mp3 instead of ogg fixed it. It now plays until the boot animation finishes or system becomes ready.
No success with this. I am running LeeDroid v 2.5 final. I have tried the steps you mentioned above and couldn't get this to work. Does this require re-flashing the ROM??
Will this work on a Evo 3d?
No success either for me. I'm running Beatmod Bliss Sense Hybrid

Increase volume on 6.0.1

how to increase the headphone volume on 6.0.1?
igi97 said:
how to increase the headphone volume on 6.0.1?
Click to expand...
Click to collapse
Easiest way is to use a custom rom that's already setup for it like this:-
http://forum.xda-developers.com/galaxy-s6/development/rom-weta-v1-0-t3177550
I use it and it really makes a difference
iNeoTom
well first of all your device need to be rooted and if you already have root follow these steps
-download the attached file and put on your device storage
-using root browser or any root explorer app navigate to System then etc
-place the file you downloaded there
-confirm to replace and set permission to rw-r-r
-reboot your device and you should notice the difference
oussama150an said:
well first of all your device need to be rooted and if you already have root follow these steps
-download the attached file and put on your device storage
-using root browser or any root explorer app navigate to System then etc
-place the file you downloaded there
-confirm to replace and set permission to rw-r-r
-reboot your device and you should notice the difference
Click to expand...
Click to collapse
Salam, :angel:
Source of your attached file pls ,5.1.1 or 6.0.1 ?
ryan42680 said:
Salam, :angel:
Source of your attached file pls ,5.1.1 or 6.0.1 ?
Click to expand...
Click to collapse
6.0.1 i modified it myself and using it on my device
oussama150an said:
well first of all your device need to be rooted and if you already have root follow these steps
-download the attached file and put on your device storage
-using root browser or any root explorer app navigate to System then etc
-place the file you downloaded there
-confirm to replace and set permission to rw-r-r
-reboot your device and you should notice the difference
Click to expand...
Click to collapse
Can you give us what is it you change to get boost ? Im using note 5 too would like too boost it too.
SM-N920C cihazımdan Tapatalk kullanılarak gönderildi
oussama150an said:
well first of all your device need to be rooted and if you already have root follow these steps
-download the attached file and put on your device storage
-using root browser or any root explorer app navigate to System then etc
-place the file you downloaded there
-confirm to replace and set permission to rw-r-r
-reboot your device and you should notice the difference
Click to expand...
Click to collapse
Thanks mate
Ozgurce said:
Can you give us what is it you change to get boost ? Im using note 5 too would like too boost it too.
SM-N920C cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
no problem
using any root explorer app go to system--etc
look for this file mixer_paths.xml
open it using any text editor and look for these lines
-<path name="gain-media-speaker">
<ctl value="26" name="DSP5L Input 1 Volume"/>
<ctl value="26" name="DSP5L Input 2 Volume"/>
<ctl value="32" name="AIF4TX1 Input 1 Volume"/>
<ctl value="32" name="AIF4TX2 Input 1 Volume"/>
you see the numbers in red, that's what you need to increase ( for example from 32 to 36 ) so it will be like this
-<path name="gain-media-speaker">
<ctl value="26" name="DSP5L Input 1 Volume"/>
<ctl value="26" name="DSP5L Input 2 Volume"/>
<ctl value="36" name="AIF4TX1 Input 1 Volume"/>
<ctl value="36" name="AIF4TX2 Input 1 Volume"/>
for me increasing to 36 is ideal cause the volume boosted without distortion.
once you are done save and reboot your device.
by the way you can see the title say's " gain-media-speakers" this means you are applying the boost to the speakers.
you can do the same to headset and bt..etc..

[GUIDE][ROOT] Increase the Headset Volume

Hello,
As you may know, the EU limits the Musicvolume your phone can put out. For some people like me, it is just too low, i can hear traffic when i listen to music even with decent in-ears.
However, thanks to @Paolo83 there is a solution to this problem.
What you need:
P9 Lite on B370/B380
Root and an Root File explorer.
Note: Single sim devices are Venus, Dualsim devices are Venus2.
Sidenote: Venus and Venus2 are Huaweis company internal codenames for single and dualsim VNS-L21 and L31 if you didnt knew.
Step 1: Navigate to /product/etc/audio/hi6402mixer_volumes###
Step 2: Search for the file " mixer_volumes_VENUS_ce" file on singlesim devices, and for " mixer_volumes_VENUS2_ce" on dualsim devices.
Step 3: Open the file in an text editor, and search for this part
Code:
<path name="media-headphone" >
<ctl name="S1 IL PGA GAIN" value="0" />
<ctl name="S1 IR PGA GAIN" value="0" />
<ctl name="HPL PGA GAIN" value="10" />
<ctl name="HPR PGA GAIN" value="10" />
</path>
Change the values of "HPL PGA GAIN" and HPR PGA GAIN" from 10 to 28 and save.
Note: You dont have to use the 28 value. If 28 is too loud for you just use a lower value like 15.
Step 4: Reboot and thats it!
Warning: Values above 20 are EXTREMELY, INSANELY loud, do not hear music at max volume for extended periods of time.
Credit goes to: https://forum.xda-developers.com/showpost.php?p=71736093&postcount=416
Again, i am sorry i couldnt give credit where credit is due earlier.
Gz
XeLLaR*
thank you !!
Pretty neat trick, thank you very much for sharing it.
Though I want to point out that despite my device being the dual sim variant, the trick didn't work until I changed mixer_volumes_VENUS_ce too, so I'm not sure about the Venus and Venus2 thing, but correct me if I'm wrong.
Also there are these files in other folders inside product/etc that has files ending with Venus3 and there is no 3 sim variant?
Thank you.
Sorry but this trick Is mine... I wrote It a few months ago. The value 28 Is my magic number .
I wrote It here and It an italian forum.
copy the work of others and take the merits... Wow
Paolo83 said:
Sorry but this trick Is mine... I wrote It a few months ago. The value 28 Is my magic number .
I wrote It here and It an italian forum.
copy the work of others and take the merits... Wow
Click to expand...
Click to collapse
Hello @Paolo83,
I know i saw this somewhere, i was searching for your post but i couldnt find it so i left it out.
I hope you accept my apology. Of course i will edit the OP with credits for your good work!
Have a nice day
Gz
X
XeLLaR* said:
Hello @Paolo83,
I know i saw this somewhere, i was searching for your post but i couldnt find it so i left it out.
I hope you accept my apology. Of course i will edit the OP with credits for your good work!
Have a nice day
Gz
X
Click to expand...
Click to collapse
it's all ok! lol
Well, I messed up.
I used QuickEdit Text Editor to open and edit these files (I edited VENUS and VENUS2, just to be sure) and now my device won't play any audio.
I did not backup the original files so now I have to restore TWRP backup.
What I did and what was probably the issue is that I saved these two files on my SD-card with QuickEdit Text Editor and then pasted them back to their place. Maybe that text editor messed up some encoding, I don't know...
Any ideas?
zgomot said:
Well, I messed up.
I used QuickEdit Text Editor to open and edit these files (I edited VENUS and VENUS2, just to be sure) and now my device won't play any audio.
I did not backup the original files so now I have to restore TWRP backup.
What I did and what was probably the issue is that I saved these two files on my SD-card with QuickEdit Text Editor and then pasted them back to their place. Maybe that text editor messed up some encoding, I don't know...
Any ideas?
Click to expand...
Click to collapse
Maybe you have wrong permissions now. Check permissions of the others VENUS files you did not touched. Put the same permissions.
maka1105 said:
Maybe you have wrong permissions now. Check permissions of the others VENUS files you did not touched. Put the same permissions.
Click to expand...
Click to collapse
The original files have no permissions at all.
zgomot said:
The original files have no permissions at all.
Click to expand...
Click to collapse
They have permissions.
maka1105 said:
They have permissions.
Click to expand...
Click to collapse
What file manager are you using? Root Browser shows all permissions unchecked.
zgomot said:
What file manager are you using? Root Browser shows all permissions unchecked.
Click to expand...
Click to collapse
Solid explorer. You can use total commander, es file explorer.etc.
maka1105 said:
Solid explorer. You can use total commander, es file explorer.etc.
Click to expand...
Click to collapse
It finally worked.
Only does not let the transmission save.
zgomot said:
It finally worked.
Click to expand...
Click to collapse
Now i have changed to 20 and i have no ton!
Hi, for change mic gain? And for increase speaker volume? Thanks.
fabiosx21 said:
Hi, for change mic gain? And for increase speaker volume? Thanks.
Click to expand...
Click to collapse
I would like to know this too. How to increase, speaker volume and boost mic gain? Thanks.

mixer path xml files goes back to default values

good day team
under system/vendor/etc or vendor/etc
whenever i replace modded mixer path files with volume boost from 84 to 100 and reboot for changes to make affect,
it goes back to normal/default values after reboot
what am i missing :?
YasuHamed said:
good day team
under system/vendor/etc or vendor/etc
whenever i replace modded mixer path files with volume boost from 84 to 100 and reboot for changes to make affect,
it goes back to normal/default values after reboot
what am i missing :?
Click to expand...
Click to collapse
Wich rom? I think u need to make an magisk module or flashable zip

How to change write permissions in System [root]

I'm trying in every way to edit the file mixer_paths.xml located in vendor -> etc to increase the volume of my phone in capsule and speakerphone (with the headset the volume at maximum is not very high but enough), but I can not get write permissions on the file, any root browser returns an error.
Can someone help me to perform the operation?
HarryCustom said:
I'm trying in every way to edit the file mixer_paths.xml located in vendor -> etc to increase the volume of my phone in capsule and speakerphone (with the headset the volume at maximum is not very high but enough), but I can not get write permissions on the file, any root browser returns an error.
Can someone help me to perform the operation?
Click to expand...
Click to collapse
you could try from TWRP otherwise x-plore with superuser mount writable selected has always worked for me although I'm not sure if I've tried it on this phone.
3mel said:
you could try from TWRP otherwise x-plore with superuser mount writable selected has always worked for me although I'm not sure if I've tried it on this phone.
Click to expand...
Click to collapse
TWRP nothing I've tried, but nothing. Also x-plore: I tried changing the permissions and editing the file, it says it completed the operation, but then recheck or open the file and it didn't do anything at all

Categories

Resources