Custom boot animation to go with kernels
I posted this in response to some questions in the other forum so I thought I would paste it here also.
OK, back at the house so here's a quickie on custom boot animation that you can add while using these kernels. I'll post a link so you can check one out.
First, you will will notice it's just a zip file named bootanimation.zip. It is a zip file that is NOT compressed. So when you zip your files up, remember to select store for compression level. This tripped me up for an hour when I first tried this out.
Inside is two folders labled part0 and part1, and a text file named desc.txt. Part0 is the first part of the boot animation that is run one time. Part1 is the part of the animation that can loop over and over depending on how long it needs to and how long it is told to. These two parts need to flow together to look good, so be mindful of this. Also, you don't want to make your boot animations too long. They take up space that can be very valuable on phones that have little to begin with. Ours don't have a problem, but some do.
Inside the folders is a series of PNG files. They are named and numbered. Keep it simple. These are boot_000003.png on up to the end. Make sure you have the zeros in front to keep the spaces, otherwise they could get played out of order. Keep you png files the same specs as your phone. Ours is 480 x 800 pixels. Make sure you work in pixels not inches or cm.
The desc.txt file can be a little confusing at first also. It's just numbers and letters. This particular one looks like this:
480 800 30
p 4 0 part0
p 0 0 part1
That just tells the phone it's looking at pictures that are 480x800 pixels and it's going to go thru them at 30 frames per second (15 is commonly used also). I'm not sure what most of the rest is for other than part0 and part1, obviously, but the second 0 is for looping. 0 tells it that part1 can loop infinitely if need be. So it will continue to play as many times as it needs, until the phone finishes booting.
This particular boot animation was a quickie that I downloaded from UOT Kitchen by going through the process of not selecting anything except the boot animation, finishing the build as a cyanogen based ROM, and the downloading the package. Once it was done, I just modified the png's and the txt file and it was ready. Stored it in a zip file and I put it on my sdcard. From there you can just move it to /system/media. I just use root explorer to do this, but others may want to push the files. Do it however you are comfortable. Once there, all you do is reboot and as long as your kernel is compatible, these are, then it will play the bootanimation.
This is the nexus one's colorful x. Nothing fancy, just a quick one to show you how it's done.
http://dl.dropbox.com/u/14910866/bootanimation.zip