Android Modified boot animation (bootanimation) "Go"

Source: Internet
Author: User

This article was reproduced from: http://blog.csdn.net/u012301841/article/details/51598115

The Android system comes with a splash animation that is a white "Android" text in the flashing. We can modify this animation and change it to one of our favorite animations.

Modify the Boot animation

Of course, we have to have root permission to modify the boot animation. (Prerequisite, must)

The general practice is to replace the Android device system/media/bootanimation.zip file.

1. First upload the file to the root directory of the SDcard via the ADB push command.

2. Then through the ADB shell into the device directory, extract root permissions, the Bootanimation.zip overlay into the System/media directory.

3. Modify the Bootanimation.zip file permission to read writable executable (777).

# adb push bootanimation.zip /sdcard/bootanimation.zip# adb shell# su# mount -o remount,rw /system# cp /sdcard/bootanimation.zip /system/media/bootanimation.zip# cd /system/media/# chmod 777 bootanimation.zip(很重要)
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7

Then restart the machine, you can see the animation you modified!

Note: Some machines mount-o remount,rw/system This command may not work, then try Mount-o rw,remount/system. Be sure to modify the permissions of the replacement bootanimation.zip, or modify the boot animation to fail.

Make Bootanimation.zip Animation Package

Unzip the Bootanimation.zip file you will find there will be a desc.txt file and a number of part0, part1 such directories.

Now we view Desc.txt file

720 1280 20p 1 0 part0P 0 0 part1// 720 动画的宽度// 1280 动画的高度// 20 每秒播放20帧图片 (最好不要超过30)// p 第二行和第三行的p表示2个part(出第一行外,通常是以p开头的)// 1 对part中静态图片循环播放的次数。例如:part0的静态图片会播放2次,part1的静态图片只有正常的一次。// 0 播放完当前part中的动画后,暂停的帧数。 (如该是40的话,40/20=2秒,即暂停2秒)// part0 part1 存储静态图片的目录名称
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10

Attention:

1.desc.txt files are generated in a Linux environment because some spaces are not the same

The names of the images in the 2.part catalogue are continuous, such as pic_001, pic_002, _pic_003 ...

3. When packaged as a bootanimation.zip file, you need to package it in zip format .

Boot Animation: http://download.csdn.net/detail/u012301841/9542886

Android Modified boot animation (bootanimation) "Go"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.