[Q] Custom bootanimation on CM12 Nightly - ONE Q&A, Help & Troubleshooting

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?

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

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

[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] Boot Animation doesn't completely animate.

Hello,
I have created my first boot animation, however it only plays for a second then the screen will flash white, and then it will animate again (it doesn't finish the animation at all, for the part1 set of images). Attached is the bootanimation.zip file, for all who would like to test it.
Contents of desc.txt:
Code:
720 1280 30
p 1 0 part0
p 0 0 part1
Any ideas what could cause a white screen intermittently within the animation?
Sprint Galaxy S3
I'm on stock rooted rom, with some customizations to framework-res.apk and SecMms.apk (odexed).

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

Categories

Resources