• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

ranchu-panchu

Senior Member
Nov 16, 2016
144
4
Hi,

After removing bootanimation, I get "android" text on screen (shading and appearing).
I'm not sure now if it was always there (after the bootanimation) or if it replaced it.
I don't understand where it comes from , there are no png files in file system.

Thanks for any idea,
Ranchu
 

<JohnCarter>

Senior Member
Jun 1, 2012
761
1,770
Ranchi
Hi,

After removing bootanimation, I get "android" text on screen (shading and appearing).
I'm not sure now if it was always there (after the bootanimation) or if it replaced it.
I don't understand where it comes from , there are no png files in file system.

Thanks for any idea,
Ranchu

That happens if the android system cannot either find the bootanimation.zip on its designated place, or if the zip hasn't been compressed properly.
The 'android' text is essentially the default bootanimation that the android os contains.
 

CabrioBob

New member
Nov 20, 2016
1
0
long time lurker, but finally first post.

I tried to create a boot animation without luck,
it won't even let me put it in the system/media folder.

Symptoms:
- all other downloaded bootanimation.zip files do work.
- the original bootanimation.zip file on my device contains indexed 8-bit png files.
- creating one with bootanimation factory fails.
- exporting to GIF and then creating one with bootanimation factory also fails.
- copy / paste bootanimation.zip from within recovery mode fails.
- adjusting an existing boot animation fails.

My device:
Nexus 7 2013
marshmallow 6.0.1 (MOB30X)
rooted, bootloader unlocked
installed Timur's Kernel v4.0 for Android 6.0.1 MOB30X
using FX file explorer (root add-on)

My created (failing) bootanimation.zip file:
https://drive.google.com/open?id=0B_0G72BOLCS4bVFKUXFHLWMzZnc

I must be doing something wrong ....
 

rickrvo

New member
Aug 17, 2012
4
1
video bootanimation

Hi,

I´ve created a bootanimation.zip file using mp4 files and videodesc.txt which I modified from the original bootanimation from marshmallow on my Moto Maxx. I got it to work on OS 6.0.1 that I was using.

Now i´ve updated to Nougat (Resurrection Remix OS) 7.1.1 and placed that bootanimation.zip file on /system/media and set the permissions and it doesn't work anymore... Do you know if Nougat doesn't support .mp4 animations?

my bootanimation.zip file is like this:
01_intro.mp4
02_loop.mp4
videodesc.txt

videodesc.txt is this:
1 0
0 1

(this works on Marshamallow 6.0.1)
 

Franivelius

Senior Member
Apr 5, 2012
71
18
Buenos Aires
Need help

I am trying to install a custom boot animation on a Moto G Falcon with Nougat. Droping the zip file in System/media...
I succesfully changed the initial "unlocked bootloader warning" logo but it jumps to the default "android" boot animation after that.
My animation its meant to be fairly simple, with five images and 5 seconds in each one of them.
desc.txt (attached) its:
Code:
720 1280 1
p 0 5 part0
c 1 0 part1
c 0 0 part2
part0 folder contains the images and the part1 and part2 folders are empty.
I also attached the bootanimation.zip.
Any ideas?

SOLUTION:
Put the zip file in data/media and now its working :)
 

Attachments

  • bootanimation.zip
    3.5 MB · Views: 18
  • desc.txt
    49 bytes · Views: 17
Last edited:

Cursed

Senior Member
Oct 10, 2015
107
24
Tanta
amrba.netlify.app
Awesome thread , buddy but I want to do something specific with my bootanimation but I don't know if it is possible or not so if I want to play a specific part of the bootanimation only if the bootup is done what should I write in desc.txt? .
to clarify my point , let's say I have part1,part2 and part3
I want part1 to be the beginning then I want part 2 to repeat its self till the bootup is finished and in this specific moment I want part 3 to be played and when it finishes I want the system to proceed as usual. @<JohnCarter>
 
Last edited:

mishko

Senior Member
Apr 27, 2011
600
114
Hi! Since this is an old thread I'm probably not gonna get an answer. But I'm throwing my query out there anyway. Tried to make a bootanimation but it doesn't work. Can someone with a more knowledge take a look at my zip and see whats wrong with it? Thank you! :)
 

Attachments

  • bootanimation.zip
    7.3 MB · Views: 51

johnrex

New member
Jun 7, 2017
1
0
www.sagipl.com
thanks

