[Samsung Galaxy Nexus] wilskywalker:
[TUTORIAL] Create Your Own Boot Animation

How to create your own boot animations:

you will need the following two programs:

7zip - 7zip.org External Link

Notepad++ - notepad-plus-plus.org External Link

Install both these programs before you begin.

Create desc.txt file:

Firstly lets create our 'desc.txt' file, this will tell your phone how to display the images you have chosen for your boot animation.

Using Notepad++ create a new file with the following attributes:

Normal text file
UNIX
ANSI
INS

You then need to type the following into that file:

[COLOR="Green"]720 1280 24
p X Y partZ[/COLOR]
[COLOR="red"]***blank line***[/COLOR]

Below is an explanation of what all this means and how to define your values:

720: animation width value

1280: animation height value

24: animation frames per second value

p: defines that a new animation section has begun.

X: how many times this animation part loops (0 will loop infinitely until the android system boots).

Y: defines a pause after this animation section has played (0-10 maximum).

Z: is the folder name where the images are located to be played in this section of the animation.

***blank line***: This is literally what it says, a blank line, type nothing here, just make sure the line exists or you animation will not work.

Here is an example of what your file may look like once you have finished:

[COLOR="green"]720 1280 24
p 1 0 part0
p 0 0 part1[/COLOR]

Create Image folders:

We now need to create the folders which will contain you image files. Each folder contains the images for the corresponding section of your animation as defined in your desc file above.

To start create a new folder named:

part0

Depending on how many sections you are having in your animation, you can continue to create folders with this naming convention, always lower-case followed by a number, no spaces:

part1
part2
etc

I am unsure if there is a limit to how many of these folders you may create and how that may or may not affect performance, this needs further clarification. If anybody can provide clarification I will update this tutorial.

Create Images:

Now the fun (and hours of editing begins). Choose what you want as your animation, this can be from any source you decide...that's the 'fun' bit. Then comes the editing. You will need to convert your selected source material into a series of images or 'frames' if you like to make up your animation.

You need to use the following values for your images:

All images must be PNG or JPEG format. They must not be interlaced. They should be sized according to the screen resolution of the device you wish to run them on, so for the Galaxy Nexus that would be 720x1280.

You should number the images beginning from 10001 and onwards depending on the number of images. This numbering should be continuous through all your folders and not reset for each folder, for example:

part0/10001.png; 10002.png; 10003.png
part1/10004.png; 10005.png; 10006.png
part2/10007.png; 10008.png; 10009.png

...and so on.

Please be aware I have seen other image files and naming conventions used on occasion, I am giving the information above based on my own experimentation and what has given me the best results and performance.

Create 'bootanimation.zip' File:

Once you have finished this process we need to create your 'bootanimation.zip' file.

Once you have installed 7zip, select your 'desc.text' and all your 'partx' files and right click on them, choose the following options from the context menu:

7zip > Add to archive...

The 7zip menu will then appear, ensure you have the following settings:

Archive: bootanimation

Archive format: zip

Compression level: Store

Update mode: Add and replace files

...leave all other options as default.

Then click 'OK'

You now have your 'bootanimation.zip' file.

This can be manually placed in your /system/media or /data/local directories.

Create Flashable ZIP File:

If you want to create a flashable zip file then please follow the instructions in my tutorial below:

[TUTORIAL] Making Flashable ZIPs, EDIFY Script, ZIP Signing & Key Creation

As always, if anybody spots any glaring errors here, or can provide additional information please post in this thread and I will update the tutorial, many thanks!

I hope this helps people out creating their own boot animations.

Have fun!!

:D