• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Creating a boot animation, start to finish.

Mr. Ed

Extreme Android User
Jun 27, 2010
6,666
1,464
Over Yonder
After months of people asking..here you go. I will clean this up a bit and fine tune it over the next week but this should get some of you going.


The following is a start to finish how to via the method that I create boot animations. I can't take full credit, as I have found bits and pieces here an there. I just put them all together..in one place. This isn't an easy process, and does require quite a bit of time.


Tools you will need
DVD Videosoft Studio
Gimp or Paint.net or fotosizer
Zip file creator like 7zip

So get all the programs dloaded and installed and figure out what you want to use for your animation.

You can use images or a clip of video.

We will begin with a youtube video. Youdoofus has supplied us with an excellent specimen.
YouTube - Doin' Your Mom - with dancing cat

A. Downloading a video (Skip these steps if using some other video. Go to B.)
Open the video studio
Click Youtube
Then Youtube download
Paste the link of the video you want to use
Click download (bottom right)
Close out of the Download screen, un check all of the boxes in the pop-up otherwise the program does install web toolbars.


B. Extracting Images from any video. (Skip to C if you already have images.)
Open the video studio
Click on Photo and Images
Free Video to Jpeg
Browse to you video file
Select the option (I use every frame so I can pic and choose)
Close studio, remember to un check the boxes

C. Convert Images
Create a folder on your desktop and put your images in it.
Use you photo edit tool of choice. I use fotosizer, it allows batch.
Select your size. For the Evo use 480x800
Choose Destination Folder I always create a new folder
Output as .png
Filename mask should be %f (the other options never work for me)
Choose add images
Highlight all of the images
Click Start
Now open the new folder of converted images (you can delete the originals folder from the first step above)
Right click on the first image and select rename
Rename in numerical order 0001 pressing tab after you are done..until you reach the end. I don't use more than 100 images. Small groups like this can be repeated. I only pulled 15 images from the video. We will have it loop in the script below.


D. Building the bootanimaton.zip
Create two folders, named part0 and part1
part0 will contain a single, display once png and part1 would contain the animation images. You can play with different scenarios here...ie loop images until boot is complete or loop once and stop on one last image. I will get more details together soon.
Place animation files in part1 folder and a "frozen image" in part0 if you choose to set it up that way.

We need to tell the animation what to do with this type of txt file
480 800 60
p 0 0 part0
p 0 0 part1

again
The boot animation is stored on your phone as a zip file in the folder /system/media. It consists of 2 folders part0 and part1 and a description text file (desc.txt). Both part0 and part1 folders contain animation frames as PNG files. part0 folder contains those frames which are animated only once, where as part1 folder contains the looped(repeated) frames. The desc.txt file contains the animation settings such as fps (number of frames per second), width, height, times to be played, pause time etc you can change up a lot here.



Ctrl+ select the part0 file the part1 and the desc text file and right click.
Select 7zip or your zip program and then "add to blahblahblah.zip" Make sure to do .zip and not the other choices. Make sure your default settings are for no compression.

Rename the file bootanimation.zip (remember not to name it .zip.zip) I keep a few animations on my sd car in a file called "booty" so I typically put something in front like kitty_bootanimation.zip so i know which is which.

Put the file on your sd card.
Use root explorer to navigate to system.media and rename the current boot animation to whatever you want.
Now copy your new animation from the sd card to system.media

In some cases the animation will be located at system.customize.resource

To add an audio clip use any mp3, renamed android_audio.mp3 and put it in the same place as your animation. Keep in mind audio doesn't work on all roms. You may also need to adjust the length. I use Audacity for that on the pc, and there are a number of ringtone trimmers that will do it on the phone.




one of many sites that helped me get all of this..I will add the rest as I find them lol
Create Custom Boot Animation For Rooted Droid [How To]
 
very much appreciated post good sir, much appreciated indeed! in reading your directions i noticed one of my errors when attempting to do this myself... 400x800, not 480x800.... ::facepalming while i type this:: ok, maybe not WHILE typing lol anywho, d/l'ed, waiting..... splash screen still....... lol still an apple being shot in cyan...... and?!?!?!? a black screen:( sad face! i put it in the normal place in system\media\bootanimation.zip renamed the old one to sumfin different, and this kitty_bootanimation.zip to just bootanimation.zip. no .zip.zip issue. I just rebooted with a different one, which worked. im at a loss :( but, id like to reiterate my thanks man

edit: your text file gave dimensions of 480x800. changed to 400x800... trying out now. still black screen

after typing that last bit, i went up ad read your post again, you said 480x800 on the text file, and size the png's to 400x800, is that right? not bein sarcastic, just really want this to work lol
 
