[GUIDE][ROOT] Increase the Headset Volume - Huawei P9 Lite Guides, News, & Discussion

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.

Related

[Tutorial] How to make manila 2.5 animated wallpapers

I've been making a few of these and I decided after a couple of requests that I should make a tutorial. I will try to be as thorough as possible. If I missed a step, please let me know and I will correct it. Thanks!
This tutorial will be for the Circles Animated Wallpaper. If I have time, I will add the Brush and Light Wallpapers later.
Things you will need:
1. A .png picture editor - Photoshop, Gimp, Paint.Net etc.
2. CFC_gui editor http://forum.xda-developers.com/showpost.php?p=3164600&postcount=1
3. A file explorer that will allow you to overwrite files in the Windows folder : Total Commander, Resco Explorer etc.
Step 1.
Create a folder on your Desktop PC Called Circles.
Step 2.
Open the file explorer on your phone that you will be using and go to the "Windows" folder.
Step 2a.
Locate, copy, and paste the following files to your storage card:
1f3e9503_manila
2bfd66c8_manila
2c0f7f49_manila
2c33b04b_manila
2c45c8cc_manila
2c2197ca_manila
5ad77c2b_manila
199e77cf_manila
4256a2d4_manila
42448a53_manila
423271d2_manila
Step 3.
Go to the "Windows>Animated Wallpaper" folder.
Step 3a.
Copy the file _RAW_Circle.png to your storage card
Step 4.
Copy these files to the "Circles" folder on your PC that you have created.
Step 5.
Open CFC_gui.exe
Step 6.
Select "File>Select Folder>Circles (Wherever you saved your Circles folder)
Step 7.
Select "Tools>Export to PNGs". To keep things simple, export the PNGs to the Circles folder.
Step 8.
Now open your photo editing software and begin editing your pictures.
_RAW_Circle.png is the thumbnail veiw that you will use to select your Wallpaper when you are finished.
5ad77c2b_manila is a 512x1024 image of your background
To make the next two images (199e77cf_manila and 1f3e9503_manila) you will need to start out with a 480x640 wall that you are using. These two images when combined, need to match up perfectly.
The rest are simply the circles that you can replace with any image you desire.
Be sure to replace and save all of the pngs with the same name in the circles folder.
Step 9.
Go back to CFC_gui. Select the first file in the window on the left. Hit the "Replace with" button on the lower right. Select the png from the "Circles" folder that has the corresponding name. This will overwrite the manila file with that name in the "Circles" folder. Do this with all of the files in the window on the left.
Step 10.
Now hit: Tools>Finish Up. The wizard that follows will CFC Compress, Pad, and Trim your files to optimize them for use on your device.
Step 11.
Move all of the manila files in the folder and the _Raw_Circle.png back to your storage card.
Step 12.
Copy all of the manila files in step 11 over to your Windows folder on your device. If asked to overwrite the existing files, click yes
Step 13.
Copy the file _RAW_Circle.png to the "Windows>Animated Wallpaper" folder. Again, if asked to overwrite the existing files, click yes
Now restart your device, go to Settings tab>Personalize>Home tab wallpaper>animated wallpaper and select your new wallpaper!
Big Thanks out to DavidMMorley over at PPCGeeks for this. If you want to change the WAY that the images animate, follow these instructions:
You will need m9converter http://forum.xda-developers.com/show...54&postcount=2
Convert your file to a XML using that tool (dos command line tool)
Now you can edit your XML, Notepad++ is perfect
snippet of lines 539-563
<Object Type="GLESSprite2D">
<Property Name="Center" X="8.0" Y="-8.0" Z="0.0" />
<Property Name="Position" Animated="true">
<Keyframes>
Each moving item has 5 positions it moves to during the animation time. Change the X and Y values to tell it where to go on your screen. 0,0 is top left.
<Keyframe Frame="180" X="0.0" Y="-550.0" Z="0.0" />
<Keyframe Frame="250" X="300.0" Y="-450.0" Z="0.0" />
<Keyframe Frame="479" X="0.0" Y="-380.0" Z="0.0" />
<Keyframe Frame="480" X="50.0" Y="-180.0" Z="0.0" />
<Keyframe Frame="550" X="300.0" Y="0.0" Z="0.0" />
</Keyframes>
</Property>
<Property Name="Opacity" Animated="true">
<Keyframes>
You can control the transparancy of each step also, why their is a extra one I do not know
<Keyframe Frame="220" Value="50.0" />
<Keyframe Frame="250" Value="50.0" />
<Keyframe Frame="479" Value="50.0" />
<Keyframe Frame="480" Value="50.0" />
<Keyframe Frame="520" Value="50.0" />
<Keyframe Frame="550" Value="50.0" />
</Keyframes>
</Property>
<Property Name="Texture Path" Value=".\Assets\Images\Home\WVGA\circle01.qtc" />
You can stretch your image if you want also here:
<Property Name="Size" Width="76.0" Height="76.0" />
How long do you want this particular one to last:
<Property Name="Duration" Value="956" />
</Object>
Lots of trial and error in there to play with, have some fun. I have ones that go around the screen and ones that fall upwards.
Now use the m9converter and turn back into a manila file and place in your windows directory.
Amazing tutorial...will try this sometime...thanks.
Wow............this is awesome!
ezzie said:
Wow............this is awesome!
Click to expand...
Click to collapse
Thought you would like it.
Thanks for this, i've started to make a theme...upload shortly..if it works !
Do you know what the manila files are for the _RAW_Brush and RAW_Light animations?
Awesome.
.
is it also working on 2.1 ???
rickiri69 said:
is it also working on 2.1 ???
Click to expand...
Click to collapse
These are for 2.5 only.
skilty said:
Thanks for this, i've started to make a theme...upload shortly..if it works !
Do you know what the manila files are for the _RAW_Brush and RAW_Light animations?
Click to expand...
Click to collapse
As soon as I have some free time, I'll update the tutorial to include those as well.
Is it normal that after Step 10 - Tools>Finish Up, the files atributes for the Manila files is modified to Hidden.
EDIT: forget it, solved
Thanks
cool
asset path?
I'd like to change the graphics of the icons, not just their scripted movements... but when I open the file (as well in your example portion) there is the line:
<Property Name="Texture Path" Value=".\Assets\Images\Home\WVGA\circle01.qtc" />
where the hell is this .\Assets... stuff? I really cannot find this path!
ruspa said:
I'd like to change the graphics of the icons, not just their scripted movements... but when I open the file (as well in your example portion) there is the line:
<Property Name="Texture Path" Value=".\Assets\Images\Home\WVGA\circle01.qtc" />
where the hell is this .\Assets... stuff? I really cannot find this path!
Click to expand...
Click to collapse
For the graphics part, follow the directions in the first post.
xpressyourcell said:
If you want to change the WAY that the images animate, follow these instructions:
You will need m9converter http://forum.xda-developers.com/show...54&postcount=2
Convert your file to a XML using that tool (dos command line tool)
Now you can edit your XML, Notepad++ is perfect.
Click to expand...
Click to collapse
Thanks for all this info, but can you tell me which file your referring to in the quote above? which file has the scripts in?
skilty said:
Thanks for all this info, but can you tell me which file your referring to in the quote above? which file has the scripts in?
Click to expand...
Click to collapse
Sorry, I copied his instructions from my PPCGeeks thread and forgot this post was before it...
"Nice! Also a note that 011f4a3f is a m9/xml that you can easily control the pattern and speed of each moving item if you get tired of them just falling down the same way! "
Hi xpress, can u share some of your animated-wallpaper archievements?
Hi.
A question: How can I increase the speed of the bubbles in animated wallpaper?
Thanks.!
vodanhdaisu said:
Hi xpress, can u share some of your animated-wallpaper archievements?
Click to expand...
Click to collapse
Go Here To See Examples!
I've been trying to create my own animated theme but i'm struggling to get the RAW_Circle/background image to work.
I'd created a new RAW_Circle file and put that in the windows folder and the animated wallpaper folder, I also created the two manila files 1f3,199etc and the 512 background image but when i select the new one via animated wallpapers (I can see my new image) the screen/background goes white.
I've also resized them to 480x640 dimensions (i've got a VGA device) but now i just get a plain black background?
I've also been trying to play with the scripts via m9editor. I want to make all 8 manila files (the circles) appear and replace each other in the same place. e.g the first one appears in the bottom right corner and the next one replaces it in the same position and so on. I won't need the five stages/keyframes of each animation just one, but can i just delete the other four keyframes from the script below??
<Object>Type="GLESSprite2D"
<Property> Name=Center Value="X=38 Y=-38 Z=0"
<Property> Name=Position Value="PosX=2E-05"
<Keyframes>
<Keyframe> Frame=160 Value="X=6553600 Y=-6553600 Z=0"
<Keyframe> Frame=260 Value="X=16384000 Y=-36044800 Z=0"
<Keyframe> Frame=459 Value="X=16384000 Y=-36044800 Z=0"
<Keyframe> Frame=460 Value="X=6553600 Y=-6553600 Z=0"
<Keyframe> Frame=560 Value="X=16384000 Y=-36044800 Z=0"
and would i need to change this line... <Property> Name=Position Value="PosX=2E-05"
to...
<Property> Name=Position Value="PosX=2E-01"
anyone help??
I already have this problem in cooking room...
You do copy thefiles in W/animated and windows...
I know it's strange...
Ex:
In Energy rom copy the files in W/animated
In MaesusLeo V1.9 Copy W/animated is not enough... copy to windows again

