Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,779,383 Members 51,078 Now Online
XDA Developers Android and Mobile Development Forum

[TUTORIAL]How to make your own boot animations (with sound if you want)

Tip us?
 
despotovski01
Old
(Last edited by despotovski01; 18th May 2013 at 02:54 PM.) Reason: Updated the boot sound script link
#1  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1863
Posts: 1,455
Join Date: Jan 2011
Cool [TUTORIAL]How to make your own boot animations (with sound if you want)

NOTE: This method is tested and it works on CM7 ROMs and AOSP ROMs. I don't guarantee that it will work for stock ROMs (The ROM that came with your device)!

Xperia X8 users with cm6 0.25-follow this guide: http://se-lifestyle.com/viewtopic.php?f=42&t=5947

Introducion
Hi guys!
Today, I'm going to teach you how to make your own boot animations. Please read this thread carefully to the end, in order to succeed in making your boot animation.

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:
Quote:
320 480 30
p 1 0 part0
p 0 0 part1
(The numbers 320 and 480 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.
6. Install your boot animation on your device with one of the following methods:

Quote:
Root Explorer method:
1. Rename your boot animation to bootanimation
2. Put it on your SD card
3. Open Root Explorer and copy bootanimation.zip to /system/media. This will replace the existing boot animation
4. Reboot your phone

ADB method:
1. Make sure you have downloaded android sdk
2. Put android sdk in C:\
3. Set the directory of command prompt to C:\android-sdk-windows\platform-tools. Click here for a video tutorial.
4. Rename your boot animation to bootanimation and put it in C:\android-sdk-windows\platform-tools
5. Open cmd
6. Type in order:
-adb remount
-adb push bootanimation.zip /system/media/bootanimation.zip
-adb reboot
7. Enjoy your new boot animation!

Note: It's far easier to create and install boot animations with my program Boot Animation Factory. Oh, and you can preview them on your computer too!

How to add sound (all courtesy of colpophage)(UPDATED!!):

Quote:
1. Download this shell script:
http://db.tt/HffJqg8P

2. Place bootsnd.sh in /sdcard

3. Run terminal emulator, and execute the following:
su
cd /sdcard
sh bootsnd.sh

4. Use a rooted file manager and navigate to /system/bin, and verify that there is now a file called bootsound there, and it has 777 (rwxrwxrwx) permissions. Modify the permissions to 777 if needed.

5. Place your desired sound file, renaming it android_audio.mp3, in /system/media.

5.1 For the original quietly brilliant sound, download: http://db.tt/Oy20ZqT (remember to rename it).

5.2 I now put custom boot animations into /system/media as well, and this is my favorite so far: http://db.tt/LMkqs3f (rename to just bootanimation.zip).

6. Reboot and enjoy.
Video tutorial:


Common mistakes that people make:
-Wrong compression method: you MUST set the compression method to Store!
-Missing empty line at the end of the desc.txt file: an empty line is needed! Otherwise, the boot animation won't work!
-Frames drawn in wrong color mode: you MUST draw your frames in RGB 8bit or RGB 16bit COLOR MODE!
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
The Following 180 Users Say Thank You to despotovski01 For This Useful Post: [ Click to Expand ]
 
despotovski01
Old
(Last edited by despotovski01; 28th May 2011 at 05:51 PM.)
#2  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1863
Posts: 1,455
Join Date: Jan 2011
Wink Some of my boot animations

Broken Glass---------------------------------Google Chrome---------------------------------Android Loading

CyanogenMod Green---------------------------------Falling Droids---------------------------------Charging

Android & Apples

-------------------------------------------------------------
Downloads:
(Click the names to get the downloads)
Broken Glass
Google Chrome
Android Loading
CyanogenMod Green
Falling Droids
Charging
Android & Apples
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
The Following 24 Users Say Thank You to despotovski01 For This Useful Post: [ Click to Expand ]
 
bodziophonix
Old
#3  
bodziophonix's Avatar
Junior Member
Thanks Meter 1
Posts: 25
Join Date: Sep 2008
Location: Wroclaw
In SGS I on Darky 10.1 you don't have bootanimation.zip file in system/media, but we have bootsamsung.qmg and bootsamsungloop.qmg. Your tutorial will work with it?
 
Stu_Gotti
Old
#4  
Stu_Gotti's Avatar
Senior Member
Thanks Meter 8
Posts: 167
Join Date: Aug 2010
Location: Maryland
Excellent writeup! :]
Verizon SGS3 - CM10
US Army Veteran
The Following User Says Thank You to Stu_Gotti For This Useful Post: [ Click to Expand ]
 
despotovski01
Old
#5  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1863
Posts: 1,455
Join Date: Jan 2011
Quote:
Originally Posted by bodziophonix View Post
In SGS I on Darky 10.1 you don't have bootanimation.zip file in system/media, but we have bootsamsung.qmg and bootsamsungloop.qmg. Your tutorial will work with it?
I don't know. It's intended for CyanogenMod ROMs. It's proven to work on CM7 ROMs and on AOSP ROMs. Is your ROM based on the stock SGS ROM, or is it built from source?
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
The Following User Says Thank You to despotovski01 For This Useful Post: [ Click to Expand ]
 
despotovski01
Old
#6  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1863
Posts: 1,455
Join Date: Jan 2011
Quote:
Originally Posted by Stu_Gotti View Post
Excellent writeup! :]
Thank you!
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
The Following User Says Thank You to despotovski01 For This Useful Post: [ Click to Expand ]
 
memburn
Old
#7  
Junior Member
Thanks Meter 0
Posts: 15
Join Date: Sep 2010
Very cool. There's a xda member created boot animation utility on the market that will make it easier to flash zips once created. I assume it would work.

Sent from my Nexus S using XDA Premium App
 
despotovski01
Old
#8  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1863
Posts: 1,455
Join Date: Jan 2011
Quote:
Originally Posted by memburn View Post
Very cool. There's a xda member created boot animation utility on the market that will make it easier to flash zips once created. I assume it would work.

Sent from my Nexus S using XDA Premium App
Yes, it should.
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
 
despotovski01
Old
#9  
despotovski01's Avatar
Recognized Developer - OP
Thanks Meter 1863
Posts: 1,455
Join Date: Jan 2011
Quote:
Originally Posted by bodziophonix View Post
In SGS I on Darky 10.1 you don't have bootanimation.zip file in system/media, but we have bootsamsung.qmg and bootsamsungloop.qmg. Your tutorial will work with it?
I think this tutorial won't work, because Darky 10.1 ROM is based on the stock SGS Gingerbread ROM.
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein

"Don't let anyone tell you what you can't do."

My work:
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete

Devices:
LG G2 D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11
The Following 3 Users Say Thank You to despotovski01 For This Useful Post: [ Click to Expand ]
 
window7
Old
#10  
window7's Avatar
Senior Member
Thanks Meter 292
Posts: 737
Join Date: Sep 2010
Thanks! Gotta try it tonight
Not gonna sleep until I success doing it :P
"Remembers the day when blackberry and apple were just fruit."

Tags
android, boot animation, dead, despotovski01, optimus, theme
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes