Is there a good writeup on the requirements for setting up a 2.1 bootscreen? I've seen some nice 1.5/6 ones and i'd like to port them over the 2.1.
THanks!
i'm pretty sure you can do it the same way.
All of the 1.5 style bootscreens use an xml format with animated gifs, while it seems the 2.1 ones are PNG frames with a dat type control file.
You can still use the old bootscreens, you just have to remove bootanimation.zip, create a bootscreen folder inside /system/media, then drop your bootscreen in there.
I've flashed zips that do exactly that and they never work for me.
bootanimation.zip removed. reboot.
flash whatever bootscreen. /system/media/bootscreen is created. contains gif, xml, and audio. get blackscreen during boot and not animation.
the only ones I have gotten to work are tailored for 2.1 specifically.
ogboot said:
I've flashed zips that do exactly that and they never work for me.
bootanimation.zip removed. reboot.
flash whatever bootscreen. /system/media/bootscreen is created. contains gif, xml, and audio. get blackscreen during boot and not animation.
the only ones I have gotten to work are tailored for 2.1 specifically.
Click to expand...
Click to collapse
post one of the zips up and let me take a look at it, maybe something's different in the xml.
And you are on Sprint? Some people have been having troubles if they are not on Sprint.
regaw_leinad said:
post one of the zips up and let me take a look at it, maybe something's different in the xml.
And you are on Sprint? Some people have been having troubles if they are not on Sprint.
Click to expand...
Click to collapse
Thanks Regaw. You're right i'm Cellsouth.
The ones that work for me are folders containing PNG frames and a desc file (no xml). There is a supernova out that works fine and it has this format. I have access to GIMP so i've considered pulling all the frames out of one of the gifs, saving them as PNG and then recreating the directory structure I see in a standard bootanimation.zip. However, I haven't seen a batch method in GIMP for saving the frames as individual PNG files so it would kind of be a pain in the arse.
I've tried many of the ones in the 2.1 collection thread, same results every time. phone works great just the black screen during boot.
okkkkkkkkkk...........
so...
Can someone tell me the format for creating a bootanimation.zip that uses a desc file and PNG files? I've looked at the desc file and can obviously see where it has resolution info and references the part folders, hasn't anyone created a bootscreen in this format before though?
Thanks.
Related
I looked into the file /system/framework/framework-res.apk
inside, there are lots of xml under /res/anim,
the name suggest these xml to be animation definitions:
slide_in_left.xml
slide_in_right.xml
task_open_enter.xml
...
Have anyone looked at these yet? those files are not plain xml file, seems to be encoded / compiled, in a way i don't understand
maybe we can replace them with corresponding file from H builds to bring back to rotation animation?
Nope. No one has ever look at them
Just kidding. You have to open those with a hex editor.
Hmm theres this other thread about how we dont have those rotation animations unlike the previous builds..wonder if u replace these files with those from a build tht does support tht rotation animation...wud it work
kiddyfurby said:
I looked into the file /system/framework/framework-res.apk
inside, there are lots of xml under /res/anim,
the name suggest these xml to be animation definitions:
slide_in_left.xml
slide_in_right.xml
task_open_enter.xml
...
Have anyone looked at these yet? those files are not plain xml file, seems to be encoded / compiled, in a way i don't understand
maybe we can replace them with corresponding file from H builds to bring back to rotation animation?
Click to expand...
Click to collapse
you can use AXMLPrinter to convert it to readable xml ... but idk how to convert back to binary
EDIT: heres a thread on converting back to binary XML ..
thanks for the information, will take a look when i have time
i will try blindly replace file in an emulator to see how it goes...
kiddyfurby said:
I looked into the file /system/framework/framework-res.apk
inside, there are lots of xml under /res/anim,
the name suggest these xml to be animation definitions:
slide_in_left.xml
slide_in_right.xml
task_open_enter.xml
...
Have anyone looked at these yet? those files are not plain xml file, seems to be encoded / compiled, in a way i don't understand
maybe we can replace them with corresponding file from H builds to bring back to rotation animation?
Click to expand...
Click to collapse
I have switched animations out but still by switching them out you will only get the cupcake slide screen animation
I have looked for haykuro's fancy rotation but I cannot find it
"If you find it please let me know"
oh and here is what I tested
system/framework/framework.apk/anim/all 45 files"but still nothing"
here's something to chew on, maybe...
there's a logcat difference between the two animations
with fancy rotation:
I/WindowManager( 88): Setting rotation to 1, animFlags=128
regular fade:
I/WindowManager( 88): Setting rotation to 1, animFlags=0
can anyone make any sense of the animFlags value and what that may correspond to? makes me think that maybe the animations are simply included in the system and just are hidden and not enabled. and spare parts probably just allows us to change a few more settings in the system, not installing or adding any transitions itself.
Made a mixture of a few boot animations for my DROID X.
Rotten Apple
Stock DROID boot
NeXus Holiday Red
Then added (and mixed horribly) a sound I made from Apple startup, then some stock DROID auido files.
Sorry if its rotated, I forgot about that when I filmed it, but that actual phone and file are in portrait mode. Also, sorry about the "fisheye". My camera is a compact hand held with a 10x zoom. That close, and the lens warped the image a bit.
http://www.youtube.com/watch?v=mJ5DqbbZ2QY
oldschool71 said:
I have been able to get bootanimations to play on my droid x with sound. I took the following steps to enable this. I used root explorer to move the files.
1. Download the attached file. This file is one that I removed from a R2D2 D2.
2. Unzip the file and save the file to your sdcard. The file is labeled bootanimation.
3. Use root explorer and go to the folder /system/bin.
4. In that folder locate the file named bootanimation and save it as bootanimation2
5. move the file that you just renamed to your sdcard
6. move the new file that you downloaded and placed on your sdcard to the folder /system/bin
7. simple as that.
You will need to make sure that what ever audio file that is assigned to your bootanimation is saved in the folder /system/media
Have to give squidlymandingo a thanks for supplying the files from the R2D2 D2. Thanks
Click to expand...
Click to collapse
That is how you apply sound. the .zip is located at
http://www.droidforums.net/forum/droid-hacks/85339-adding-boot-sound-x.html
I have already edited the desc.txt to play one sound at the beginning of the animation. you can use what ever file you want, but it has to be named android.mp3
The sound file needs to be place in the /system/media/ folder, along with the boot animation.
EDIT:: http://www.megaupload.com/?d=AY9FDTRL Link for the zip with bootanimation, sound file, and the /system/bin/ file.
Looks great. Where can we download it from?
I want this too. Looks great.
Sent from my DROIDX using Tapatalk
Anybody want to host the files? Im not sure of a good free site to do it at.
Also, PM with emails and ill send out the animation.
Let me know if u want sound too, as that requires a few extra steps which i will post later/
megaupload.com is a good site to use and its free.
Added link to first post
Very nice mix. Only downside is that I'm gonna be booting my Dx a lot at the bar with my iPhone hobbled friends now
Any one get it to play sound from the start? Tried changing out that bootanimation file in /system/bin/ no luck. Plus the last image from the animation never went away. just showed the image, then i did the slide to unlock and it went to my homescreen.
bad4u6669 said:
Any one get it to play sound from the start? Tried changing out that bootanimation file in /system/bin/ no luck. Plus the last image from the animation never went away. just showed the image, then i did the slide to unlock and it went to my homescreen.
Click to expand...
Click to collapse
Define "from beginning".
My phone has the bong right when the apple appears.. maybe a quarter second delay.
and ive never heard nor seen the last image staying until you unlock.
ok sound plays and animation fixed. I turned your files into an update.zip.
Left in my transformers sound. But its cut off when it starts playing the second set of file.
any work around for this? Do I have to break the audio into 2 seperate files and tell the second one to play once the second animation starts?
Also, what are the restrictions on the files, for instance, i tried to change the hue on another bootani so the colors were closer to the theme i was on. But after changing the hue the animation wont play. Ideas?
bad4u6669 said:
ok sound plays and animation fixed. I turned your files into an update.zip.
Left in my transformers sound. But its cut off when it starts playing the second set of file.
any work around for this? Do I have to break the audio into 2 seperate files and tell the second one to play once the second animation starts?
Also, what are the restrictions on the files, for instance, i tried to change the hue on another bootani so the colors were closer to the theme i was on. But after changing the hue the animation wont play. Ideas?
Click to expand...
Click to collapse
IM new to all this, so i will give you what i know
The breaking up the sound. I am not sure, but you can try it. In the desc.txt you will notice there is a
480 480 13
(stuff)
s android.mp3
(stuff)
***Just add a s (name of file).mp3 here. I am not sure, but i think it may loop with the animation.
for changing the hue, what do you have right now? Whats in the bootaniamtion file. Also, remember when you zip the file it needs to be in store compression, or no compression.
bad4u6669 said:
ok sound plays and animation fixed. I turned your files into an update.zip.
Left in my transformers sound. But its cut off when it starts playing the second set of file.
any work around for this? Do I have to break the audio into 2 seperate files and tell the second one to play once the second animation starts?
Also, what are the restrictions on the files, for instance, i tried to change the hue on another bootani so the colors were closer to the theme i was on. But after changing the hue the animation wont play. Ideas?
Click to expand...
Click to collapse
Also, could you tell me how to make an update.zip.. Just something simple as a boot animation change like the one you made.
Casen said:
Also, could you tell me how to make an update.zip.. Just something simple as a boot animation change like the one you made.
Click to expand...
Click to collapse
I wonder if its the compression messing it up. DO you know why it has to have no compression?
Pm me your email. I will send you and update.zip with all your stuff. Use 7zip or what ever to browse the file structure, its super easy to figure out.
do you know what those lines in the desc.txt mean?
bad4u6669 said:
I wonder if its the compression messing it up. DO you know why it has to have no compression?
Pm me your email. I will send you and update.zip with all your stuff. Use 7zip or what ever to browse the file structure, its super easy to figure out.
do you know what those lines in the desc.txt mean?
Click to expand...
Click to collapse
PM sent, and i dont know why it has to have no compression, but i do know (from trial and error)that if there is compression, you will get a black screen until its time to unlock your phone.
UPDATE: I am currently looking into taking Movie, or music video clips, and turning them into bootanimations. Im not taking requests, as i am very busy with the move, but I will tell you if this is feasible, and if its easily done i will post up what and how to do it
so what does the "13" indicate on the first line? Im guessing the 480 480 is the HxW of the image.
the other animation im messing with, i can now zip it (without compression) and it works, but once i add the "s android.mp3" it wont show the animation.
in this one it is "480 480 10"
bad4u6669 said:
so what does the "13" indicate on the first line? Im guessing the 480 480 is the HxW of the image.
the other animation im messing with, i can now zip it (without compression) and it works, but once i add the "s android.mp3" it wont show the animation.
in this one it is "480 480 10"
Click to expand...
Click to collapse
The "10" is FPS
bad4u6669 said:
so what does the "13" indicate on the first line? Im guessing the 480 480 is the HxW of the image.
the other animation im messing with, i can now zip it (without compression) and it works, but once i add the "s android.mp3" it wont show the animation.
in this one it is "480 480 10"
Click to expand...
Click to collapse
also post your desc text.
the "s android.mp3" should be underneath the first p0 line
Casen said:
also post your desc text.
the "s android.mp3" should be underneath the first p0 line
Click to expand...
Click to collapse
thats where its at.
480 480 10
p 1 0 part0
s android.mp3
p 0 0 part1
bad4u6669 said:
thats where its at.
480 480 10
p 1 0 part0
s android.mp3
p 0 0 part1
Click to expand...
Click to collapse
are you putting any space or anything in there? (inbetween the lines)?
Ive tried a bunch of tutorials and multiple modifications and file types but im still not able to get my boot animation to work
Im trying to turn this Tsar Bomba (biggest Atom Bomb ever)video into a boot animation
Tsar Bomba
Nothing seems to work. Ive tried playing with the dpi and bit depth settings, reducing the number of png files, using different naming for the PNG files (some tutorials say different things) etc but still nothing
I have attached my bootanimation.zip file to this post
If you can let me know why it isn't working or correct what is wrong I would greatly appreciate it.
I know the resolution is not very good on the PNG files but im just trying to get it to work first and then ill worry about how good it looks
Here are the PNG files im working with
Problem appears to be with your desc.txt. It's not formatted properly. Be sure to use a good text editor (notepad doesn't cut it, try notepad+ if you are on a windows box).
Here is more info that should help you out with the desc.txt
http://www.droidforums.net/forum/droid-hacks/9163-desc-txt-boot-animations-works-like.html
Edit: all though there may be something else going on too. Perhaps problem with the format of the images. i just modified desc.txt to appear how it should and put it on my phone and just get a black screen.
gIMpSTa said:
Problem appears to be with your desc.txt. It's not formatted properly. Be sure to use a good text editor (notepad doesn't cut it, try notepad+ if you are on a windows box).
Here is more info that should help you out with the desc.txt
http://www.droidforums.net/forum/droid-hacks/9163-desc-txt-boot-animations-works-like.html
Edit: all though there may be something else going on too. Perhaps problem with the format of the images. i just modified desc.txt to appear how it should and put it on my phone and just get a black screen.
Click to expand...
Click to collapse
In terms of format I downloaded the clip from youtube and changed it into an AVI then I used virtualdub to get the png images from the clip
what type of format for the png is needed?
spotted your problem first they need to be labled as boot_00001 also there needs to be two folders part0 and part1.
I've edited your bootanimation.zip now it is working.
Cool animation but can you make it loop? For me it only plays once.
davados said:
I've edited your bootanimation.zip now it is working.
Click to expand...
Click to collapse
Thanks a million.
jimbobalu said:
Cool animation but can you make it loop? For me it only plays once.
Click to expand...
Click to collapse
here u go just needed to change a value in the txt file
Is there any limitations on the number of frames the animation can have?
Im curious in order to make it look better
Not to sure but the highest I've created a bootanimation is 162 images plus 27 for the end loop I think its just a matter of playing with it.
i made a boot animation to match the liberty rom. it is the raising of the flag on mnt serabachi on iwo jima. i made the folder structure and the appropriate desc.txt but it wont play on my dx. Can anyone help me get this to work?
sound DO NOT WORK on liberty Rom (dont ask me why cuz i really dont know), i was checking you animation and i recommend to use at least minimum 480x320 image size and max 480x854 , as you may know you can set the animation size on the desc.txt so no need to go high and then going down on the desc.txt , that way you'll have a not heavy and lighter zip file at the end cuz 29MB for a bootanimation is kinda big using only 220 frames.....
P.S. that's one of the reason i use .jpg format instead of .png
thank you for the reply. is there any way to batch resize the pictures? i really dont want to do 220 pics individually. I CAN however, batch rename the pictures to the .jpg extension. I will do that and research how to batch resize.
mattmartin77 said:
thank you for the reply. is there any way to batch resize the pictures? i really dont want to do 220 pics individually. I CAN however, batch rename the pictures to the .jpg extension. I will do that and research how to batch resize.
Click to expand...
Click to collapse
mmm not really the programs i use just do batch rename and format change but not resize :-( ...... i have never have the need on doing it cuz use a program to create my clips and safe those clips with the right size and then create the jpg's out of it
well i found that both gimp and photoshop can batch resize easily so i am going to try that
mattmartin77 said:
well i found that both gimp and photoshop can batch resize easily so i am going to try that
Click to expand...
Click to collapse
mmmm interesting i didnt know gimp does it LoL...thats good to know... thanks for sharing info
draken78 said:
mmmm interesting i didnt know gimp does it LoL...thats good to know... thanks for sharing info
Click to expand...
Click to collapse
well you need a plugin, but its free and so far working great! not only is it resizing all my images, but it is also changing em to .jpg at the same time.
i just finished resizing, im going to try it now.
ok i tested the boot animation again with the resized pictures in a jpg format. the size is now 480x360 because i kept the original ratio, and i made the desc.txt 480x360 at 15fps. i converted everything to .jpg and i removed the audio. i used the liberty toolbox to flash it then i confirmed it was in the right spot using root explorer. i rebooted and all that appeared was a blank screen... any suggestions?
i really would like an answer, bump
Make sure when putting all the files/images/desc file into the zip you set the compression method to STORE and not NORMAL. When my bootanims were just a black screen this is what fixed it.
Explodee said:
Make sure when putting all the files/images/desc file into the zip you set the compression method to STORE and not NORMAL. When my bootanims were just a black screen this is what fixed it.
Click to expand...
Click to collapse
thank you for your help, but how to I change my compression method?
mattmartin77 said:
thank you for your help, but how to I change my compression method?
Click to expand...
Click to collapse
if you are using WINRAR do the follow :
1- select the folders and file to compress
2- right click on you mouse/touch pad (in case you are using a laptop like me LoL)
3- select " add to archive"
4- there you can change you compression method from normal to store
5- add a name to the file and select ZIP
6- click OK
7- you're done.
if you are using 7zip is pretty much the same steps from winrar...
hope that helps
thank you so much it works now! im going to put a few finishing touches on it and post it up!
mattmartin77 said:
thank you so much it works now! im going to put a few finishing touches on it and post it up!
Click to expand...
Click to collapse
Super ..... hope to see your animation soon
a few things for future reference though,
1. what is a good gif creator? i have tried at least 10 websites and at least 6 programs and none do what i want efficiently. i want to open all 220 frames at once and make an animation rather than opening each individually like i had to.
2. what is a good video to jpg creator? i had to go frame by frame and take snapshots for my entire animation last time and i took like 2 hours:/
mattmartin77 said:
a few things for future reference though,
1. what is a good gif creator? i have tried at least 10 websites and at least 6 programs and none do what i want efficiently. i want to open all 220 frames at once and make an animation rather than opening each individually like i had to.
2. what is a good video to jpg creator? i had to go frame by frame and take snapshots for my entire animation last time and i took like 2 hours:/
Click to expand...
Click to collapse
1 - Animated GIF Producer and Ulead GIF Animator so far are the best out there
2 - Video to JPG converter is my favorite and the best for bootanimations.
thank you, thread can be closed.
Hi
I got a bootanimation.zip from SGS i9000 consists of JPG files, not PNG files, and it works great on our phone, taking significant less space.
The problem I'm having, & i had it with PNG as well, is that eventhough i created new images with the same resolution, dpi and color depth, i get blank screen running them. I used paintbrush & irfanview for the changes.
Anyone knows what could i possibly missed? How can i fix it ?
Thanks!!!
Sent from me
Read this, it should help.
http://forum.xda-developers.com/showthread.php?t=1096068
Just send the files to me, I'll fix it. It has to be packed properly.
Did you compress your zip file? Your not supposed to.
Does your script match the file format and number of folders?
Got it !!!
It was the compression method - had to be STORE...
Thank you guys.