Customize your boot and shutdown animation sounds. - LG G6 Guides, News, & Discussion

Here's how to change the sound played when your phone boots up and shuts down. It's not something huge but i thought i'd share .
!!! Note: You must have ROOT access to perform following changes !!!
1. Determine the path used by your system for bootup and shutdown animations. To do that, you must check if you have folders named /OP or /cust in your device's main root folder. If yes, then you must check for subdirs called poweron and poweroff in your /OP/XXX_XX or /cust/XXX_XX (X'es stand for your carrier's configuration forlders). If you find poweron and poweroff subfolders, further changes have to be made inside them, otherwise go to /system/media/audio/ui/.
2. Find 2 files, one of them is called PowerOn.ogg, the other PowerOff.ogg. those are boot and shutdown animation sounds.
3. Download an app called Mp3 Converter by Keerby from play store.
4. Pick a sound you want to be played during your device boot and shutdown (don't pick anything that is too long, otherwose your boot and shutdown times will increase ).
5. Convert your chosen sound file from whatever file format it is in to .ogg using Mp3 Converter.
6. Name your converted files PowerOn.ogg and PowerOff.ogg respectively.
7. Backup our original sounds by adding .bak at the end of each one and copy your new sounds to the location you found your original boot and shutdown animation sounds.
8. Set permissions to 644 in your new PowerOn.ogg and PowerOff.ogg files and reboot to test .
I changed my bootup sound to Wasuuuuup from the first Scary Movie and shutdown sound to Mario Bros Game Over .

Related

[HOW TO]Adding and changing sounds on boot animations

Intro:
Another boot animation fix comin at ya. A TON of people want to know how to add and change sounds on custom boot animations on the Droid X2 and like all of them I could not find enough info on the world wide web that I could send a link to them to help out. SO after a little bit of messing around and some help from WugFresh I have the answer.
The apps:
First you will need a couple apps. You will need absolute system, root explorer and file converter. You can get them from the android market, just do a search for them. They're not free but if you know anything about root you probably already have root explorer and maybe even absolute system, but you will need file converter by ice cold apps.
The programs:
Again if you know anything or a decent amount about root you probably already have these programs but if not then download them. You will need 7Zip (preferably 7Zip) because as far as I know it is one of the only if not the only program that can zip files correctly WITHOUT compression which is mandatory because if there is any compression applied to the bootanimatiom.zip file OT WILL NOT WORK! You will also need either GVIM or Editor++ in order to properly edit the desc.txt file in the bootanimation.zip which we all know is what makes the boot animation work and if that is not configured correctly then, well, you're gonna be throwing things.
The method:
1.
Find the boot animation you want and download it using absolute system or from whatever source, whether it be from a forum thread or whatever. If you download it from a source other than absolute system you have to make sure before applying it you have to place it on the root of your sd card and make sure it is not named bootanimation.zip if there are other boot animations on your sd card because if they are named the same, obviously, they will overwrite eachother so name them however you want.
2.
Find the sound you want to use, it can be any sound file as long as it's short enough (or not) to play completely on boot. Download it, place it in your sd card and open the file converter app. Use file converter to find the file and once you've found and selected it select to convert it to .ogg. It MUST be converted to .ogg or it WILL NOT work. Once it is converted find the converted version ("sound".ogg or "whatever you named it".ogg) and use root explorer to move it to /sytem/media and leave it there for now.
3.
Plug your phone in to your computer, make sure USB debugging is enabled, and put your phone into USB mass storage mode once your phone is connected. Open up the files from your sd card on your computer and find the boot animation .zip you are going to change and move it to your computer. Next open up 7Zip and find the boot animation .zip file you just moved. Select the file and extract it to wherever you want to on your computer. Once you have extracted the .zip files with 7Zip go to the extracted files on your computer.
Note: (This next part will save the edited version as the orginal version so if you want to make a backup before you edit it just rename however you want or copy it into a separate folder named desc backup.)
4.
Right click on the extracted desc.txt file from the boot animation amd right click on it. Once you right click you will see an option that says either "edit with Editor++" or "edit with VIM" depending on which program you decided on (I prefer Editor++). Select the option and it will open up the desc.txt in your editor of choice. There may be a lost of guidelines in the desc.txt file for editing parts of the desc.txt but this is usually only in stock boot animations. Decide where you want the sound file to play and comment in the sound file you want to use by adding a line under the part you choose it to play at by typing "s 'sound'.ogg" DO NOT type what I wrote verbatim, the name 'sound' is just to give an example. Here is an example of a desc.txt file that has been edited to have sound:
(The red part is the sound line)
# 540 wide, 960 tall 10 frames per second
540 960 10
# p means we're defining a part
# first number is repeat count, 0 means infinite
# second number is delay in frames before performing the next part
# so if you are playing 15 frames a second 15 would be... one second
# string defines the directory to load files from
# files will be loaded in order but names don't matter
# s defines a sound for a part
# sounds will be loaded from /system/media
# oggs with loop points will loop automatically
# only one sound will play at a time
# timing is driven by the part, not the sounds
# if you want no sound, leave blank
# droid
p 1 0 01_droid
s Fusion.ogg
# fusion
p 1 0 02_fusion
# mobility
p 1 0 03_mobility
# loop
p 0 0 04_loop[/SIZE]
Click to expand...
Click to collapse
Notice the name of the sound in the desc.txt file is the same as the one I want to use. I hate to sound like I'm trying to make you feel stupid, which I am most definitely not, I just want to make sure this is detailed enough for anyone to follow.
4. Continued:
Once you have commented in the sound line, and you can add as many as you want just make sure you read the guidelines in the example desc.txt file above, save the file and exit your editor.
5. Open 7Zip and find the extracted boot animation files again with the edited desc.txt file. Make sure that the only files showing up in 7Zip are the boot animation files you extracted including the original desc.txt file that was edited and only that edited one, not the backup if you made one. In the menu bar on the 7Zip program click on "edit" and click on "select all" in the drop down menu that pops up. Next click "file" in the menu bar, move your cursor to the 7Zip option and when the drop down menu pops up click on "add to archive..." Then when the window pops up just change the name to whatever you want, select "zip" in the Archive format drop down menu, select "store" in the compression level drop down menu (you must select store or the boot animation .zip file you are creating will be compressed and as I mentioned above it won't work with compression) and then click "OK" to create the .zip file. Once it is created go ahead and move it onto the root of your sd card.
6. Unplug your phone from your computer and once the sd card is mounted open up absolute system. Go to boot animations and press menu and selct "boot animation editor." Press menu again and select "import from sd card." Find the boot animation you edited and slect it. Pres menu once it brings up the window with all the .png images and select "import" and when the window pops up prompting you to name the bootanimatiom just name it however you want and select "import." In order for the boot animation you edited to show up in your list of downloaded boot animations in absolute system you must first close absolute system and reopen it, go into boot animation editor again and it should be there. Select your edited boot animation and when it opens up the window with all the .png images press menu and select "desc.txt editor" which will open up the desc.txt file in absolute systems own editor. Scroll down untill you see the "s" line you commented in and press on it, this will open up a small window prompting you to choose the file from either /data/local or /system/media. Selct to choos from /system/media and there will be a list of .ogg files to choose from (if there are more than one you put in there). Select which one you want to play for that line. This is just to make sure the bootanimation.zip is using the right .ogg file and so your phone knows where to play it from on boot. You can change these if you want but you cannot comment lines in or out using absolute system. Once you have finished making changes or confirming the sound files press menu and select "save changes." Once it's done saving the changes press back.
NOTE: THIS NEXT PART IS VERY IMPORTANT AND MUST BE DONE EXACTLY AS I HAVE WRITTEN, IN THE EXACT SAME SEQUENCE I AM GIVING YOU.
7.Sorry for yelling hehe. Once absolute system is done saving the desc.txt file and you have pressed back to re-enter the .png images window in absolute system press home and open up root explorer. In root explorer go to /system/media where you placed your .ogg files and move them again into /system/media/audio/notifications and press home key again. Open absolute system and install the boot animation to /data/local by selecting change install location and selecting "/data/local" and reboot your phone. If the sound does not play, which it should, install the boot animation in BOTH /data/local AND /system/media using absolute system.
You should now have sound along with your boot animation. I hope you all have fun adding crazy sounds to your boot animations. The thanks button is always happy when you press it!
Awesome. The sound always gives me a hard time. Good job on this.
Sent from my DROID X2 using xda premium
Nice tutorial!
Sent from my Droid BionicX2 using my XDA App.
Thanks I was surprised and a little aggravated that there is no other instructional thread for this.
Sent from my DROID X2 using XDA Premium App
Thanks
Good Job on this tut. Im sure it will help others. You have my thanks, others should do the same.
Thanks a bunch I really appreciate it
SBF'd from my tasty X2 MAXX
Did all the steps to the t and still no sound
Sent from my SGH-T839 using xda premium
Thanks for sharing really usefull info
Hello..... Is this method still valid? Does it work with Android 4.0.4?
Kind regards.
will this method work on the Galaxy S4 SGH-M919?
i only want to change the sound,
i already changed the boot animation.
Great thread!!
But,will this work on a Nexus5?
Code:
640 400 30
c 1 30 part0
c 1 0 part1
c 0 0 part2
c 1 30 part3
c 1 0 part4
c 1 0 part5
My desc.txt file is shown like this!!
Where should i add the file name?? What if i insert my .gg file name at the last?
Does this method work for Huawei phones? Someone led me to this post. If so, sound isn't working for me. After every boot the 's name. ogg' tag gets removed. 'Boot animation' is 25 seconds and 'boot sound' is 19 seconds.
I want to play one bootsound throught the entire Bootanimation, please tell me how to do it. I have one sound that i want to play in 11 parts.
Thank you
Pls give me a link for absolute system.Cant find a place to download it?
adarshm4you said:
Pls give me a link for absolute system.Cant find a place to download it?
Click to expand...
Click to collapse
The directories being listed are referring to SYSTEM directories (hidden from user-land view). Your phone must be rooted (root access) first. I'd suggest you use a 'root file browser' afterwards.
The "Root Browser" application (unsure if its listed on Google Play at this time) is an excellent one to use. Simple and fast interface. Minor annoyance with banner ads (free copy).
Hope that helps you (albeit a late reply). These forums are a gold mine of information!
In reference to the OP:
Infantry667 said:
6. Unplug your phone from your computer and once the sd card is mounted open up absolute system. Go to boot animations and press menu and selct "boot animation editor."
Click to expand...
Click to collapse
It sounds as if you're referring to an application (I will Google it after this post) named "absolute system." It piqued my curiosity. You should be able to use adb strictly to push/pull all files onto the Android phone. I understand this thread was made in 2011. I can only assume times were different back then.
However: Why would you need or be required to place the "bootanimation.zip" (stored) and "XXX.ogg" into both the ./system/media and ./data/local directories? Does Android (for some unknown reason) pull two copies for security verification (stab in the dark)?
On this rooted LG K7 (Android 5.1.1): The ./system/media directory appears to be full of all related boot animation data and the latter is void of life; To reiterate: I understand this thread was from 2011 and the Android version was more than likely significantly lower.
If anyone could shine some light on this subject: I'd heavily appreciate it. I'm attempting to add in sound (a converted *.wav into *.ogg file) to the boot animation (no loop; Simply play it once).
Thank you, future poster.
ObliviousEnigma,
At this point, adding bootanimation zip to data/local will no longer be recognized by android 5.0+. Just /System/media.
Also, considering if you want to add sound to it, I noticed that you have an LG phone. It should be easier for you to change it if you are on a stock ROM. you must go into the directory /system/media/audio/ui. And inside you should find the file called PowerOn.ogg. That is what you want to replace if you want to have different sound along with your boot animation. My recommendation, make sure that the audio is atleast 7 seconds long. I tried to experiment past it and it didn't work for me no matter what phone I used.
For others who are still using the droid x2 but with a custom rom (other devices work too), First off, your best bet is to extract the bootanimation zip first. Secondly, if you want the sound to be played at the beginning, add the sound file to the part 0. Leave the sound file the way it is instead of converting it to .ogg, but make sure to rename it to audio.wav. There are 3 things to keep in mind before moving on:
1) the desc.txt is not required to change.
2) it seems that only a 7 second audio can be played. Any others more than 7 seconds will not play.
3) if there are other existing audio wav files inside any folder of the bootanimation (except the one you placed at), delete it.
Thirdly, once you are finished, rezip the file without compression, whatever app that you use to do it (I use the RAR app by Rarlabs). Fourth, drag the bootanimation.zip back into /System/media. If permissions need to be set, make it rwxr-r-. Lastly, reboot your phone to watch the magic happen!
How to add sound in bootanimation now

