i'm tring to make a boot animation and i have the pics as png in a folder,i have a desc, and i have signed and zipped it but when i try to install i get can't find update script. i have looked into other bootanimes and not all have that. so thats where im stuck if anyone could help me learn what i'm doing wrong that would be great. thx
Help Anyone?
dased14 said:
i'm tring to make a boot animation and i have the pics as png in a folder,i have a desc, and i have signed and zipped it but when i try to install i get can't find update script. i have looked into other bootanimes and not all have that. so thats where im stuck if anyone could help me learn what i'm doing wrong that would be great. thx
Click to expand...
Click to collapse
How are you trying to install? Did you make sure you bootanimation.zip is a storage zip?
Trying to make it flashable through recovery, and I think on 7zip I used normal, but i'll check into that after I get home.
dased14 said:
Trying to make it flashable through recovery, and I think on 7zip I used normal, but i'll check into that after I get home.
Click to expand...
Click to collapse
After creating your bootanimation -- You need to make sure that a couple things have been done correctly for the bootanimation to 1) Work and 2) Be able to be flashed via recovery.
1) To make the bootanimation work
a. Make sure that after creating the animation itself that the .zip you create has NO compression -- (e.g You use "store" mode, instead of "normal" -- both 7zip/Winrar have this feature)
b. Make sure the desc.txt file is properly formatted and has the correct folder names inside the file. Also make sure you have a carriage return (press enter) at the VERY last line of your desc.txt file
c) Make sure the .png filenames are somewhat sequential and organized. (e.g. BootUp001, BootUp002, BootUp003, etc)
2a) To make a flashable package
a. First create a folder to house the bootanimation and you'll also need to explicitly define the folder names that you want the animation to be pushed to. (e.g -- Inside lets say the "MyBootanimation" folder -- you should have three folders; they're names respectively are:: system/customize/resource
Inside the resource folder is where your newly created bootanimation.zip will go.
2b) To make the package flashable and work in recovery; you'll need a update-script file which should be in a folder called:: META-INF (ALL CAPS); inside that folder should reside, three more folders:: com/google/android/. The update-script file will go INSIDE the android folder.
I've attached a simple update-script file that will make your package flashable. Unzip the "Extract-ME" file and you'll find the file.
So, to get this to work, you'll open the "MyBootanimation folder and inside it should reside to folders (system (and it's subfolders); which houses the bootanimation and META-INF (and it's subfolders); which houses the update-script). You need to select both files and zip them up in NORMAL mode, not "store" mode. This will create your new package, which you then need to sign via whatever method you use. I use command line and I'd like not to explain that if I don't have to.
here's the file i'm working on if someone wants to take a look at it and tell me what i'm doing wrong that would help me out a lot.if you can i would like to know what is wrong so for future use and the knowledge.
http://dl.dropbox.com/u/9628638/bootanimation1.zip
Lemme know if this helps...
dased14 said:
here's the file i'm working on if someone wants to take a look at it and tell me what i'm doing wrong that would help me out a lot.if you can i would like to know what is wrong so for future use and the knowledge.
Click to expand...
Click to collapse
Two noticeable things:
1. Your images are 850 x 400 (resize all to 800 x 450)
2. Your .zip file is not arranged right.(look at my attached file, should give you an idea)
Your file is way too big to upload here so attaching the base file here for you to work with.
- First, zip the android folder,part2 folder and the desc.txt file as a storage, and name the file bootanimation.zip.
- Second, 7zip my file and navigate to customize>resource and replace the file there with the one you created in the previous step.
- Close and flash the file (This is in amend so you might want to use clockwork 2x (or equivalent RA) to flash it. Feel free to change the update script if you wish)
I tried this on my myn RLS5, works like a charm. Might want to change the desc.txt to match the image dimensions. (800 x 450)
I hope this helps.
PS: I Like the minion animation.
now it came up E:\wrong digest:customize/resource/bootanimation.zip huh?
i put the file here http://dl.dropbox.com/u/9628638/minionsdisco.zip
i know i'm a pain in the [email protected]@, thanks for all the help
edit: i figured out what i was doing wrong it was the way i was zipped files together. now to speed it up and maybe a loop
here's a working one http://dl.dropbox.com/u/9628638/minionsdisco1.zip. how do i speed it up to play more like the movie.
ps thanks to pseudoremora,theidlemonk for helping me figure out what i was doing wrong.
pm me your email...I'll send the file over...i am having trouble uploading it
dased14 said:
now it came up E:\wrong digest:customize/resource/bootanimation.zip huh?
i put the file here http://dl.dropbox.com/u/9628638/minionsdisco.zip
i know i'm a pain in the [email protected]@, thanks for all the help
Click to expand...
Click to collapse
First and foremost -- I don't know whose method recommended that you leave the "system" folder out of the flashing process, but that's a very incorrect way of doing this.
I've stated earlier that you need THREE folders -- SYSTEM, customize, and resource. You only have customize and resource. Your customize folder (and it's subfolders) needs to be placed inside a folder labeled "system".
Secondly, the command you're using in the update-script, while it will work now; will not work if someone decides to change the structure of your package in the future. The update-script I uploaded earlier allows for future flashing because anything placed inside the "system" folder (which Android 100% relies on) will always be flashed, as long as the structure is correct within the system folder.
You should remove the update-script you have now and place this one inside it (if you decide to use the method I've stated above). I've attached the file below (extract first).
Lastly, quite frankly; I've never seen a 60MB bootanimation before and to be honest, that's just unbelievably huge. You need to figure out either how to shorten your animation or to compress it in a manner which will lower its size.
Also, the native resolution for the EVO is 480 x 800 and not 450 x 800 for future reference.
pseudoremora said:
First and foremost -- I don't know whose method recommended that you leave the "system" folder out of the flashing process, but that's a very incorrect way of doing this.
I've stated earlier that you need THREE folders -- SYSTEM, customize, and resource. You only have customize and resource. Your customize folder (and it's subfolders) needs to be placed inside a folder labeled "system".
Secondly, the command you're using in the update-script, while it will work now; will not work if someone decides to change the structure of your package in the future. The update-script I uploaded earlier allows for future flashing because anything placed inside the "system" folder (which Android 100% relies on) will always be flashed, as long as the structure is correct within the system folder.
You should remove the update-script you have now and place this one inside it (if you decide to use the method I've stated above). I've attached the file below (extract first).
Lastly, quite frankly; I've never seen a 60MB bootanimation before and to be honest, that's just unbelievably huge. You need to figure out either how to shorten your animation or to compress it in a manner which will lower its size.
Also, the native resolution for the EVO is 480 x 800 and not 450 x 800 for future reference.
Click to expand...
Click to collapse
ok thanks,how would i compress it to make it smaller? and i want to speed it up to run more like the movie. i have it working it just runs kinda slow?
Not sure if you are on windows, but if you are then pngoptimizer does the trick (should be able to do multiple pngs at a time) and its free online. Also on windows I had an issue with the bootanimation.zip because windows kept adding the thumbs.* file in the two folders other than the desc.txt...that made my animation choppy. Just 7zip into you file and delete if you see it.
pseudoremora said:
First and foremost -- I don't know whose method recommended that you leave the "system" folder out of the flashing process, but that's a very incorrect way of doing this.
I've stated earlier that you need THREE folders -- SYSTEM, customize, and resource. You only have customize and resource. Your customize folder (and it's subfolders) needs to be placed inside a folder labeled "system".
Secondly, the command you're using in the update-script, while it will work now; will not work if someone decides to change the structure of your package in the future. The update-script I uploaded earlier allows for future flashing because anything placed inside the "system" folder (which Android 100% relies on) will always be flashed, as long as the structure is correct within the system folder.
You should remove the update-script you have now and place this one inside it (if you decide to use the method I've stated above). I've attached the file below (extract first).
Lastly, quite frankly; I've never seen a 60MB bootanimation before and to be honest, that's just unbelievably huge. You need to figure out either how to shorten your animation or to compress it in a manner which will lower its size.
Also, the native resolution for the EVO is 480 x 800 and not 450 x 800 for future reference.
Click to expand...
Click to collapse
thanks for your help on this, i'm looking for any ideas on how to compress this to make it smaller in size(without losing any animations) i have been usiing 7zip to compress it
dased14 said:
thanks for your help on this, i'm looking for any ideas on how to compress this to make it smaller in size(without losing any animations) i have been usiing 7zip to compress it
Click to expand...
Click to collapse
pngoptimizer as theidlemonk recommended should be used for each PNG file and hopefully should bring down the size a bit. Otherwise; it really comes down to cutting the animation.
I'm not saying you can't push a 60MB file onto your phone as a bootanimation; but I think it's huge waste of space for such a thing. You have to remember; we're only talking about the bootanimation here and quite frankly, the EVO tends to boot up rather quickly, so trying to show a clip from a movie really shouldn't be your goal -- if anything, you can take bits and pieces from the clip and use that instead.
Personally, I try to make my bootanimations minimal and light. The important part of the animation is actually the looping; so concentrate on that.
pseudoremora said:
pngoptimizer as theidlemonk recommended should be used for each PNG file and hopefully should bring down the size a bit. Otherwise; it really comes down to cutting the animation.
I'm not saying you can't push a 60MB file onto your phone as a bootanimation; but I think it's huge waste of space for such a thing. You have to remember; we're only talking about the bootanimation here and quite frankly, the EVO tends to boot up rather quickly, so trying to show a clip from a movie really shouldn't be your goal -- if anything, you can take bits and pieces from the clip and use that instead.
Personally, I try to make my bootanimations minimal and light. The important part of the animation is actually the looping; so concentrate on that.
Click to expand...
Click to collapse
i'll look into pngoptimizer, now would i set eveything up the same for loop(with fewer animations)like i said this is the first one i have ever tried to make(i hope i get better as i do more) how would i add sound to one. and thx again guys for putting up with me and for all the help
dased14 said:
i'll look into pngoptimizer, now would i set eveything up the same for loop(with fewer animations)like i said this is the first one i have ever tried to make(i hope i get better as i do more) how would i add sound to one. and thx again guys for putting up with me and for all the help
Click to expand...
Click to collapse
I'd advise you take a look at this post and this one also. I wrote that quite some time ago, however it's still very much applicable today.
Edit:: It's actually probably good to read the posts from pages 15, 16, and probably 17 as well in the links I've posted above.
what would you guys say is the best png optimizer to (less loss, better compression)
dased14 said:
what would you guys say is the best png optimizer to (less loss, better compression)
Click to expand...
Click to collapse
Both of us just told you.
Use pngoptimizer. The program itself optimizes each png, taking away any erroneous data and leaves everything else intact; thus giving you a smaller .png file. Doing this for EACH .png file will result in a smaller bootanimation file.
PNGs can be optimized just so much, I would rather think more on the lines of what pseudoremora said: Cutting down animation to keep it minimal and light. Looping will also be a big part as you have over 300 images. Looping would reuse images and allow cutting of parts. (I hope I made sense).
pseudoremora said:
Both of us just told you.
Use pngoptimizer. The program itself optimizes each png, taking away any erroneous data and leaves everything else intact; thus giving you a smaller .png file. Doing this for EACH .png file will result in a smaller bootanimation file.
Click to expand...
Click to collapse
Ok I wasn't sure if that was the name of it or a program type, Googled it and got a bunch of different ones just wanted to make sure. And yes I know its a large file and I will take both of your advice and cut it down. Again thanks for the time and help
Related
Hey everyone, so I'm just starting to buckle down and learn more about Android Mods. Here's my latest question. I have a few zip files that I always flash on top of a new ROM. These include at the moment, a Rotary Lockscreen and the DroidX boot animation, possibly a circle battery shortly.
My question is, would there be a simple way to merge these zip files so I only have to flash one every time I load a new ROM, or even better, load these into a ROM file before flashing?
Is it as simple as opening the ZIPs, moving the files from one to the other (keeping the directory structure intact) and re-zipping the lot? Or is there something more complicated I need to look at...
Thanks in advance!
Edit: A quick look in one of the files revealed a .xml file with some references to the files to be installed. I assume I would have to edit the .xml to include all the instructions from each mod, but if that's all it takes, that should be easy... Again, I ask all of you... Am I missing something?
PSULightingGuy said:
Hey everyone, so I'm just starting to buckle down and learn more about Android Mods. Here's my latest question. I have a few zip files that I always flash on top of a new ROM. These include at the moment, a Rotary Lockscreen and the DroidX boot animation, possibly a circle battery shortly.
My question is, would there be a simple way to merge these zip files so I only have to flash one every time I load a new ROM, or even better, load these into a ROM file before flashing?
Is it as simple as opening the ZIPs, moving the files from one to the other (keeping the directory structure intact) and re-zipping the lot? Or is there something more complicated I need to look at...
Thanks in advance!
Edit: A quick look in one of the files revealed a .xml file with some references to the files to be installed. I assume I would have to edit the .xml to include all the instructions from each mod, but if that's all it takes, that should be easy... Again, I ask all of you... Am I missing something?
Click to expand...
Click to collapse
i think you need to edit the meta file and the xml file, but this can be done though.
PSULightingGuy said:
Hey everyone, so I'm just starting to buckle down and learn more about Android Mods. Here's my latest question. I have a few zip files that I always flash on top of a new ROM. These include at the moment, a Rotary Lockscreen and the DroidX boot animation, possibly a circle battery shortly.
My question is, would there be a simple way to merge these zip files so I only have to flash one every time I load a new ROM, or even better, load these into a ROM file before flashing?
Is it as simple as opening the ZIPs, moving the files from one to the other (keeping the directory structure intact) and re-zipping the lot? Or is there something more complicated I need to look at...
Thanks in advance!
Edit: A quick look in one of the files revealed a .xml file with some references to the files to be installed. I assume I would have to edit the .xml to include all the instructions from each mod, but if that's all it takes, that should be easy... Again, I ask all of you... Am I missing something?
Click to expand...
Click to collapse
what is the full name of the .xml file you see?
the recovery reads a file called update-script or updater-script inside the zip file META-INF/com/google/android/ directory. you memorize that directory path after messing with enough zip files!
that file tells the recovery what actions to take with which files. for list of very basic commands for this update-script file, i have a guide - http://forum.sdx-developers.com/android-2-1/creating-an-update-zip-list-of-commands/
it is possible to merge update.zip files but its important to understand their structure and how the commands are executed.
also signing .zip files is a whole different topic...
hopefully this helps get you going in the correct direction!
joeykrim said:
what is the full name of the .xml file you see?
the recovery reads a file called update-script or updater-script inside the zip file META-INF/com/google/android/ directory. you memorize that directory path after messing with enough zip files!
that file tells the recovery what actions to take with which files. for list of very basic commands for this update-script file, i have a guide - http://forum.sdx-developers.com/android-2-1/creating-an-update-zip-list-of-commands/
Click to expand...
Click to collapse
Since all the files have this could you copy and paste the codes inside them into one file?
Sent from my PC36100 using XDA App
chandlerw88 said:
Since all the files have this could you copy and paste the codes inside them into one file?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You would want to read up a little bit and make sure you understand the commands, but yes. You do not want to copy the entire set of commands, just the particular needed lines. Often you don't need to change anything because the script may just say copy this entire system directory and everything in it will go.
Sent from my PC36100 using XDA App
It's pretty basic.
Move all the files into the same zip delete everything in meta-inf except the update script.
Adjust the script accordingly, pay attention to syntax or better yet just look at all the individual scripts and put them together, then remove dupes
As for zip signing..
This is what you need
http://forum.xda-developers.com/showthread.php?t=666441
OK, thanks! This has all helped a lot and I think I nailed the basics that I was shooting for, just haven't been able to test yet since no need to re-flash a working ROM.
My next question is, would there be a way to force files INSIDE an APK? Trying to add a different battery meter (have the images) to framework-res.apk and would love to do that from a boot script... Ideas?
PSULightingGuy said:
OK, thanks! This has all helped a lot and I think I nailed the basics that I was shooting for, just haven't been able to test yet since no need to re-flash a working ROM.
My next question is, would there be a way to force files INSIDE an APK? Trying to add a different battery meter (have the images) to framework-res.apk and would love to do that from a boot script... Ideas?
Click to expand...
Click to collapse
yes, its called 7-zip and its your new best friend in this battle. heres how i learned.
i started ripping apart the things that i liked, including roms themselves. now find an update zip that has the files inside the folders that you will need to add, and you can then recycle that update zip. here it is plain and simple:
1.use 7zip to VIEW; NEVER UNZIP the files(forget about windows zips)
2.check what folder the apps you will be putting in belong in
3.put them in their corresponding folders(some apps are tricky when you need to install their libs too and you dont know it)
4.erase the 3 bottom files in your meta-inf folder
5.resign the rom
6.verify the sign(look for the new certs)
7.move to sd
8.flash rom
9.have a pop,beer, or w/e your vice.(my fave is cherry coke)
if you need help getting started feel free to pm. you dont know who i am, but ive been thru this process many times.
Actually, that's not quite what I'm talking about... I want a flashable zip that will add certain images (the battery meter) to the INSIDE of a .apk file that already exists on the device. Not sure if it's possible, but if so, I'd love to know... If not, I'll try pulling the .apk and using 7-zip...
I made a custom boot animation to go along with the theme that Shane6374 and I made (you can find our theme here: [THEME]Special Edition:midNIGHT ROM Autism Awareness Theme+LP+Icons+Boot Animation) and its not working. Basically what I did was I took a boot animation that works (its the one I am using now) and replaced the .png's with my own. But when I boot up all I get is a black screen until the phone boots. I have checked everything I can think of. The pics are the same dimensions, the same resolution, the same format. The only thing I see different is that mine uses more colors. IDK if that is a limitation on boot animations (but I doubt it). Does anyone have any ideas? There must be something I am missing. I'm going to post the bootanimation.zip I made here so feel free to download it and see if you can figure out what is wrong.
Johnny.Bravo said:
I made a custom boot animation to go along with the theme that Shane6374 and I made (you can find our theme here: [THEME][EB13]Special midNIGHT ROM Autism Awareness Theme + Launcher Pro + Icons) and its not working. Basically what I did was I took a boot animation that works (its the one I am using now) and replaced the .png's with my own. But when I boot up all I get is a black screen until the phone boots. I have checked everything I can think of. The pics are the same dimensions, the same resolution, the same format. The only thing I see different is that mine uses more colors. IDK if that is a limitation on boot animations (but I doubt it). Does anyone have any ideas? There must be something I am missing. I'm going to post the bootanimation.zip I made here so feel free to download it and see if you can figure out what is wrong.
Click to expand...
Click to collapse
Do not have the time do more than a quick look now. If someone doesn't beat me too it, I will see what I can find tmorrow.
jstine671 said:
Do not have the time do more than a quick look now. If someone doesn't beat me too it, I will see what I can find tmorrow.
Click to expand...
Click to collapse
Thanks. I've been beating my head against a wall over this for 4 days.
Your desc.txt file is saved in windows format. it uses a different code for carriage returns than does unix formatted text files. you can just open it up in something like notepad++ and under edit-->EOL Conversion switch it to unix format and it should work.
optmsprim2 said:
Your desc.txt file is saved in windows format. it uses a different code for carriage returns than does unix formatted text files. you can just open it up in something like notepad++ and under edit-->EOL Conversion switch it to unix format and it should work.
Click to expand...
Click to collapse
Thanks. I'm gonna give that a shot right now.
optmsprim2 said:
Your desc.txt file is saved in windows format. it uses a different code for carriage returns than does unix formatted text files. you can just open it up in something like notepad++ and under edit-->EOL Conversion switch it to unix format and it should work.
Click to expand...
Click to collapse
Johnny.Bravo said:
Thanks. I'm gonna give that a shot right now.
Click to expand...
Click to collapse
Didn't work. You were right about the the format, so I changed it to Unix, but I still get a blank screen instead of the animation while its booting.
I uploaded the bootanimation.zip with the new desc.txt file just in case you wanted to double check.
Here is something interesting.....
I decided to look at the files in the bootanimation.zip on my phone. I used Root Explorer and went into the part0 folder. The images display just fine with Astro Image viewer, but Gallery just gives me a blank screen. I think its some sort of issue with the native image viewer not being able to display these images properly. If this were Windows I would say I am missing a driver, but its Linux.
So, I say again.....any ideas?
Oh. Your zip is compressed. Make sure you set it to no compression when you make your archive.
optmsprim2 said:
Oh. Your zip is compressed. Make sure you set it to no compression when you make your archive.
Click to expand...
Click to collapse
I started with the boot animation that is currently on my phone. I used 7zip to open the bootanimation.zip and replaced the original images with mine. I didn't change any compression settings (that I am aware of anyway).
I'm not sure about 7zip, I use winrar, but I imagine it might work similarly. If I just drag and drop files into and out of an archive it automatically compresses them. When I opened your archive the PNGs were ever so slightly compressed, not much since they are already so small, but any compression will stop it from playing. In winrar I just add the folder and txt file to a new archive and just use "store" as the compression method. I don't know what the setting is in 7zip but it probably has some similar setting.
OK, so now I need to figure out where the compression settings in 7zip are.
Thanks
There was also some issues with your file names. They need to be in the format "ANYNAME_00001.png" I believe. So you need to have any random name with an underscore, it doesn't matter what, but the numbering has to include 5 digits. I went ahead and did it and packaged it up for you. Works on my phone, Bonsai 3.0.1. Cool stuff!
optmsprim2 said:
There was also some issues with your file names. They need to be in the format "ANYNAME_00001.png" I believe. So you need to have any random name with an underscore, it doesn't matter what, but the numbering has to include 5 digits. I went ahead and did it and packaged it up for you. Works on my phone, Bonsai 3.0.1. Cool stuff!
Click to expand...
Click to collapse
Thanks! I knew it had to be something simple that I was missing. If I could hit the Thanks button 1000 times I would. I just flashed it on mine and it works.
Thanks again.
Frames can be named anything as long as th order is inlin for android to read properly.
Ex.
Name_001
Name_002
Name_003
Name_004
Name_005
Name_006
Name_007
Name_008
Name_009
Name_010 and so on.
Also use 7zip for zipping them up with it always set on store.
Another thing to watch out for is that when creating your part folders usin a pc running wndows, be careful not to let windows throw a hidden indexing file into the folder. This happens a lot and will give the animation the white flash screen that so many ppl have problems with, it can also cause the black nothing screen.
ZHkilla said:
Frames can be named anything as long as th order is inlin for android to read properly.
Ex.
Name_001
Name_002
Name_003
Name_004
Name_005
Name_006
Name_007
Name_008
Name_009
Name_010 and so on.
Also use 7zip for zipping them up with it always set on store.
Another thing to watch out for is that when creating your part folders usin a pc running wndows, be careful not to let windows throw a hidden indexing file into the folder. This happens a lot and will give the animation the white flash screen that so many ppl have problems with, it can also cause the black nothing screen.
Click to expand...
Click to collapse
Thanks. This is my first one so I had a bit of a learning curve. I used up all my thanks on optmsprim2 but I'll come back tomorrow and get you.
BTW I looked but I can't find where you set the compression settings in 7zip. How do I set in on store?
Johnny.Bravo said:
Thanks. This is my first one so I had a bit of a learning curve. I used up all my thanks on optmsprim2 but I'll come back tomorrow and get you.
BTW I looked but I can't find where you set the compression settings in 7zip. How do I set in on store?
Click to expand...
Click to collapse
JB, I found it last night. When you "add to archive" the options for compression come up. It almost the same as in winrar.
Sent from my Epic 4G running the midNIGHT rom via Tapatalk
Everything works and its packaged up to flash with CW3.
Thanks a ton for your guys' help. Follow the link in the OP and go to post #2 for the Clockwork flashable zip
Can someone test these? I wasnt sure how or which format the boot animations were supposed to be; the first set is in full resolution (1900 by 1080 methinks) I also compiled a GIF, and a smaller set of images.
I used one of the many wonderful splash converter/genertor programs to make the IMG.
There are also two free wallpapers that I made (altair+tron to give you an idea)
I've tried just about every tutorial for flashing both a boot animation or a splash screen and I cant get either to work. I'm running unrevoked, my hboot is newer than 2.x, I tried formatting my (2gb; dont have another one) micro sd to fat32, I AM rooted (s-off) I have sdk and adb and the drivers all installed correctly. I'm zipping uncompressed with 7zip, (aes-256), editing text files with notepad(but i tried with and without editing), pushed the files into media, local, resources, and one more(but im to lazy to look up where) all with no results except having a blank black boot screen. I have tried using terminal emulator, file explorer, and many other things.(that's all I can pull off the top of my head right now) Any help is greatly appreciated!
As of yet I have no idea if any of these work(well except the wallpapers ), because none of the other boot animations OR splash screens work either... Maybe tomorrow ill try flashing a new rom and see if that fixes it. If they DONT work, please help me fix them/let me know what I did wrong. (because I have 3 more i'd like to finish making) I've spent the last 4 days trying to make this work and I'm pretty frustrated right now...
Well there are no files to test, and if you used unrevoked, you have to create your splash screen slightly different, and needs to be converted from a .nbg extension, not the .rgb656 extension.
teh roxxorz said:
Well there are no files to test, and if you used unrevoked, you have to create your splash screen slightly different, and needs to be converted from a .nbg extension, not the .rgb656 extension.
Click to expand...
Click to collapse
Strange... i attached them... here they are.. If i change the rom then the other tutorials should work?
sharxbyte said:
Strange... i attached them... here they are.. If i change the rom then the other tutorials should work?
Click to expand...
Click to collapse
Again not attached. You have to wait til the uploader reaches 100% in the popup window or it won't attach.
Bootanimations:
sense > /system/customize/resource
AOSP > /system/media
I was waiting for it to load, went back to edit the post, and forgot to wait for it to finish... Then I couldn't edit/attach it for 5 minutes... But ya, it's attached now.. Sorry for the wait.
Hello? anyone? It's attached now...
taking a look.....
only the splash and wallpapers will work. the boots are all formatted incorrectly and it needs to be a series of .png's not one .gif.
dkdude36 said:
only the splash and wallpapers will work. the boots are all formatted incorrectly and it needs to be a series of .png's not one .gif.
Click to expand...
Click to collapse
Thanks for looking. I wasn't sure because I've read on more than one thread that people had used Gif's. Im pretty sure at least two of the boots were png series.. How should I format them?
any1 here?
sharxbyte said:
Thanks for looking. I wasn't sure because I've read on more than one thread that people had used Gif's. Im pretty sure at least two of the boots were png series.. How should I format them?
Click to expand...
Click to collapse
this was sent to me by another member here. your desc should read 480 800
each frame of vid needs to be 480x800 png(yes you have to have it frame by frame)
hope this helps some
"quoted from pseudoremora"
After creating your bootanimation -- You need to make sure that a couple things have been done correctly for the bootanimation to 1) Work and 2) Be able to be flashed via recovery.
1) To make the bootanimation work
a. Make sure that after creating the animation itself that the .zip you create has NO compression -- (e.g You use "store" mode, instead of "normal" -- both 7zip/Winrar have this feature)
b. Make sure the desc.txt file is properly formatted and has the correct folder names inside the file. Also make sure you have a carriage return (press enter) at the VERY last line of your desc.txt file
c) Make sure the .png filenames are somewhat sequential and organized. (e.g. BootUp001, BootUp002, BootUp003, etc)
2a) To make a flashable package
a. First create a folder to house the bootanimation and you'll also need to explicitly define the folder names that you want the animation to be pushed to. (e.g -- Inside lets say the "MyBootanimation" folder -- you should have three folders; they're names respectively are:: system/customize/resource
Inside the resource folder is where your newly created bootanimation.zip will go.
2b) To make the package flashable and work in recovery; you'll need a update-script file which should be in a folder called:: META-INF (ALL CAPS); inside that folder should reside, three more folders:: com/google/android/. The update-script file will go INSIDE the android folder.
So, to get this to work, you'll open the "MyBootanimation folder and inside it should reside to folders (system (and it's subfolders); which houses the bootanimation and META-INF (and it's subfolders); which houses the update-script). You need to select both files and zip them up in NORMAL mode, not "store" mode. This will create your new package, which you then need to sign via whatever method you use. I use command line and I'd like not to explain that if I don't have to.
--------------------------------------------------------------------------------
i have been doing further reasearch and experimentation... at the moment im waiting for my phone to boot and test the animation.(it failed) I found scripts for gimp that auto crop(with w/h and x-y offsets)/resize in batch so that can save lots of time there.
I'll follow your instructions and see how that works. Should I make the files inside system? (customize/resource) I'm currently running Kings UNleashed GB R3 NEON if that changes anything... i have HBOOT 2.10, and no ENG extended fastboot commands as far as I'm aware. Amon Ra supersonic-v2.3 recovery
If im successful in making the signed working file then ill post it up here =]
Okay, so I was unsuccessful... It installs properly, but the animation doesnt play; it black-screens, then finishes booting... help? I'll attach the whole signed zip so you have exactly what i have.
bootanimation.zip
EDIT: seem to be having a problem uploading the file i have it working for(system\customize\resource) will try to upload tomorrow
try this dropbox http://dl.dropbox.com/u/9628638/tron1.zip
let me know if this works for you
I installed it and same thing; black screen.. you said you got it working? what did you do to make it work?
try this one http://dl.dropbox.com/u/9628638/tron2.zip
i renamed all the png(heard that it had to have at least 5 characters and ran those through png optimizer) renamed the folders and changed the desc to match.
i think your bootanimation maybe in (system\media)
try it and let me know
dased14 said:
try this one http://dl.dropbox.com/u/9628638/tron2.zip
i renamed all the png(heard that it had to have at least 5 characters and ran those through png optimizer) renamed the folders and changed the desc to match.
i think your bootanimation maybe in (system\media)
try it and let me know
Click to expand...
Click to collapse
Thanks =] will test.
this is an installable package, yes?
Yes, flashable zip
Sent from my SPH-P100 using XDA App
dased14 said:
Yes, flashable zip
Sent from my SPH-P100 using XDA App
Click to expand...
Click to collapse
Rebooting now... and.... waiting................... and not working =[
thanks a lot for trying... You got it working on your phone? any1 else want to give it a try?
EDIT: would having a bootanimation in both customize/resource and System/media cause a conflict and so make neither work? I actually found customize/resource and put the file in there, but it doesn't work either... maybe if i remove it then the one in system/media can work...
EDIT AGAIN: apparently it has no effect =[
Yes plays a little slow, running myn's 2.2. Do you know where the bootanimation is on that rom that might help
Sent from my SPH-P100 using XDA App
dased14 said:
Yes plays a little slow, running myn's 2.2. Do you know where the bootanimation is on that rom that might help
Sent from my SPH-P100 using XDA App
Click to expand...
Click to collapse
I've tried putting it in both applicable directories with no success... =/ what ROM are you using?
This is my first time trying to create a custom boot animation... I think its going to be great if someone would gladly help me out... I can't figure out what has gone wrong with it and why when I restart its just a black screen.. I appreciate everyone who can help me. Thank you... And Thank You XDA... I would upload it directly to xda but the file is too big... so here is the link to whoever wants to help me...
megaupload[dot]com/?d=7NK0BRHR
i noticed and changed alot with it also with the numbering system and still nothing just a black screen...
is it going to the right place some goto (system\customize\resource) some goto (system\media)
whats that ds.store file have never seen that in a evo bootanimation before
both folders are number the same that may make a differance
thing is hugh may want to cut it down maybe split the bigger one in two and remove the smaller and use later as different anime(even after running it through pngoptmizer still over 24.6 mb
hope this helps some
"quoted from pseudoremora"
After creating your bootanimation -- You need to make sure that a couple things have been done correctly for the bootanimation to 1) Work and 2) Be able to be flashed via recovery.
1) To make the bootanimation work
a. Make sure that after creating the animation itself that the .zip you create has NO compression -- (e.g You use "store" mode, instead of "normal" -- both 7zip/Winrar have this feature)
b. Make sure the desc.txt file is properly formatted and has the correct folder names inside the file. Also make sure you have a carriage return (press enter) at the VERY last line of your desc.txt file
c) Make sure the .png filenames are somewhat sequential and organized. (e.g. BootUp001, BootUp002, BootUp003, etc)
2a) To make a flashable package
a. First create a folder to house the bootanimation and you'll also need to explicitly define the folder names that you want the animation to be pushed to. (e.g -- Inside lets say the "MyBootanimation" folder -- you should have three folders; they're names respectively are:: system/customize/resource or system\media
Inside the resource folder is where your newly created bootanimation.zip will go.
2b) To make the package flashable and work in recovery; you'll need a update-script file which should be in a folder called:: META-INF (ALL CAPS); inside that folder should reside, three more folders:: com/google/android/. The update-script file will go INSIDE the android folder.
So, to get this to work, you'll open the "MyBootanimation folder and inside it should reside to folders (system (and it's subfolders); which houses the bootanimation and META-INF (and it's subfolders); which houses the update-script). You need to select both files and zip them up in NORMAL mode, not "store" mode. This will create your new package, which you then need to sign via whatever method you use. I use command line and I'd like not to explain that if I don't have to.
try this(sense base can get asop if thats need)
http://dl.dropbox.com/u/9628638/racecar.zip
dased14 said:
is it going to the right place some goto (system\customize\resource) some goto (system\media)
whats that ds.store file have never seen that in a evo bootanimation before
both folders are number the same that may make a differance
thing is hugh may want to cut it down maybe split the bigger one in two and remove the smaller and use later as different anime(even after running it through pngoptmizer still over 24.6 mb
Click to expand...
Click to collapse
You can also change from png to jpeg. I redid one recently that was 61 mb with pngs, ended up at just over 4 mb with jpegs. Just a thought. And that ds.store, delete it.
Sent from my ADR6300 using XDA App
Ok forum, so I got this idea: because a lot of people ask for CWM packages of this and that, why not let them create CWM flashable stuff without having to beg devs or other users to make them?
I think it saves them (yes, I am talking about YOU!) and us the trouble. So I created these two base CWM flashable zips to get everyone started:
Data_Skeleton.zip - Used for apps that you can uninstall afterwards.
System_Skeleton.zip - Used for anything that should be installed as a system app
Now, a short guide on how to use them:
1. Download the appropriate ZIP for what you plan to package. If you want to make a regular app package use Data_Skeleton.zip, for system apps, use System_Skeleton.zip.
2. Open the zip file with anything else other than Windows Explorer! Use 7zip, winzip, winrar or anything else, just not Explorer!
3. Look inside the zip! DO NOT DELETE ANYTHING! All you need to do is ADD STUFF!
4. Browse into the "data" or "system" zip folders, then down into the "app" folder inside.
5. After you get to the "app" folder, copy and paste the APKs you want to flash in the folder.
REMEMBER: do not DELETE anything! ADD APK files ONLY in the "app" folder.
6. Wait for the APK files you copy to get added to the archive.
7. Close the archive.
8. Rename and copy the archive to your SD card.
9. Boot into CWM and flash the copied zip file you just created.
10. Enjoy!!
Sooooo, quick 10-step process into cooking you own CWM Zips. You can do much more with them than flashing apps, but for general purpose usage, this should be enough!
Thanks and complaints go underneath.
PS: this idea was given to me by lambstone in a separate thread! Thanks a lot mate!!!
Peace,
C.
Nice thread, waiting for other..............
There's market apps that does this I.e apps2zip
Sent from my LG-P999 using Tapatalk 2 Beta-2
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
cheatman said:
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
Click to expand...
Click to collapse
Your right, I was not trying to deny your effort in any way
Sent from my LG-P999 using Tapatalk 2 Beta-2
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
cheatman said:
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
Click to expand...
Click to collapse
have trying to put 5 apk files on data/app exactly doing what it's in your post, then rename it to apk.zip, but when i'm trying flashing from cwm it's geting error
E:Can't open /sdcard/apk.zip
(bad)
Installation aborted
do I miss something??
edit: i'm using data_skeleton.zip
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
cheatman said:
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
Click to expand...
Click to collapse
No dude, I do not extract the zip file, I do exzctly what you said in 1st post, just open it with winrar, look for Data-app, then adding apk files on app section/folder inside the zip files, i just try once again to make sure, and i just add 1 different apk file, but still not work, btw i always use this same method before when I' want to replace boot animation for ICS CM9 ROM and adding some apk file to ROM file, and it's always work.
cheatman said:
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
Click to expand...
Click to collapse
will try this one..,
EDIT: have try your 2nd Data_skeleton.zip, it's work when flashing from cwm with or without add apk files, but not with previous zip file, thought the problem it's coming from your zip file..,
Glad the second one works!
Thanks for letting me know the first zip was borked!
Its a good thread man, makes creating flash able zips simple, you should also look into zipsigner2 on the play market
Sent from my LG-P999 using Tapatalk 2 Beta-2
Thx for the great work!!
Does this one only works for apks?? say i would like to add some files to system/bin or system/lib what do i need to add??
Thx again
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Sounds more complicated than it is. With these CWM Zips you can create any zip that changes either "/data/*" or "/system/*"
Anything, including full ROMs, libs, firmware etc (i.e. except kernel!) can go inside. Play with them. You can't mess your tab with them. Worst case, you need to flash again your ICS copy and factory reset...
Peace,
C.
yeah jejeje i just mess up i am trying to flash a sound driver for my phone (by the way it works in my live with walkman) but they are not working so.
but it is great because i was able to use your file to flash my phone it seems to be universal.
thx again for your work.
Is it possible for this to work for radio images?
Sent from my Nexus S 4G using Tapatalk 2 Beta-5
No, it can't be used for radio images.
First off, radio images need to be flashed (i.e. not copied to a folder as this script does) and secondly because as far as I know with the latest versions of CWM don't support this anymore.
The old zips used to flash radio don't seem to be supported anymore. I recently encountered this problem while flashing a friend's HTC Buzz/Wildfire. So, no, I have no idea how to flash radio using CWM anymore. You can flash using Odin, though...
Peace,
C.
cheatman said:
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Click to expand...
Click to collapse
Ah, this explains how come my /system/app zips were coming out fine but my /system/framework were messed up, thanks for the explanation.
I wonder if it's possible for a small tutorial in how to add our own text to a zip when it's being flashed.
I guess I could reupload the zips without the intro section (stating my nickname and galaxy tab / version etc.) if I weren't so lazy...
The problem with changing the text is that although a tutorial can be made, it requires external tools and such, which would make this waaay to complicated and out of the scope of this thread.
For your purposes (I assume you are using some version of Windows), here's my advice: extract the Zip archive, look for the "updater-script" file, change it and make sure you run it through a "dos2unix" tool to convert CR/LFs. Then add it back to the archive.
To everyone else: if this doesn't work for you, just stick to adding apps to the zip. You should be safe, there's no need to edit any files anyway!
Peace,
C.
Great, apparently it was just that simple, worked great, <3
Dumb question - is this only for Galaxy tab? Or can I use it on my Captivate?