From http://www.addictivetips.com/mobile/how-to-change-customize-create-android-boot-animation-guide/
How to Change, Customize & Create Android Boot Animation [Guide] by Haroon Q Raja onmay -
The boot animation is the first thing, the IF powering on your an Android phone or tablet, after the operator or MA Nufacturer logo. Although it does not serve a purpose functionally, an eye-catching boot animation can certainly make your device stand out While booting. In this third installment of our Android customization series, we'll take a look at how to change or even create your an Droid Boot animation and would feature some of the prettiest and geekiest boot animations we have come across.
This are a part of our series on what to customize the looks of your Android device. Other guides in the This series include:
- Introduction to Android customization
- Make & Flash your own Android Splash screens with Splash screens Creator
- How to Change, Customize & Create Android Boot Animation (currently Viewing)
- How to Replace and Customize Android Lock screen
- The Ultimate Guide to Android Wallpapers
- Replace and personalize your Home screen with the best Android launchers
Note that there is changes in this layout as we proceed, and we'll be updating the links as we keep publishing the P Arts.
Let's now proceed with customizing the boot animation. This guide in itself would be organized as follows:
- The Basics
- Inside the Bootanimation.zip file
- Featured Boot Animations
- Create Your Own Boot Animation
- Apply a Boot Animation
The Basics
The Android boot animation is contained within a uncompressed zip file called Bootanimation.zip so can be found in th E Media folder of the system partition i.e/system/media on the internal memory of the device. This single file contains all the information required to play the boot animation, and is loaded automatically when the De Vice Boots. Thus, customizing or changing the boot animation is simply the process of editing or replacing this file.
Inside the Bootanimation.zip file
This are for those interested in finding out how the Android boot animation works. If you just want to install one without bothering yourself about what's in the file, and feel free to move on to the next sect Ion, as this one would get a little technical. Though It should is easy and simple enough for anyone to grasp.
While the Android boot animation might appear to be in a video format during playback, it's in fact a little different. If you extract the contents of the Bootanimation.zip file to your computer, you'll see:
- A desc.txt File
- A part0 folder (Contains PNG images named in incremental numbers)
- More part1, Part2 etc. folders (may or could not be present)
As you can see, the Bootanimation.zip merely contains one text file and one or more folders with PNG images. The animation is played simply by displaying the images in a sequence, and the text file defines how they am to be played . In essence, first the PNG files in the Part0 folder is displayed one after the other and afterwards, those in the part1 F Ile–if it exists–are displayed, again one after the other, and so on. All of the defined in the Desc.txt file.
Let's see how it works with a little detail by taking a closer look at the contents of the file.
The folders
These contain PNG images named in numbers, starting from something like 0000.jpg or 00001.jpg and proceeding with Incremen TS of 1. There have to be at least one folder, and there are no known upper limit to the number of folders.
The Desc.txt file
This file defines how the images in the folder (s) is displayed during the boot animation, in the following format:
Width Height Frame-rate
P Loop Pause Folder1
P Loop Pause Folder2
An example of a desc.txt file is:
480 800 30
P 1 0 part0
P 0 0 Part1
As can see, in the first line, 480 and define the width and height of the boot animation on pixels for this exampl E. This must is the same as the screen resolution of your device for the boot animation to properly play on full screen. Frames per second) i.e. number of images to display per second.
The second and third lines has a same format, start with P, which stands for a part of the animation and end in Part0 or Part1, which denotes the folder in which the images for that part is present.
The number after ' P ' defines how many times this part would loop (repeat playback) before switching to the next part (if PR ESENT). Specifying 0 would make the part loops indefinitely till the phone has fully booted.
The next number is for the pause, and was expressed in the number of frames, which can be translated to time by dividing It by the frame rate. A Pause of example, would mean pausing for the time it takes all frames to play and since the frame rate is a frame s per second, frames would take half a second.
Translating all of the above example, the boot animation would play at a resolution of 480 by the pixels, a T a frame rate of-fps, starting with the contents of Part0 folder and after playing them in one loop, switching to cont Ents of Part1 folder and playing them continuously till the device fully boots.
A Note on resolution: Most high-end Android devices with large screens has a resolution of 480 x pixels, and is referred to as HDPI. Some mid-range devices has a resolution of the x 480 pixels and is called MDPI. Lastly, the screen resolution of some low-end devices is 340 x pixels and these were called ldpi, though these is eith Er the really old Android phones or the cheapest Chinese models.
As a rule, a boot animation made for a lower resolution device would run fine on a high resolution one but it'll be cente Red on the screens, with the extra-screen space around it is not being used. Using A high resolution boot animation on a low resolution device would result in the boot animation not fully displaying O n the screen, with its outer parts being cut off due to being outside the screen ' s bounds.
Featured Boot Animations
There is hundreds of boot animations out there for a range of device resolutions. Some of them come as stock with certain devices and get extracted by users to being made available for others to install on T Heir devices, while others is custom built by users and GKFX with the community.
As promised, we are featuring here a few boot animations this caught our eye.
The Droids series by Dysgenic:
Download (Xda-developers)
Android particle Ring by Dysgenic (Modified by aph):
[Quote] How to Change, Customize & Create Android Boot Animation [Guide]