Custom Boot Animation

xguntherc

Senior Member
Mar 25, 2010
974
13
0
Viva Las Vegas!
How exactly do I do this? I've googled it a few times. and I've seen tons of video's of different peoples boot animations.
I also checked CM6.0's new boot animation. (really cool) and it has 111 files or something in the zip.

I have a little like 6 second GIF that I'd like to use as my boot animation. would I just need to put the same file in there multiple times so it's long enough to keep going the entire time the phone boots? or does it have to be a PNG?

Any help would be great. Thanks!
 

codesplice

Senior Member
Jun 17, 2008
2,678
951
0
Huntsville, AL, USA
How exactly do I do this? I've googled it a few times. and I've seen tons of video's of different peoples boot animations.
I also checked CM6.0's new boot animation. (really cool) and it has 111 files or something in the zip.

I have a little like 6 second GIF that I'd like to use as my boot animation. would I just need to put the same file in there multiple times so it's long enough to keep going the entire time the phone boots? or does it have to be a PNG?

Any help would be great. Thanks!
The boot animation must be constructed out of PNG images. You would have to pull every frame out of that gif and convert it to PNG.

The bootanimation generally consists of a series of number PNG images (0001.png, 0002.png, 0003.png ...) in two folders, "part0" and "part1". part0 contains any portion of the boot animation that does not loop, and part1 will contain the loop that will be played over and over until the phone finally boots. You then also need a "desc.txt" file outside of those two directories, which will contain information on the image sizes and which order to play the folders in. This all then gets packaged up into a "bootanimation.zip" file, which will be placed in /system/media/ or /data/local/ on your android phone.

Best way to figure it out is to take an existing bootanimation.zip (you can adb pull the default from /system/media/bootanimation.zip) and pull it apart to see how it's built.
 

xguntherc

Senior Member
Mar 25, 2010
974
13
0
Viva Las Vegas!
Yea, Thanks for the info. Thats exactly what I did, sort of. I pulled Cyan's new bootanimation with the Cyan Droid skating inside the N1's boot logo.. I unpacked that and looked at how it was built. I replaced all the part 1 with multiples of what I want, but not frame by frame. lol. obviously it wouldn't work cuz it wasn't done right.

Does it need to be sized correct also? like if to large will it not show at all?

Everyone likes Jessica Alba right? I mean how can you not!
Here's what I was thinking of using for a boot animation. I'll let everyone see it, maybe someone will come up with something cool. I'm sure I have better ones, this is just the sexy Jessica Alba. It was the first thing that came to mind.

 

JHPadu

Senior Member
Oct 16, 2008
134
6
0
Norrköping
How about this one I attached? It is just the clip playing in the middle of the screen.
Flash it through recovery or take out the bootamination.zip and adb push it.
You can't put a .gif in the folder you have to pull all the frames.

When you create the zip-file with the folder(s) and the desc.txt you should use "add to archive", select .zip format (obviously :b ) and as compression method select "store". (Not 100% sure about if it's called "add to archive" and "store" cause I use Swedish language in Windows :b )

The desc.txt file in this case contains the following:

Code:
480 260 14
p 0 0 part0
480 260 is how big you want the picture to be (480 is suitable in this case since that's the width of the screen and 260 to get the correct ratio.)

14 is the frames per second. (don't know if it's possible to use a decimale, haven't bothered to try)

part0 is the folder and I guess 0 0 mean that it should keep repeating.

For example if having two folders and you want the fist one to play once and the other to keep repeating until the boot is done it should look something like this:

Code:
480 480 30
p 1 0 part0
p 0 0 part1
Hope that helped a little.
 

Attachments

Last edited:

xguntherc

Senior Member
Mar 25, 2010
974
13
0
Viva Las Vegas!
oh wow, Thanks. is that fullscreen? Lets give it a try.

whats the steps for flashing it in recovery. Just put on root of SD and flash in Amon's or is there more to it? I've never changed my boot animation.

Can't I just move it with root explorer to data/local? and reboot
 

JHPadu

Senior Member
Oct 16, 2008
134
6
0
Norrköping
No it's not full screen, then you'd have to hold the phone on the side. The animation takes up about 1/3 of the screen and is placed in the middle.

Yeah, just boot up the recovery menu and there's an option to flash zip-files that's on the root of you SD.
It should work to move it with Root explorer too. But remember if you use Root explorer you first have to open up the zip-file I've attached an take out the bootanimation.zip inside. It's that file you will put in the folder with Root explorer.

Edit: The update.zip I made will replace the original boot animation in /system/media/
So if you want to keep the original you better take a backup or as you said, place it in /data/local/ with Root explorer or: adb push bootanimation.zip /local/data/
 
Last edited:

Deathwish238

Senior Member
May 29, 2009
325
0
0
ATX
Yea, Thanks for the info. Thats exactly what I did, sort of. I pulled Cyan's new bootanimation with the Cyan Droid skating inside the N1's boot logo.. I unpacked that and looked at how it was built. I replaced all the part 1 with multiples of what I want, but not frame by frame. lol. obviously it wouldn't work cuz it wasn't done right.

Does it need to be sized correct also? like if to large will it not show at all?

Everyone likes Jessica Alba right? I mean how can you not!
Here's what I was thinking of using for a boot animation. I'll let everyone see it, maybe someone will come up with something cool. I'm sure I have better ones, this is just the sexy Jessica Alba. It was the first thing that came to mind.

lol! I flashed that exact animation as my live wallpaper on to my Eclipse head unit in my car a while ago. Never gets old :D

And to do so I had to convert each frame that I wanted as well.
 

oc3rulz

Senior Member
Jan 30, 2010
240
18
0
Columbus, OH
what if we wanted to add a sound clip to the bootanimation on the Nexus One? what folder do we add that in? I have tried just about every folder and way with no luck.