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

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.

Related

How to make an Boot animation[tutorial]

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

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

[GUIDE]How to create custom boot animations - Wrap Up of Famous Articles + error fix

[Rooted Phones Only]​or if you have adb or acces to root!​
Hi,
so there are many threads regarding custom boot animations , but all of them are missing 1 or 2 information which others specify , so I decided to make a thread that contains all of the needed info (and of course I have a 50% chance of missing some information just as others did).
Ok so lets begin in a step by step tutorial:
Step 1
Creating Folders:
So the first thing you wanna do is make the folders where all the images are going to be located.
You can name the folders ANYTHING! and just to make it easier , don't use spaces , or else you might have to use quotation marks.
If you're creating an animation that loops , create 1 folder.
If you're creating an animation , followed by other animation that loops , then create 2 folders.
If you have multiple animations , such as : "Animation , Loop, Animation , Infinite Loop". Create as many folders as you want.
Looping doesn't mean infinite loop , you can set an animation to loop for a period of time , not necessarily forever!
Step 2
The Images:
Ok so you're gonna need to create the images in order to make them available for your device.
So you are going to decide the dimensions of your device , go to http://www.gsmarena.com/ (gsm arena , for non registered users) search for your device and under the display check your resolution , I'm gonna use 320x480 as that's my mobile's display size.
320 = width and 480 = height.
Prepare an image editing program , I'll use Photoshop , GIMP is an alternative but since I have photoshop , why not use it?
Create as many images as you want that you want them to be the animation , just like you are creating a gif , but frames are pictures , so each frame must be a different picture. Make sure you save them as .png and that they do not exceed 300 image in total.
Organize the pictures in folders , the animation into folder 1 and the looping animation into other folder , and others into other folders.
Make sure you name them in a sequence , such as : 01 02 03 , or 001 002 003 , or picture1 picture2 ...etc The devices uses Sort By Name to determine which goes first ,so the order the pictures are put in on your PC's screen ,is the same as the boot animation order.
It doesn't matter if the folders have the same or different sequence , as long as they are sequenced correctly.
Example:
Folder 1: 01 02 03 04 05
Folder 2: 06 07 08 09
This method is better because you can keep track of your image count and you can determine which folder to go first.
Now you're ready to the next step.
Step 3
Creating the DESC.TXT
Desc.txt is the file that the android reads in order to know which animation to play first.
this is how you create your Desc.txt
First make sure that you have Notepad++ installed , as notepad and wordpad can't run it correctly.
In Notepad++ go to Edit>EOL Convertion>UNIX Format , this way the android can read it perfectly , avoiding any errors.
Now this is how a Desc.txt would be :
Line 1 = Width Height FrameSpeed
Line 2 = p PlayTime FolderSwitchSpeed FolderName
Line 3 = p PlayTime FolderSwitchSpeed Folder2Name
In the first line you're going to put the resolution you chose for your device , I'll put 320 480 , then I'd put 20 Frames per second , so it plays at a normal speed , you can use anything from 10~30 , 10 = Slow , 30 = Fast. 20= Medium.
This is what my file looks like now:
320 480 20
Click to expand...
Click to collapse
Line 2 is going to have the folder's name and play duration , you must start by typing "p" without the quotation marks ( " " ). Followed by the Playtime , if you want it to play once , type 1 , play twice , type 2 , Infinite Loop , type 0 .... and so on. Next is the folder switch speed , which means how much should the animation pause between switching from folder to folder. I'll always use 0 so switching becomes instant. Then you type the folder's name , such as Main , if you have spaces (not recommended) use "Folder Name". My Desc now shows:
320 480 20
p 1 0 Main
Click to expand...
Click to collapse
Now the 3rd line (if present) is the same as Line 2 , but we'll set it to loop now , so instead of p 1 0 , I'm using p 0 0. so my Desc now says:
320 480 20
p 1 0 Main
p 0 0 Loop
Click to expand...
Click to collapse
Now , most of the Guides miss this step , YOU HAVE TO ADD AN EMPTY LINE IN THE END! because the final line is always ignored , so if you leave it as blank , the blank will be ignored , if you set an animation sequence here , the sequence would be ignored resulting of bad things :'(
Now you are done.
Step 4
Packaging:
Now you need to use winrar to pack them , because it has the features that we want.
Select all the folders that contain your animation and the Desc.txt , and right click them , click on Add to Archive.
On the left choose the format to "zip" , instead of rar , and in the compression method choose "store".
Name it as anything , but after that you have to name it bootanimation.zip
Step 5
Copying to your Mobile
Now you are ready and you have your animation , you need to copy it to your device , your phone must be rooted in order to access the System Files and be able to write on them.
Rename your zip file into bootanimation.zip , and put it on an SD Card. Then you can use your mobile and your preferred File Explorer to put it in the right destination.
You can use Root Explorer , or ES File Explorer (recommended).
Root Explorer:
Make sure the memory is set to R/W by click on the button that says "mount r/w"
ES File Explorer:
Go to the settings , Scroll to the bottom and open Root Settings , make sure ReMount as Root is selected so you have root Write Access.
Now , you have to place the bootanimation.
If your mobile phone doesn't have an animation , or if it uses the Default "Android animation" which is the blue Android Text Shining , then you have to put the bootanimation.zip into /Data/Local/ , from there it will be automatically read.
If you own Samsung , If you're lucky you can find it in /System/Media/ , Or you can find animation files that are NOT EDITABLE! sorry about that , just search in your mobile's section here on the XDA forums.
If you Own hTC , then you'll probably find it in /system/custom/resources .
If you couldn't find it anywhere , use the search and search for bootanimation.zip
I believe that you can use the /Data/Local/ method with any mobile except for hTC....because /Data/Local/ has higher priority.
If you find bootanimation without any extensions , do not edit it , you might loose your boot animation and crash your mobile , but don't worry , you'll only loose the ability to boot an animation , and you'll just have black screen
After you place your bootanimation.zip open its properties and make sure the following is checked:
Read
Write
Execute
in ES File Explorer you'll have three checkboxes under each one , and in the properties it should then say rwx rwx rwx (Read Write eXecute). This step is also forgotten by some guides.
Now just reboot your phone and you're good to go!
If I missed anything just let me know.
Check out some of these animations that I made , I won't give download links to them , just a gif that you may copy.
Regarding the Sound on Bootanimation
It Won't work , because there are 2 methods , :
1-playing an mp3/ogg on starting init.rc which startes soundboot.
2-mp3 can't be read on boot , soundboot corrupts the OGGs it is associated with.
there's one method which is using Java to build a file for the soundboot which I'm not sure yet about , which is using the media player , but it won't probably work because the media player hasn't been launched yet , will give you a heads up.
(for how to make your own media player for that purpose , check out thenewboston on youtube , he has 200 episodes of JAVA Android.)
Update...these methods work with any mobile except for mobiles Running Android on SD via Haret or BADA. it should work fine on android phones.
To try it out on your phone , your phone must be rooted and follow this post:
http://forum.xda-developers.com/showpost.php?p=8274824&postcount=2
These animations are on my Android version of my hTC HD Mini , so thats why they have the Windows Logo
{
"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"
}
Click to expand...
Click to collapse
new animations by me
Cyanogen 7 Red Flare - thethiny 320x480
Cyanogen 7 based on Cyanogen 9 - thethiny 320x480
Sonic vs Shadow - thethiny 320x240
Click to expand...
Click to collapse
Links:
WinRar
Notepad++
Photoshop
List of Some Boot Animations
Need to know how to get the sounds going, that's what you and all of them forget (sorry) it's not all about the animation without the sound right?? I've played with about 5 boot animations and all work fine but don't have sound, I'm with HTC Viper 2.0 ROM
Sent from my HTC One S using xda premium
TheCrow1372 said:
Need to know how to get the sounds going, that's what you and all of them forget (sorry) it's not all about the animation without the sound right?? I've played with about 5 boot animations and all work fine but don't have sound, I'm with HTC Viper 2.0 ROM
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
even though I do love this too , but I didn't include this because there is no working version of sound ...I didn't forgot , just didn't find , I'll keep you updated.
thethiny said:
even though I do love this too , but I didn't include this because there is no working version of sound ...I didn't forgot , just didn't find , I'll keep you updated.
Click to expand...
Click to collapse
What about their method, I've tried but maybe u guys can figure it out?
http://forum.xda-developers.com/showthread.php?t=2133856
Sent from my HTC One S using xda premium
TheCrow1372 said:
What about their method, I've tried but maybe u guys can figure it out?
http://forum.xda-developers.com/showthread.php?t=2133856
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
trying it now ...meanwhile , This has Worked for me , but it's complicated , try using it as a temp solution (works one time then gets deleted)
http://forum.xda-developers.com/showpost.php?p=8274824&postcount=2

