Complete Comprehensive Tutorial on Custom Boot Animations

Discussion in 'Android Hacks and Help' started by csmith197, Dec 15, 2009.

  1. Big Lou

    Big Lou Member

    Joined:
    Dec 3, 2009
    Messages:
    733
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Okay, I have added my custom boot animation but it runs sloooooooow.... is it becuase I'm using 265ppi 480x854 pngs?

    EDIT: Okay, yes, seems that when the PNGs were halved, the animation ran smoothly. No wonder they included size stretching code... the phones seems to chug on full resolution frames. Also, my images are named with descriptive text and numbers--30 characters long. I don't think it matters what you call them as long as they can be ordered numerically.
     
    Last edited: Dec 16, 2009
  2. SwordOfWar

    SwordOfWar Member

    Joined:
    Nov 11, 2009
    Messages:
    381
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    I just did this and it was awesome.

    I did mine with winrar instead of 7-zip though. Same thing except you check the "zip" option (instead of rar) and you still select "store" for compression.

    here is the instruction

    right click after selecting the part0 folder and desc.txt file and choose "Add to archieve...". Then check the "zip" option and pull the dropdown box to select "store" as compression, then click "ok" to compress the files.

    Good for those with winrar who don't want to download/install 7-zip.

    For convenience, I've attached the bootanimnation.zip file of the example (android peeing on apple icon). You can skip the whole process of making the boot animation file and just do the command to copy it over (place the below attachment in your tools folder before using the command).

    You should update the main post, for those of us who just want the example animation. No need for the other stuff unless your making your own custom one.
     
    Last edited: Dec 16, 2009
  3. brendanstl

    brendanstl Member

    Joined:
    Nov 12, 2009
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Really wish I could make sense of ANY of these instructions, I would love to have that animation.
     
  4. SwordOfWar

    SwordOfWar Member

    Joined:
    Nov 11, 2009
    Messages:
    381
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    If you know how to open adb on your computer and connect to your phone, you can skip to just using that copy command with the attached file i have above your post.
     
  5. brendanstl

    brendanstl Member

    Joined:
    Nov 12, 2009
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Stupid question then..... what is adb?
     
  6. A.C.Sanchez

    A.C.Sanchez Member

    Joined:
    Dec 10, 2009
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Is there a limit to the number of .png files that you can use to make the animation? And how long does each frame show during the animation sequence?
     
  7. brendanstl

    brendanstl Member

    Joined:
    Nov 12, 2009
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Where can I download adb from?
     
  8. richz

    richz Guest

    Ratings:
    +0
    how do i get to command prompt
     
  9. GeneRs

    GeneRs Member

    Joined:
    Nov 10, 2009
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    What is this ADB tools thing? Is this a program I need to download that gives me access to the core of my Droid? If so...Where can I get it? Thanx for your time
     
  10. GolfProRM

    GolfProRM Member

    Joined:
    Nov 11, 2009
    Messages:
    262
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lincoln, NE
    Ratings:
    +0
    In case anyone wants it, I've simplified the original boot animation to remove the red eye and just loop the DROID repeatedly.
     
  11. Big Lou

    Big Lou Member

    Joined:
    Dec 3, 2009
    Messages:
    733
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Okay, the original instructions are great... provided you aren't a noob. I had to find a lot of stuff out on my own... so please amend the original instructions with these noob friendly additions.

    First, you need the Android SDK. You can find that here: Android SDK | Android Developers

    Extract the folder and run Setup. It will ask you to download files, do so.

    Next, create your animation--I won't go into much detail about this... all I'll say is the only real specification is that they are .png and they are named in a way that they can be numerically ordered with the first frame being the lowest possible number. Here is the original zip file for the default animation: Droid Forum - Verizon Droid & the Motorola Droid Forum
    If you want just a single looping animation, simply put your frames into a single folder, preferably called "part0". If you have half your animation run once and the other half loop, put those two halves into separate folders--"part0" and "part1".

    Modify the desc.txt to coordinate with your frames and folders. Here is a guide on the desc.txt: http://www.droidforums.net/forum/droid-hacks/9163-desc-txt-boot-animations-works-like.html

    Using 7zip found here: 7-Zip, create a zip archive of the folders and desc.txt with the compression setting as "store". Name this zip file: bootanimation.zip

    Place this bootanimation.zip into the tools folder of the SDK. You can find the tools folder inside of the android_sdk_windows folder you extracted when you downloaded the SDK.

    Connect your phone to your computer with USB. Mount your phone by clicking on the USB message in the notification bar. You will then need to run Debugging mode by going on your phone to: Settings > Applications > Development > USB Debugging. Make sure this is checked; you should get an exclamation mark icon in your notification bar.

    Once you are connected, mounted, and in debugging mode, go to on your computer: Start > Run. Type in "cmd" and hit Ok. This will open command prompt.

    You need to navigate to the android_sdk_folder from command prompt. If the folder is in your C drive and the letter next to your cursor is different, simply type: "c:" and it will switch to the correct drive. If you are on an XP machine and the folder is on your desktop, you will need to navigate to the tools folder by typing:

    cd c:\Documents and Settings\user\Desktop\android-sdk-windows\tools

    ...where "user" is your login name. THIS IS NOT ALWAYS THE ADDRESS, you can see the full path at the top of the open tools folder. The "cd" before the directory path is necessary--it tells the command prompt to "change directory".

    If you have correctly typed in the exact directory your tools folder is in, you should see the entire directory path displayed to the left of your cursor on the new line. Now, you need to push the bootanimation.zip folder to your phone by entering in this line of text:
    adb push bootanimation.zip /data/local

    Once you hit enter, a second should go by and you should see that a certain amount of data was added to the phone. When you see this, turn off your phone and reboot. You should now see the new animation! You may need to unplug your USB cable before you turn the power back on. In debugging mode, it may display weird menu text when you boot up if you are still connected to the PC.

    I hope this helps, I know I was in the same boat as a lot of you, I had to scrounge around to find all this info, don't know why it's not all in one place.
     
    Last edited: Dec 16, 2009
  12. csmith197

    csmith197 Member

    Joined:
    Nov 10, 2009
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando fl
    Ratings:
    +0
    I left out the sdk because it is assumed knowledge and this tutorial deals specifically with boot animations. If someone is having trouble with the sdk then you can use the same commands in the terminal on your phone. Simply place the bootanimation.zip in your sdcard and replace the /data/local file path with /sdcard
     
  13. Big Lou

    Big Lou Member

    Joined:
    Dec 3, 2009
    Messages:
    733
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    But it's not all assumed knowledge to a lot of people. And it's really not layed out anywhere in this forum.
     
  14. SwordOfWar

    SwordOfWar Member

    Joined:
    Nov 11, 2009
    Messages:
    381
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Sounds like someone should make a topic dedicated to explaining ADB then, because a great majority of things done here will use ADB. You could use the terminal emulator but it takes forever to do anything that way. Its much easier to plug it up to a computer with a full keyboard and easy pasting right from the forum to the command window to make everything faster.

    Its always good anyway since google's android website always wants a bugreport dump when you report issues. It surprises me they don't have a streamlined version of ADB that works without downloading the whole SDK for all the newbies.
     
  15. DROIDsys

    DROIDsys Member

    Joined:
    Nov 16, 2009
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NY
    Ratings:
    +0
    Question, if you have multiple boot animations, is there a simple way to switch between them? Or would you have to go through adb, remove one and replace it with another? If you do have to remove it, can someone show the command. I'm still learning my way around adb and commands in general.
     
Search tags for this page
android boot animation
,

android dude

,
android peeing on apple boot animation
,
boot animation
,
boot animation 320x240
,
boot animation android
,
bootanimation 320x240
,
custom android boot animations
,
cylon gif
,

droid incredible wallpaper