Android Boot animation - Simple Guide with tools attached

label
label

Want To Create Your Own Boot animation for your android device . Here's the simple guide for you !!

Bootanimation Logo


DISCLAIMER:
I am not responsible if you break your phone. You should always do a nandroid backup befor flashing any files.

Required :

  • Create a series of .png files. 
Tools :
Guide :

Step 1: Folders
We need to make folders. The number of folders depends on what type of animation you want. You can name the folders anything you want as long as they are reflected in your desc.txt (desc.txt ? described below).

NOTE : If you have a video that you want to repeat, you will need only 1 folder. (Name it anything you want)

If you want an intro (only shown once) and then a repeated set, You will need 2 folders. Most common names: (part0, part1)

Step 2: Images

Each image in the video is called a frame. They usually vary slightly from image to image which sped through makes the illusion of a video.

  • Each frame must be 480*800 px (thats 480 pixels wide by 800 pixels tall).
  • Each frame must be saved in a .png format. (If you are using Photoshop, File > Save for Web & Devices to reduce the file size drastically.)
  • Each frame needs to have some numarical value.
  • Recommended would be something like frame0001.png, frame0002.png, frame0003.png, etc.
  • Try to keep it under 300 images total

After all of the images are created, we now need to place them in folders.

Step 3: Placing images in folders
This step will vary from user to user. based on what type of animation you are making.

Intro to loop (2 folders):
With this one, you are going to place all of the images that is to be the intro to folder 1.
All looping images will go into folder 2.

Looping video:
All images will go into a single folder.

Step 4: desc.txt

Desc.txt . As i said before we will describe about it breifly .what exactly will do ? I Simple , it will tell the android what to do !

Open up your text editing program. You have to use something other then notepad/wordpad included with Windows. They add some funky stuff for every new line you make which will ultimately break the script. It is best to use Notepad++.

This is an example of a desc.txt that has 2 folders in it:
480 800 20
p 1 0 intro
p 0 0 repeat
Here is what it is telling android to do line by line:
480 800 20 <-- Width of the animation in pixels. This will stay 480 for Evo users Height of the animation. Keep this 800 for Evo Users Frames per second. This is basically your 'speed' of the animation. This will stay in between 10-30 (10 being slower, longer, and choppy; 30 being fast, short, and smooth.)

p 1 0 intro <-- p is telling it to play this folder. It will always be there. Folder is to be played 1 time before moving on to the next folder. Pause the movie for 0 frames after the animation is completed before moving on to the next folder. (This will normally stay 0). Name of the folder to be played. In this case, the folder named "intro" gets played once and then it moves on to the next line.

p 0 0 repeat <-- Play the animation... Folder is to be indefinately played. The 0 is telling it to play this folderover and over. Just keep it 0. Folder "repeat" gets played


And now for an example of a single folder (same thing looping over and over):
480 800 20
p 0 0 part0
So same as before... 480px wide by 800px tall at 20 FPS
Play the folder "part0" an indefinate amount with no pause in between.


Why not go funky!:
480 800 20
p 1 0 intro
p 5 0 cookies
p 2 0 cake
p 0 0 mynion
Same... 480px wide by 800px tall at 20 FPS
Play "intro" 1 time with no pause
Play "cookies" 5 times with no pause
Play "cake" 2 times with no pause
Play "mynion" indefinately

Ok. So now we save this file with the file name "desc.txt". It must be named that. Case sensitive.

Step 5: Packaging
Package this sweetness of a custom boot animation!
(Just an assumption . If you are using Windows with WinRAR. Steps may vary from OS and program)

  1.  Highlight all of your folders and desc.txt and right click > "Add to archive..."
  2.  On the left side, change the radio buttons from rar to zip
  3.  Change compression method to "store"
  4.  Name the file. For now, you can name it anything. Eventually, it will need to be named "bootanimation.zip"

That's it and we are Done making Bootanimation for your Android Device !
Credits and Source


Any questions? Have I missed something? Comment below...
Share This :



sentiment_satisfied Emoticon