[HOW TO] REZOUND ICS BOOTANIMATIONs

I figured I would share with the community since people are finding ICS a little tricky
*JUST AN UPDATE. I FOUND THAT THE BEATS AND VZW FOLDERS CAN HAVE ANY NUMBER OF IMAGES*
What you need:
boot animation creator.exe (windows program) get it at http://forum.xda-developers.com/showthread.php?t=1234611 (credit to despotovski01)
7zip (windows program) http://www.7-zip.org/
fotosizer (windows program) http://www.fotosizer.com/
some type of boot animation (youtube video, collection of images, whatever)
the stock VZW boot animation (attached)
file explorer app (root explorer, es file explorer, etc)
Steps:
create a folder somewhere that you will be working from
in that folder, create a folder named VZW
use fotosizer to rename the images.
USE THESE SETTINGS : Preset size - original, destination folder (the folder you created earlier named VZW, output format - JPEG, file name mask (this is important) render_720x1280_compress %NNN
add your images to fotosizer and click start. it will output the images to the folder you chose all named "render_720x1280_compress xxx.jpeg"
grab the "beats" folder and the "android" folder from the stock animation
place these folders with VZW
open the boot animation creator.exe
choose the folder that contains beats, android and VZW and choose next
HERE IS THE TRICKY PART: the settings have to be like this or it wont work
android - 1 15
beats - 1 15
VZW - X 90 (x can be as many times as you want the image set in the VZW folder to repeat)
width - 720
height - 1280
speed - 15
choose next and save it anywhere you want. The file must be named Vigor_VZW_bootanimation.zip
Place the zip on your sd card and drop it where ever you ROM has its boot animation (either /system/customize/resource or /data/local or /system/media)
change the permissions to RW-R-R using a file explorer and reboot
IF YOU DON'T WANT THE BEATS ANIMATION:
use fotosizer once again to rename your first 35 images to "Beats Audio Animation as JPG Seq XX" the same way as you did with the VZW folder and place them in the "beats" folder
you will need to redo the naming process again for the VZW folder
follow the same steps for the bootanimation creator.exe program
IF YOU WANT LANDSCAPE
Simply open the folder that your images are stored in, single click on the first image, press and hold the shift key, click on the last image. right click and choose rotate clockwise. proceed as normal.
you can also create a flashable zip (include with the tools and credit Mr.Smith317) with the animation placed in the correct location
(there may be other ways of doing this process, but this ways has always worked without fail)
DOWNLOAD THE TOOLS
Adding sound :
grab your sound file. it must be an mp3 and shouldn't be longer than 15 seconds
rename it to android_audio.mp3
the default.xml file in /system/customize/CID needs to be edited
find this line 3/4 of the way down in the xml file
<BootAnimation animation="/system/customize/resource/Vigor_VZW_bootanimation.zip"
add this to the end
"audio="/system/customize/resource/android_audio.mp3" audiostart="VZW"/>
the whole line should be
<BootAnimation animation="/system/customize/resource/Vigor_VZW_bootanimation.zip"audio="/system/customize/resource/android_audio.mp3" audiostart="VZW"/>
*notice "/system/customize/resource/Vigor_VZW_bootanimation.zip? thats where your boot animation is stored*
place you audio mp3 file in the same folder as the boot animation
change permissions to RW-R-R
reboot
the sound will start to play when the VZW folder images start. if you want to change this edit this part of the line you added
audiostart="VZW"/> to what ever folder you want it to start at
racinwarrior said:
so i have been asked to create a few custom boot animations. I dont mind doing stuff, but i have been swamped at work. I figured I would share with the community since people are finding ICS a little tricky
What you need:
boot animation creator.exe (windows program, attached)
7zip (windows program)
fotosizer (windows program)
some type of boot animation (you tube video, collection of images, whatever)
the stock VZW boot animation (attached)
file explorer
Steps:
create a folder somewhere that you will be working from
in that folder, create a folder named VZW
use fotosizer to rename the images.
USE THESE SETTINGS : Preset size - original, destination folder (the folder you created earlier named VZW, output format - JPEG, file name mask (this is important) render_720x1280_compress 0%N
add your images to fotosizer and click start. it will output the images to the folder you chose all named "render_720x1280_compress xxx.jpeg"
change the first 9 images so that they are named "render_720x1280_compress 001, 002, 003" etc
if you have more than 100 images rename them as "render_720x1280_compress 100, 101, 102" etc (the goal is to end up with the imaged names 001 to XXX consecutively)
grab the "beats" folder and the "android" folder from the stock animation
place these folders with VZW
open the boot animation creator.exe
choose the folder that contains beats, android and VZW
HERE IS THE TRICKY PART: the settings have to be like this or it wont work
android - 1 15
beats - 1 15
VZW - X 90 (x can be as many times as you want the image in VZW to repeat)
width - 720
height - 1280
speed - 15
choose next and save it anywhere you want. The file must be named Vigor_VZW_bootanimation.zip
Place the zip on your sd card and drop it where ever you ROM has its boot animation (either /system/customize/resource or /data/local or /system/media)
change the permissions to RW-R-R using a file explorer and reboot
you can also create a flashable zip with the animation placed in the correct location
DOWNLOAD THE TOOLS
Click to expand...
Click to collapse
THANK YOU. i wanted to port my boot animation but it wasnt working. i cant wait to try.
I made a ton of boot animations a while back, mostly for the inc and EVO. I opened one of the stock Rezound ones up the other to look around inside at the files. Why are the folders duplicated? The one I looked at has 2 beats, 2 vzw, etc. They seem to have the exact same images in them.
Also. Which animation does what? On a couple if Roma I tried the.boot animation was different depending on how I booted. Doing a full power down and reboot was different than doing a hot reboot.
Sent from my ADR6425LVW
Hey man im not sure if you put the wrong thing in there or if i'm retarded, but the "Boot Animation Creator.exe" is a shortcut to the program not the program itself
Let me know if im missing something, thanks dude
who_mike_d said:
Hey man im not sure if you put the wrong thing in there or if i'm retarded, but the "Boot Animation Creator.exe" is a shortcut to the program not the program itself
Let me know if im missing something, thanks dude
Click to expand...
Click to collapse
Must have grabbed the wrong icon for the zip. I'm stuck in bed with tbe flu right now. I will try to fix it in a few hours
sent from your mom
silverxbv2 said:
I made a ton of boot animations a while back, mostly for the inc and EVO. I opened one of the stock Rezound ones up the other to look around inside at the files. Why are the folders duplicated? The one I looked at has 2 beats, 2 vzw, etc. They seem to have the exact same images in them.
Also. Which animation does what? On a couple if Roma I tried the.boot animation was different depending on how I booted. Doing a full power down and reboot was different than doing a hot reboot.
Sent from my ADR6425LVW
Click to expand...
Click to collapse
They only need to have one set. Not sure which one you were looking at, but only one set is right
I think fastboot uses a different shortened animation
sent from your mom
Fastboot doesn't show any animation at all unless you full power off as far as I know.
racinwarrior said:
Must have grabbed the wrong icon for the zip. I'm stuck in bed with tbe flu right now. I will try to fix it in a few hours
sent from your mom
Click to expand...
Click to collapse
Boot animation creator: http://d01microapps.elementfx.com/Downloads/install_bootanimationcreator.msi
feel better man
MrSmith317 said:
Fastboot doesn't show any animation at all unless you full power off as far as I know.
Click to expand...
Click to collapse
I agree.....
Actually I think it uses hTC_bootanimation
sent from your mom
Front page man. Good job.
EmerikL said:
Front page man. Good job.
Click to expand...
Click to collapse
sweet.......
If you change "render_720x1280_compress 0%N" to "render_720x1280_compress %NNN" you don't have to go back and add the extra 0 to the first 9 or fix anything over 100.
knuckles562 said:
If you change "render_720x1280_compress 0%N" to "render_720x1280_compress %NNN" you don't have to go back and add the extra 0 to the first 9 or fix anything over 100.
Click to expand...
Click to collapse
nice...ill update the OP thanks
racinwarrior said:
sweet.......
Click to expand...
Click to collapse
http://www.xda-developers.com/android/make-your-own-ics-boot-animations-for-the-htc-rezound/
Hell yeah man good job!
Sweet!! I wanted to make a boot animation for my phone.
Thanks
FPS?
First of all great guide, and congrats on making the first page. I was wondering if there was any way to increase the FPS (im trying to increase it to 25) of the boot animation, I've noticed that anytime I change it in boot animation creator, my animation doesn't work anymore. If I can't change it in the boot animation creator, what would be the best way to speed up the frames a bit? Thanks in advance.
xarmorx said:
First of all great guide, and congrats on making the first page. I was wondering if there was any way to increase the FPS (im trying to increase it to 25) of the boot animation, I've noticed that anytime I change it in boot animation creator, my animation doesn't work anymore. If I can't change it in the boot animation creator, what would be the best way to speed up the frames a bit? Thanks in advance.
Click to expand...
Click to collapse
First of all thank you OP for this walkthrough. I have a Vivid and haven't been able to get bootsounds to work. With a little guidance from post 2, we have bootsound!
Xarmox - In all the animations I've ever made, there should be a desc.txt in your animation's .zip, along with the image folders. In this .txt file, the first line will display "width height framespersecond". You should be able to speed it up/slow it down by editing the fps
Also to OP and anyone else who might be interested - if you leave off the audiostart="folder", it will just start the sound at the beginning of the animation, rather than looking for a specific folder name. This would allow other animations that don't use the same folder structure to utilize the sound. However if you only want your sound to start at a specific roll of images, this is a great addition!
homeslice976 said:
Xarmox - In all the animations I've ever made, there should be a desc.txt in your animation's .zip, along with the image folders. In this .txt file, the first line will display "width height framespersecond". You should be able to speed it up/slow it down by editing the fps
Click to expand...
Click to collapse
thank you for the advice, the problem I'm having is that anytime i change the FPS in the desc.txt or in the boot animation program, my boot animation doesn't play on my phone when i boot up, it just shows the splash screen until the phone boots up. Its as if the ReZound won't play any boot animation unless its at 15 FPS.
I tried deleting every other image in the VZW folder and renamed them (I think this would give the appearance of ~30 FPS, when played at 15FPS), which isn't the preferred way, because its gonna make syncing up the sound that much more difficult. Maybe I could figure out a good pattern of frames to delete to give the appearance of 25 FPS.
xarmorx said:
thank you for the advice, the problem I'm having is that anytime i change the FPS in the desc.txt or in the boot animation program, my boot animation doesn't play on my phone when i boot up, it just shows the splash screen until the phone boots up. Its as if the ReZound won't play any boot animation unless its at 15 FPS.
I tried deleting every other image in the VZW folder and renamed them (I think this would give the appearance of ~30 FPS, when played at 15FPS), which isn't the preferred way, because its gonna make syncing up the sound that much more difficult. Maybe I could figure out a good pattern of frames to delete to give the appearance of 25 FPS.
Click to expand...
Click to collapse
Don't know if it would matter or not, but are you putting the edited desc.txt back with Store compression (file size and compressed size the same)? I use WinRAR to do this as it allows me to select compression level every time, but have to use 7zip for a lot of the other things I do that don't require Store compression, it seems to just know
Edit: Keep in mind I'm saying this without ever having played with a bootanimation for a Rezound. I have a buddy with one, if you're still having trouble I'll put one on his and see what I can do next time I see him. Or maybe OP can chime in with some knowledge

arhd bootanimation and sound instructions how to add them

i just added boot sound and alot of the places i looked get all technical so really all you gotta do to get sound and animation is use like root exolorer or rom tool box after downloading someting like that heres what you do
1. save both bootanimation and boot sound(must be .wav) sd card
2.with file manager move files from sdcard to data/local paste them there
3. change permission to rw- r- r-
4. then reboot and it should play the audio with the video i just made my amaze have the iron man video clip it is in landscape.
hope that was a little easier explaination if yes awsome happy to help
I thought that editing the default.xml file would be difficult, but it's very easy if you have installed es file explorer. Go to file explorer, menu, then give it permission to write/read, go to phone /system /customize /cid, press on default.xml and open it, scroll down until you see where it says "android_audio.wav", you only have to change the.wav to .mp3 and press menu then save. Exit the default.xml file and just go about normal placing the boot animation and android_audio.mp3 files in data /local. And your done. I got mine all matching cia splash, boot cia animation and mission imposible sound working together.
Sent from my phone, while reading this.

Creating custom Bootanimation

I am a Noob on Xda-Developers. Please forgive me for my English.
The Android boot animation is stored within one very special file named bootanimation.zip inside the phone’s memory. Change the .zip, change the animation. It’s as simple as that.
What’s not simple is how Android stores bootanimation.zip. For some unknown reason, Android actually keeps two copies of the animation file. One is stored at /data/local and the other at /system/media.
The difference between these locations is minor. The /data/local copy does not require root access. The phone also uses this animation before the other. The other one in /system/media does require root. However, installing a new animation to /system/media means that it will survive a factory reset. It’s a trade-off.
Regardless of which location you decide to use for your new boot animation, be absolutely sure to back up the original files. When replacing bootanimation.zip, keep a copy of the original .zip file saved to your computer. To be absolutely sure, you may want to make a Nandroid backup before doing any modifications.
How It Works
This section is intended to inform those who might wish to make their own start-up animation. If you have no interest in doing so, feel free to skip ahead. Understanding exactly how bootanimation.zip works is not necessary to install a new one.
If you copy bootanimation.zip to your computer and unzip it, inside will be a collection of files. There will be folders labeled part0, part1, part2 and so on. Also included will be desc.txt.
For our MIUI ROM, the boot animation was split into two parts. Part 0 had a huge list of image files which it used for the animation. Part 1 simply held the final screen at the end of the animation.
Desc.txt contains extremely simple instructions telling the phone how to run the animation. The first line lists the width, height, and frame rate of the animation. So 480 800 24 means to run the animation at 480×800 resolution and 24 frames per second.
The next two lines refer to the animation files. “P” invokes a part folder. The next number tells the phone how many times to play that part of the animation. So our second line “p 1 0 part0” means that the animation files in the part0 folder will play once. If we put zero, then the animation will loop until fully booted. The most notable use of looping animations is CyanogenMod 7’s spinning blue arrow.
The second number in that line is the pause time. This tells the phone how long it should pause DURING/BEFORE/AFTER/ the animation. Pause time is measured in frames, so 24 would be 24 frames of pause at 24 frames per second. Thus it pauses for one second. Our 0 means the phone pauses for zero frames (no time).
Creating Your Own Boot Animation
The first step is drawing the animation. Create a series of images which form one continuous animation. The frames must be labeled by increasing numbers, e.g. 000.png and 001.png and so on. Each part of the animation goes into a separate folder, starting with part0 and part1 and so on.
Finally open Notepad and write out a few lines of instructions. The first line should be the resolution and frame rate of the animation. The resolution must match that of your device. If you don’t know what that resolution is, see this page . The frame rate should match the one in the original desc.txt.
The next lines dictate the parts. Each part folder requires one line of instruction. Write out the numbers for each part of the animation. Once finished, save the file as desc.txt.
The final step is creating the .zip file. Select all the part folders and desc.txt. Right click on the files and select Send To > Compressed folder(Make sure that you select Store on Compression level). Windows should quickly create the new file. Be sure to name it bootanimation.zip and nothing else.
Various Methods of Changing the Boot Animation:
Installation by Flashing
Other themes come as .zip files which can be flashed within ClockworkMod. This is much easier and definitely recommended. When downloading a theme from XDA or elsewhere, be sure to check the page. It might be a flashable .zip.
To flash a .zip file, simply copy it to the SD card.
Reboot into recovery mode.
Now go to “Install .zip” and choose the file from your card. CWM should run the file.
Reboot once finished.
Installation by Copy/Paste
Copy your corresponding zip into your memory card.
Go to system/media & make a backup of bootanimation.zip.
Then copy your new bootanimation.zip from sd card & paste it to system/media.
Change permission to: rw-r-r
Reboot & enjoy
To change the boot audio:
Find an mp3. It should be relatively short as most phones don’t take much time to turn on.
Rename the mp3 to bootaudio.mp3.
Copy it to the SD card.
Now open Super Manager and copy the mp3 to /system/media.
Always make a Backup before doing any modifications
Try it with your own risk
I am not responsible it anything wrong happen with your mobile.
Donr forget to press THANKS button

[Q] LG Realm {ROOTED} Problem

So I rooted my Lg Realm ls620 with TowelRoot and I downloaded ROM Toolbox full version for 5$ from PLay Store
Which comes with cpu control boot animations Led control and more.
When I was going to flash a boot animation I downloaded from it I accidentally chose a plain picture instead of the thing I downloaded from it. Now my Lg realm wont go past its startup screen.
This is what it says on the top left corner upon startup.
[670] fastboot_init()
[670] Error:allocating memory for ssd buffer
[670] USB init ept @ 0x7ac9000
[710] udc_start()
Is there a way to fix this? I even tried to factory reset. It says it's resetting but nothing happens within hours.
Im kind of new to this rooting/bricking stuff. Thanks.
Have you tried removing battery and putting it back in? I had something similar happen (not with bootanimations though) and that worked for me.
I've used bootanimations from rom toolbox and xda without a problem. If you install a bootanimation from rom toolbox it puts it in system/media folder but your not done yet. Using root explorer go to system/media folder and copy your bootanimation to carrier/cust/poweron (rename the one that's in there first to bootanimation.zip1 if you don't want to delete it). Make sure to rename your new one bootanimation.zip. You have to change permissions. Using root explorer press and hold on bootanimation scroll down and tap on permissions. First column "Read" check all. Second column "Write" check first box. Uncheck all others. You can use the same procedure with a shutdown animation in the poweroff folder. You can use the same bootanimation or a different one and just copy to poweroff folder rename it to shutdownanimation.zip and change permissions the same way you did for a bootanimation.
Also if you want sound with your animation below the bootanimation there's a Poweron.ogg file. You can use a notification ringtone (I used the Darth Vader one to go with my r2d2 droid animation). Using root explorer just copy your ringtone to the poweron folder and rename it to Poweron.ogg (delete the one that's in there first) and change permissions to the same as the bootanimation. You can do the same in the poweroff folder just rename that one to Poweroff.ogg.
Other people have deleted these poweron and poweroff folders and used just the system/media folder, (http://forum.xda-developers.com/lg-g3/themes-apps/bootanimation-android-5-0-l-boot-t2814467/page34) post #335, but I like doin it this way.
Edit: Rename PowerOn.ogg not Poweron.ogg and PowerOff.ogg not Poweroff.ogg.

Categories

Resources