How to make an Boot animation[tutorial] - XPERIA X10 Themes and Apps

Getting the files ready
1. First create your animation. I usually use Flash.
2. Once you are happy with it you need to turn it into a series of png files. In flash goto [File > Export > Export Movie] then choose "PNG Sequence".
3. Next you have to rename the png files. i use "better file rename"(make renaming easier) for this (eg. "animation_00001.png", "animation_00002.png")
Making the bootanimation.zip
1. First make two folders "part0" and "part1" (you can call them anything, but its easier to explain this way)
(part0 is for animation that plays once, part1 is for animation that loops untill the device is loaded.)
2. Now make a text file "desc.txt" and enter something like this:
"320 480 30p 1 0 part0p 0 0 part1" - G1 example
"480 800 30p 1 0 part0p 0 0 part1" - N1 example
3. Once you have that done its time to turn it into a zip. I use Winrar for this. Make sure you call it bootanimation.zip and there must be no compression. The zip is just for storage.
It should look like this:
bootanimation.zip -
> part0
> part1
> desc.txt
4. After that just push via adb to /system/media
or
if your rooted place file into /system/media and replace bootanimation.zip
320 480 15
p 1 150 android
p 50000 1 last
So,WTH is a desc.txt file!
First line contains 3 numbers width, height and fps
Second line (and any succesive lines) starts with the letter "p" (which comes from animation part) and contains 3 items:
-count: number of time this part is repeated
-pause: number of microseconds to pause after the last frame of the part
-path: the directory which contains the png files that compose the frame of this part
if you wanna try out my boot animations visit this thread
http://forum.xda-developers.com/showthread.php?t=1004925

Very nice,thanks! Been wanting to try to make one of these. Just need to learn flash now...
Sent from my X10a using XDA App

I actually didn't bother with Flash myself, I used Photoshop and manually created a PNG file, saved it, then added on and saved as the next in the sequence. Would have saved me a lot of time had I done it in Flash, but then again, I'd have to learn it, first, lol.
Great tutorial, King !

thanks for the tutorial

Related

(GUIDE)how to make cm7 boot animation

