Hello,
Im creating custom boot animation. As a reference im using stock Android 6.0 bootanimation that has 3 parts played as below:
Code:
720 720 30
c 1 0 part0
c 0 0 part1
c 1 0 part2
meaning 30fps, part0 plays just 1 time, part1 is looped till device ready and part2 is played once at the end.
I have all my PNG files prepared in a way that allows Android to read and display them (RGB mode, no interlacing, no transparent pixels etc) and i create my bootanimation.zip file using Boot Animation Factory
I replace original bootanimation why my custom animation and its not working as intended.
Phone plays only part0 of animation and it does it 1 time, then it plays part1 of animation and its looped but phone never plays part2 of animation.
Code:
700 700 30
p 1 0 part0
p 0 0 part1
p 1 0 part2
I know that first thing to check is to see if part2 PNG files are ok and i did it. I created bootanimations using only part2 and it worked, i created boot animation using only part 1 and part2 and it worked (i didnt even have to rename part1 to part0 and part2 to part1, the files were starting from 00094 something instead of 00000 and yet animation worked)
Code:
700 700 30
p 0 0 part1
p 1 0 part2
but as soon as i try to do a 3 part bootanimation it simply skips last folder.
The thing i noticed was that original bootanimation used "c" parameter while Boot Animation Factory uses "p" parameter so i opened zip file on my phone and edited desc.txt replacing p with c but after that boot animation stopped showing at all.
What am I doing wrong? Everything says it should work. The PNG files are right (tested part2 separately or combined with part1 and part0 combined with part1). 2 part animation works with part2 included.
I do my desc.txt file exactly same as stock android animation. I even tried to modify stock android animation and just replace graphics there with mine and its not working.
Im attaching bootanimation.zip that im working on, any help will be appreciated.
Related
1. Create PNG images for your animation.
Tip: You can create GIF animations easily using a free online tools and then extract PNG images from the GIF animation.
2. Rename and resize those PNG images starting with a 4 digit number for the first frame and ascending for each consecutive frame. The images in part1 folder should start where the last image in part0 folder has ended.
For example the original boot animation in your android phone has images from 0000.PNG to 0009.PNG in part0 folder and 0010.PNG to 0082.PNG in part1 folder.
3. Create a custom desc.txt and add the following in it.
230 230 24
p 1 0 part0
p 0 0 part1
4. Place part0, part1 and desc.txt in a folder renamed as ‘bootanimation’. Zip the folder (using an archiving utility such as 7Zip). Set the ‘Compression level’ setting to ‘store’ (which means no compression), before you archive. Compression will make it unreadable for your android fone.
5. Copy bootanimation.zip file from your PC to your SDCard root.
6. Mount file system read/write using root explorer.
6. Make a backup of the original boot animation using root explorer.
/system/media/bootanimation.zip
7. Now copy the bootanimation.zip file from your SDcard to your phone’s memory.
8. Now reboot an enjoy!!!
u forgot to say that we must resize the png first and in desc.txt we put the exact png size as we have resize..=)
azadtaufiq said:
u forgot to say that we must resize the png first and in desc.txt we put the exact png size as we have resize..=)
Click to expand...
Click to collapse
Ooops thanxxx i'll update it!
galvic said:
1. Create PNG images for your animation.
Tip: You can create GIF animations easily using a free online tools and then extract PNG images from the GIF animation.
2. Rename and resize those PNG images starting with a 4 digit number for the first frame and ascending for each consecutive frame. The images in part1 folder should start where the last image in part0 folder has ended.
For example the original boot animation in your android phone has images from 0000.PNG to 0009.PNG in part0 folder and 0010.PNG to 0082.PNG in part1 folder.
3. Create a custom desc.txt and add the following in it.
230 230 24
p 1 0 part0
p 0 0 part1
4. Place part0, part1 and desc.txt in a folder renamed as ‘bootanimation’. Zip the folder (using an archiving utility such as 7Zip). Set the ‘Compression level’ setting to ‘store’ (which means no compression), before you archive. Compression will make it unreadable for your android fone.
5. Copy bootanimation.zip file from your PC to your SDCard root.
6. Mount file system read/write using root explorer.
6. Make a backup of the original boot animation using root explorer.
/system/media/bootanimation.zip
7. Now copy the bootanimation.zip file from your SDcard to your phone’s memory.
8. Now reboot an enjoy!!!
Click to expand...
Click to collapse
Hi dude, is it possible if i just copy bootanimation.zip(original one) to extract and replace with some photo?
i have no problem for creating new bootanimation by using this tool..Works great for me (http://forum.xda-developers.com/showthread.php?t=1234611)
you can use a Boot Animation Creator but you will have to first create the png files yourself.
what the boot animation does is lets you select two folders (part0, part1), specify image size, frames speed and it does the rest for you, you can also preview your bootanimation before installing it on the phone
Hello guys,
i have downloaded the AlphaRev Bootanimation from here
After that i have tested it on my wildfire without resizing the images in it. It works fine. But you see only a little bit of the pictures. So i have resized it by myself to 240x320 px. But now, if i moved the new zip file to my wildfire (cyanogenmod 7) in /system/media there is no bootanimation. I've tried to move it to /data/local and the same problem. What is my fault??
Hope you can help me and greetings
EDIT:
Other Bootanimations i don't have edited are going on my phone
not 100% sure but it could be that the images are jpg not png
i know, so i have it converted by the scaling
you dont need to edit the pictures ,just desc.tx inside the zip without extracting it
isnt that portal not alpharev
darkstep said:
you dont need to edit the pictures ,just desc.tx inside the zip without extracting it
Click to expand...
Click to collapse
Indeed
Open the desc.dex file and you will see
Code:
480 800 18
p 0 0 part0
The first two numbers (480 and 800) is the screen resolution. It should be changed to
Code:
240 320 18
p 0 0 part0
But as darkstep said, without extracting the zip.
I've tested it and added the bootanimation.zip as attachment. You have to put it in system/media.
Have fun with it!
oh yeah. thank u verry much. it works verry fine.
Greetings
ErwinP said:
Indeed
Open the desc.dex file and you will see
Code:
480 800 18
p 0 0 part0
The first two numbers (480 and 800) is the screen resolution. It should be changed to
Code:
240 320 18
p 0 0 part0
But as darkstep said, without extracting the zip.
I've tested it and added the bootanimation.zip as attachment. You have to put it in system/media.
Have fun with it!
Click to expand...
Click to collapse
Thanks a lot )
You're welcome
Erwin
DISCLAIMER:
I am not responsible if you break your phone. You should always do a nandroid backup befor flashing any files. Remember to wipe your dalvik before making a nandroid to save a lot of time and space
Intro
So. Boot animations. Hard to make? At first yes. But I will explain in great detail each step in making a boot animation.
Requirements
-A photo Editing program (GIMP and Photoshop are the best.)http://www.photoshop.com/
-A text editor besides notepad or wordpad. (Notepad++)http://notepad-plus-plus.org/
-An archive manager (7-Zip or WinRAR)http://www.win-rar.com/website/index.php
My setup:
Photoshop CS5
WinRAR
Notpad++
The Tutorial
Step 1: Folders
So in this step, we need to make folders. The number of folders depends on what type of animation you want. You can name the folders anything you want as long as they are reflected in your desc.txt (we will get more into that later).
If you have a video that you want to repeat, you will need only 1 folder. (Name it anything you want)
If you want an intro (only shown once) and then a repeated set, You will need 2 folders. Most common names: (part0, part1) (intro, repeat)
If you have more then 2 sections of images, then I have no clue what you are doing but good for you for being awesome!
Step 2: Images
So this section will be a generilization of the images. I say this because every video is going to be different.
Each image in the video is called a frame. They usually vary slightly from image to image which sped through makes the illusion of a video.
-Each frame must be 480*800 px (thats 480 pixels wide by 800 pixels tall).
-Each frame must be saved in a .png format. (If you are using Photoshop, File > Save for Web & Devices to reduce the file size drastically.)
-Each frame needs to have some numarical value.
+Recommended would be something like frame0001.png, frame0002.png, frame0003.png, etc.
+Try to keep it under 300 images total
After all of the images are created, we now need to place them in folders.
Step 3: Placing images in folders
This step will vary from user to user. based on what type of animation you are making.
Intro to loop (2 folders):
With this one, you are going to place all of the images that is to be the intro to folder 1.
All looping images will go into folder 2.
Looping video:
All images will go into a single folder.
Step 4: desc.txt
This is the 'script' that tells android what to do.
Open up your text editing program. You have to use something other then notepad/wordpad included with Windows. They add some funky stuff for every new line you make which will ultimately break the script. It is best to use Notepad++.
This is an example of a desc.txt that has 2 folders in it:
480 800 20
p 1 0 intro
p 0 0 repeat
Here is what it is telling android to do line by line:
480 800 20 <-- Width of the animation in pixels. This will stay 480 for Evo users Height of the animation. Keep this 800 for Evo Users Frames per second. This is basically your 'speed' of the animation. This will stay in between 10-30 (10 being slower, longer, and choppy; 30 being fast, short, and smooth.)
p 1 0 intro <-- p is telling it to play this folder. It will always be there. Folder is to be played 1 time before moving on to the next folder. Pause the movie for 0 frames after the animation is completed before moving on to the next folder. (This will normally stay 0). Name of the folder to be played. In this case, the folder named "intro" gets played once and then it moves on to the next line.
p 0 0 repeat <-- Play the animation... Folder is to be indefinately played. The 0 is telling it to play this folderover and over. Just keep it 0. Folder "repeat" gets played
And now for an example of a single folder (same thing looping over and over):
480 800 20
p 0 0 part0
So same as before... 480px wide by 800px tall at 20 FPS
Play the folder "part0" an indefinate amount with no pause in between.
Why not go funky!:
480 800 20
p 1 0 intro
p 5 0 cookies
p 2 0 cake
p 0 0 mynion
Same... 480px wide by 800px tall at 20 FPS
Play "intro" 1 time with no pause
Play "cookies" 5 times with no pause
Play "cake" 2 times with no pause
Play "mynion" indefinately
Ok. So now we save this file with the file name "desc.txt". It must be named that. Case sensitive.
Get it? Good. Let's move on.
Step 5: Packaging
Now we are going to package this sweetness of a custom boot animation!
(this is assuming you are using Windows with WinRAR. Steps may vary from OS and program)
1. Highlight all of your folders and desc.txt and right click > "Add to archive..."
2. On the left side, change the radio buttons from rar to zip
3. Change compression method to "store"
4. Name the file. For now, you can name it anything. Eventually, it will need to be named "bootanimation.zip"
And we are done! Now we just need to set it up on your phone!
Here are 2 methods of doing this:
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/customize/resource. The destination folder may vary from ROM to ROM. I am using Synergy.
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/customize/resource/bootanimation.zip The destination folder may vary from ROM to ROM. I am using Synergy.
-adb reboot
Cool...! Thanks alot! Great tut!
Sent from my iPad 3 using XDA App
good but too long...almost slept reading it
I made this animation. Everything seems to be okay, but when I boot my phone with it, I just get the default Android boot animation like I normally do when I don't have a boot animation. I didn't compress it or anything. Could you guys help me? The bootanimation.zip is attached below.
The problem is with your desc.txt and PNG files.
Code:
540 960 24
p 1 0 part0
[B][COLOR="Red"]c[/COLOR][/B] 0 0 part1
1. AFAIK, there is no option like the 'c' you have (highlighted above), it should be 'p'.
2. The PNG images must be 24bit non-interlaced images (yours are 32bit images)
3. Also, try giving a blank line after the first line
For more info, take a look at this thread
http://forum.xda-developers.com/showthread.php?t=1560836
Screen
In my opinion, it could also correspond to your screen size. If the Size is smaller than the one of the Animation, it could result in a black boot screen.
gladson1976 said:
The problem is with your desc.txt and PNG files.
Code:
540 960 24
p 1 0 part0
[B][COLOR="Red"]c[/COLOR][/B] 0 0 part1
1. AFAIK, there is no option like the 'c' you have (highlighted above), it should be 'p'.
2. The PNG images must be 24bit non-interlaced images (yours are 32bit images)
3. Also, try giving a blank line after the first line
For more info, take a look at this thread
http://forum.xda-developers.com/showthread.php?t=1560836
Click to expand...
Click to collapse
Well, I tried both with and without the c. At first I wrote my own desc.txt, then I copied the one from the HTC One Google Edition's boot animation to see if it would work any better (and modified it, obviously), and it had a c in the last line. I'll try it again, though.
MaxRink said:
In my opinion, it could also correspond to your screen size. If the Size is smaller than the one of the Animation, it could result in a black boot screen.
Click to expand...
Click to collapse
It does, my device is qHD.
I'm getting the default Android boot animation when I start, so the system doesn't seem to pick it up. Normally that animation only plays when I don't have a boot animation installed. I'm pretty sure it's installed right, in /system/media with rw- r-- r-- permissions, just like how it should be.
I created a rickroll bootanimation, but it doesn't work.
I renamed the frame images to increasing numbers and put them into a folder called part0.
The desc.txt code is:
720 720 15
p 0 0 part0
I used ZArchiver to convert the files to zip without compression. The file is 18MB, maybe it's too big? (I attached it)
Bootanimation app says it's an invalid bootanimation. When I put it manually to system/media, it doesn't show any animation when booting.
What did I do wrong?
I found the solution.
This Magisk module fixed the problem:
[MODULE] Bootanimation Replacer
Decription: Bootanimation Replacer is a simple module to customize bootanimation of your deviece. It detects the bootanimation.zip file in /data/media/0 on boot, and if it exist, move it to its module dir $MODDIR/system/media. And this...
forum.xda-developers.com
If you have the same problem, check that link