[Boot Animations + Tutorial] for 2.1+

Search This thread

MontAlbert

Senior Member
Jan 10, 2007
2,655
198
i am having a few issues making my own animation- just starting off simple at the moment- i just edited the colours of the original animation and replaced them in the zip file. thanks to jtz100 i found out i had to rezip it using "store" and not normal in winrar....

But the problem is that now i have a white screen at the start of each animation... any ideas of why this is happening? I didnt change the size of images- used the original dext file as the same size images and same number of images as the original...

i have attached it here so maybe someone can help....
anyone?
thanks
 

Attachments

  • Montalbertboot.zip
    3.1 MB · Views: 123

drater

Senior Member
Jul 24, 2009
69
2
didnt have time for a proper look or to test it but you have a file "thumbs.db" in your "part0" and "part1" folders, this may be causing it as its only meant to be the png files in the folders, cant say for certain though
 

MontAlbert

Senior Member
Jan 10, 2007
2,655
198
thanks mate- that fixed it. Bloody windows sometimes. If only i could get the shared folder to work in virtualbox Linux.....
 

MINUS Stl

Senior Member
Jul 1, 2008
591
35
St. Louis
www.weplaycod.net
Yep. I will say this.... Making the animation is easy. It's the damn desc.txt file that's the hard part. That thing can be so picky. One bootanimation.zip may work, but change the images (keeping filenames, folders, and desc.txt the same) and your new .zip may not work. It's quite frustrating. :mad:
 

Party_Grunt

Member
Dec 3, 2008
10
0
Would anyone happen to know the max size file size for the G1
(Im running Cannon202 v1.2 eclair, no danger SPL)
 

drater

Senior Member
Jul 24, 2009
69
2
Yep. I will say this.... Making the animation is easy. It's the damn desc.txt file that's the hard part. That thing can be so picky. One bootanimation.zip may work, but change the images (keeping filenames, folders, and desc.txt the same) and your new .zip may not work. It's quite frustrating. :mad:

yeah, it can be, if you need any help with that ill be happy to help
 

drater

Senior Member
Jul 24, 2009
69
2
well I under stand the resolution is the first to numbers but the rest...there seems to be no rhyme or reason to it. 'part 0' is supposedly the animation that doesn't loop, but in my openECLAIR animation, all the images are in 'part 0' and it continuously loops no problem.


this might help:

The original file looks like this: 480 427 30p 1 0 part0p 0 10 part1
-480 - stretched width of the animation (my orig files were 256x256 pixels)
-427 - stretched height of the animation
-30p - this controlled the speed of both parts of the animation
-1 - this defined how many times part0 of the animation looped
-0 - saw no change when altering this number
-part0 - folder containing first part of the animation
-p - this was a bit confusing as there is no space between the words "part0" & the "p". I tried adding a space and changing this number -> "part0 30p". I expected this to change the speed of the second part of the animation, but there was no change as far as I could tell.
-0 - this defined the number of times part1 of the animation looped (0=infinite)
-10 - saw no change when altering this number
-part1 - folder containing second part of the animation

found that at droidforums posted by "bots"
 
  • Like
Reactions: saifullah90

drater

Senior Member
Jul 24, 2009
69
2
yeah, that might help. If I was at home I'd post up the desc.txt for openECLAIR for comparison.

Ooh! 4shared! :D

Here's from my desc.txt

320 480 15
p 0 0 part0

The png's are 320x480

ah, i see our part0 loops continuously because:

320 480 15
p 0 0 part0

that zero is usually a one, and when its zero it loops continuously.. guessing you probably figured that bit out from my last post though? i learned something anyway :D

im gonna try adding a "part2" folder, see if i can make the desc.txt work with more than just 2 folders. might come in handy.. i dont know. Edit: did not work
 
Last edited:

drater

Senior Member
Jul 24, 2009
69
2
Cool. Thanks, man. I appreciate it.

i have tried everything i could think of, im sure its the size of the zip. i did not know there was a limit on it, but its the only thing i can think of stopping this from working.
edit: just noticed something really obvious...
i feel really silly now... your "part0"... says "part 0"
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    It's working!!! thank you

    and it is looking nice and running smooth, excellent.

    now can you tell me what i did wrong? with what tools do you work?
    i am on a Windows based system, and would like to work there :)

    The images were fine. It was all in the desc.txt. It has to be formatted the way I described earlier.

    First line is size and speed
    480 800 15

    Next lines are for the folders and how they "play"
    p 0 1 partx, x being whatever the folder is.

    There has to be a blank line at the end. If you use notepad++, you will see the blank line.
    encode.jpg

    Then make sure it is saved as a unix file with ansi encoding.

    Unix.jpg

    Sent from my ADR6300 using XDA App
    1
    Rename to "bootanimation.zip" then just use adb to push these to /system/media All working on G1, may need to edit desc.txt for different screen sizes

    This is the nexus one boot animation inverted
    NexInvert.zip *updated*


    This is a very simple, very quickly made android loading animation
    AndLoad.zip


    Another quick one, pretend sdcard format..
    format.zip


    Heres a Starfield one
    Starfield.zip

    heres one i made for trystlore
    umberella2.zip


    Heres some swirling smoke
    smokeswirl.zip

    I'm not sure what to call this one. Just a simple animation with android in the back :)
    a1.zip




    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" 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 (i think /data/local also works)

    Explanation of the "desc.txt"

    Tzira said:
    320 480 15
    p 1 150 android
    p 50000 1 last

    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

    any questions, ask
    any requests, ask
    1
    well I under stand the resolution is the first to numbers but the rest...there seems to be no rhyme or reason to it. 'part 0' is supposedly the animation that doesn't loop, but in my openECLAIR animation, all the images are in 'part 0' and it continuously loops no problem.


    this might help:

    The original file looks like this: 480 427 30p 1 0 part0p 0 10 part1
    -480 - stretched width of the animation (my orig files were 256x256 pixels)
    -427 - stretched height of the animation
    -30p - this controlled the speed of both parts of the animation
    -1 - this defined how many times part0 of the animation looped
    -0 - saw no change when altering this number
    -part0 - folder containing first part of the animation
    -p - this was a bit confusing as there is no space between the words "part0" & the "p". I tried adding a space and changing this number -> "part0 30p". I expected this to change the speed of the second part of the animation, but there was no change as far as I could tell.
    -0 - this defined the number of times part1 of the animation looped (0=infinite)
    -10 - saw no change when altering this number
    -part1 - folder containing second part of the animation

    found that at droidforums posted by "bots"
    1
    Ok i have tried it now for hours and i have read the full tread and everything but i am stuck... it wont work at all.

    is there an exact format to be used to make it work? because i tried every setting with ps cs3 as png but one time i got an white screen and then an other time an blackscreen... has it to be smaller than the display? or is there any limitation i miss?

    please help i don't know what i am doing wrong...

    wanted to help with a request... (even if i don't get it :p (the jugalo thing?! :confused:))

    I messed around with the file attached

    I optimized your pngs to reduce the file size. The desc.txt was all wrong, sort of.

    You have
    480 800 30p 1 10 part0

    You SHOULD have
    480 800 30
    p 1 10 part0
    ***BLANK LINE HERE*** The last line has to be blank.

    Try this out and post your results. It may need to be slowed down a bit.
    1
    Correct file

    Alright. This is the correct one. Let me know