NOTE: This method is tested and it
works on CM7 ROMs.
I don't guarantee that it will work for
stock ROMs (The ROM that came with
your device)!
Requirements:
-A photo-editing program (GIMP and
Photoshop are the best), which can
save pictures in .png format
-A text editor (everyone has that)
-An archive-managing program
(Power Archiver, WinZip), that is
capable of making .zip archives
Tutorial:
1. Create part0 and part1 folders (in
this folders, the frames of the boot
animation are stored. Usually, there
are only 2 parts in a boot animation,
but you can add as many as you want.
The frames in the part0 folder are
usually repeated once, and the
frames in part1 folder are usually
looped several times, or infinite.)
2. Draw every frame of your boot
animation manually (save every frame
as you do it. Save the first one as
10001.png, the second one as
10002.png, and so on. Save them in
the part0 and part1 folders - the
frames in part0 folder will be showed
only once, and the frames in part1
folder will be looped. But, you can
change that if you want. Changing the
looping property will be discussed in
the following steps. WARNING:
ALWAYS SAVE THE FRAMES IN .PNG
OR .JPG FORMAT! )
3. Make a desc.txt file in the directory
where the part0 and part1 folders are
and edit it as following:
240 320 30
p 1 0 part0
p 0 0 part1
(The numbers 320 and 240 is the
resolution of your boot animation.
Change them as you want. The
number 30 means the speed of the
animation. Speed set to 30 is good for
me. Then, the "p 1 0 part0" property
means that the frames in part0 folder
will be repeated once - you point that
with the first number in the "p 1 0
part0" property, which in this case is
1. The second number is the delay
between loops, and it's expressed in
milliseconds (1000ms = 1s). I've set it
to 0 because I don't want to be any
delay between my loops (p 1 0 part0).
And last, but not least, you set the
folder with the folder name - in this
case is part0. Then, you type the
property for 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. Note: if you
have more folders, you'll have to write
properties for them too! WARNING:
DON'T FORGET TO LEAVE AN EMPTY
LINE AT THE END OF THE DESC.TXT
FILE! )
4. Compress the folders and the
desc.txt file in a zip file ( WARNING:
MAKE SURE YOUR COMPRESSION
METHOD IS STORE! OTHERWISE, THE
BOOT ANIMATION WON'T WORK! )
5. Open your new boot animation and
check the folders, if there are
Thumbs.db files. If there are
Thumbs.db files in your boot
animation, delete them from the
archive.
*****************************
if u like this click on thanks..
cool...
luved it......
@ssasin.monish said:
cool...
luved it......
Click to expand...
Click to collapse
i know..

[TUTORIAL] How to create and install android bootanimations from scratch

How to create and install android bootanimations from scratch
This is a guide which tells you how to make a your very own bootanimation and install a bootanimation on your device.
Please let me know if you made a bootanimation using this method so that every bootanimation made using this method can be posted here
Code:
#This guide assumes that you are windows user and have -
1- 7 zip or winrar installed
2- a image editing software (for ex-photoshop) #
Bootanimation- what is it ?
Bootanimation basically is a collection of .png pictures that are projected on the screen one after the other quickly so that it looks like a animation , stored in a zip file
Click to expand...
Click to collapse
Prerequisites
1-you need a bootanimation.zip file [you can find them on google]
now if you have downloaded the bootanimation.zip file ,open it up
2- as you can see in the picture you find some folders in it named
Code:
"part0" "part1" "part2"
and a desc.txt file .
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EXPLANATIONS
folders like part0;part1,etc. STORE .png pictures of bootnaimation
the desc.txt file contains all the necessary info to run bootanimation like resolution fps ,etc
Click to expand...
Click to collapse
EXPLANATION OF desc.txt
Code:
As you can see in the image
#1-it is the resolution of the bootanimation(you should basically use your device's resolution for ex - in the pic it is 320X480)
#2-it is the fps(frames per second) of your bootanimation [higher the no. faster will your bootanimation play [B]a standard fps should be 30[/B]]
#3-these are the folders which contain images for your bootanimation
#4-it is a pointer to tell it to look at new commands
#5-specifies the no. of times this section of bootanimation will play ( 0 means infinite)
#6-defines pause in seconds before repeating or moving on next line (o means no pause 10 means 10 sec pause)
Fire it up el captain !!
we'll start making a bootanimation from scratch from here
#1-create a folder anywhere put in desktop for ease,let's call it
Code:
bootanimation
#2-open the folder and create another folder name it
Code:
part0
#3- With part0 created, it's time for you to start creating an image. To make it simple for beginning we'll make a simple one .So, using Photoshop as an example, create a new image which is the resolution of your handset. [like if ur on htc explorer use 320X480 or galaxy mini use 340X320] (if u don't know your device's resolution google it
#4-Give a black background to the image and take a image you wan't to fade in . paste it as a new layer and set the layer to 0% opacity
so now you can only see a black background.
#5-now save the image in your
Code:
part0 folder
and name it
Code:
image00.png
#6-now increase the opacity of your bootanimation by a narrow degree say 6%.now save it as
Code:
image002.png
in the part0 folder
#7-repeat step 5 every time until you reach 100%.and each time save it as image003-image004 etc. in part0 folder
#8-open notepad and type this --
Code:
[B][COLOR="Blue"]
1080 240 24
p 1 60 part0
c 1 0 part1
c 0 0 part2
c means that the entire part of the animation (eg part2) will be played even if bootup completes.[/COLOR][/B]
Code:
[B]change[/B] the 1080 240 with the resolution you are using
Thanks to @cisza for this info.. [images will be updated soon ]
#9- save it as :
Code:
desc.txt
in the root of your bootanimation folder (not in part0)
#10- compress it using your archive manager say 7zip ;winrar,etc.
imp: SET COMPRESSION METHOD TO STORE
or else bootanimation WON'T work
congrats u just made a boot animation... and remember to share with us your bootanimation
You can also use boot animation factory by RD despotovski01 It may help you with debugging and previewing and also creating bootanimations
Installing bootanimations
To install your bootanimation just use root explorer to put it in system/media folder
if using htc stock rom put it in system/customize/resources folder (make sure to rename it the bootanimation.zip to htc_bootup.zip )
Thanks for the tutorial. I'll try it soon.
What did I do wrong??
It just shows a black screen and sometimes doesn't even finish booting, so I have to delete it from recovery.
EDIT: Nevermind it workes now??????
Thank you for the instructions. At first I couldn't get it to work but then I noticed that some of my *.png files were saved in uppercase, changed to lower, worked without a hitch. Great job :good:
Glad to be rid of the vodafone boot and exit animation. btw - on my Huawei g300 the shutdown animation can be changed using the exact same bootanimation.zip file, just need to change the name to shutdownanimation.zip and copy it the same /system/media folder.

			
				
thanks alot but plz tell me what the use of another folders n some more commands
thanks
thanks alot for this....
1-made a 480x800 video,
2-used video to photo converter (# of frames selected)
3-used irfanview to rename them to image###
4-created the folder.(part0)
5-desc.txt
6- used root explorer to paste that zip to resources folder in system...
worked like a charm....
.....
m not gettin compression method "store" in 7 zip...
bid4sumit said:
m not gettin compression method "store" in 7 zip...
Click to expand...
Click to collapse
I didn't either, but I left that part out, and it worked like a charm. Maybe the default is correct
Nice guide
Sent from my HTC Explorer A310e using xda premium
bid4sumit said:
m not gettin compression method "store" in 7 zip...
Click to expand...
Click to collapse
I found "store" in compression level instead of method.
I was doing this for maybe an hour and a half wondering what I did wrong. I decided that I was ziping it wrong, couldn't figure out how to make winzip (I suspect that was my problem) do a "store" zip, and just decided to download 7zip. When I used 7zip and changed the compression level to "store," it worked like a charm. A charm that works really well.
Not sure what I am doing wrong!!!
Hi, my first post!
I really not sure what I'm doing wrong here...
Few facts:
Phone: ZTE Blade (San Fancisco), o2, rooted
On Windows 7 using: Photoshop, irfanview, 7zip.(also tried using SDFormatter, no joy)
On Android using: cm-10-20121124-KonstaKANG, ES File Explorer (root)
I tried to make my own boot Animation
I copied the "bootanimation.zip" file from the "cm-10-20121124-KonstaKANG-blade.zip" which was already installed
I then changed the first 3 images and as far as i can tell kept them the same size etc:. but they are larger on disk now.
I re-zipped (using store) and copied to sd card then copied as above guide to System/media
When I reboot, I get the basic android text while waiting to come to system... I must admit is quite quick to get there.
Also when i get to system (lock screen) I have garbled text or line in the status bar at the top and no unlock screen for quite a while! I put the 2 together as I never got this before playing with boot screen! (This also happens at times, seemingly at random, when coming from sleep).
I will reformat soon so not too much of a problem, but I really would like to produce a boot screen for my phone and all guides I have seen tell me I am doing nothing wrong.
Thanks
Mike
bid4sumit said:
m not gettin compression method "store" in 7 zip...
Click to expand...
Click to collapse
For 7-Zip it is Compression level. Change it to store or none (whichever is available)
NIce Tutorial! Thanks
Thank you! I'll try because I'm editing a rom for my Galaxy Ace
Utilities to convert
Can anyone recommend, free/freeware programs to convert video to .png files. Also a program to batch crop/resize would be helpful too.
Thanks for this.
Mine looks a little wonky but it worked on my HTC Droid Inc. 4G
Had some sequential pics of my daughter. Manipulated them to the correct dimensions and converted them to .png using Gimp 2.6
Was pretty easy outside of the time it took to mess with the pictures.
Hi,
I just replaced bootanimation.zip file in system/media , and now I got Android boot from nowhere . Now I can not get him out. I flashed omega boot , but nothing... What to do ?
Re: [TUTORIAL] How to make and install android bootanimations
Cool tutorial, gonna try this out tomorrow. I've always used Rom Toolbox to download boot animations; it'll be cool to make my own!
Sent from my Galaxy Note 2 using Tapatalk 2.
Re: [TUTORIAL] How to make and install android bootanimations
delevic said:
Hi,
I just replaced bootanimation.zip file in system/media , and now I got Android boot from nowhere . Now I can not get him out. I flashed omega boot , but nothing... What to do ?
Click to expand...
Click to collapse
Change the permission of the bootanimation.zip to rw-r--r-- using root explorer.

[BOOTANIMATION] ME!ME!ME! Full screen for 1080p screens

Hi. This is my first bootanimation, it took me few hours to fully understand how it works, but finally I finished it.
Installation Instructions (for now, no flashable zip):
You need to be rooted, it's obvious.
Open your file manager and go to : /system/media/
Backup your original bootanimation.zip (or change it's name)
Paste bootanimation.zip which you downloaded from this thread to /system/media/.
Set permissiions for this file : -rw-r--r--
Restart your phone.
There is no brick risk at all (if you do something wrong with bootanimation, then there will be no bootanimation), but I don't take any responsibilities for broken phones etc.
I tested it with my OnePlus 2, but it should work with all 1080p phones.
Here is a preview (4k):
https://youtu.be/Y1oYaZlmiNw
Changelog:
1.0 initial version
DOWNLOAD HERE.
Nice. Thank you. If at all I can make a request, Dragon Booster boot animation pls.
Sent from my ONE A2003 using Tapatalk
What file format / codec is necessary for a video to work as a boot animation? Is there anything else besides the video necessarily included in the zip?
Kageroh said:
What file format / codec is necessary for a video to work as a boot animation? Is there anything else besides the video necessarily included in the zip?
Click to expand...
Click to collapse
Hi @Kageroh here is how you do it.
Basically there are three folders and one file in a zip.
Three folders, namely part0, part1, part2 contain the series of images. Like, part0 contains frames of images, part1 contains continuation frames and part2 contains completing frames. Part0 will be running when it's booting, part1 will be running when boot is completed, part2 will be running when the boot is done.
Who will decide when will a part run?
It's the one file I said, it's a txt file. It's, name is desc.txt.
It has,
1080 1920 60
p 1 0 part0
p 1 0 part1
c 0 0 part2
1080 1920 is the resolution. 60is the fps. These values can be customised as per requirement.
p 1 0 part0
p means part of animation.
1 means the frames will be repeated once.
0 means the delay between repetition.
c means till completion loop that part.
More information here > http://forum.xda-developers.com/showthread.php?t=2756198
When I mean frames it means images arranged in series with their naming in a numerical order. Like 000.jpg, 001.jpg, so on.. If last image of part0 is 490.jpg, then first image of part1 will be 491.jpg and same goes with other parts. More the images more the quality of boot animation I mean fps.
Also this is old method, you can search for boot animation makers.. There are tools now. I prefer above method. Because I feel I have more control.
When you zip all together don't forget you set compression method as "store". Boot animation won't work otherwise
Sent from my ONE A2003 using Tapatalk
krishna442 said:
Hi @Kageroh here is how you do it.
Basically there are three folders and one file in a zip.
Three folders, namely part0, part1, part2 contain the series of images. Like, part0 contains frames of images, part1 contains continuation frames and part2 contains completing frames. Part0 will be running when it's booting, part1 will be running when boot is completed, part2 will be running when the boot is done.
Who will decide when will a part run?
It's the one file I said, it's a txt file. It's, name is desc.txt.
It has,
1080 1920 60
p 1 0 part0
p 1 0 part1
c 0 0 part2
1080 1920 is the resolution. 60is the fps. These values can be customised as per requirement.
p 1 0 part0
p means part of animation.
1 means the frames will be repeated once.
0 means the delay between repetition.
c means till completion loop that part.
More information here > http://forum.xda-developers.com/showthread.php?t=2756198
When I mean frames it means images arranged in series with their naming in a numerical order. Like 000.jpg, 001.jpg, so on.. If last image of part0 is 490.jpg, then first image of part1 will be 491.jpg and same goes with other parts. More the images more the quality of boot animation I mean fps.
Also this is old method, you can search for boot animation makers.. There are tools now. I prefer above method. Because I feel I have more control.
When you zip all together don't forget you set compression method as "store". Boot animation won't work otherwise
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
Thanks for the detailed info
Sent from my ONE A2003 using Tapatalk

[Completed] [TUTORIAL] How To Install Custom Boot Animations on ANY Android Device

NOTE: This tutorial REQUIRES root access for it to work. If you do not have root access you need to get it for this
tutorial to work ( If you are confused on what root is and/or how to install it, you can run a simple Google search )
WARNING: If you have already rooted your device, your warranty is already void. If you have not rooted your device, keep
in mind that rooting and installing custom recoveries, roms, kernels, etc will void your warranty, no way around it. Unless
you do not want to void your warranty, then do not continue with this tutorial.
DISCLAIMER:I WILL NOT be responsible for any possible damage that may/may not occur to your device by following this
tutorial, you decided to go through with it, therefore it is YOUR FAULT if YOU damage YOUR device. If you point the finger
at me for any damage caused to your device by following this tutorial, myself and the community will laugh at you.
You'll need a few things before we get started:
1) A Windows Computer
2) Your device & your respective device's USB charging cable
3) 7Zip / Winrar installed on your computer
4) CHECK TO MAKE SURE YOUR DEVICE HAS ROOT ACCESS
5) A Web Browser, and, preferably, a video editing software that can render image sequences (Preferably Sony Vegas)
6) Also check to make sure your devices rom supports custom boot animations, if it doesn't, feel free to install a custom
rom that does support custom boot animations.
Lets Get Started!
You'll need to 'generate' an idea in your head of what you want the animation to look like on your device, thinking doesn't
take much effort now does it?
Go to your web browser and download all images, videos, gifs, etc you need for your animation. But keep in mind that the boot
animation is consisted of many individual .png / .jpeg / .jpg images, and a DESC.TXT file (which we'll get to later). The
boot animation cannot be consisted of a .gif or any video of any kind (.MP4, .AVC, .AVI, etc) otherwise the animation will not
play.
Next, take some time to construct your animation in the video editor you should've downloaded ( if you do not have the time,
money, or HDD space to download a video editor needed make a boot animation, you can send it to me and I will happily make it
for you, just know i cannot make 20 animations at the same time. Gather the files needed to construct your animation, compile
them in a simple .ZIP file and upload it to Google Drive or File Dropper, then send me the link to it and once done, i will
send you your new boot animation, free of charge of course )
Once done, render the video you've made as an image sequence ( this setting is different/non-existent on some video editors,
hense why i prefer Sony Vegas ) to a simple and easy place to remember and make sure you render them with a name sequence
similar to the example below.
Example:
BOOT_00001.jpeg
BOOT_00002.jpeg
BOOT_00003.jpeg
BOOT_00004.jpeg
BOOT_00005.jpeg
BOOT_00006.jpeg
CONTINUE DOWN BELOW!
DESC.TXT file:
The DESC.TXT file can be the most complicated part for some users, it involves code that basically outlines how the animation plays,
the amount of images to play, image size, frame rate, etc. It can get pretty confusing. However once you do it once or atleast twice,
it becomes pretty easy. I will now show you how to make your DESC.TXT file.
Here's an example from my Samsung Galaxy S4:
1080 1920 30
p 1 0 part0
p 0 0 part1
To newbies, it can look really complicated at first glance. But it's what these values mean that make the DESC.TXT file the easiest
part of the whole tutorial. Here's the most basic explanation I can give of what these values mean ( All values below are ripped from
the example stated above, values may differ depending on device ):
1080 = Animation Width ( Your devices screen width )
1920 = Animation Height ( Your devices screen height )
30 = Frame rate / FPS ( Frames Per Second ) ( For most boot animations, 30-35 is the best FPS to have )
p = First animation part
1 = How many times this animation part loops ( in this case, only once )
0 = An amount of pauses after the part is finished playing ( in this case, none ) ( Note that the number of pauses can only range from 0-10 )
part0 = Name of the folder where the images for the first part are stored ( Preferably, keep the name of the folder part# )
p = Second animation part
0 = Defines that it loops until Android starts
0 = Defines a pause
part1 = Name of the folder where the images for the second part are stored ( Preferably, keep the name of the folder part# )
In a nutshell, that's how you make the DESC.TXT file for your boot animation.
TYPES OF BOOT ANIMATIONS:
If you are making a one part boot animation, continue down below.
If you are making a multi part boot animation, continue down to 'Multi Part Boot Animations'
One Part Boot Animations:
For one part boot animations, you will only need one folder named 'part0', place all your images into that folder. After that, scroll up
a bit for instructions on how to make the DESC.TXT file.
Here's an example from an older boot animation on my Samsung Galaxy Tab S:
2560 1600 35
p 5 0 part0
Again, these values may differ depending on your device, but for one part boot animations, that is typically what the DESC.TXT file will look
like. This screenshot is what your one part boot animation should look like.
Multi File Boot Animations:
For multi part boot animations, it requires more than one animation part ( part1 or even a part2 ), for this tutorial, I will not go passed
2 animation parts, if your animation is more than 2 parts, pls leave a comment down below. It also requires more code in your DESC.TXT file.
Continuing to use the example from my Samsung Galaxy S4's DESC.TXT file:
1080 1920 30
p 1 0 part0
p 0 0 part1
If you are having troubles at the DESC.TXT file, please refer to the 'How to make DESC.TXT file' section above. In this case, we only have 2
animation parts, so this is what your boot animation file should look like on your pc.
Depending on how you wrote your DESC.TXT file, you may have to do some thinking on your own to determine how to finalize your respective devices boot animation. But for me, part1 loops until Android finishes booting, so i had to go down to the end of the folder i rendered my animation in and select the images that i felt should go into part1 ( again, DESC.TXT files and the amount of images in a part can vary depending on device ). At the end, the boot animation turned out exactly how i intended. For the part1 folder, you may have to do some thinking on your own to get all the images set in their correct directories.
So after all that, you might be asking yourself, "How do we install the boot animation?" Your gonna find out right now.
Installing / Packaging your boot animation:
Once you have your animation set and ready to go, follow the screenshots below, afterwards, you're file will be ready to install.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now that you've done that, copy it to your devices internal storage or a Micro SD card ( if your device has Micro SD card slots on it )
preferably for transfering to internal storage, copy it into your 'Download' folder.
Next, download the boot-animations.apk and install it onto your device ( you should know how to do that, if not, run a Google search ). After
installing it, click on the small '+' icon in the bottom right hand corner of the frame, click 'Install from local storage', and browse your
phones internal storage/sd card for your bootanimation.zip file. Once the application has pulled the animation up, it is recommended to make sure you did everything right by clicking on the play button on the top, it will give you a preview of your boot animation. After confirming you've done everything correctly, you can click the '+' icon below to the right of the preview box, un-check 'Create A Backup Before Installing', then click install. Wait for the installation to complete.
After completion, you should get a 'Success' message in the notification bar.
Before rebooting, click on the small '+' icon, then click 'Manage Current Bootanimation' then click 'Apply' 3 times and let it process. This
is because on some devices, the animation wont play without performing this step.
After all that, reboot your device and enjoy your new boot animation!
If you had ANY troubles at all while following this tutorial, post a comment down below and I will be happy to help you!
Downloads:
S4 Boot Animation: filedropper.com/bootanimation
Boot-Animations.apk: filedropper.com/boot-animationsapk
7Zip: 7-zip.org/download.html
KingOfTheNet said:
NOTE: This tutorial REQUIRES root access for it to work. If you do not have root access you need to get it for this
tutorial to work ( If you are confused on what root is and/or how to install it, you can run a simple Google search )
WARNING: If you have already rooted your device, your warranty is already void. If you have not rooted your device, keep
in mind that rooting and installing custom recoveries, roms, kernels, etc will void your warranty, no way around it. Unless
you do not want to void your warranty, then do not continue with this tutorial.
DISCLAIMER:I WILL NOT be responsible for any possible damage that may/may not occur to your device by following this
tutorial, you decided to go through with it, therefore it is YOUR FAULT if YOU damage YOUR device. If you point the finger
at me for any damage caused to your device by following this tutorial, myself and the community will laugh at you.
You'll need a few things before we get started:
1) A Windows Computer
2) Your device & your respective device's USB charging cable
3) 7Zip / Winrar installed on your computer
4) CHECK TO MAKE SURE YOUR DEVICE HAS ROOT ACCESS
5) A Web Browser, and, preferably, a video editing software that can render image sequences (Preferably Sony Vegas)
6) Also check to make sure your devices rom supports custom boot animations, if it doesn't, feel free to install a custom
rom that does support custom boot animations.
Lets Get Started!
You'll need to 'generate' an idea in your head of what you want the animation to look like on your device, thinking doesn't
take much effort now does it?
Go to your web browser and download all images, videos, gifs, etc you need for your animation. But keep in mind that the boot
animation is consisted of many individual .png / .jpeg / .jpg images, and a DESC.TXT file (which we'll get to later). The
boot animation cannot be consisted of a .gif or any video of any kind (.MP4, .AVC, .AVI, etc) otherwise the animation will not
play.
Next, take some time to construct your animation in the video editor you should've downloaded ( if you do not have the time,
money, or HDD space to download a video editor needed make a boot animation, you can send it to me and I will happily make it
for you, just know i cannot make 20 animations at the same time. Gather the files needed to construct your animation, compile
them in a simple .ZIP file and upload it to Google Drive or File Dropper, then send me the link to it and once done, i will
send you your new boot animation, free of charge of course )
Once done, render the video you've made as an image sequence ( this setting is different/non-existent on some video editors,
hense why i prefer Sony Vegas ) to a simple and easy place to remember and make sure you render them with a name sequence
similar to the example below.
Example:
BOOT_00001.jpeg
BOOT_00002.jpeg
BOOT_00003.jpeg
BOOT_00004.jpeg
BOOT_00005.jpeg
BOOT_00006.jpeg
CONTINUE DOWN BELOW!
DESC.TXT file:
The DESC.TXT file can be the most complicated part for some users, it involves code that basically outlines how the animation plays,
the amount of images to play, image size, frame rate, etc. It can get pretty confusing. However once you do it once or atleast twice,
it becomes pretty easy. I will now show you how to make your DESC.TXT file.
Here's an example from my Samsung Galaxy S4:
1080 1920 30
p 1 0 part0
p 0 0 part1
To newbies, it can look really complicated at first glance. But it's what these values mean that make the DESC.TXT file the easiest
part of the whole tutorial. Here's the most basic explanation I can give of what these values mean ( All values below are ripped from
the example stated above, values may differ depending on device ):
1080 = Animation Width ( Your devices screen width )
1920 = Animation Height ( Your devices screen height )
30 = Frame rate / FPS ( Frames Per Second ) ( For most boot animations, 30-35 is the best FPS to have )
p = First animation part
1 = How many times this animation part loops ( in this case, only once )
0 = An amount of pauses after the part is finished playing ( in this case, none ) ( Note that the number of pauses can only range from 0-10 )
part0 = Name of the folder where the images for the first part are stored ( Preferably, keep the name of the folder part# )
p = Second animation part
0 = Defines that it loops until Android starts
0 = Defines a pause
part1 = Name of the folder where the images for the second part are stored ( Preferably, keep the name of the folder part# )
In a nutshell, that's how you make the DESC.TXT file for your boot animation.
TYPES OF BOOT ANIMATIONS:
If you are making a one part boot animation, continue down below.
If you are making a multi part boot animation, continue down to 'Multi Part Boot Animations'
One Part Boot Animations:
For one part boot animations, you will only need one folder named 'part0', place all your images into that folder. After that, scroll up
a bit for instructions on how to make the DESC.TXT file.
Here's an example from an older boot animation on my Samsung Galaxy Tab S:
2560 1600 35
p 5 0 part0
Again, these values may differ depending on your device, but for one part boot animations, that is typically what the DESC.TXT file will look
like. This screenshot is what your one part boot animation should look like.
Multi File Boot Animations:
For multi part boot animations, it requires more than one animation part ( part1 or even a part2 ), for this tutorial, I will not go passed
2 animation parts, if your animation is more than 2 parts, pls leave a comment down below. It also requires more code in your DESC.TXT file.
Continuing to use the example from my Samsung Galaxy S4's DESC.TXT file:
1080 1920 30
p 1 0 part0
p 0 0 part1
If you are having troubles at the DESC.TXT file, please refer to the 'How to make DESC.TXT file' section above. In this case, we only have 2
animation parts, so this is what your boot animation file should look like on your pc.
Depending on how you wrote your DESC.TXT file, you may have to do some thinking on your own to determine how to finalize your respective devices boot animation. But for me, part1 loops until Android finishes booting, so i had to go down to the end of the folder i rendered my animation in and select the images that i felt should go into part1 ( again, DESC.TXT files and the amount of images in a part can vary depending on device ). At the end, the boot animation turned out exactly how i intended. For the part1 folder, you may have to do some thinking on your own to get all the images set in their correct directories.
So after all that, you might be asking yourself, "How do we install the boot animation?" Your gonna find out right now.
Installing / Packaging your boot animation:
Once you have your animation set and ready to go, follow the screenshots below, afterwards, you're file will be ready to install.
Now that you've done that, copy it to your devices internal storage or a Micro SD card ( if your device has Micro SD card slots on it )
preferably for transfering to internal storage, copy it into your 'Download' folder.
Next, download the boot-animations.apk and install it onto your device ( you should know how to do that, if not, run a Google search ). After
installing it, click on the small '+' icon in the bottom right hand corner of the frame, click 'Install from local storage', and browse your
phones internal storage/sd card for your bootanimation.zip file. Once the application has pulled the animation up, it is recommended to make sure you did everything right by clicking on the play button on the top, it will give you a preview of your boot animation. After confirming you've done everything correctly, you can click the '+' icon below to the right of the preview box, un-check 'Create A Backup Before Installing', then click install. Wait for the installation to complete.
After completion, you should get a 'Success' message in the notification bar.
Before rebooting, click on the small '+' icon, then click 'Manage Current Bootanimation' then click 'Apply' 3 times and let it process. This
is because on some devices, the animation wont play without performing this step.
After all that, reboot your device and enjoy your new boot animation!
If you had ANY troubles at all while following this tutorial, post a comment down below and I will be happy to help you!
Downloads:
S4 Boot Animation: filedropper.com/bootanimation
Boot-Animations.apk: filedropper.com/boot-animationsapk
7Zip: 7-zip.org/download.html
Click to expand...
Click to collapse
Hello,
This forum is for newbies finding their way around XDA Developers, it isn't a development section.
Please post your tutorial here Miscellaneous Android Development Forum, the users looking for the same could use your help.
Thread closed!
Regards
Vatsal,
Forum Moderator.

[Help] [Boot Animation] Can't get second part of boot animation to work

I'm making a custom boot animation for my Samsung Galaxy S4 running Lineage OS 14.1 and only the first part works. I have desc.txt set up like this:
Code:
1080 1920 30
c 1 60 part0
c 0 0 part1
part0 works as intended, but when it should go to part1 it's just a black screen until the device boots. All my images are .png files with a bit depth of 32. In the part0 folder there is one image, 00000.png, and in the part1 folder there are 360 images, named 00000.png through 00359.png sequentially. part0 is supposed to be displayed for 2 seconds (and it does) before the animation moves on to part1, which is supposed to loop until the device finishes booting, but it doesn't display at all. Can someone tell me what I'm doing wrong? If it makes a difference, the image in part0 was made in Gimp and the images in part1 were made with Processing and converted from 24 bit depth to 32 bit depth using imagemagick. Download link for bootanimation.zip: https://goo.gl/u7saf7

Categories

Resources