Upvote 0
very much appreciated post good sir, much appreciated indeed! in reading your directions i noticed one of my errors when attempting to do this myself... 400x800, not 480x800.... ::facepalming while i type this:: ok, maybe not WHILE typing lol anywho, d/l'ed, waiting..... splash screen still....... lol still an apple being shot in cyan...... and?!?!?!? a black screen:( sad face! i put it in the normal place in system\media\bootanimation.zip renamed the old one to sumfin different, and this kitty_bootanimation.zip to just bootanimation.zip. no .zip.zip issue. I just rebooted with a different one, which worked. im at a loss :( but, id like to reiterate my thanks man

edit: your text file gave dimensions of 480x800. changed to 400x800... trying out now


Isn't 400 just a typo?
It may work but the desc certainly must match
 
Upvote 0
giv me a minute or 3.... i haven't tested it yet lol

http://dl.dropbox.com/u/24251098/kitty_bootanimation.zip

try that. i goofed up my phone so i can't test it right this second

fps doesn't make a difference

dancing_cat.gif
 
  • Like
Reactions: ardchoille
Upvote 0
Upvote 0
I've been creating bootanimations for about a year and have always found that the bootanimation.zip has to be zipped as "store" rather than "compressed". 7zip has an option to store with no compression. None of my bootanimations ever worked unless I did that.

There is a link in the OP to a bootanimation tutorial and it specifies:

Set the ‘Compression level’ setting to ‘store’ (which means no compression), before you archive. Compression will make it unreadable for your Droid.

I didn't see that in the OP, but it's very important.
 
  • Like
Reactions: Mr. Ed
Upvote 0
It does if it's too low and you have too little frames (I think), thought maybe it might if it was too high also. Also there is a such thing as too large and too many frames...[/

QUOTE]

Its possible. We are overcast and may getvsome rain here today so the pools store may be slow enough that I can mess with This today. Frame count has never been an issue for me unless it were too large....the script loops the frames.


My compression settings are set to store so I know that isn't the issue. Its definitely in the desc I just have to find my notes. It got a little difficult to concentrate/stay awake by the time I got that far in the how to.

I will have it fixed by tonight. This 6 days a week 16 hrs a
day thing is cutting into my phone time :(
 
Upvote 0
It does if it's too low and you have too little frames (I think), thought maybe it might if it was too high also. Also there is a such thing as too large and too many frames...[/

QUOTE]

Its possible. We are overcast and may getvsome rain here today so the pools store may be slow enough that I can mess with This today. Frame count has never been an issue for me unless it were too large....the script loops the frames.


My compression settings are set to store so I know that isn't the issue. Its definitely in the desc I just have to find my notes. It got a little difficult to concentrate/stay awake by the time I got that far in the how to.

I will have it fixed by tonight. This 6 days a week 16 hrs a
day thing is cutting into my phone time :(

crossing fingers that ya can get it nailed down, i feel for ya on the lack of sleep bro. your efforts are appreciated!!
 
Upvote 0
It does if it's too low and you have too little frames (I think), thought maybe it might if it was too high also. Also there is a such thing as too large and too many frames...[/

QUOTE]

Its possible. We are overcast and may getvsome rain here today so the pools store may be slow enough that I can mess with This today. Frame count has never been an issue for me unless it were too large....the script loops the frames.


My compression settings are set to store so I know that isn't the issue. Its definitely in the desc I just have to find my notes. It got a little difficult to concentrate/stay awake by the time I got that far in the how to.

I will have it fixed by tonight. This 6 days a week 16 hrs a
day thing is cutting into my phone time :(
Yes, your compression settings are set to store, but some of the folks who follow your tutorial may not have their compression settings set to store because it's not in your tutorial. I'm just pointing out to your readers that this is a vital step. I was making bad bootanimations one after the other and couldn't figure out why none of them were working. I kicked myself when I figured out I was missing such a simple step, lol.
 
Upvote 0
Yes, your compression settings are set to store, but some of the folks who follow your tutorial may not have their compression settings set to store because it's not in your tutorial. I'm just pointing out to your readers that this is a vital step. I was making bad bootanimations one after the other and couldn't figure out why none of them were working. I kicked myself when I figured out I was missing such a simple step, lol.

got that :)

just got home. going to edit a few things in the tutorial and try and get this kitten chow working ...preferably before 3am
 
Upvote 0
got that :)

just got home. going to edit a few things in the tutorial and try and get this kitten chow working ...preferably before 3am

lmao!! i was able to view the youtube post you made with it, and it looks HYSTERICAL!! im not sure if cm7 allows for audio in boot animations, but i have a couple songs from the show that this comes from that ill try once you get this workin. i cant seem to get it myself still, even following the instructions, and suggestions thereafter:( the songs make the images even funnier!! stalkin your mom and doin your mom... effen hilarious!
 
Upvote 0
lmao!! i was able to view the youtube post you made with it, and it looks HYSTERICAL!! im not sure if cm7 allows for audio in boot animations, but i have a couple songs from the show that this comes from that ill try once you get this workin. i cant seem to get it myself still, even following the instructions, and suggestions thereafter:( the songs make the images even funnier!! stalkin your mom and doin your mom... effen hilarious!

Just about there. I had part 0 and part 1 folders backwards
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones