Thursday, April 21, 2016

How to prepare Android bootanimation and change

Kindly follow below instructions to change bootaimantion on Android devices.

* Create two folders part0, part1 and place the several animation images (.png format) with the dimension of the mobile in these folder.
* The images in the part0 folder are usually repeated once, and the frames in part1 folder are usually looped several times, or infinite.
* Create desc.txt file and following lines

320 480 24
p 1 0 part0
p 0 0 part1

* The numbers 320 and 480 is the resolution of your boot animation. Change them as you want. The number 24 means the speed of the animation. The "p 1 0 part0" property means that the frames in part0 folder will be repeated once. The second number is the delay between loops, and it's expressed in milliseconds (1000ms = 1s).And last, but not least, you set the folder with the folder name - in this case is part0.
* The part1 folder - that's "p 0 0 part1". The first "0" means that the folder will be looping infinite times, the second "0" means there's no delay between loops, and then we set the folder to part1.

Compress the folders using below command :
zip -Z store bootanimation.zip part0/* part1/* desc.txt

Make sure the device is rooted and push the bootanimation using the below command.

-adb remount
-adb push bootanimation.zip /system/media/bootanimation.zip
-adb reboot

Now you will be able to see the changed bootanimation.
Share:

0 comments:

Post a Comment

Popular Posts

Recent Posts

Categories

Unordered List

Pages

Powered by Blogger.

Subscribe

Recent Posts

Posts

Contact Form

Name

Email *

Message *