[Mod] Moto G5 family native volume boost - mixer_paths.xml - Moto G5 Plus Themes, Apps, and Mods

I made this mod over 2 years ago for Moto G3 and it has been requested that I bring it over to G5 now. Enjoy!!
This mod should be compatible with the entire Moto G5 family, as usual.
Use at your own risk!
Drop the file in /vendor/etc, rename to mixer_paths.xml, and change permissions to rw-r--r--
To revert, use the stock (84) xml file provided, rename to mixer_paths.xml, set permissions rw-r--r-- and reboot
You must reboot for changes to apply. This is a TOTAL volume mod!! it will boost every volume on the device.
Default value is 84, I set it at 90. I like my music extremely loud. I do not own this device, so no further mods will be provided, aside from necessary updates for maintained compatibility. If 90 is too loud, you have a volume down button.

thanks I did it and it worked, but then I uploaded it to 100 subi for me it was still very low volume

where to download the file?

Related

Customizing Your Bootanimation w/ A QUIETER Bootsound!

COMPREHENSIVE GUIDE​
I finally managed to get a BOOTSOUND working on my custom BOOTANIMATION last night, but then the real frustration came. IT WAS SO FREAKING LOUD!!! I spent all night and today researching on the net about this & even trying to implement my own code in the mix in an effort to thwart/bypass the issue, but to no avail. Android seemed to insist on blasting the mother & from what I read, it seemed like this was a real problem for a great MANY, most of whom eventually gave up. Who would've thought that the solution would be much easier than I'd imagined.
I know this issue has been solved for many phones out there in many different ways, but not all and for those of us, like me, who are running stubborn versions of Android that insist on running at MAX VOLUME every time you fire them up, then this is for you!
This Bootanimation With Sound Was Made With This Tutorial!
WHAT TO KNOW FIRST:
1) BEFORE DOING ANYTHING YOU NEED TO BACK UP YOUR NAND FIRST!!! It can be done with Clockwork Mod Recovery or EXT-4 Recovery. In case you mess up you will need this to recover your rom. I am not responsible if you brick your phone!!!
2) You will need "ROOT EXPLORER" from the Android Market to do this.
3) This tutorial is for ADVANCED USERS and is assuming that you have already successfully installed your bootanimation, which is usually called "bootanimation.zip". In my case, however, it was "htc_bootanimation.zip". It will be whatever your current bootanimation is called. Just rename the original to something like "bootanimation1.zip", in case you want to go back and use it again later. Then, copy your new .zip file with the proper bootanimation name into the proper folder. Mine was in "/data/local", but different versions of Android will keep them in different places. I think, for instance, Cyanogen Mod keeps it in "/system/media". You'll just have to do some research & if you don't have a bootanimation.zip file for your phone, just search XDA for bootanimations. There are tons on here.
4) I tested this on "dansta34's" Team Blue Droid V3.7 Sensation XL Gen3 EU & Tmobile SonyXloud rom, which is ANDROID v2.3.5 w/ SENSE 3.5..
http://forum.xda-developers.com/showthread.php?t=1275119
Alright! Once you've made sure your "bootanimation.zip" is in place & you've rebooted to see that it works, you are ready to go!
INSTALLING A QUIETER BOOTSOUND ON ANDROID:
1) Make sure you have already read & done everything above.
2) Download the "bootsnd.sh" file from the internet. There are lots of sources for this, so I'll just throw out a random link.
http://dl.dropbox.com/u/30200380/bootsnd.sh
Once you've downloaded it copy the file to the root of your sd card.(ie. "/sdcard")
3) Download or dig out the MP3 or WAV file that you would like to be the sound for your animation. Make sure it's not longer than like 30 seconds to a minute. Mine's about 1 minute, but that's only because that's how long my animation is & how long my rom generally takes to start up. Once you've downloaded it rename it to "android_audio.mp3" & then copy it to the root of your sd card as well.
4) Now, open the Root Explorer app from the Android Market. You may have to agree to allowing it SuperUser functions if you haven't opened it before. just click "ok" if that screen pops up. Make sure it says "Mounted as r/w" at the top. If not, click the "Mount R/W" button.
5) If you already know where your "android_audio.mp3" file is supposed to go, then go ahead and move it now, but if not, then we'll start with executing the "bootsnd.sh" file as the audio file location can be a bit complicated.
6) Everyone says to run "bootsnd.sh" through commands in "Terminal Emulator", but I think it is much easier to just execute it manually in Root Explorer. NOTE: If you want to do this, then skip to Step 7 now. If you must install it with "Terminal Emulator", however, then just run these commands in it and skip to Step 8:
su (then hit enter)
cd /sdcard (hit enter)
sh bootsnd.sh (hit enter)
If you get a "No Such User" error doing that last command, just ignore it. Don't run it again. The script has been written. We just need to fix some permissions later.
7) If you haven't executed "bootsnd.sh" yet, let's do it manually! Again, make sure it says "Mounted as r/w" at the top & scroll down to the "sdcard" folder in Root Explorer and click on it. Then, scroll down to the "bootsnd.sh" file. Press & hold on the file until a popup menu comes up. Select the option "Permissions" & click on all the boxes, except the "Special Permissions" ones, in the popup & click "OK". If it does not allow you to do this, then don't worry about it. We'll take care of this later. After that, just click(rather than press & hold) on the "bootsnd.sh" file to open it. The Script File menu should popup this time(3 buttons). Click on the Execute button. This is the same as running the "Terminal Emulator" commands above.
8) Now, lets just make sure we have the proper permissions. Move up a level from "/sdcard" to just "/" & navigate to "/system/etc". Look for the file "init.local.rc". Press and hold on this file & click "Permissions" on the popup menu. Again click all of the boxes except the "Special Permissions" ones if they're not already & click "OK". Then move up a level again to the "/system" folder & click on the "bin" folder. You should now be in "/system/bin". Look for the file called "bootsound". Press and hold on it and do the same. Click "Permissions" & check all the boxes except "Special Permissions" boxes & click "OK". Permissions are done. NOTE: If you already know which file your bootsound MP3 or WAV needs to be copied to then move to step 9 now. If not, you will need to do steps 9 & 10 later. Skip to step 11 for now.
9) EDITING THE "BOOTSOUND" FILE IN "/system/bin" TO POINT TO YOUR MP3 or WAV: Press and hold on the "bootsound" file. Scroll down in the popup Options menu & select "Open in Text Editor". You'll see a bunch of code. Don't worry about what it means. Just look for the part that says something like "/system/media/android_audio.mp3". If your file belongs in this folder, then you don't have to change anything. If not you will have to edit this part. I had to change mine to "/system/customize/resource/android_audio.mp3", for instance, as that's where my sound file is supposed to go. Once you have made your changes. Save the file by hitting "menu" button and selecting "Save Changes". This will put you back to "/system/bin".
10) Now let's move our audio file to the right place! Back out to just "/" again & then open the "sdcard" folder. Scroll down to your "android_audio.mp3" file. Press & hold on the file until the popup menu comes up. Select the option "Move" to move the file. Then, navigate to the proper folder for your sound file according to your rom or Android version and click "Paste". NOTE: Copy the file to the same folder you designated in step 9 & move on to step 12.
11) Now, where to move this file is tricky! I had to try many different folders...one by one...rebooting each time to see if the sound would play...to figure out which one was correct for my rom. It is usually the same folder as your "bootanimation.zip". In my rom I had 2 copies of "bootanimation.zip". One in "/data/local" & one in "/system/customize/resource". However, my bootsound only worked when placed in "/system/customize/resource". I did not have to change the bootanimation in this folder though, only the one in "/data/local", as the resource folder one is more of a backup. Anyhow, I think in Cyanogen Mod, it goes in "/system/media" & still others require that it be in "/data/local" and so on. You will have to do a search on bootsounds for your rom or Android version...or just post a question in your rom thread. Don't try to be smart like I did & put a copy in all of these folders. When I restarted it, it played multiple files at the same time, which made it LOUDER THAN EVER!!! If you don't know where it goes, you will have to try the different folders one by one and reboot each time to see if it plays. Make sure before you reboot that your phone is not on MUTE, as it may make a difference, depending upon which folder your "android_audio.mp3" is supposed to go in. For instance, the fact that mine goes in "/system/customize/resource" means that the bootsound is directly linked to my ringer volume in Android. ie. If I put the phone on mute before rebooting, the bootsound will not play. It's not like that for all roms, but it is for mine. NOTE: Once you think you've figured out which folder the bootsound is supposed to be in, you will need to go back and do steps 9 & 10 before proceeding to step 12.
12) Now that you've got your bootsound to play on your bootanimation, all the hard stuff is done. Now you just have to ask yourself one question. Was it too loud? Unfortunately, many Android versions & roms default the bootsound to MAX VOLUME & like I said earlier I tried tweaking the code for it in so many different ways, but it just kept on blasting.
SO, I CAME UP WITH TWO POSSIBLE SOLUTIONS FOR THOSE WHO HAVE BOOTSOUND VOLUME PROBLEMS.
As I mentioned briefly in step 11, due to my "android_audio.mp3" file being in the "/system/customize/resource" folder, the volume of my bootsound depends partly upon my ringer volume(same as system volume) level in Android. So, if I put my phone on low volume or mute & then reboot, it actually makes my bootsound at low volume or mute. I've also read that sometimes the notifications volume can affect bootsound files that are placed in "/system/media" as well. I don't think that this is very common, but you can try playing around with different volume levels to see if it makes a difference. If you find that this doesn't apply to you then I have another suggestion below.
After messing around with all that, however, I still thought my bootsound was really loud at times so I came up with another solution which was simple, but actually worked quite well. I used a sound editing program that I had on my computer. It had an option on there called "FADE", which allowed me to load a sound file and then lower its volume manually within the file. The program was called "Cyberlink Wave Editor", but I think it only comes bundled with other software. If you want to try this method though there are tons of programs at sites like DOWNLOAD.CNET.COM. Some are free. Some are trials. Just took a quick glance & saw that there's an awesome one on there called "WavePad Sound Editor", which is just like mine. It's just a trial program, but you only need it once really & then you can delete it. You can always just search GOOGLE too by typing in something like "sound editing software decrease volume" or something, but I know CNET is virus free stuff, so that's what I use.
Anyhow, I hope this wasn't too confusing & that it helped some of you!!! If so, please click the "Thanks" Button if you can!

