BootAnimation with Sound - Atrix 4G Themes and Apps

Hi, I have this animation (gif) file that I want to have booting up when I turn on my atrix. Basically, three questions.
1. I have the animation in gif but also in a series of PNG's, which one works?
2. How do you add sound to an animation?
3. Does this phone use an xml or txt for instructions (probably linked to question 2 answer).
Thanks guys in advance

A boot animation consists of a zip file that contains a series of png or jpg images, along with a desc.txt file. Here's a snippet from the factory desc.txt for AT&T's Atrix:
# 540 wide, 960 high, 15 frames per second
540 960 15
# p means we're defining a part
# first number is repeat count, 0 means infinite
# second number is delay in frames before performing the next part
# so if you are playing 15 frames a second 15 would be... one second
# string defines the directory to load files from
# files will be loaded in order but names don't matter
# s defines a sound for a part
# sounds will be loaded from /system/media
# oggs with loop points will loop automatically
# only one sound will play at a time
# timing is driven by the part, not the sounds
# if you want no sound, leave blank
(I'm not sure if the sound has to be an OGG; an MP3 or a WAV might work. If not, google around for OGG converters.)
So, say you had a folder of pngs called MainAnimation, and a startup sound called StartupSound.ogg, your desc.txt would look like this:
540 960 15
p 1 0 MainAnimation
s StartupSound.ogg
Or, if you want the animation to loop (instead of just sitting on the last frame), your desc.txt would look like this:
540 960 15
p 0 0 MainAnimation
s StartupSound.ogg
After you make your desc.txt file, zip that up with your MainAnimation folder. The structure should look like this:
bootanimation.zip
|
|- MainAnimation
| |- 001.png
| |- 002.png
| |- 003.png
| |- 004.png
|
|- desc.txt
When you create your zip, use "storage" or "no compression" mode. The zip needs to act simply as a container, instead of trying to save on file size.
Now, all that's left to do is copy bootanimation.zip and StartupSound.ogg to your phone. I use Root Explorer, but any method that'll get the files on there is just fine. Both files go in the /system/media/ folder.

That was great, I will let you know if that works. BUT...two more questions, if I get it wrong, ie no boot animation, will my phone still boot up, other is, will my phone boot whenever it wants or say the png's are set to last 30 seconds playing at 15 frames a second, it will wait for the sequence to stop?
Thanks

The phone will boot just fine if bootanimation.zip is missing or messed up, it'll just keep showing the Dual-Core Technology splash screen until the phone boots. (btw, that Dual-Core splash screen always shows at the beginning; your custom animation will start after it)
Boot time isn't affected by the boot animation, from what I can tell. If you have a short animation, it'll either loop or pause on the last frame (depending on the option set in desc.txt) until the phone finishes booting. If you have an animation longer than the phone's boot sequence, the phone will interrupt the animation and load the home screen.

anyway way to remove splash screen just so we get more animation time?
Thanks

Not that I know of. There might be something you can do with a custom rom (completely guessing), but that's a bit beyond me.
Best of luck!

Sound DOES NOT have to be .ogg it can be any format that the phone is able to play.
Sent from my MB860 using XDA App

Tried every possible variation of this and I cannot get it to play sound
:sigh:
Animation plays, but no sound.

Also should be noted that for windows users, you CANNOT use notepad/wordpad to edit desc.txt. You should get Notepad++ and use that instead or it will screw up the linux formatting of the file.

Do u put soundfile.ogg in zip or in system/media? Thanks for the bootani 101 ^_^ looks to b in system/media but double checking JIC
Sent from my MB860 using XDA App

Got the files over to my phone, and the animation and sound plays, but the sound plays after the animation is finished. Anyway to get sound to play while animation is happening?

A good app to unzip, edit the desc.txt and anything else, and rezip is found on the market and is called "Boot Animatiom Installer".
On a side note, I am having a problem with the audio files during the boot.animation. They only play at ~30% volume level with any audio file. How do I configure/change this so that I can get the audio file to play at max volume level??

Ririal said:
Also should be noted that for windows users, you CANNOT use notepad/wordpad to edit desc.txt. You should get Notepad++ and use that instead or it will screw up the linux formatting of the file.
Click to expand...
Click to collapse
Hah! That explains alot, thank you. What about editing it within something like Root Explorer?

Related

[HOW TO] Make your own Boot Animation

1. Make a folder named bootanimation.
2. Inside the bootani folder you made, make 2 folder, *part 0* and *part 1*
3. make a desc.txt file and write following words inside.
Code:
240 400 15p 1 0 part0p 0 0 part1
Save it and put it in bootani folder.
[NOTE:]
240 400 = 240X400, screen resolution of Galaxy 3.
15 = 15fps, play 15 frame per second/play 15 picture per second.
p 1 0 part0 means it will load folder part0. After it finish folder part0, it will keep replaying folder part1.
4. Copy the file and install in your mobile phone.
5. Then you need a few hundred to a few thousands of photo.
[NOTE:if u want a 10 seconds boot animation, u need 150 photos. Because the animation is running at 15fps (15 frame per seconds / 15 picture per seconds).]
6. You can download a few people's bootanimation.zip and extract it out and save in folder part0.
[NOTE: Galaxy 3 screen resolution is 240X400, if u download a bigger resolution, just compress it or resize it into 240X400.]
7. Arrange the photo.
[NOTE: If you want a smaller size of bootanimaition.zip, use jpg file type. Sometimes the PNG file size is smaller than jpg.]
8. Label from 001-999 or 0001-9999
[NOTE: ONLY use 4 digit number, example 0001-9999, if u want >1 minute of animaition {1 minute of boot animaition =60secX15fps=900 photos.}.] )
9. After finish creating, save it into folder part0 and copy photo that you want it to keep replaying in folderpart0.
10.Paste it into folder part1.
11. Then highlight part0, part1, desc.txt and press right click > add to archive.
12. Then you will see winzip coming out.
13. Select ZIP in archive format. Then choose STORE in compress method and type bootanimation.zip in archive name.
14. Now connect your phone and computer.
15. copy the bootanimation.zip into SD card.
16. go to all apps > root explorer > sd card > copy bootanimation.zip > press back > go data > local > and you will see a bootanimation.zip
17. press PASTE and your new bootanimation.zip will replace it.
18. YOU'RE done! Just restart your phone and you will have your new boot animation! ENJOY!!!
Will make it more easier and better soon!!!
P.S. Video tutorial coming soon!!!
HIT the THANKS button if you like my work
You'll need:
1. Notepad or any text editor
2. Winzip
3. A batch image resizer/converter-i prefer irfanview (optional but highly recommended)
4. Photoshop or something like that if you to make one from scratch-i prefer gimp free open source and light (optional but recommended)
5. Quicktime pro if you want to rip videos to images (optional but recommended)
[HOW TO] Port bootanimations!!!
How to port bootanimations​
THE SIMPLE WAY:​
First of all download a bootanimation(If you dont have one)
Open it with any zip program like 7zip or Winzip
There will be a desc.txt file in it with something like this
Code:
XXX XXX 15p 1 0 part0p 0 0 part1
or something similar
Replace the XXX XXX with 240 400(resolution of G3) to make it look something like this
Code:
240 400 15p 1 0 part0p 0 0 part1
Save the file
Push or paste the file in /system/media or /data/local(first one recommended , second one if you dont have root-but it'll show both animations-stock nd yours if used second method)
ENJOY!!!
This goes for some cool bootanimations
And this for porting requests
ok so i already know how to do this but the prob with me is to make animation,any tools for it or you need photoshop
[email protected] said:
ok so i already know how to do this but the prob with me is to make animation,any tools for it or you need photoshop
Click to expand...
Click to collapse
Added to 2nd post
Sorry for the delay but exams on head so forgot about this
Will surely add more after my exams
cdesai said:
Added to 2nd post
Sorry for the delay but exams on head so forgot about this
Will surely add more after my exams
Click to expand...
Click to collapse
thanks!
same here,will try after exams
Hi!
What can I do if on my phone I have bootani.qmg
Does not work for me My phone keeps showing me black screen
Pauri said:
Does not work for me My phone keeps showing me black screen
Click to expand...
Click to collapse
Post edited
try now
if it still doesnt work
thn get the desc.txt frm a working boot anim
I also get black screen. Doesn't work for me.
Sent from my GT-I5800
I've tried a desc from another bootanimation too^^
Works properly for me and many others like rudolf
Post the boot anim here I'll check what's wrong
Here his my bootanimation please check and make it because it's my best animation. Please make it. Link:- http://db.tt/gWr4fRh
Sent from my GT-I5800
You compressed so it didnt work
DONT compress
Tanks dude it's work.
Sent from my GT-I5800
http://www.multiupload.com/UPUQNNI98V here's mine or ported from cyanogenmod.
Pauri said:
http://www.multiupload.com/UPUQNNI98V here's mine or ported from cyanogenmod.
Click to expand...
Click to collapse
u too compressed
never compress
and ur desc file wasnt proper
OK thank you. has worked with yours

[How to]A little guide for bootanimations

I decided to make a guide on what i've learned so far about bootanimation to make it easier for both the makers of and users alike.
Sections:
Concept
What is needed?
The desc.txt
Making a flashable zip
Concept
A bootanimation is what you see when you load the phone. However, what many don't know is how you can manipulate these files. A bootanimation is made up of a .zip containing the desc.txt and folder/s that contain the frames. The animation may also call to a sound file outside of the zip. the framework looks like this:
system-media-
|
bootanimation.zip- <--"store" or no compression
| |
| folder1-
| | |
| | anime_0001
| | anime_0002
| folder2-
| | |
| | anime_0003
| | anime_0004
| desc.txt
sound1
sound2
This is a somewhat complex animation and not all animations require all of the above.
Another thing to note is the type of files you can use. Actually, anything that the phone can normally display/play, you can use. This means .jpeg, .png, .mp3, and .ogg are all usable file types in your animation.
A little note also, you don't need to have super quality pictures. If you find your animation getting rather large, try lowering the quality of the pictures. You won't notice the difference and it save a lot of memory. (think dvd vs. blueray)
What is needed?
Ideally, you need multiply pictures named anime_0001.XXX and counting up. Then you need to write a desc.txt (preferably with notepad++ or equal) telling the system when and how to display the images. You will also need a sound file if you want sound. (optional)
Here is a list of helpful programs to make your animation:
7-zip 32-bit 7-zip 64-bit (or equal)
Notepad++ (or equal)
Paint.net (or equal, i rather like this picture editor)
The desc.txt
The desc.txt tells the system what to play when and for how long. You may not need notepad++ to make it, but some bootanimations you mod may be in code and notepad++ will then be required. I just suggest getting use to using notepad++ to save frustration.
Using Notepad++, create a new file. The text you need will look like this:
540 960 15
p 1 10 part1
s sound1.ogg
-540 is the width of the target device, 960 is the height, and 15 is the frames/second the animation will be played
-p means display pictures in folder, 1 is how many times to loop the folder (a 0 here is infinite), 10 is a delay at the end of the last loop (in frames) a 0 here means no delay, and "part1" is the folder name in the bootanimation.zip
-s means play sound in the media folder, "sound1.ogg" is the actual name of the file
You can make this file as complex is as simple as your animation requires. The sound file will play at the start of the folder being displayed. Here is an example of a complex desc.txt:
540 960 30
p 1 0 part1
s firstsound.mp3
p 1 0 part2
s secondsound.mp3
p 0 0 part3
this desc.txt tells the system to play the part1 folder once with sound1, then without a delay, display the part2 folder with sound2, and, again no delay, play the part3 but keep repeating it (useful for an ending frame).
A simple desc.txt could be:
540 960 1
p 0 0 part1
Then only put one picture in the part1 folder. This will basically just display a pic until the phone loads.
Making a flash-able Zip
To make it easy for users to install your animation, you should make a flash-able zip they can use in recovery. This is easy. Use notepad++ to make a file called "update-script" (with no file type). I won't go into great detail in the options you can do with the script but this is what it needs to say for our purposes:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.2 10
Save this file. You, then need to make a zip on "store" or no compression with the following format:
thenameyouwant.zip-
META-INF/com/google/android/"update-script" -no quotes, i just used them so you know it's not a folder
system/media/bootanimation.zip
sound1.ogg (optional)
Alternatively, I provided a zip of the script already in the correct format, just unzip, place your bootanimation.zip in the system/media folder and re-zip with no compression. You can rename that zip to whatever you want.
I also provided an example bootanimation.zip (this is NOT an actual animation, DON'T try to flash or use, just look at it's structure)
If you have any questions, feel free to ask. I'll be around
Got a question...if I change my bootanimation, will it cause OTA updates to fail?
captaincanada84 said:
Got a question...if I change my bootanimation, will it cause OTA updates to fail?
Click to expand...
Click to collapse
No.
//10 chars
chaosjh said:
Notepad++ (or equal)
Click to expand...
Click to collapse
Many thanks chaos!!
Nice tutorial!
hmm.. time to replace the heavy gedit, with notepad++ i think!!
chaosjh said:
I decided to make a guide on what i've learned so far about bootanimation to make it easier for both the makers of and users alike.
Sections:
Concept
What is needed?
The desc.txt
Making a flashable zip
Concept
A bootanimation is what you see when you load the phone. However, what many don't know is how you can manipulate these files. A bootanimation is made up of a .zip containing the desc.txt and folder/s that contain the frames. The animation may also call to a sound file outside of the zip. the framework looks like this:
system-media-
|
bootanimation.zip- <--"store" or no compression
| |
| folder1-
| | |
| | anime_0001
| | anime_0002
| folder2-
| | |
| | anime_0003
| | anime_0004
| desc.txt
sound1
sound2
This is a somewhat complex animation and not all animations require all of the above.
Another thing to note is the type of files you can use. Actually, anything that the phone can normally display/play, you can use. This means .jpeg, .png, .mp3, and .ogg are all usable file types in your animation.
A little note also, you don't need to have super quality pictures. If you find your animation getting rather large, try lowering the quality of the pictures. You won't notice the difference and it save a lot of memory. (think dvd vs. blueray)
What is needed?
Ideally, you need multiply pictures named anime_0001.XXX and counting up. Then you need to write a desc.txt (preferably with notepad++ or equal) telling the system when and how to display the images. You will also need a sound file if you want sound. (optional)
Here is a list of helpful programs to make your animation:
7-zip 32-bit 7-zip 64-bit (or equal)
Notepad++ (or equal)
Paint.net (or equal, i rather like this picture editor)
The desc.txt
The desc.txt tells the system what to play when and for how long. You may not need notepad++ to make it, but some bootanimations you mod may be in code and notepad++ will then be required. I just suggest getting use to using notepad++ to save frustration.
Using Notepad++, create a new file. The text you need will look like this:
540 960 15
p 1 10 part1
s sound1.ogg
-540 is the width of the target device, 960 is the height, and 15 is the frames/second the animation will be played
-p means display pictures in folder, 1 is how many times to loop the folder (a 0 here is infinite), 10 is a delay at the end of the last loop (in frames) a 0 here means no delay, and "part1" is the folder name in the bootanimation.zip
-s means play sound in the media folder, "sound1.ogg" is the actual name of the file
You can make this file as complex is as simple as your animation requires. The sound file will play at the start of the folder being displayed. Here is an example of a complex desc.txt:
540 960 30
p 1 0 part1
s firstsound.mp3
p 1 0 part2
s secondsound.mp3
p 0 0 part3
this desc.txt tells the system to play the part1 folder once with sound1, then without a delay, display the part2 folder with sound2, and, again no delay, play the part3 but keep repeating it (useful for an ending frame).
A simple desc.txt could be:
540 960 1
p 0 0 part1
Then only put one picture in the part1 folder. This will basically just display a pic until the phone loads.
Making a flash-able Zip
To make it easy for users to install your animation, you should make a flash-able zip they can use in recovery. This is easy. Use notepad++ to make a file called "update-script" (with no file type). I won't go into great detail in the options you can do with the script but this is what it needs to say for our purposes:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.2 10
Save this file. You, then need to make a zip on "store" or no compression with the following format:
thenameyouwant.zip-
META-INF/com/google/android/"update-script" -no quotes, i just used them so you know it's not a folder
system/media/bootanimation.zip
sound1.ogg (optional)
Alternatively, I provided a zip of the script already in the correct format, just unzip, place your bootanimation.zip in the system/media folder and re-zip with no compression. You can rename that zip to whatever you want.
I also provided an example bootanimation.zip (this is NOT an actual animation, DON'T try to flash or use, just look at it's structure)
If you have any questions, feel free to ask. I'll be around
Click to expand...
Click to collapse
I use Adobe Flash CS5. I output as queue png and put name first 0001.png. It works perfect.
BravoMotorola said:
I use Adobe Flash CS5. I output as queue png and put name first 0001.png. It works perfect.
Click to expand...
Click to collapse
that is really cool i'll have to try it out.
did you really have to quote my entire post though?

[TUTORIAL] Bootanimation creation & tools!

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

Can somebody help me figure out why this boot animation won't work?

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.

Make Bootanimations from your favorite videos ( Working on both stock and custom roms

All the work given below is not my own; I only compile knowledge from different threads in to single easy guide. Huge thanks to xda senior members devilex94 and makers_mark for their nice work.
Everyone like to change bootanimation but if that bootanimation is our favourite video then it will be nice experience.
Xda Senior member devilex94 has made bootanimation file which will execute video as bootanimation. See original thread here http://forum.xda-developers.com/general/xda-university/guide-set-video-bootanimationtesters-t2915445
Proceedure is as below ,
1. First download zip from http://d-h.st/LjJK and extract it on desktop. You will find ffmpeg, image resizer and bootanimation2mp4 converter in it. Also bootanimation execution file in 'bootanimation file' folder.
2. Now copy your favourite video mp4 file in in C drive. Open ffmpeg folder and open bin foder in it. Then open command prompt there and write "ffmpeg.exe -i c:\ABC.mp4 -r 8 -ss 00:00:0X.000 -t Y ABC-%3d.jpg" without "" this sign where,
ABC is name of mp4 video
8 is number of frames per second(8 will work for every video or you can keep it as per the fps of your video by checking it from properties/ details )
00:00:0X.000 is time from where video is to be converted
Y is the time of video length
3. Then press ENTER & you will see jpg images in bin folder.
4. Resize these images as per phones screen size ie. 540X960 pixels or as per your requirement.
5. Now make folder 'part0' and copy from first image upto the image you want as your main bootanimation in this folder.
6. Now make folder 'part1' and copy the last image in pat0 and remaining images in it. These images will appear as loop.
7. Now make desc.txt file in notepad and write,
540 960 08
p 1 0 part0
p 0 0 part1
where, 540&960 are image size and 08 is frames per second. Also leave one blank line after last line and then save the file.
8. Zip all these part0, part1 and desc.txt using 7zip in bootanimation.zip (REMEMBER TO KEEP COMPRESSION LEVEL TO STORE FORMAT OTHERWISE BOOTANIMATION WILL NOT WORK).
Now this bootanimation is ready in jpg format and you can use it in any custom rom. To use it in stock rom we have to convert it in mp4 format using proceedure below,
1.Put the bootanimation file in 'bootanimation file' folder in place of original bootanimation file in /system/bin folder and change permissions to 0755 (rwxr-xr-x). Also make the backup of original bootanimation file.
2. Now run 'RUNba2mp4v186b.bat' file in bootanimation to mp4 converter. This will create some folders in bootanimation to mp4 converter. Copy your bootanimation zip in zips folder in bootanimation2mp4 converter and press 2 and ENTER. Then proceed for video bootanimation conversion by finally pressing 7 and ENTER. You will find 6100kbs_bootanimation.zip in Made_Zips folder. Rename it to bootanimation.zip and this is your final video bootanimation zip.
3. Place it in /system/media folder and give permissions 0644 (rw-r-r) and reboot. You will see phone booting with your favourite video.
4. You can also change booting sound in stock roms. Copy your favourite sound track in /system/media/audio/ui and rename it to PowerOn.ogg and change permissions to 0644 and reboot.
I made one; download and flash through cwm
http://d-h.st/meY2
http://d-h.st/brWB

Categories

Resources