AC/ DC Thunderstruck

Could someone make a boot sound with this
allchannels99 said:
Could someone make a boot sound with this
Click to expand...
Click to collapse
The boot sound part is easy I think? It's when it comes to making the animation part is what I find daunting... What rom are you on? Do you want the whole song???
No just the beginning part where it has the guitar and the crowd saying Thunder. BAMF stripped 2.1
I too, would find this very interesting. That, or the battlemech turn on computer.
Try this one, I made it 30 seconds long.
allchannels99 said:
Could someone make a boot sound with this
Click to expand...
Click to collapse
How about this? It has a 4.5 second lead in...if you want I can adjust? Made it to work with Th3ory rom. Rename as you need.
hinds73
Edit: Just loaded it on mine and I think I need to adjust the audio levels a little? Seems too loud. Let me know
Edit 2: Ok, new file attached.
hinds73 said:
How about this? It has a 4.5 second lead in...if you want I can adjust? Made it to work with Th3ory rom. Rename as you need.
hinds73
Edit: Just loaded it on mine and I think I need to adjust the audio levels a little? Seems too loud. Let me know
Edit 2: Ok, new file attached.
Click to expand...
Click to collapse
Just saw this and its awesome. To install it would i just flash the zip?
joshjunior said:
Just saw this and its awesome. To install it would i just flash the zip?
Click to expand...
Click to collapse
No, open zip and extract the mp3. Name to whatever you need to match your existing boot sound. Rename existing boot sound by putting .old at the end to keep for backup.
What rom are you running?
Move newly named mp3 to either system/customize/resource or system/media? Make sure to correct the permissions and ownership of the file.
I am using BAMF GB Remix mod. Do you know how I could/where I would make these changes?
Thanks in advance!
Anon_Emus said:
I am using BAMF GB Remix mod. Do you know how I could/where I would make these changes?
Thanks in advance!
Click to expand...
Click to collapse
Not sure about Bamf? Looks like its in system/media. Rename to FinalThunder.mp3
Use root explorer to change permissions and ownership once file is in system/media.
Make sure to rename existing FinalThunder.mp3 to FinalThunder.mp3.old so you can revert back if you wish.
If this helps, say thanks! lol...I see you did...
Edit: Oh yea, and you take all responsibility to anything you do to your device...blah blah blah
Thanks again, so it looks like I cant move, rename or delete the original file, I assume "root explorer" is the solution to this?
Anon_Emus said:
Thanks again, so it looks like I cant move, rename or delete the original file, I assume "root explorer" is the solution to this?
Click to expand...
Click to collapse
Yes use root explorer. Extract the mp3 from the zip folder. In Root Explorer "Mount R/W" Navigate to system/media and long press on FinalThunder.mp3 rename to FinalThunder.mp3.old....Then find the extracted mp3 I gave you.... Then long press on the file and choose copy... Then navigate to system/media....choose paste....then long press on the file I gave you and rename to FinalThunder.mp3
If for any reason it wont let you change anything make sure you are still mounted as R/W on the top.
Now long press on the mp3 and choose permissions...make it look like below.
Read Write Execute
(x) (X) ()
(x) () ()
(x) () ()
Then select ok
Now long press on the mp3 and choose change owner
In owner select 0-root
In group select 0-root
Select ok
i'm running cm7 atm. there isnt a mp3 to replace so should i just drop it into the folder?
/system/media/...
just dropping it in and changing permissions like the above post didnt seem to work. ive still got the cm animation but no sound
hinds73 said:
Yes use root explorer. Extract the mp3 from the zip folder. In Root Explorer "Mount R/W" Navigate to system/media and long press on FinalThunder.mp3 rename to FinalThunder.mp3.old....Then find the extracted mp3 I gave you.... Then long press on the file and choose copy... Then navigate to system/media....choose paste....then long press on the file I gave you and rename to FinalThunder.mp3
If for any reason it wont let you change anything make sure you are still mounted as R/W on the top.
Now long press on the mp3 and choose permissions...make it look like below.
Read Write Execute
(x) (X) ()
(x) () ()
(x) () ()
Then select ok
Now long press on the mp3 and choose change owner
In owner select 0-root
In group select 0-root
Select ok
Click to expand...
Click to collapse
Thanks again for the help! I got it working and it "Rocks"
joshjunior said:
i'm running cm7 atm. there isnt a mp3 to replace so should i just drop it into the folder?
/system/media/...
just dropping it in and changing permissions like the above post didnt seem to work. ive still got the cm animation but no sound
Click to expand...
Click to collapse
Give me a little time. I'll download CM7 and look into it.
Anon_Emus said:
Thanks again for the help! I got it working and it "Rocks"
Click to expand...
Click to collapse
Awesome! Glad I could help.
joshjunior said:
i'm running cm7 atm. there isnt a mp3 to replace so should i just drop it into the folder?
/system/media/...
just dropping it in and changing permissions like the above post didnt seem to work. ive still got the cm animation but no sound
Click to expand...
Click to collapse
Ok, so it would appear that CM7 is totally different as I would've expected. I have provided a couple links that might help you out. I was just going to try to post the files here, but you might as well download them yourself and give thanks to the guy that actually figured it out.
http://forum.xda-developers.com/showthread.php?t=1048231
http://forum.xda-developers.com/showthread.php?t=1030101
If you want, you can simply try to rename the file android_audio.mp3 and see if that works...but I'm thinking it won't? Don't forget to change the permissions and ownership.
hinds73
Thanks for the help I'll check it out
Swyped from my bolt running cm7
Wow! It's everything I hoped for! Thanks guys!
OP, damn good idea man.
@Hinds, good work yo.
Ok. Now can someone restructure my preferred bootanimation.zip to work with this? Thanks in advance!