[INFO] Online sound converter

I've noticed we don't have a lot of boot sound options in our forum, so I'm just making my own. Anyway, this site will convert almost any format to ogg http://media.io/ so, you can do it yourself. I've just been taking ringtones and such and converting them. 9 to 12 seconds lonh seems to work. I've attached a sample, (it's a little longer than optimum). Just unzip, to a convenient location. These instructions are for files you've converted, sample file is already properly named.
1) Using your file manager browse to system >media> audio> ui> PowerOn.ogg
2. Rename the file PowerOn.ogg to PowerOn.bak*
3. Browse to the location of the ogg you want as your new boot sound.
4. Make sure it is named PowerOn.ogg
5. Copy it to system > media>audio> ui> PowerOn.ogg
6. Reboot and enjoy
* Linux is case sensitive so the power on sound must be PowerOn.ogg with uppercase P and O
a4eae5dc984f599bbe4c43caf1a70ac8

Increase Headphones Volume of Mi3

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.

[MM][E6603][SOUND] Xperia Z5 Headphones/Speakers Volume Boost

Hi guys here's my mixerpath file. This is boost your speaker and headphone volume. Please backup your stock "mixer_paths.xml" file.
It reques root
Im tested on my phone, E6603 and Marshmallow(6.0) rom.
I thing it's actually works on E6653 devices BUT im not tested yet. THIS IMPORTANT
HOW TO ;
1 - Backup your stock file; (you need the root explorer, ""es file"" or ""root explorer"")
Go to "/system/etc" folder and copy "mixer_paths.xml" to sd card. (This is your stock file please keep it)
2 - Boost your volumes;
Download this file and put in your device. Than copy and go to "/syatem/etc" folder and paste it.
Than change permissions to "-rw-r--r--"
Rebot phone and enjoy !!
(Sorry my bad English)
ramone01 said:
Hi guys here's my mixerpath file. This is boost your speaker and headphone volume. Please backup your stock "mixer_paths.xml" file.
It reques root
Im tested on my phone, E6603 and Marshmallow(6.0) rom.
I thing it's actually works on E6653 devices BUT im not tested yet. THIS IMPORTANT
HOW TO ;
1 - Backup your stock file; (you need the root explorer, ""es file"" or ""root explorer"")
Go to "/system/etc" folder and copy "mixer_paths.xml" to sd card. (This is your stock file please keep it)
2 - Boost your volumes;
Download this file and put in your device. Than copy and go to "/syatem/etc" folder and paste it.
Than change permissions to "-rw-r--r--"
Rebot phone and enjoy !!
(Sorry my bad English)
Click to expand...
Click to collapse
Hey bro, the music stops after 1 minute playing with all the volume on headphones, do you think you can fix that? Lowing one level or two please
Can I try this on latest firmware (.224) ?
korom42 said:
Can I try this on latest firmware (.224) ?
Click to expand...
Click to collapse
yes backup your old mixerpaths first
worked on E6683 but i dont know if it louder or not. it seem you removed warning message when adjust louder volume hearing with headphone ?
could someone please post the original file for .224 ?
Edit : I found it somewhere
Edit : Can you please make version with a slight volume boost because with this the sound is very very loud . even with 1 volume step still loud . It would be nice if you can make one . @ramone01
cheers,
IMy secondary mic has very low volume. People can't hear me in calls. I forgot to backup.
So, could someone give me the original file mixer_paths.xml and mixer_paths_i2s.xml for Xperia Z5 Dual E6683 please?

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

Categories

Resources