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
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
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.