Install Android boot animations from scratch tutorial was awesome. every points very clear and very useful.

---------- Post added at 09:46 AM ---------- Previous post was at 09:37 AM ----------

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 ?



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 .

d17e80fd.png




EXPLANATION OF desc.txt

2cfbc55c.png


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

p1_zpsugp31kmt.png


p2_zpsdp0malu2.png


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 good information
 

chugs

Senior Member
Feb 16, 2017
217
45
So I've been trying to make my own boot animation for a while. I have gotten a complete and working animation but I still have it at 2560x1440 I know that I can crop off alot of these blank black pixals, which would leave me at a much smaller file size and thus a smooth animation not a choppy one. However whenever I do crop the images down the no longer are centered on the screen. Could anyone help point me down the correct path so I can reduce the image size without losing screen positioning.
 

ip0wnn00bs

New member
Jun 13, 2017
2
0
Thanks for this guide. Sadly, I don't have photoshop and this guide doesn't specifically mention how to get the images out of a video and if I actually need to make the background black for the image or not for it. I was hoping to get a whole video to fit the my Nexus 6's screen. I'm not really sure if I can just separate the video into frames (or how if that's possible) and resize/save them.

Can someone please help me? I want to get this video as my bootup animation and audio:
on youtube /watch?v=WgWWWu4MvcE
 

vihitshah

Senior Member
Oct 7, 2014
55
2
MUMBAI
whenevr i try to replace the boot animation the error comes stating that the operation failed. i couldnt replace the boot animation because i couldnt delete the existing one.
 

Droidriven

Senior Member
Jan 27, 2014
14,757
5,142
NC
Verizon Samsung Galaxy S III
HTC Thunderbolt
whenevr i try to replace the boot animation the error comes stating that the operation failed. i couldnt replace the boot animation because i couldnt delete the existing one.
You have to have a rooted device, with root access in developer options set to "apps" or "apps and adb" then install an app that has a root explorer feature then enable read/write(r/w) permissions.

Are you rooted?

Do you have the newest version of Magisk or SuperSU installed?

Do you have an app with root explorer installed? I recommend ES File Explorer or the Root Browser app by JRummy.

Have you enabled root explorer?

Have you set r/w permissions so you can write to the /system partition?

Sent from my LGL84VL using Tapatalk
 

vihitshah

Senior Member
Oct 7, 2014
55
2
MUMBAI
You have to have a rooted device, with root access in developer options set to "apps" or "apps and adb" then install an app that has a root explorer feature then enable read/write(r/w) permissions.

Are you rooted?

Do you have the newest version of Magisk or SuperSU installed?

Do you have an app with root explorer installed? I recommend ES File Explorer or the Root Browser app by JRummy.

Have you enabled root explorer?

Have you set r/w permissions so you can write to the /system partition?

Sent from my LGL84VL using Tapatalk

ya i was rooted obviously i had installed a custom rom. IDK what the issue was i guess there was some issues with rooting or something i re rooted it and then the problem got solved . Thanks
 

Droidriven

Senior Member
Jan 27, 2014
14,757
5,142
NC
Verizon Samsung Galaxy S III
HTC Thunderbolt
ya i was rooted obviously i had installed a custom rom. IDK what the issue was i guess there was some issues with rooting or something i re rooted it and then the problem got solved . Thanks
Not all ROMs come with root installed, some have to be rooted. What you posted told me you weren't properly rooted, that's why I covered the bases for using root.

Sent from my LGL84VL using Tapatalk
 

chuzzxx

New member
Oct 11, 2013
1
0
Hi, I'm trying to do a bootanimation for a friend, I almost have it, it's an audi logo for the browser,a mirror browser for the car,there are to root it
I need a detail, you know how I have to do to make it
Is there a fixed image at the end of the boot? that does not loop, that a still image remains at the end?the code is
1 800 480 30
2
3 p 1 0 part0
4 p 0 0 part1
 

Top Liked Posts

  • There are no posts matching your filters.
  • 337
    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

    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 .

    d17e80fd.png


    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

    EXPLANATION OF desc.txt

    2cfbc55c.png


    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

    p1_zpsugp31kmt.png


    p2_zpsdp0malu2.png


    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 )
    9
    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....:)
    6
    Thanks for the tutorial. I'll try it soon.
    3
    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??????
    3
    .....

    m not gettin compression method "store" in 7 zip... :confused: