Animations are divided into:
"1" Kernel Start screen
Use the GIMP tool to save a PNG-formatted picture in PPM format. The file name is logo_linux_clut224.ppm. Finally, the PPM images are copied to kernelsrc/driver/video/logo/.
"Image"--"mode"--index-->224
FILE--"export as"-"File type"-->ppm
"2" Android words
Androidsrc/system/core/init/init.c
static int console_init_action (int nargs, char **args) function
Modify Android to bfqylkj, save the file to compile, final production ramdisk-uboot.img image, burn write.
"3" Boot animation
First, customize the Bootanimation.zip compression package. Specific production process, self-realization, can also be downloaded from the Internet, compressed package.
Desc.txt part0 part1 Three part
Part0,part1 contains related animated pictures (PNG format with the same resolution as the phone)
Desc.txt the contents of the configuration file as follows
320 480 30
P 1 0 part0
P 0 0 Part1
such as the Desc.txt file above content.
320 480:
It means that you start the animation on the screen with the number of resolution of the display
More than the resolution of the phone, your picture is not complete
30:
This number represents the number of frames played per second, and if there are 30 images in the Part0 folder, the playback time is 30/30=1 seconds to play.
P 1 0 part0
P 1 (play only once) 0 (empty instruction) Part0 */Represents the picture in the Part0 folder only once in the name order
P 0 0 Part1
P 0 (repeat) 0 (empty instruction) Part1 */Represents the picture in the Part1 folder will loop repeatedly
via ADB push bootanimation.zip/system/media/
If the prompt does not have permission, use chmod to modify it.
After compiling the ANDROIDSRC, put the prepared bootanimation.zip into the/out/target/product/ut4412/system/media/directory and make Snod Recompile the production system.img. This image can be burned separately.
[Email protected]:~/source_android4.4/android_source# find-name Bootanimation.zip
./device/samsung/ut4412/apk/bootanimation.zip
./out/target/product/ut4412/system/media/bootanimation.zip
Customize the boot animation of your Android system