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
How do I flash my bootanimation.zip file through terminal emulator?
Just use root explorer or any other file manager with root rights and copy it. No need to flash.
Sent from my HTC Glacier using XDA App
What of I want to revert? How would I do that through terminal emulator?
what rom are you using? Depending on the ROM, you navigate to where it is with a file explorer, rename the stock to whatever, copy the animation .zip that you want to the same folder (renaming it what the stock was, exactly) and you're done.
Royal Ginger 1.5
So I download the stock boot animation and put the files into the bootanimation.zip file I already have?
I'm assuming you've downloaded a zip file from somewhere. Do not unzip it, just rename it to "bootanimation.zip" and place it in the directory that holds the original bootanimation.zip file. You can always make a backup of the original first.
This may depend on the rom, but usually you can put your new bootanimation.zip file in the /data/local/ directory, and the phone will use that without you having to disturb the original.
jdkoren said:
This may depend on the rom, but usually you can put your new bootanimation.zip file in the /data/local/ directory, and the phone will use that without you having to disturb the original.
Click to expand...
Click to collapse
It belongs in System/media, you must delete the original though or you wont get an animation
Sent from my HTC Glaciee using XDA Premium App
Nicgraner said:
It belongs in System/media, you must delete the original though or you wont get an animation
Sent from my HTC Glaciee using XDA Premium App
Click to expand...
Click to collapse
I'm trying to change my boot animation also. I changed the zipped file to bootanimation.zip. How do I access System/media ? When I mount, it just opens the sd drive on my computer.
xazilizax said:
I'm trying to change my boot animation also. I changed the zipped file to bootanimation.zip. How do I access System/media ? When I mount, it just opens the sd drive on my computer.
Click to expand...
Click to collapse
You need to be rooted and you need to do it with your device with some kind of file manager like root explorer.
Sent from my HTC Glacier using xda premium
Once ur rooted u could just go into recovery and install the zip manually that's usually how I do it or download the bootloader changer app either requires root
Sent from my HTC Glacier using XDA Premium App
wtf, i can't change the bootanimation... whats wrong?
I used the OTA app to chance the bootanimation, nothing...
I've tried to replace the bootanimation in system/media .. nothing still the "S"
Then I copied the bootanimation.zip into date/local ... nothing
I've deleted the bootanimation in system/media ... STILL the S..
Where is the bootanimation?? Ive installed SpeedMod kernel K2-21 ..
With supercore, I had no problems.
Please help
ademischko said:
wtf, i can't change the bootanimation... whats wrong?
I used the OTA app to chance the bootanimation, nothing...
I've tried to replace the bootanimation in system/media .. nothing still the "S"
Then I copied the bootanimation.zip into date/local ... nothing
I've deleted the bootanimation in system/media ... STILL the S..
Where is the bootanimation?? Ive installed SpeedMod kernel K2-21 ..
With supercore, I had no problems.
Please help
Click to expand...
Click to collapse
What from you using and what animation you trying to add?
Sent from my HTC Glacier using xda premium
I just dont understand what you mean with: "What from you using"
I tried the SGS2 Bios from OTA app. Before flashing Speedmodkernel, it worked great.
Then I tried to replace the Bootanimation with any other.. I found that thread:
Bootanimation
I downdloaded bootanimation_v2.zip and renamed it into bootanimation.zip, then replaced it like i said in the post before..
ademischko said:
I just dont understand what you mean with: "What from you using"
I tried the SGS2 Bios from OTA app. Before flashing Speedmodkernel, it worked great.
Then I tried to replace the Bootanimation with any other.. I found that thread:
Bootanimation
I downdloaded bootanimation_v2.zip and renamed it into bootanimation.zip, then replaced it like i said in the post before..
Click to expand...
Click to collapse
My bad, I meant to type rom. Auto correct is killing me. Anyways, depending on the rom you're in, you will have to name the boot animation differently and place it in a specific place also depending on the rom.
If the rom you're in is aosp, then you're naming it right but it will go in system/media.
For sense roms, you will have to rename the boot animation to htc_bootanimation.zip and place it in system/customize/resource.
EDIT: I actually downloaded the boot animation myself, and I think I found the reason probably why is not working. In the desc.txt file, the screen res is wrong for our device. That boot animations res is 480x115, our supposed to be 480x800.
So do this,
Extract the bootanimation.zip you downloaded
Open and edit the desc.txt file with your file managers text editor
Change the res from 480x115 to 480x800 save and exit
Zip back the file, name it correctly, fix permissions and move it to its correctsponding place and reboot. See if that works.
Sent from my HTC Glacier using xda premium
Thanks for your help. But I think this is the SpeedMod Kernel blocking everything...
I tried that bootanimation which I attached just now. The desc.txt file is correct, placed in system/media but it doesn't work.
I am on darkys HD rom. Without the Speedmodkernel everything is fine. to change my THEME I had to flash the supercore kernel and then back to SpeedMod, because when I try it with the Speedmod kernel, nothing happens. Just like the bootanimation, when I try it zu replace and reboot, nothing happens xD
It has to be the Speedmod Kernel. What else?
After days of unsuccessful searching of the forums and also Google and multiple flashes between stock Rom and Th3ory's I have figured out how to add sound to his boot animation or your own custom boot animation in his rom.
NANDROID BACKUP FIRST!! YOU WILL BE EDITING A SYSTEM FILE USED DURING BOOT
1. copy default.xml from /system/customize/CID to /sdcard using Root Explorer or another app.
2. open VZW_bootanimation.zip to see what the name of the folder with your boot png's in it is named. Write that down. If using the boot animation that comes with GINGERTH3ORY the folder will be "part0"
3. open default.xml from your sdcard using a web editor. I use Android Web Editor Lite.
4. on line 120 will be the info for where the phone looks for the boot animation and boot audio. notice that boot animation is VZW_bootanimation.zip and audio is Verizon_Thunderbolt_3sec.mp3
5. on line 120 change audiostart="VZW" to audiostart="part0" or whatever the name of the folder is with your boot animation png's in it
6. save the xml and exit your editor
7. change the name of the original default.xml to default.xml.old
8. using Root Explorer paste the edited default.xml from /sdcard into /system/customize/CID
9. now paste whatever mp3 you want to play at boot into the /system/customize/resource folder and rename it to Verizon_Thunderbolt_3sec.mp3
10. reboot and finally enjoy the audio
If using a custom boot animation simply rename it to VZW_bootanimation.zip and paste it into the /system/customize/resource folder.
Hope this helps those that were having issues!
Kudos man. I can't test tonight, but will test it in the morning.
EDIT: Worked perfectly on Th3ory's v4.5.1 Great work!
Sent from my rooted Bolt
Currently making a backup and then I'm going to try this... hope this works for me. Haha.
EDIT: Works great. Thanks so much. I missed my phone coming to life.
THANK YOU!!! This worked great! Now I can apply thunder/heart beat combo as the eye comes to life...lol
@ ILMF - Thanks for keeping a look out.
hinds73
great tutorial, thanks for posting it.
anyone want to share their custom sounds for the stock Gingerth3ory animation?
Excellent tutorial, gave me back my thunder.
Ron750ss said:
great tutorial, thanks for posting it.
anyone want to share their custom sounds for the stock Gingerth3ory animation?
Click to expand...
Click to collapse
Thanks for the thanks everyone.
I don't have the stock animation any more. I inverted the colors on th3ory's stock animation and added the first dozen or so png's (the one's that fade in to "Th3ory" and then fade out, not the eye ones) to the beginning of the white boot ani from here:
http://forum.xda-developers.com/showthread.php?t=1024038
mp3 of "Bodies" by Drowning Pool plays while those zombie's get shot up and hit the floor.
Hi stoudtlr, I'm trying to do a custom boot animation. I zipped the files and named it VZW_bootanimation.zip but all I get is an empty screen after the white htc screen. Any ideas?
I'm on gingerth3ory and I took the boot animation zip from there and put in my own icons with the same file names and format, but nada.
stoudtlr said:
Thanks for the thanks everyone.
I don't have the stock animation any more. I inverted the colors on th3ory's stock animation and added the first dozen or so png's (the one's that fade in to "Th3ory" and then fade out, not the eye ones) to the beginning of the white boot ani from here:
http://forum.xda-developers.com/showthread.php?t=1024038
mp3 of "Bodies" by Drowning Pool plays while those zombie's get shot up and hit the floor.
Click to expand...
Click to collapse
xjedi said:
Hi stoudtlr, I'm trying to do a custom boot animation. I zipped the files and named it VZW_bootanimation.zip but all I get is an empty screen after the white htc screen. Any ideas?
I'm on gingerth3ory and I took the boot animation zip from there and put in my own icons with the same file names and format, but nada.
Click to expand...
Click to collapse
When you zip the files make sure that compression is set to "store". That's the first thing that comes to mind if you are sure you don't have a typo in the name and you have them in the right location.
Ron750ss said:
great tutorial, thanks for posting it.
anyone want to share their custom sounds for the stock Gingerth3ory animation?
Click to expand...
Click to collapse
Here's one that I did.
stoudtlr said:
"Bodies" by Drowning Pool plays while those zombie's get shot up and hit the floor.
Click to expand...
Click to collapse
Wow, that sounds really badass. I might do that.
Sent from my ADR6400L using XDA App
hinds73 said:
Here's one that I did.
Click to expand...
Click to collapse
AC/DC Nice! might go back to stock animation for a bit just to have that.
Sent from my ADR6400L using XDA Premium App
Hi. I'm running a Galaxy S4 AT&T with Danvdh's Google Edition 4.4.4 ROM (here). I had just flashed this ROM today, and now I can't get a custom bootanimation.zip file to work. I'll explain what happened.
Before today, I was using his 4.4.2 ROM, and I had no issues with my bootanimation.zip working. Then I decided to try out a TouchWiz-based ROM (Skyfall ROM). I just wanted to compare a Google Edition ROM to a TouchWiz-based ROM. Well, I realized I prefer Google Edition, so today I decided to go back to Dan's GE ROM, updated to 4.4.4. But when I tried to put back my old bootanimation.zip file in /system/media, it wouldn't work! I just get Dan's default boot animation (the Google logo with the spinning circles).
I notice that there are instead two of these bootanimation.qmg files in /system/media folder. I Googled around and found out that these are Samsung's proprietary boot animation files. But here's the strange thing; the boot animation I have right now is Dan's GE animation, not the Samsung boot animation that I would expect from QMG files. How is this possible? I did a complete wipe (I'm using PhilZ recovery) before flashing Dan's ROM after coming from the Skyfall ROM, so why are these QMG files still left behind?
I tried renaming the QMG files (bootsamsung.qmg and bootsamsungloop.qmg) to disable them. But then I get no boot animation at all, just a black screen, even though I have bootanimation.zip in the /system/media folder. So how can I get rid of these QMG files and just return back to a good ol' fashion bootanimation.zip format?
Did you give your biotechnology boot animation zip the permissions rw,r,r?
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Did you give your biotechnology boot animation zip the permissions rw,r,r?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yes, the bootanimation.zip file in /system/media is set to rw-r--r--. I also have a bootanimation.zip file in /data/local set to the same permissions, but neither of those work. I also tried this fix, but to no avail. All that gives me is a black screen instead of the boot animation, even when bootanimation.zip is still in the right folder with the right permissions.
Completely_Clueless said:
Yes, the bootanimation.zip file in /system/media is set to rw-r--r--. I also have a bootanimation.zip file in /data/local set to the same permissions, but neither of those work. I also tried this fix, but to no avail. All that gives me is a black screen instead of the boot animation, even when bootanimation.zip is still in the right folder with the right permissions.
Click to expand...
Click to collapse
Don't you love word correction
Not sure what else to tell you. Sounds like the animation is in the right place and setup right.
Edit, do you still have the original sound files? Maybe there messing things up. /system/media/audio/ui. A couple of ogg files. Rename them to .ogg.bak
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Don't you love word correction
Not sure what else to tell you. Sounds like the animation is in the right place and setup right.
Edit, do you still have the original sound files? Maybe there messing things up. /system/media/audio/ui. A couple of ogg files. Rename them to .ogg.bak
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I tried that. I had several OGG files, most of them seemed to be related to charging or docking or keyboard pressing. In any case, renaming them didn't help. I think at this point I might just re-flash the ROM. Still, I'm perplexed as to why those QMG files were still in my /system/media folder in the first place. I've been using Dan's GPE ROM for a long time now, and I have never seen those files there. I'm pretty sure they must have come from that TouchWiz ROM (Skyfall).
Another weird thing is that I didn't have any bootanimation.zip file to begin with. Previously, like when I was on the 4.4.2 ROM, there was an initial bootanimation.zip file that I'd rename to bootanimation.zip.bak, and then replace with my own bootanimation.zip. And presto, it worked like a charm, quick and easy. This time, there was no initial bootanimation.zip file, just those two QMG files. Yet somehow I still got the Google circle boot animation to play at first startup (this is on a newly-flashed ROM, mind you; I haven't even installed gapps yet, let alone any other modifications).
Any thoughts on this?