NookColor Boot Animation editing and replacement
From nookDevs
Part of the NookColor portal
|
The nookcolor's bootanimations are different than other android devices, partly because of their size.
It is possible to replace the nook's bootanimation with a custom bootanimation.zip without replacing the bootanimation binary if you carefully structure your bootanimation as the NookColor needs.
Example custom NookColor fullscreen Boot Animation
Here is an example produced by IRC participant Suteru:
Preview: , with the download link in the description.
Download http://defectiveimages.com/bootanimation.zip
adb push bootanimation.zip /data/local adb reboot
Structure of a Boot Animation
The basic structure of the bootanimation.zip file is as follows:
bootanimation.zip |-- desc.txt |-- part0 `-- part1
part0 and part1 are directories that contain a series of images for example, in part 0 there is:
part0 |-- 480_427_00001.png |-- 480_427_00002.png |-- 480_427_00003.png |-- 480_427_00004.png |-- 480_427_00005.png |-- 480_427_00006.png |-- 480_427_00007.png |-- 480_427_00008.png |-- 480_427_00009.png `-- 480_427_00010.png
And in part 1 there are:
part1 |-- 480_427_00011.png |-- 480_427_00012.png |-- 480_427_00013.png |-- 480_427_00014.png |-- 480_427_00015.png |-- 480_427_00016.png |-- 480_427_00017.png |-- 480_427_00018.png |-- 480_427_00019.png `-- 480_427_00020.png
How to modify and generate a Boot Animation
If you want to modify the bootanimation.zip there are some rules:
The zip file may not be compressed. When you save the zip file, you must choose to STORE the files in it without compression.
The file names of the image files must be of the form 480_427_xxxxx.png as above.
The files in the part0 folder must start with 480_427_00000.png and then count up.
The files in the part1 folder must pick up the numbering sequence from part0 and go on.
Full screen nook bootanimations are 600x1024 pixels.
The contents of desc.txt for the NookColor are explained as follows:
600 1024 30 p 1 0 part0 p 0 1 part1
Line 1 contains the x and y dimensions of the bootanimation, and the requested frames-per-second. The dimensions assume the phone is in Portrait mode.
Line 2 says "We're going to have a bootanimation part here, it will be executed one time, after this part finishes we will pause for zero seconds.
Line 3 says "We're going to have another part here, it will be executed forever, until android boots, and each time you go through it, you will pause at the end for one second.
The part0 and part1 at the end of the line are required. The part numbers must count up from 0.
You can add a part2 if your needs are more complex. Each line is structured:
p space (number of times to loop, 0 means forever) space (seconds to pause between loops) partname
partnames must start at part0 and count up to part9 (max)
Pause seconds can not exceed 9. Loop counts can not exceed 9. (one digit.)