Related
First time poster here. I am working on a boot animation for the Droid X that features a clip from the 1986 animated movie of Optimus Prime blasting some Decepticons before his battle with Megatron.
Just have to fix a few things before I release it for download. I am trying to add audio but am having a problem. I have tried everything I can think of. Named the file boot.mp3 boot.ogg (changed format of course) I have placed the file in the /system/media/audio/ and /system/media/ directories.
I have edited the build.prop file. When UI do that i get like 1 second of audio after the animation is done and it brings up the lock screen.
I have looked everywhere online. there doesnt seem to be any easy solution or for that matter, any solution. I was hoping someone out there can help. I have a pretty cool boot animation I am working on.
I would like to show it to you.... but I guess my account has to be approved.
cullenisprime said:
First time poster here. I am working on a boot animation for the Droid X that features a clip from the 1986 animated movie of Optimus Prime blasting some Decepticons before his battle with Megatron.
Just have to fix a few things before I release it for download. I am trying to add audio but am having a problem. I have tried everything I can think of. Named the file boot.mp3 boot.ogg (changed format of course) I have placed the file in the /system/media/audio/ and /system/media/ directories.
I have edited the build.prop file. When UI do that i get like 1 second of audio after the animation is done and it brings up the lock screen.
I have looked everywhere online. there doesnt seem to be any easy solution or for that matter, any solution. I was hoping someone out there can help. I have a pretty cool boot animation I am working on.
I would like to show it to you.... but I guess my account has to be approved.
Click to expand...
Click to collapse
boot sound is found in /data/local directory as a mp3 file, try there
also to get ur boot sound working properly, you have to edit desc.txt in the bootanimation.zip file according to all your specification of your bootanimation, good luck on this.
dr154 said:
boot sound is found in /data/local directory as a mp3 file, try there
also to get ur boot sound working properly, you have to edit desc.txt in the bootanimation.zip file according to all your specification of your bootanimation, good luck on this.
Click to expand...
Click to collapse
I too am looking for a way to add a sound. You wouldnt happen to have a link to a post to look towards for editing the desc.txt to allow sounds would you?
For those of you who are fed up with AT&T original boot animation
and want to bring a little touch of originality to your phones;
I will give you the tools to do so and then i would like this topic
to be the display of all the talent behind your idea's. Dont be affraid
to post your creations here
So lets get started.
In order to change the bootanimation on android phone you need first to be ROOTED.
that will help you in the futur with you phone anyway... but will also give you access
to root files on your phone.
Now!!!
The file that has the bootanimation data is:
system/media/bootanimation.zip
and it is formed of 4 or less items inside.
folder : part0
folder : part1
folder : part2
.txt : desc.txt
the mechanism behind these files is simple.
the 3 folders have inside of them PNG image sequences that creates the animation.
and the .TXT "desc.txt" is the script that puts it all together.
* You will notice that inside the :
system/media directory there is an audio folder as well.
This is where the sound associated to the bootanimation is stored
originally called :
boot_att.ogg or anything else the carrier wants to call it... (we'll talk about it later)
OK. If you were Able to follow sofar you must have an idea of what is next.
the idea is to replace that bootanimation.zip file and that boot_att.ogg sound to
change the bootanimation to your own.
I highly recommand to backup these existing files just in case you want to put the
phone back to it's original state...
This is where it is getting fun!
"HOW TO CREATE ANOTHER bootanimation.zip?"
sofar the best result would be obtained by creating a flash animation
of your own using adobe flash software. The screen size to select when
creating file should be in pixel the size of your android phone listed on the specs . final file will be then
published as .SWF
Once you have your SWF file you need to convert it to a PNG animation.
(what is a PNG animation?) well it is a sequence of PNG images that are put one after the other to create an animation just like the one on part0 folder of bootanimation.zip
There is a cool software that makes that convertion. It
breaks your SWF animation to a frame by frame PNG sequence.
ADShareit SWF to Video Converter Pro v5.3.zip (attached below)
....shhhhhh!!! yes i gave you a cracked one.
so when you add your SWF movie onto ADShareit you go to settings:
-Export type: Image sequence
- Sequence : Normal sequence (interact)
... the rest will pretty much adjust to the original swf file specs.
since the convertion of your swf to PNG animated is going to create a lot of PNG images
you want to create a folder on your desktop called "part0"
and on ADShareit settings you would select that folder as Export point.
Hit OK!
and let the convertion take place.
You should have now on your destop a folder name "part0" that has your SWF movie broken into several PNG
images.
At that point you have created the main animation for your bootanimation.zip file
But since the animation should play just once and then wait for the phone to boot up, you dont want it to loop.
That is why you have to create another folder "part1" that will have inside the last image of your "part0" sequence.
and that one will loop till phone boot up.( being just one image it will feel as if movie stopped.)
so i repeat:
create another folder called "part1" on witch you copy/paste the last PNG on folder "part0" you just created.
so now you have two folders:
"part0" main animation.
"part1" animation ending loop.
That's it for the animation part!
NOW THE DESC.TXT .
is just a basic txt doc on witch you type what will become the "action script"
of your bootanimation.
here is what you type: "this was when i was creating it for a motorola bravo"
480 854 30
p 1 3 part0
s loading.mp3
p 0 0 part1
now let me explain what it stands for
-first line: is the size of your animation : 480 by 854 (motorola bravo screen resolution)
then "30" stands for the speed of your animation .(30 frames per seconds/fps)
- second line part 1 of 3 (meaning first part to play) is "part0"
- third line is the sound that will play with the animation
* i said i'd talk about this later.
so here it is:
The sound format does not have to be in .ogg only it can be .mp3 or any other format your phone
recognize. the name of it also can be anything as long you use the same name for the sound file
you want to add.
(note that in front of sound line you have a "s" , and not a "p" it stands for "sound".
- fourth and last line is always the loop image file (that will be the last thing played and it will loop)
p 0 0 part1 (part1 is to be played as last.)
save .txt created as desc.txt
We have all the files now created . we need to zip:
- part0
- part1
- desc.txt
But this is not zipped just in any manner ...
you need to use 7Z compression software from there:
http://www.7-zip.org/download.html
and zip by adding to archive and setting compression to :
-achive format : ZIP
- Compression level : store
or else it will not work if compressed any other way !!!
save compressed file as bootanimation.zip
here you go.
You have now:
- bootanimation.zip
- loading.mp3
copy both to your phone SD card. and push bootanimation.zip to :
system/media
and loading.mp3 to:
system/media/audio.
reboot phone and enjoy!
I.E: I am adding my bootanimation below along with sound that goes with it.
It was too big to attach on XDADev.
so i give you mediafire download links.
bootanimation.zip
loading.mp3
Ahhhh. Thank you for this. Going to give it a go when I get off work.
Thank you I hated the stock one!
Now I have a nice Android Scribble boot
Thanks for the tut, I'll try to make my own on wednesday since I have no school. In the mean time, does anyone mind uploading one they've made?
proutpa said:
Thank you I hated the stock one!
Now I have a nice Android Scribble boot
Click to expand...
Click to collapse
Is that the stock android screen? That's what i wanna do. Lol
Sent from my MB520 using XDA Premium App
Search this site for "Android Scribble" you will find many topics.
Can't remember which link I used but I'm sure all will work fine.
Alright thanks
Sent from my MB520 using XDA Premium App
Yes jared152,
I 've updated my post, and added my bootanimation and sound that goes with it .
I'd appreciate you giving it a try. Would be curious to see your creation!
Have fun.
lecelui, Very nice job on your instructions and explanations! It got me thinking about how much I hated the AT&T woosh boot and then the dropping globe. I'm a novice at android programming altho I have got my phone rooted and bloatware frozen. I found an app called root tools by JRummy in the market and he has included some boot animations that are clever. So now I have some dancing droids!! Hopefully 2.2 froyo will be released to everyones Bravo soon, it really speeds functions up. Thanks again for your efforts!
michaelvan8 said:
lecelui, Very nice job on your instructions and explanations! It got me thinking about how much I hated the AT&T woosh boot and then the dropping globe. I'm a novice at android programming altho I have got my phone rooted and bloatware frozen. I found an app called root tools by JRummy in the market and he has included some boot animations that are clever. So now I have some dancing droids!! Hopefully 2.2 froyo will be released to everyones Bravo soon, it really speeds functions up. Thanks again for your efforts!
Click to expand...
Click to collapse
does anyone have the original boot animation .zip file I could get? I am really stuck the custom animation I have is keeping me from being able to update to 2.2. you can pm me or email me that would be awsome. thanks
Still kinda new to this, but:
I was able to push the animation, but the sound isnt working. Phone is not on silent when it reboots either. I'm using bandroidx's RC2 rom with Froyo, and when I tried to push into system/media, the command prompt told me it was a read-only file system. So I tried pushing into data/local and the animation was working, just without the sound. Any help would be appreciated, as I would like to make my own custom animations with sound.
chemicalsmile said:
Still kinda new to this, but:
I was able to push the animation, but the sound isnt working. Phone is not on silent when it reboots either. I'm using bandroidx's RC2 rom with Froyo, and when I tried to push into system/media, the command prompt told me it was a read-only file system. So I tried pushing into data/local and the animation was working, just without the sound. Any help would be appreciated, as I would like to make my own custom animations with sound.
Click to expand...
Click to collapse
There's a way to mount /system as rw in adb, but I don't know it. Do you have cwm? You can easily mount /system in cwm recovery and then push the file there I think.
I have bandroidx's bootstrapper CWM from when I flashed the ROM, and found the mount /system option, do I simply just mount it and push to the aforementioned directory with adb while in CWM? As I said, I'm still rather new to android filesystems and I don't want to do anything to brick my phone. Thanks for the patience and any help you can provide.
Sent from my MB520 using XDA App
i use the bravox rc2x rom that bando made, will it be any different if i try to change it?
chemicalsmile said:
I have bandroidx's bootstrapper CWM from when I flashed the ROM, and found the mount /system option, do I simply just mount it and push to the aforementioned directory with adb while in CWM? As I said, I'm still rather new to android filesystems and I don't want to do anything to brick my phone. Thanks for the patience and any help you can provide.
Sent from my MB520 using XDA App
Click to expand...
Click to collapse
Yea, make sure the USB cable is plugged in when cwm recovery turns on, mount /system in the cwm menu, then push the files to where the tutorial tells you.
And if you do somehow brick, there's always an sbf.
slowcurve said:
i use the bravox rc2x rom that bando made, will it be any different if i try to change it?
Click to expand...
Click to collapse
Maybe, the boot animation for that might be in /data/local/ so either delete that file and put your boot animation in /system/media/ or just overwrite the file in /data/local
chemicalsmile
* You will notice that inside the :
system/media directory there is an audio folder as well.
This is where the sound associated to the bootanimation is stored
originally called :
boot_att.ogg
Creating your own boot animation is an easy process. Here is a short guide showing you how:
You must create a series of .png files. There are many programs out there to do so. There are basic ones like Easy Gif Animator. Or more professional ones like Adobe After Effects.
__________________
The package you will create is made up of two main parts:
The first part is the text file:
The 'desc.txt' file tells your device how to play the sequence of images. It will look something like this:
Code:
1282 802 30
p 1 20 folder1
p 0 0 folder2
In the example above the files will be stretched to fit the screen, will play at 30fps, folder1's contents will play once, then wait 20 frames, then folder2's contents will play infinitely, until the device has booted.
The '1282 802' figures are the resolution you wish the files to be displayed at. The screen is obviously 1280x800 but I've found that if you set it to that resolution you get a border of coloured pixels around the extreme edge of the display, so I suggest you set it to 1282 802 to make sure your animation looks fine.
The '30' is the frames per second (fps), the speed at which you would like your animation to play.
p = a break in the text file to show a new command will be issued.
In the next column the '1' means it plays that sequence once (setting it to '0' means it plays infinitely), with the '20' meaning it will wait 20 frames before it continues onto the next line of the file (if set to 0 it doesnt pause at all).
folder1 and folder2 are the names of the folders containing your PNG images. You can use multiple folders if you wish, or just one folder. It doesnt matter what you name the folders, as long as you specify their names in the desc.txt file properly.
The second part are the actual images you have created:
The files must be named in a progressive numerical format, e.g. 0.png, 1.png, 2.png, 3.png, etc. and placed in a folder.
If there is a gap in the numbers or any missing, the animation will look jerky, or if you are just testing via ADB it will just fail altogether.
When you are satisifed with your files, they all need to be packaged up into a zip file. Use any program like Winzip or Winrar to do this. You need to name your file 'bootanimation.zip' and make sure it's not compressed, so choose the 'store' or 'not compressed' options when you are creating your final file.
To test your file works nicely follow the 'How to Install' guide I made HERE.
If you wish to upload so others may use your creation, you can use THIS handy site to upload to multiple sites at once for free.
------
Tips:
Creating a series of images 1280x800 will result in a massive zip file. You're better off scaling down your images (e.g. 640x400). They will be stretched to fit the screen so don't worry about that. Also a max of about 100kb each is advisable for a series of up to about 100 images total.
Depending on the length of your animation you may need to scale your images down or reduce their quality so that the end files will play properly. Total size shouldn't really exceed about 8mb (the TF can still play the files if they are larger in size, but they don't run nearly as well). A 1.5mb sized package seems to play best however. The original TF animation package is about this size.
------
Troubleshooting:
If your sequence doesn't play on your device, make sure you have done all of the following:
Sent the file across properly using ADB.
Saved the zip file with no compression.
Renamed it bootanimation.zip.
Included the desc.txt file.
Make sure there is an extra blank line at the end, inside the desc.txt file.
------
I've included an example .zip file below with the basics in it. It's not a full animation file, but an example so you can familiarise yourself with the settings/structure. If you want to download and check out some fully compiled sample files you can do so in my thread [url="http://forum.xda-developers.com/showthread.php?t=1101535]HERE[/url].
____________________
Any questions? Have I missed something? Comment below...
____________________
Thanks for the guide. I have found this works fine for a single folder setup, but all my double folder attempts have failed, using your exact guide and ensuring consecutive numbers between folders. The terminal says "alloc iovmm" and terminates shell when I get to the second folder. I was hoping to have a "start up" sequence, with just part of the animation looping until the end of start up, but no joy.
--Jak
You need to make sure there are no hidden files inside the folders, so make sure (if you are using windows) that everything is set to show up in your file manager/explorer. Sometimes there are hidden files like 'thumbs.db', etc. You also need to make sure that the folder1 and folder2 lines, are on separate lines in the 'desc.txt' file.
any chance on audio support for boot animations? I remember it working in 2.2, but haven't really messed with it since then.
Thank you very much for this detailed tutorial.
I've noticed that if you change the image from RGB mode to indexed the size of the file will drastically decrease without much of change to the picture.
thank you very much for the info....you rock man !!!
Awsome
As soon as I read your post, went to testing, took an image and edited in MSPaint, created the zip, 480x800, and it works perfectly, as long as the FPS is set to 24 for my LG Optimus Black.
Forgot to look at the size of the archive, it turns to be 27MB, but the thing just works. Thanks, man!
Boah.. will try this some time. Thanks for posting!
would someone mind taking a look at my animation and tell me where i've gone wrong? im feeling pretty thick as this should be an easy procedure and i just cant get it working.
when i try running it with adb it runs through folder0 then stops and says 'segmentation fault' in my command prompt. when i reboot it just shows a black screen after running through folder0.
thank you!
jimmygoska said:
would someone mind taking a look at my animation and tell me where i've gone wrong? im feeling pretty thick as this should be an easy procedure and i just cant get it working.
when i try running it with adb it runs through folder0 then stops and says 'segmentation fault' in my command prompt. when i reboot it just shows a black screen after running through folder0.
thank you!
Click to expand...
Click to collapse
Instead of folder0 and folder1 try renaming them to part0 and part1
baseballfanz said:
Instead of folder0 and folder1 try renaming them to part0 and part1
Click to expand...
Click to collapse
That's actually what I had them named as originally, also tried p0 and p1.
thanks though.
jimmygoska said:
That's actually what I had them named as originally, also tried p0 and p1.
thanks though.
Click to expand...
Click to collapse
Try here, it's a recent bootanimation discussing thread.
http://forum.xda-developers.com/showthread.php?t=1537798
baseballfanz said:
Try here, it's a recent bootanimation discussing thread.
http://forum.xda-developers.com/showthread.php?t=1537798
Click to expand...
Click to collapse
Cheers, going through it now.
How to enable boot sound. What will i edit?
Sent from my GT-S5670 using xda premium
There is no boot sound that I am aware of...no device I've ever booted had sound (until it booted completely)..there may be a way to enable it but thus far I haven't found one.
Hello guys!
OK, so here we go. I installed CM12 official nightly on my samsung galaxy s4 GT-I9505 and i wanted to change the boot aninmation, normally a simple task. so I installed the disco ball boot animation from this thread: http://forum.xda-developers.com/showthread.php?t=2334927
this worked totally fine, but i decided to make the bootanimation a little bit more personal, so i went to photoshop and eddited all 30 PNG files, put it back together as a bootanimation.zip and installed it in my phone.
now when i go to the theme engine in CM12, and i go to my current theme (the original cm12 theme) and i preview the bootanimation, it shows my own made animation perfect, but when i restart my phone to actually view it, it becomes just a black screen
Download This is the original discoball bootanimation.
Download This is my own one. (i know its not much but i would like to have this one)
and yes i did change the permissions.
URL's uploaded via Airload
Fix the following problems with your zip and the boot animation will work properly.
1. You have a "thumbs.db" file in your personal version of the boot animation. Remove this.
2. When you made the zip file, you compressed the images within it. In order for a boot animation to work the images within it must be stored in an uncompressed form. For example, WinRAR has a setting titled "Compression Method". You would set this to "store".
Strephon Alkhalikoi said:
Fix the following problems with your zip and the boot animation will work properly.
1. You have a "thumbs.db" file in your personal version of the boot animation. Remove this.
2. When you made the zip file, you compressed the images within it. In order for a boot animation to work the images within it must be stored in an uncompressed form. For example, WinRAR has a setting titled "Compression Method". You would set this to "store".
Click to expand...
Click to collapse
thanks man, i dont know how that thumbs.db file got in there but it works fine now, thanks!
Windows automatically drops them into every location that has a picture or document. It is possible to disable this behavior, by following the instructions here.
Hi,
is there a way to change the boot animation in xdauto 1.6.2c ? I would like to see my Chrysler car logo animation.
Thanks in advance
any luck with that yet? been thinking of changing the boot animation too.
Well, I have gone through a series of trial and error, and have successfully gotten my own created boot animation to work. However, I havent figured out the max resolution I can use (my animation looks to small from the one I originally created. Using xdAuto, the current boot animation resolution is at 480x292. Anything bigger than that, causes a black screen during the boot process (or at least this is what I've led myself to believe, if anyone finds anything different please update let us know.) Although I was under the assumption that I could use 1024x600 but my animation won't work if I use this big of a resolution.
It goes basically like this:
1. on your computer - Create a new folder and rename it to bootanimation
2. Create a folder inside bootanimation called part0 (you can add more parts if you wish increasing by increments of 1. part1, part2, part3, etc.)
3. in the part0 folder, make sure all images are in the same format. I used .png format, and make sure the pictures are in order, eg. 00000.png, 00001.png, 00002.png, etc. (You are essentially making a slideshow that plays at a max of 30 frames per second)
4. Install "boot animation creator." You can google for this or search for it here on XDA. (I cant post urls yet.)
5. open boot animation creator, follow the prompts to make your boot file, don't forget to add a loop when that section comes up for making your bootanimation.zip file.
6. place your bootanimation.zip file in your android HU (I'm using a carpad III).
7. (root required) go to the root of your Android HU/carpad. Go to this path /system/media
8. make a backup copy of the current bootanimation.zip file and place it in a safe place.
9. copy and paste your created bootanimation.zip file in /system/media
10. reboot, if done correctly you should see your new bootanimation.
Hope this helps.
Update: So my main problem, was that root browser was giving me a "operation failed" error. Its strange because sometimes it would let me write to the /system/media
folder. I was able to get a 819x432 bootanimation.zip to write. But now for some reason I can't get anything else to write to it... very strange. I am pretty sure that the max resolution for bootanimation.zip for Carpad II / III is 1024x600, getting it to write when I want it to is the issue I am having now.
Okay, well I found out why I was getting the write errors. Well, at least this worked for me.
I went into SuperSU, settings, and unchecked Mount namespace sepraration.
This allowed me to write my bootanimation.zip file to the /system/media/ folder.
I was also able to use my original 1024x600 bootanimation.
Hope this helps.