[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] arifkpi:
I am a Noob on Xda-Developers. Please forgive me for my English.

The Android boot animation is stored within one very special file named bootanimation.zip inside the phone’s memory. Change the .zip, change the animation. It’s as simple as that.

What’s not simple is how Android stores bootanimation.zip. For some unknown reason, Android actually keeps two copies of the animation file. One is stored at /data/local and the other at /system/media.

The difference between these locations is minor. The /data/local copy does not require root access. The phone also uses this animation before the other. The other one in /system/media does require root. However, installing a new animation to /system/media means that it will survive a factory reset. It’s a trade-off.

Regardless of which location you decide to use for your new boot animation, be absolutely sure to back up the original files. When replacing bootanimation.zip, keep a copy of the original .zip file saved to your computer. To be absolutely sure, you may want to make a Nandroid backup before doing any modifications.

How It Works

This section is intended to inform those who might wish to make their own start-up animation. If you have no interest in doing so, feel free to skip ahead. Understanding exactly how bootanimation.zip works is not necessary to install a new one.

If you copy bootanimation.zip to your computer and unzip it, inside will be a collection of files. There will be folders labeled part0, part1, part2 and so on. Also included will be desc.txt.

For our MIUI ROM, the boot animation was split into two parts. Part 0 had a huge list of image files which it used for the animation. Part 1 simply held the final screen at the end of the animation.

Desc.txt contains extremely simple instructions telling the phone how to run the animation. The first line lists the width, height, and frame rate of the animation. So 480 800 24 means to run the animation at 480×800 resolution and 24 frames per second.

The next two lines refer to the animation files. “P” invokes a part folder. The next number tells the phone how many times to play that part of the animation. So our second line “p 1 0 part0” means that the animation files in the part0 folder will play once. If we put zero, then the animation will loop until fully booted. The most notable use of looping animations is CyanogenMod 7’s spinning blue arrow.

The second number in that line is the pause time. This tells the phone how long it should pause DURING/BEFORE/AFTER/ the animation. Pause time is measured in frames, so 24 would be 24 frames of pause at 24 frames per second. Thus it pauses for one second. Our 0 means the phone pauses for zero frames (no time).

Creating Your Own Boot Animation

The first step is drawing the animation. Create a series of images which form one continuous animation. The frames must be labeled by increasing numbers, e.g. 000.png and 001.png and so on. Each part of the animation goes into a separate folder, starting with part0 and part1 and so on.

Finally open Notepad and write out a few lines of instructions. The first line should be the resolution and frame rate of the animation. The resolution must match that of your device. If you don’t know what that resolution is, see this page . The frame rate should match the one in the original desc.txt.

The next lines dictate the parts. Each part folder requires one line of instruction. Write out the numbers for each part of the animation. Once finished, save the file as desc.txt.

The final step is creating the .zip file. Select all the part folders and desc.txt. Right click on the files and select Send To > Compressed folder(Make sure that you select Store on Compression level). Windows should quickly create the new file. Be sure to name it bootanimation.zip and nothing else.

Various Methods of Changing the Boot Animation:

Installation by Flashing

Other themes come as .zip files which can be flashed within ClockworkMod. This is much easier and definitely recommended. When downloading a theme from XDA or elsewhere, be sure to check the page. It might be a flashable .zip.

To flash a .zip file, simply copy it to the SD card.

Reboot into recovery mode.

Now go to “Install .zip” and choose the file from your card. CWM should run the file.

Reboot once finished.

Installation by Copy/Paste

Copy your corresponding zip into your memory card.

Go to system/media & make a backup of bootanimation.zip.

Then copy your new bootanimation.zip from sd card & paste it to system/media.

Change permission to: rw-r-r

Reboot & enjoy

To change the boot audio:

Find an mp3. It should be relatively short as most phones don’t take much time to turn on.

Rename the mp3 to bootaudio.mp3.

Copy it to the SD card.

Now open Super Manager and copy the mp3 to /system/media.

Always make a Backup before doing any modifications

Try it with your own risk

I am not responsible it anything wrong happen with your mobile.

Donr forget to press THANKS button