[TUTORIAL]Boot Animation Sound

MAKE A BACKUP!!! I am in no way responsible for anything you do to your phone!
I thought I'd do a write up on how you can add, remove, or change your ROOTED Thunderbolt animation sound. You have to do some of your own poking around to locate the files needed for your specific rom. There are many people that don't want to do this cause they are afraid they will screw something up. You can safely do this on your PC. Create a folder and extract your rom into that folder. Navigate to system/customize/cid where you extracted your rom. Locate the default.xml file and right click and to open with notepad. Now, scroll to the bottom and look for something that resembles the following.
<BootAnimation animation="/system/customize/resource/VZW_bootanimation.zip" audio="/system/customize/resource/Verizon_Thunderbolt_3sec.mp3" audiostart="VZW" />
Click to expand...
Click to collapse
OR this...
-
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/FinalThunder.mp3" audiostart="VZW" />
Click to expand...
Click to collapse
OR maybe even this...
-
<BootAnimation animation="/system/customize/resource/bootanimation.zip" audio="/data/local/bootsound.wav" />
Click to expand...
Click to collapse
You are looking for the name of the boot animation and sound. Write down the location and exact spelling paying attention to capitalization. Now go back to your extracted rom and look for your boot animation in the path that you wrote down. Open the zip and look at the folders contained inside. This will vary. Some animations have part0 and part1, while others might have just android. This will be needed for the start up boot animation and/or the down boot animation sounds.
***If you're running Synergy Rom yours will most likely look like the last one above.*** I've always edited the "audio="/data/local/bootsound.wav" />" string to match that of the boot animation. Just makes it easier in the long run. Modifying the xml file is easy to do on your phone with a web editing app from the market and never have to touch a PC. However, I prefer to do it with the PC because it is much easier to read, and edit.
To simplify things a bit I’m going to post some pics with the corrected strings so that you can copy and paste to your own XML file.
Synergy’s Stock XML
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Notice there is no string for the down boot animation audio. We will be adding that next as well as changing the location and identity of the boot sounds. Overwrite by copying and pasting the following into your XML starting directly below <BootConfiguration> and stopping after </ShutdownConfiguration>
<BootAnimation animation="/system/customize/resource/bootanimation.zip" audio="/system/customize/resource/FinalThunder.mp3" audiostart="android" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/downanimation.zip" audio="/system/customize/resource/DownSound.mp3" audiostart="android" image="" fps="15" />
</ShutdownConfiguration>
Click to expand...
Click to collapse
Synergy’s Stock XML should now look like this.
Once your XML file matches the above, you are now ready to save and close out of notepad. Transfer the edited default.xml file to your phones sd card. Using Root Explorer (mount R/W) copy the transfered file to system/customize/cid. Before you paste the edited XML file, rename your existing file by putting .old on the end for a backup. Paste the edited file. Give the default.xml proper permissions and ownership. Long press on the XML file and select "Permissions". Make it look like below and select ok.
X X
X
X
Now long press on the file again and select "Change Owner". Make it look like below.
Owner - Root
Group - Root
Time for your mp3 file! Your start up mp3 can be as long as you want but keep in mind that it will keep playing (mine are around 30 seconds). In contrast, your shutdown mp3 should be no longer than 4 to 5 seconds. Name your start up mp3 FinalThunder.mp3. Name your shutdown mp3 DownSound.mp3. Place your properly named mp3’s on the sd card and with root explorer (mounted R/W). Copy and paste the two mp3 files to system/customize/resources. Give them proper permissions and ownership as shown above.
Reboot and enjoy!
See Post 2 for Th3ory V6.02 and Bamf. The directions are exactly the same.
I'd like to give THANKS to McLabia for testing things out for me and also giving me some "constructive" criticism!
If this helped you at all, hit the Thanks!
hinds73
Th3ory 6.02 AND Bamf Stock XML (Previous versions differ)
Overwrite by copying and pasting the following into your XML starting directly below <BootConfiguration> and stopping after </ShutdownConfiguration>
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/FinalThunder.mp3" audiostart="part0" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/media/downanimation.zip"audio="/system/customize/resource/DownSound.mp3" audiostart="android" image="" fps="15" />
</ShutdownConfiguration>
Th3ory 6.02 AND Bamf Stock XML should now look like this.
Follow the bottom of post 1.
Th3oryRom INFUS3TH3ORY V1.0B (Open like above and copy/paste)
<BootAnimation animation="/system/customize/resource/VZW_bootanimation.zip" audio="/system/customize/resource/FinalThunder.mp3" audiostart="part0" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/downanimation.zip" audio="/system/customize/resource/DownSound.mp3" audiostart="android" image="" fps="15" />
Click to expand...
Click to collapse
I have attached what I am currently using for Th3ory Rom. Enjoy!
Edit:Added Th3oryRom INFUS3TH3ORY New build V1.08
Reserved for issues and resolutions...
HA! I didnt expect this to be this long. It didnt read like it was this long. Hopefully people do this though, cause I know I dig the hell outta mine. Thanks again for the help and for writing this dude.
McLabia said:
HA! I didnt expect this to be this long. It didnt read like it was this long. Hopefully people do this though, cause I know I dig the hell outta mine. Thanks again for the help and for writing this dude.
Click to expand...
Click to collapse
I know right!!! Geez, now that it's up I'm like damn!
Not a problem! Thanks for your help too!
hinds73 said:
MAKE A BACKUP!!! I am in no way responsible for anything you do to your phone!
I thought I'd do a write up on how you can add, remove, or change your ROOTED Thunderbolt animation sound. You have to do some of your own poking around to locate the files needed for your specific rom. There are many people that don't want to do this cause they are afraid they will screw something up. You can safely do this on your PC. Create a folder and extract your rom into that folder. Navigate to system/customize/cid where you extracted your rom. Locate the default.xml file and right click and to open with notepad. Now, scroll to the bottom and look for something that resembles the following.
OR this...
OR maybe even this...
You are looking for the name of the boot animation and sound. Write down the location and exact spelling paying attention to capitalization. Now go back to your extracted rom and look for your boot animation in the path that you wrote down. Open the zip and look at the folders contained inside. This will vary. Some animations have part0 and part1, while others might have just android. This will be needed for the start up boot animation and/or the down boot animation sounds.
***If you're running Synergy Rom yours will most likely look like the last one above.*** I've always edited the "audio="/data/local/bootsound.wav" />" string to match that of the boot animation. Just makes it easier in the long run. Modifying the xml file is easy to do on your phone with a web editing app from the market and never have to touch a PC. However, I prefer to do it with the PC because it is much easier to read, and edit.
To simplify things a bit I’m going to post some pics with the corrected strings so that you can copy and paste to your own XML file.
Synergy’s Stock XML
Notice there is no string for the down boot animation audio. We will be adding that next as well as changing the location and identity of the boot sounds. Overwrite by copying and pasting the following into your XML starting directly below <BootConfiguration> and stopping after </ShutdownConfiguration>
Synergy’s Stock XML should now look like this.
Once your XML file matches the above, you are now ready to save and close out of notepad. Transfer the edited default.xml file to your phones sd card. Using Root Explorer (mount R/W) copy the transfered file to system/customize/cid. Before you paste the edited XML file, rename your existing file by putting .old on the end for a backup. Paste the edited file. Give the default.xml proper permissions and ownership. Long press on the XML file and select "Permissions". Make it look like below and select ok.
X X
X
X
Now long press on the file again and select "Change Owner". Make it look like below.
Owner - Root
Group - Root
Time for your mp3 file! Your start up mp3 can be as long as you want but keep in mind that it will keep playing (mine are around 30 seconds). In contrast, your shutdown mp3 should be no longer than 4 to 5 seconds. Name your start up mp3 FinalThunder.mp3. Name your shutdown mp3 DownSound.mp3. Place your properly named mp3’s on the sd card and with root explorer (mounted R/W). Copy and paste the two mp3 files to system/customize/resources. Give them proper permissions and ownership as shown above.
Reboot and enjoy!
See Post 2 for Th3ory V6.02 and Bamf. The directions are exactly the same.
I'd like to give THANKS to McLabia for testing things out for me and also giving me some "constructive" criticism!
If this helped you at all, hit the Thanks!
hinds73
Click to expand...
Click to collapse
Thanx for this...
Just a little tip for those that are wondering how to trim the boot sound, if you download Ringdroid( https://market.android.com/details?id=com.ringdroid&hl=en ), you can chop and rename the files as needed. Just a shortcut for anyone that doesnt want or know how to use audio editing software.
my question to you, how do you use more then 1 mp3 at a time? For example it plays 1 first, and then goes to the other?
so for example
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/scream.mp3" audiostart="part1" audio="/system/media/android_audio.mp3" audiostart="part2" />
I tried this and only android_audio.mp3 started - it skipped/did not play scream.mp3
edit: also how do you make a song loop until animation is finished, or play a song a second time?
Wicked123 said:
my question to you, how do you use more then 1 mp3 at a time? For example it plays 1 first, and then goes to the other?
so for example
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/scream.mp3" audiostart="part1" audio="/system/media/android_audio.mp3" audiostart="part2" />
I tried this and only android_audio.mp3 started - it skipped/did not play scream.mp3
edit: also how do you make a song loop until animation is finished, or play a song a second time?
Click to expand...
Click to collapse
Hey Wicked, I use audacity for all my mp3 trimming. Especially if I want to merge 2, 3, 4 or more clips into one. You can do all kind of things with it. To answer your question, I'm not so sure that can be done. The easiest way would be to time your boot animation from start to finish and then make your clip to suit. If you want, you can upload your mp3s that you want and give me the order you want them in and exactly how long. Also let me know which "part" you want to have them start.
hinds73
PMGRANDS said:
Thanx for this...
Click to expand...
Click to collapse
Welcome, let me know if you hit any snags? With as many updates that come out, zips and xmls seem to get changed regularly.
hinds73
This helped me fix my boot sound
hinds73 said:
Th3ory 6.02 AND Bamf Stock XML (Previous versions differ)
Overwrite by copying and pasting the following into your XML starting directly below <BootConfiguration> and stopping after </ShutdownConfiguration>
<BootAnimation animation="/system/media/bootanimation.zip" audio="/system/media/FinalThunder.mp3" audiostart="part0" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/media/downanimation.zip"audio="/system/customize/resource/DownSound.mp3" audiostart="android" image="" fps="15" />
</ShutdownConfiguration>
Th3ory 6.02 AND Bamf Stock XML should now look like this.
Follow the bottom of post 1.
Th3oryRom INFUS3TH3ORY V1.0B (Open like above and copy/paste)
I have attached what I am currently using for Th3ory Rom. Enjoy!
Edit:Added Th3oryRom INFUS3TH3ORY New build V1.08
Click to expand...
Click to collapse
Your tutorial on the XML was great, helped me figure out how to fix boot sound on my EVO with Synergy. +1 Thanks button hit
Bumping cause I recommended it to someone... Lol.
Sent from my rooted, Dark Horse INFECTED Synergy bolt running Ziggys latest.
is the default.xml not in an aosp rom? I have searched everywhere in shiftao5p v1.2 but cannot find one.
bigd5783 said:
is the default.xml not in an aosp rom? I have searched everywhere in shiftao5p v1.2 but cannot find one.
Click to expand...
Click to collapse
You may be looking for something like this to make it work.
http://forum.xda-developers.com/showthread.php?t=1048231
Let me know if it works for you?
hinds73

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.

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..

Categories

Resources