[Q] Custom bootanimation on CM12 Nightly

Hello DEVs,
I have "cm-12-20150113-NIGHTLY-bacon.zip" installed on my OPO. i have a trouble flashing custom Boot Animation.
I have created custom Boot Animation and here are the details for more understanding:
LIST OF FOLDERS and FILES in it
- Loop --- 1.jpg to 28.jpg (1080x1920)
- Intro --- 29.jpg to 64jpg (1080x1920)
- end ---- 65.jpg and 66.jpg (1080x1920)
- end2 -- 67.jpg (1080x1920)
- desc.txt
Here is some more info about it..
In the Intro Folder, it starts from blank BLACK screen and one by one some pics displayed on each corner of the devices and arranged in the entire device like Grid or Collage.... in the centre a text comes with ". . ." as Suffix.
In the Loop Folder, everything remains there but ". . ." just in the loop.
In the end folder all the images fade away and screen becomes black again and than it shows on large full screen image.
In the end2 folder again the full screen images fade away and screen become blank.
the content of Desc.txt file is:
"1080 1920 30c 1 30 introc 1 0 loopc 1 30 endc 1 0 end2"
I than zipped everything on my windows 7 machine, and than move the file to "\system\media" folder
Now, since,i have zipped it but when i am flashing it from recovery mode using TWRP, it just failing. doesn't matter whatever i try.
I Changed the permission to RW-R-R as well but still the same,
can someone please help me?

[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

Categories

Resources