I have slaved over trying to get sound with bootanimation on my Blade.
it seems strange to me why this cannot be done when it is possible on other Androids, and it is a doddle on HTC's
I know there are many very knowledgable devs out there ... and if someone can spare the time I will donate !
my Blade is the Oled type, current rom is Blue Ginger v5.
here is what I have gathered from many other postings on various websites & forums.
firstly, there is confusion over the mp3 name ...
Bootsound.mp3, android.mp3, android_audio.mp3 and boot.mp3 have all been advised.
then it's location has been stated as in:
data/local, system, system/media, system/bin, and system/audio/ui ... etc.
then there are those who state that it needs an 's' line in dec.txt, or even embedding the mp3 into bootanimation.zip !
I even found a Cyanogen bootsound fix zip file for their roms, but it did not surprise me when that failed on mine.
I appreciate that perhaps with all these permutations it may be just case of my not dropping on the correct one ... but surely it is possible ?
pleeeeeese help here !
carkev said:
I have slaved over trying to get sound with bootanimation on my Blade.
it seems strange to me why this cannot be done when it is possible on other Androids, and it is a doddle on HTC's
I know there are many very knowledgable devs out there ... and if someone can spare the time I will donate !
my Blade is the Oled type, current rom is Blue Ginger v5.
here is what I have gathered from many other postings on various websites & forums.
firstly, there is confusion over the mp3 name ...
Bootsound.mp3, android.mp3, android_audio.mp3 and boot.mp3 have all been advised.
then it's location has been stated as in:
data/local, system, system/media, system/bin, and system/audio/ui ... etc.
then there are those who state that it needs an 's' line in dec.txt, or even embedding the mp3 into bootanimation.zip !
I even found a Cyanogen bootsound fix zip file for their roms, but it did not surprise me when that failed on mine.
I appreciate that perhaps with all these permutations it may be just case of my not dropping on the correct one ... but surely it is possible ?
pleeeeeese help here !
Click to expand...
Click to collapse
hmm.. if you open the bootanimation.zip then you need to add somewhere the audio file(s)
Or if you want only audio to Android boot logo then try this: framework-res.apk <----- go to /assets/sounds if it have it (I don't remember)
then you need to add audio to framework-res.apk with right name.. (maybe...)
Search from google: audio to bootanimation.zip
EDIT: to get audio to work on bootanimation.zip then maybe it needs playmp3 to /system/bin/ folder...
I will try to get sounds to boot animation!
Motorola bootanimation.zip with SOUND:
it needs /system/media/bootanimation.zip
and the the audio /system/media/#####.mp3
and then you need to add audio text to desc.txt in bootanimation.zip
Example:
480 800 15
p 1 0 part0
s weareelectric.mp3
p 0 0 part1
EDIT: this not work!
add sound files to /system/media/audio/ui (RENAME SOUND TO Bootsound.mp3)
now it need to have sound when android booting!
post had been viewed 87 times ! .... so many thanks for responding,
believe me I have tried what works on your Motorola to no avail .. and have googled my heart out..
I see many posts where what you advise definitely does work on other phones, but not on my damn Blade !
so I can only assume that it must be something to do with the Blade's kernal or roms, or perhaps the fact that it is now a Gen 2 with a custom Android 2.3.4 ?
in desc.txt I have:
480 800 20
p 1 0 part0
s Bootsound.mp3 ... (I even tried this on different lines)
p 0 0 part1
and I have even got copies of Bootsound.mp3 in all these folders: data/local, system, system/media, system/bin, and system/audio/ui
I have even tried adding the mp3 to the zip file !
I continue to live in hope, and will also have a go at that framework-res.apk you mention.
carkev said:
in desc.txt I have:
480 800 20
p 1 0 part0
s Bootsound.mp3 ... (I even tried this on different lines)
p 0 0 part1
and I have even got copies of Bootsound.mp3 in all these folders: data/local, system, system/media, system/bin, and system/audio/ui
I have even tried adding the mp3 to the zip file !
Click to expand...
Click to collapse
Just a thought... Did you try using an OGG sound instead MP3?
it didn't work ....
but I think you may be onto something as all the sound files in audio/notifications etc are oggs.
I will have another go later today, and particularly with editing desc.txt as I assume that when it is referenced as below sound should play after part0 ?
480 800 15
p 1 0 part0
s Bootsound.ogg
p 0 0 part1
I will not give in, and may put 's' line in other positions, and even try a path on it eg: s system/media/Bootsound.ogg or whatever
nb: as stated I have googled extensively ... my zip file is not compressed, and paths to my pics are in the zip ok .. in fact the whole animation is fine.
carkev said:
it didn't work ....
but I think you may be onto something as all the sound files in audio/notifications etc are oggs.
Click to expand...
Click to collapse
While developing a game I found that some OGG FX sounds were played by my device and some were not played at all, depending on some codification parameter.
Just to be sure, is the OGG file you used a conversion made by you from the original MP3? If so, then try to use one of the OGG files already present on "/audio/notifications", copying it to "/system/media" of course.
I'm stiil soldiering on,
but did find something that intrigues me ...
I found a file named just 'bootsound' in /system/bin, copied it to my PC and browsed it with a hex editor.
I could find no occurrance of the word sound in it,
but desc.txt appears as does the phrase 'boot animation disabled' which I find peculiar since my animation itself works fine.
I'm probably (certainly ?) getting a bit desperate here, but does anyone know if this has any relevance at all ?
still not winning, still soldiering on ...
but
I found a file named just 'bootanimation' in /system/bin. copied it to PC and browsed it with a hex editor. (see my screenshot)
there is no ocurrance of the word sound in it,
but desc.txt appears as does the phrase 'boot animation disabled' which is peculiar as my actual animation works fine.
I'm probably (certainly ?) getting paranoid now, but does anyone know if this file has any relevance to sound problem at all ?
Hey I Just remembered:
I edited init.rc for Samsung Jét (JetDroid) [Android boot mode..]
init.rc have sound text and boot animation + boot sound text!
I cant unpack/extract or something boot.img because I don't know how!
it is too difficult!
so add this to init.rc
# bootsnd
setprop audioflinger.bootsnd 1
If you want check Samsung Spica init.rc more to get something for Blade the you can check it here: https://github.com/MadRocker/alt-init.rc/blob/master/spica_init.rc_default
EDIT: add this too
#service bootsound /system/bin/playmp3
# user media
# group audio
# oneshot
P.S. I checked many many many ROMS and them don't have ´playmp3 file on /system/bin/ so maybe it needs other file name..?
thanks, but this may be beyond my expertise actually.
from a quick google, it seems to me that editing init.rc is similar to editing command.com in the days before Windows.
not sure if I want to go there, but may consider it.
I'm golfing tomorrow, so won't be able to post any real progress for 24 hours or so.
this maybe helps: http://forum.xda-developers.com/archive/index.php/t-1010045.html
EDIT: these didn't work but maybe in CM7 works!
I will try them soon!
EDIT: WORKS!
you need to download: bootsound-vision-CM-signed.zip Nb: DO NOT FLASH IT!
you need to add files to ROM and then you need to edit META-INF folder files:
you need to use: CM Blade-full-159 (NIGHTLY) You can edit META-INF folder files yourself if you want to get booting audio to other ROM!
bootsound-vision-CM-singed-zip :---> http://www.mediafire.com/?g29td6bgqasxaws
Now you have sounds on boot: it says DROID
you can change it to adding your sound file to /system/media/ and you need to rename it to: android_audio.mp3
Download my attach file: and replace it on ROM
Click Thanks button if this helped you at least little bit! =)
P.S. It's rebooting 2 times (Green Android logo) and then it's booting fine! and you hear the song!
You Tube VIDEO:
FINAL EDIT:Can anybody developer make this much better for Blade?
@manumanfred ...
you have me a bit confused here,
it seems you are saying you got the above working on your Blade, which would be absolutely fantastic !
my confusion is as to why you advise getting a CM7 nightly, as well as the CM sound patch ?
I did know from Modaco that the patch does work with Cyanogen roms, but it did not with my Blue Gingern.
so, hopefully is it simply that you are advising that I add your file(s) to my current rom and re-flash, or add to my phone directly ? ... is so, to where ?
I have opened Blue Ginger in Winzip, and it does have 6 'meta-inf' references. (see my screen shot)
but I have not yet been able to find a meta-inf folder on my phone, I use Es File Explorer.
your zip has 11 files (one is a Windows thumbs.db) but the filenames do not match those in my pic.
sorry to be so long winded and stupid here, I am trying to understand !
since success is so close then I do not want to mess up at the 11th hour after all your kind efforts and hard work.
oops ...forgot the piccy
carkev said:
@manumanfred ...
you have me a bit confused here,
it seems you are saying you got the above working on your Blade, which would be absolutely fantastic !
my confusion is as to why you advise getting a CM7 nightly, as well as the CM sound patch ?
I did know from Modaco that the patch does work with Cyanogen roms, but it did not with my Blue Gingern.
so, hopefully is it simply that you are advising that I add your file(s) to my current rom and re-flash, or add to my phone directly ? ... is so, to where ?
I have opened Blue Ginger in Winzip, and it does have 6 'meta-inf' references. (see my screen shot)
but I have not yet been able to find a meta-inf folder on my phone, I use Es File Explorer.
your zip has 11 files (one is a Windows thumbs.db) but the filenames do not match those in my pic.
sorry to be so long winded and stupid here, I am trying to understand !
since success is so close then I do not want to mess up at the 11th hour after all your kind efforts and hard work.
Click to expand...
Click to collapse
I didn't found other so this for CM 6 and 7 and maybe it works on other ROMS make copy of your blue ginger ROM if sound files not work..
open cm-sound file .zip folder
now you see these folders system and META-INF
select system
then you see these folders: bin and media
open bin folder and move/copy files to Ginger Blue ROM
now you need to edit these files: CERT.SF and MAINFEST.MF
How to edit them:
http://forum.xda-developers.com/showthread.php?t=1213732 <--- CHECK THIS MY POST..
YOU SEE the CODE: texts...
add these texts to CERT.SF and MAINFEST.MF
and now flash your ROM
Related
So I pretty much have the custom boot animations figured out... It seems to work whether I put bootanimation.zip in /data/local or /system/media no problem... but the one thing I can't figure out is how to get a sound to play. I've tried every combination I can think of... boot.mp3 in the zip file, android_audio.mp3 in the zip file... tried the zip without the mp3, just placing the mp3 in the same directory as the zip (and also tried both names that way, in both directories stated above).
Is there something I'm supposed to add to the desc.txt file? What am I missing?? The only info I can find for the Eris is just "put a boot.mp3 in the zip file" which is just not working...
I am almost ready to explode...
Any help?? It would be much appreciated!
You cannot use sound using the bootscreen.zip. You have to use the old method. Search for Stock bootscreen w sounds, In the Eris dev forum.
Sent from my Eris using XDA App
You could check out my rom. It has the nexus boot screen with the mac bong sound.
Alright, I searched a bit more and had no luck with the .xml (stock) method... It just simply doesn't acknowledge it. It works fine using the bootanimation.zip method (well, no sound of course), in either location as stated above, but if I remove/rename them and try the /system/media/bootscreen location with .xml, .gif, and .mp3 files, it completely ignores them. I copied the exact file structure from the CookieRom and got nothing.
Is there a setting somewhere that I am missing? Like maybe some sort of switch that says "LOOK HERE FOR BOOT ANIMATION" or something?
I've even tried taking the /system/bin/bootanimation file from Cookie and replacing mine with it, but then it doesn't even run.
There has to be something simple I'm missing and I just have no idea what it is...
FYI I'm using a non-Sense ROM if that makes any difference...
Anybody??
Anyone...? Bueller...?
i am just a puzzled about this. If you get it figured out.... lets us know!
You need to take the boot animation from a rom like cookie rom or damaged tazz, that have sound enabled. It usually in in the system/bin folder. Put in into the rom of your choice and then flash the bootanimation.zip file and it should work. That's what I did and it worked for me...DROID
mcook1670 said:
You need to take the boot animation from a rom like cookie rom or damaged tazz, that have sound enabled. It usually in in the system/bin folder. Put in into the rom of your choice and then flash the bootanimation.zip file and it should work. That's what I did and it worked for me...DROID
Click to expand...
Click to collapse
Do you have that bootanimation.zip that you can post or pm me?
Sent from my FroyoEris using XDA App
I posted this all int eh captive section >.< but thought I would put it here in case the other vibrant users would like to know this...
I found the hard way of change the startup sound and shutdown sound, which can be confusing, but i'll try to explain (this is after you have root)
1) went into Astro and copied the file from etc called PowerOn.wav to my SDcard as backup
2) found a wav file I wanted to change for power on and named it PowerOn.wav and stored it on the root of my SDcard
3) downloaded terminal emulator from market
4) when I launched, superuser permissions granted it SU access
5) type the command 'su root' (without the ' of course)
6) then type the command 'cp /sdcard/PowerOn.wav /etc/PowerOn.wav' and hit the enter key
This changed mine to a cooler "system activating" wav file I found...this was my way and it worked, but would much rather know the simpler version of How to grant Astro superuser permissions.
PS I used Audacity to convert my mp3 to wav and ogg files...in case anyone wants to know a free software
Shutdown Video:
I think you can change the shutdown video by adding custom PNG files in the /system/media/video/shutdown folder, but I haven't tested yet...i'm trying to figure out what I was going to do for the video (has to be 14 PNG files...or 14 of them all named the same thing).
I'll be testing soon and letting you know if this works.
EDIT: SUCCESS!!!
I was able to create 14 PNG images and copy them from my SDcard to the /system/media/video/shutdown folder and now I have a new shutdown video...anyone have a sight I could upload the new shutdown PNG files too? I have a couple different ones I created...really basic, but a little nicer than the T-mobile default one.
EDIT...AGAIN: And the new shutdown video
http://www.youtube.com/watch?v=t83uQZqAPDw
http://www.youtube.com/watch?v=lzPorxuJ6n4
Anchor reply for future information on this...possibly some shutdown videos
couldn't you just use root explorer and put the new wav file in the place of the old one with the same name? This is how I changed my boot animation. I'll try your way if mine doesn't work.
Thanks for this.
hey can you zip your shutdown file and give it to me without the sound? it looks badass, and the axura is pretty homo right now.
also are you sure this will work for vibrants?
my startup i changed from sdcard/system/media/...
Vibrant using simply honey 2.8
Im tryn to add a boot sound an cant figure it out please help there was no boot sound to begin with.. i made PowerOn.wav an tryed in system/etc and then tried media then ui nothings working am i naming this wrong or what Please help me out some on! pm me
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.