I have been trying desperately to get my boot animation to change, and have made some success from just locking the device up to skipping the animation all together.
I can't seem to figure out what people mean when they say to save the desc.txt file as a UNIX file, but have been trying to use UTF-8 in Notepad++. This is what searching google has showed as the prefered *nix text file encoding. I even went so far as to just copy and paste the desc.txt file from one of the other zips on the device to my zip to get it to work, and no joy. So, I am not sure if this is the trouble or not.
This is on a Sprint lovers rom and I have put them in /data/animation. I had them in /system/customize/resource along with another spash screen, but it just ignored it there and went to the /data/animation ones. Or, maybe was using those all along. I am not sure.
So, I shall include my zip for scrutiny, and my audio for scrutiny as well. I have removed most of the images to get the zip down to size limits and stuffed the audio file in the zip as well.
I would like some hints on what I did wrong. I am trying to learn this stuff....
I use a program called Text Pad. It's free just search for it on Google. After creating the file hit "save as" name the file "desc" and at the bottom you will see a drop down menu labeled "file format" and it will give you the option to save as PC, UNIX, MAC. Choose UNIX. The second step is putting it all into a zip folder that isn't compressed. For this I use 7-Zip. Open 7 zip and highlight the desc file and the folders that have your animations. Next click the add button at the top menu, when the next window pops up you will be able to name the zip "bootanimation". Find the drop down menu labeled "compression level" and select "store", next find the drop down menu labeled "update mode" and select add and replace files. Last hit the ok button and your zip will be created and should be usable.
i have been dealing with the same thing all day but i got it to work the problem was that the png has to be no more than 24 bit i downloaded your zip and they are at 32 bit mine would not work at that rate i remade the png at 24 bit and all is well..hope this helps
you may also want to run png through pngoptimizer(google it) make sure you hit enter at the end of desc file then save. sound on system/custosimize/resource should be named SPC_animation_final.mp3 and zipped (storage)with same name (no mp3 should be).zip
see if this works for you
Will it boot?
dased14 said:
you may also want to run png through pngoptimizer(google it) make sure you hit enter at the end of desc file then save. sound on system/custosimize/resource should be named SPC_animation_final.mp3 and zipped (storage)with same name (no mp3 should be).zip
see if this works for you
Click to expand...
Click to collapse
I have a question about the kindle fires Bootanimation.zip
will the kindle still boot without the Bootanimation.zip or will it just lock up?
is there anyway to turn off the boot animation? I am running a jb rom and would really prefer it if there were no boot animation..
skipwilly said:
is there anyway to turn off the boot animation? I am running a jb rom and would really prefer it if there were no boot animation..
Click to expand...
Click to collapse
Try deleting sanim and bootanimation zips from /system/media.
Related
Hi im working on creating some boot animations. Ive got the files ready, but i cant figure out how to put them into a flashable .zip.
I flashed this file thunderbolt boot animation and it worked so i figured if i just replaced my animation and audio it would work but i get an error saying "e:update script not found" or something along those lines.
Id like to know if there is an easy way to create a "template" were i just copy my animation into a folder and zip it, or if there is a program that will package it for me including the script/etc.
Any input or guide on how to make these boot animations flashable .zip's would be great, thanks.
Eat it iPhone said:
Hi im working on creating some boot animations. Ive got the files ready, but i cant figure out how to put them into a flashable .zip.
I flashed this file thunderbolt boot animation and it worked so i figured if i just replaced my animation and audio it would work but i get an error saying "e:update script not found" or something along those lines.
Id like to know if there is an easy way to create a "template" were i just copy my animation into a folder and zip it, or if there is a program that will package it for me including the script/etc.
Any input or guide on how to make these boot animations flashable .zip's would be great, thanks.
Click to expand...
Click to collapse
Thats weird it didn't work. Should. Maybe it wasn't re-packaged correctly.
Try the one attached.
CCallahan said:
Thats weird it didn't work. Should. Maybe it wasn't re-packaged correctly.
Try the one attached.
Click to expand...
Click to collapse
Thanks ill try it out, just dont have the time right now.
If you cant figure it out i'll give you a guide tomorrow when i'm off my iPad .
did you rezip it correctly?
I ran into this trouble, I forget what it is, but you have to zip the files a certain way or they will not work. I don't remember the settings anymore, but just creating a regular zip file won't work.
There is a good guide to making your own update script on xda somewhere. Just search the entire site. If i'm just flashing something simple like a theme or boot animation sometimes I just use someone else's flashable zip and replace the necessary files. I can't remember off the top of my head, but iirc there are two folders you want to keep from someone else's zip. Meta-inf which is basically the signature files and something else which contains the script. If you dissect someone's zip it should be obvious what the other folder you want to keep is. You will find the update script in one of the sub folders, and if you want you can open it with a text editor and get an idea of how the script works.
If you need more info I can help you more when I get to my computer.
Sent from my PC36100 using XDA App
dkdude36 said:
If you cant figure it out i'll give you a guide tomorrow when i'm off my iPad .
Click to expand...
Click to collapse
Id appreciate a guide either way, id rather learn to do it myself than use someone else's. No rush as i cant really approach this til the weekend.
Eat it iPhone said:
Id appreciate a guide either way, id rather learn to do it myself than use someone else's. No rush as i cant really approach this til the weekend.
Click to expand...
Click to collapse
ok, here it goes.
first, figure out where you want to push your file. i'd reccomend pushing manually in recovery to make sure the file itself works. then, using a tool like 7zip (pc) or betterzip (mac) create a file structure that matches the one on the phone. for example, if you wanted a boot animation to be put in system/customize/resource, make a folder system, customize in that, resource in that, and the bootanimation.zip inside that. now you have the main part. next, make a folder in the root of the zip called META-INF (caps counts) inside that, com, inside that, google, and inside that, android. thats /META-INF/com/google/android/. inside android, you need to place in an update-script. i'd reccomend taking one from another zip and just editing it becasue i still have not figured out a way to make that type of file (unix exec) from scratch. open it up in a .txt editor like notepad++ (pc) or coda (mac) and write your script. here is the baisic script for copying the directory system on the zip to system on the phone (like flashing a boot animation).
copy_dir PACKAGE:system SYSTEM:
CAPS COUNT AND MAKE SURE YOU HAVE AN ENTER AT THE END. IF YOU DO NOT HAVE AN ENTER AT THE END (TO MAKE IT TWO LINES INSTEAD OF ONE, LIKE ISSUEING A COMMAND) THEN IT WILL NOT WORK AT ALL ( E:SYNTAX ERROR IN UPDATE-SCRIPT IS THE ERROR YOU WILL GET)
so put this file into the folder android, and zip it. make sure it is in store only, compatibility mode, if you have such options. then, use an auto signer (or just say zip is not signed and make sure to put sig verification off) to sign the zip. flash, and watch your work magically appear.
the update-script i showed is written in amend. i have no idea how to write in edify bcuz it is much more complicated with the binary and stuff. so dont flash with cwm 3.0+.
good luck. ask if you have any questions.
hello will this methed work on like adding some personal apps you want to be on your rom?
I'm new to this and just need a tutorial on how to create custom splash screens on a Evo. If any one can show me or post a link that be great.
Download this and unzip it. (On your computer)
http://db.tt/YLmI87K
There's a how-to included in there that tells you how to use it.
Sent from my HTC EVO 4G with Tapatalk
there's also a program called nbIMG, along with the one mentioned above.
Thanx working great!!
These instructions work for anyone who rooted using the "UnrEVOked" method such as that given at HTCEvoHacks.com. I have not tested these instructions with any other root method out there.
For the sake of these instructions, all references and instructions dealing with PhotoShop are assuming you are using PhotoShop CS5. Cammands may be slightly different on older versions of PhotoShop, so it may take a few extra clicks to find what you're looking for.
1. You can download custom boot images from the web, or create your own in PhotoShop using ANY sort of photo, graphics, text, or combination. You MUST make sure that the image size is set as the same for the EVO's screen resolution (480x800). For this reason, I would double check any image file you try to use prior to converting it for use with your phone.
2. Open your image file in Photoshop and make whatever tweaks or enhancments you like. Remember to "flatten" the image prior to saving it out if you have multiple layers in your file. You can use the next step to resize the image first if you like, but depending on your current settings in PS it should not matter.
3. Right click the file window (the one that contains your image) and set the "Image Size" settings to a width of 480, and the height to 800. These measurements MUST be in pixels as well. If you have the "Constrain Proportions" box checked, you may not be able to tweak these individually without affecting the other. So uncheck that box and change the size settings. Click ok to close the box and the image will resize within Photoshop.
4. After you have finished creating your custom image, flattening the image, and resizing it to fit on your phone's screen, it is time to save the file. Navigate to the "file" menu and click "save as". Here, you can choose where to save it, name it, and choose the file format. It's probably easier to go ahead and save it as "splash" now, so that you wont have to rename it later. Either way, this file MUST be named "splash" when we are in the final stages. Save it as the "BMP" format, and you will get a pop-up window for the BMP options. "File Format" should be set to Windows... and choose the depth option of 24 Bit. The "compress" and "Flip row order" boxes should be unchecked, and you do not need to go into any advanced settings. Once you have saved the file, You can close PhotoShop.
Now the File needs to be converted from the BMP format into an IMG file. This is so that the bootloader in your phone will see it when you flash it to your phone.
There are a few conversion tools out there, but I have found Splash Screen Creator to be the EASIEST way to convert the file with a few clicks.
The link to download this small program is here... http://www.addictivetips.com/?attachment_id=43073 ... and it is FREE!!! (I did not create this program)
1. Download the .zip package from the link above.
2. Extract the files. I found that creating a folder on my desktop to secure these files (and these files only) to be less of a headache.
3. After you have extracted the files, you are ready to convert your "splash.bmp" file. You MUST move this file into the same directory that you unzipped the Splash Screen Creator to. It will only find the bmp file in the same directory, which is why having its own folder is easier. Move your "splash.bmp" file to the same folder and open "RUN THIS ONE". This will open the program in a command prompt.
4. Choose option 1 to convert your existing .bmp file into the required .img file. The next option will ask if you would like to flash the file to your phone. This option is not necessary for these instructions, but I have read of others being successful. You can try this option, but if it fails, go on to the remaining steps.
5. Go ahead and close the program by pressing another key to exit. You should see your new "Splash.img" file in this same directory. Rename this as "splash1.img"
Now that I think of it, naming the BMP file to "splash1" prior to converting to the .img format may solve the error when trying to flash the file to the phone
within Splash Screen Creator. The img file MUST be name "splash1" prior to updating it in the bootloader in the next steps so it makes sense that the program would come up with an error at this point. I have not tested this theory at this time, but you are welcome to. If someone does test this, please update these instructions
to save from many unnecessary steps below!
Your next steps require access to your original "PC36IMG.zip" file that you used during your root process. If you do not have your original "PC36IMG.zip" file, you
can try to download one here... http://forum.xda-developers.com/showpost.php?p=8913849&postcount=156 ... I have not tested this file yet, but worth a shot if you dont have it.
1. Make a COPY of your "PC36IMG.zip" file and move it to your directory where you have worked with the custom splash files. This saves from getting confused between files and flashing the wrong one to your phone. You're also making a copy so that your original "PC36IMG.zip" file is NOT altered.
2. DO NOT unzip the file! Simply drag your "splash1.img" file over to your zipped "PC36IMG.zip" folder and copy it in there. If you get a prompt to overwrite an existing "splash" file, go ahead. Afterall, you are working with a copy of the PC36IMG.zip.
3. After you have added the "splash1.img" file into the "PC36IMG.zip" folder, you can now move the zipped folder over to your sd card. Make sure that it is the ONLY copy on your sd card, and that you have not placed it in any other directories. BOOTLOADER WILL NOT FIND IT IF IT IS IN ANOTHER FOLDER!!!
4. AT THIS POINT YOU WANT TO BE SURE YOU HAVE BACKED UP YOUR ROM!!!! YOU WILL LOSE YOUR CURRENT ROM AND DATA AFTER THE NEXT STEP!!!!
5. Reboot the phone into Bootloader by holding the volume down button and pressing power. The bootloader will find your "PC36IMG.zip" and ask you if you want to update. Press the volume up button to say YES! Grab a coffee, chug a beer, or take a piss, cause this step takes a few minutes.
6. Once the bootloader has finished it's update, reboot your phone. it will now display your new custom splash screen!!! (but you're not done yet)
Because you updated your "PC36IMG.zip" files in the bootloader, you have in effect reflashed the stock rom (rooted of course) back to your phone.
Allow a few mintues for your phone to boot up, log into your g-mail account (so that you have access to the market), and download Rom Manager (or your favorite backup
manager), and restore back to your rom!
Like I said before, I have only done this on the HTC EVO that has been rooted using UnrEVOked through the process explained on HTCEVOHacks.com. I have no idea if
this process will work with other configurations, and I accept no responsibility for the outcome of your actions!!!!
Can't u flash these also ??
neno2323 said:
Can't u flash these also ??
Click to expand...
Click to collapse
They're "flashed" in the bootloader, as a PC36IMG with the file being respective to how you rooted. You can also "flash" them using fastboot, but that can only be done if you're on the .76 bootloader.
Thanks for checking in, ok I opened the bootanimation-orig.zip with 7-Zip and copied out the part0 folder, changed each png to be black and white. Then dropped the files back in 7-Zip (it was named bootanimation.zip then) and then took that zip and put it in system/media folder in the theme I flashed. Basically Bionix 4.1
My phone boots fine, but the boot animation doesn't show anything. I just had a blank screen (seemingly) ... I was thinking maybe the whites aren't white enough?
Could someone take a peak, attached with the orig file and my bootanimation.zip that resulted in my edits.
Thanks a ton!!
I've run into this before - the solution, I've found, is to set the compression level to 'store'. It didn't seem to work any other way.
k0nane said:
I've run into this before - the solution, I've found, is to set the compression level to 'store'. It didn't seem to work any other way.
Click to expand...
Click to collapse
Yep that was it. Thanks for that!
im trying to make my own rom trying to try new this out and i was going around taken lil apps tht other roms hads like hulu, mastermind mirror, ect and i dont think i zip it correctly cause when i check the inside of the zip folder the other file is still not zip and i am sure that is a problem right ??? ps im using cwm 3.0 is tht a problem ?
i use this meth...
ok, here it goes.
first, figure out where you want to push your file. i'd reccomend pushing manually in recovery to make sure the file itself works. then, using a tool like 7zip (pc) or betterzip (mac) create a file structure that matches the one on the phone. for example, if you wanted a boot animation to be put in system/customize/resource, make a folder system, customize in that, resource in that, and the bootanimation.zip inside that. now you have the main part. next, make a folder in the root of the zip called META-INF (caps counts) inside that, com, inside that, google, and inside that, android. thats /META-INF/com/google/android/. inside android, you need to place in an update-script. i'd reccomend taking one from another zip and just editing it becasue i still have not figured out a way to make that type of file (unix exec) from scratch. open it up in a .txt editor like notepad++ (pc) or coda (mac) and write your script. here is the baisic script for copying the directory system on the zip to system on the phone (like flashing a boot animation).
copy_dir PACKAGE:system SYSTEM:
CAPS COUNT AND MAKE SURE YOU HAVE AN ENTER AT THE END. IF YOU DO NOT HAVE AN ENTER AT THE END (TO MAKE IT TWO LINES INSTEAD OF ONE, LIKE ISSUEING A COMMAND) THEN IT WILL NOT WORK AT ALL ( E:SYNTAX ERROR IN UPDATE-SCRIPT IS THE ERROR YOU WILL GET)
so put this file into the folder android, and zip it. make sure it is in store only, compatibility mode, if you have such options. then, use an auto signer (or just say zip is not signed and make sure to put sig verification off) to sign the zip. flash, and watch your work magically appear.
the update-script i showed is written in amend. i have no idea how to write in edify bcuz it is much more complicated with the binary and stuff. so dont flash with cwm 3.0+.
i only have 1 thing to say first switch to amon ra amon ra is 1000 times better than clockwordmod
how do i switch?? lol also what if i unroot my phone would tht be a problem?
Jcki4 said:
how do i switch?? lol also what if i unroot my phone would tht be a problem?
Click to expand...
Click to collapse
go here and download the PC36IMG.zip and follow the directions
http://forum.xda-developers.com/showthread.php?t=705026.
as for setting up a rom unzip one to see how it's set up, i have changed a few things in some and zipped it back up and signed it but never built one, sorry couldnt be more help
I think every body should have the source to information so they can better understand what they are messing with... why waste time waiting and begging for food when you can learn to cook for yourself?! ... so here is my tutorial on breaking down CyanogenMod9 on the Acer A100( although most of this should be a general guideline to most roms) ***** I am not responsible for you breaking your stuff nor responsible what you do with this information... you have been warned! u can soft brick your tab in a heartbeat***
okay so there are countless tutorials on how to build a ROM from source... just google it.. but some ppl obviously don't have the need to spend the hours compiling because there is already a build for the ROM that they like... but on the other hand they want to add some mods and tweaks to the zip before flashing to tweak the tab to how they want it... after all it is your device and your the one that uses it most so why wouldn't you want personalized tweaks... and theres only one way to learn.. trial and error! haha but hopefully this guide will help you grasp some basic to advanced Android tweaks and mods ... again this tutorial is written for CM9 for the acer a100 but the "general" idea is about the same on the basic stuff... this tutorial is written by me from many sources too many to name but thanks for all the tutorials or I wouldn't know a lot of what I know about Android... This guide is for Ubuntu 12.04... but I would assume 10.04+ it would be compatible but don't quote me on that as I don't know so its your fault if you f* something up!!!!
First off you have your cm9.zip... its simply a zipped archive.. dur... sometimes a signed zip.. now you can simply open nautilus file explorer and go to your .zip and extract it with archive manager.. I suggest when the dialog comes up as where to extract the files that you click make a new folder and name it extractedCM9 and let it extract... okay not so hard quite yet 'eh?.. hang in there it gets a lot better ... you should now have a folder named extractedCM9 with some files in it... copy the extractedCM9 folder and paste it into the same directory that your copying from... rename the folder tweaked then cut and past that folder into extractedCM9... next open the extracted CM9... you should see the following: META-INF(a directory), system(a directory), and boot.img( this holds your initrd which is your "ramdisk", your zImage which is your kernal, and on extracting you'll also find a boot.cfg... we will get to extracting the boot image latter.. stick with the easier things to get us going!... now create another directory called stock .. you should now have the following... META-INF/(a directory), system/(a directory), stock/(a directory), tweaked(a directory), and boot.img.. okay a little more copying and pasting.. all this will be used later so if following this tutorial all the way throu you should do as instructed lol... CUT META-INF/, system/, and boot.img and paste it into stock.. you should be left with the two directories tweaked/ and stock/ both having extracted CM9 in them go into your tweaked/ directory and lets begin.... so some of the things you can tweak just from a simple extraction of the zip are as follows...
You can edit your /system directory and make tweaks as needed before ever installing the rom! .. just some of the things held in /system is the boot animation and it can be found at /system/media/bootanimation.zip its also a simple zip composed of images to be ran concurrent to appear as a single animation.. the resolution for the a100 boot animation is 1024x600 and a simple google search for either a100 custom boot animations or basically any low-def 1024x600 boot animation should work simply delete the existing bootanimation and copy the new one in its place.. remember NO MATTER WHAT THE DOWNLOAD FILE NAME is you MUST rename it to be bootanimation.zip or it wont work( I say should because I obviously have not tried every boot animation and I know there is a limit to the size for the acer animation so sticking with <6mb bootanimations should be just fine).. now if you decide to go further and extract the cm9 boot animation you will find part0( a directory), part1( a directory) and desc.txt.. the part0 and part1 directories hold the images that are to be ran and desc.txt simply states the resolution and then below that it list the directories that are included in the zip... part01 will be ran before part02.. for the novice I recommend just sticking to finding cool bootanimations already zipped for our resolution that some has posted for download so you can simply copy and past!...
also in system/media/ you will find a directory named audio.. dive into that and you find where the default sounds(aka ringtones, notifacations) that are stored for your fresh rom go back up a directory to system/media/ again and you'll see the video.. those are just some mp4's stored for the ROM.... that about it for editing in media.. lets recap.. you can basically edit/ change your boot animation and the default ringtones and notification sounds in /system/media... lets move back up to /system..
from /system you see another directory user/ ... lets go in there for a second.. what do we find.. MORE directories of course lol.. what else would we find... keychars( a directory) and keylayout( a directory) contain your configuration files for the input keys.. you can find things for the way game controllers and keyboards input are handled and what codes on keypresses.. now for our device if you proceed into keylayout/ (system/usr/keylayout/) you will see a file called gpio-keys.kl right clicking on that file and selecting open with and choosing gedit will bring up the file and you will see someything like
key 136 SEARCH WAKE_DROPPED
key 139 MENU WAKE
key 102 HOME
... and so on.....
these are what your hardware buttons do.. basically to explain whats going on is the key ### is the hardwired part... the SEARCH or MENU or what ever action you see is simply that.. an action to be called... and the WAKE_DROPPED and WAKE... well to be honest I'm not for sure what those do lol I assume having WAKE associated with a key would wake the device when pressed.. not for sure on that one thou haven't tried it.. but a quick google search and you can find list of commands that you can choose from.. one of them is being the command to call the camera.. so in essence you could bind any of your hardware keys to the camera function and it would open the camera... my little tweak to this file is to completely disable the HARDWARE HOME KEY... the only key on the front of our devices.. now I have seen some tutorials no disabling it by changing the...
key 102 HOME
... to ...
key 102 UKNOWN
... my problem with that is it does seem to disable the key.. sorta.. and what I mean by that is when you are in certain apps it will trigger the select/ hover action like if you were using a keyboard... so to completely disable it where it will call NO action simply DELETE that line! change ..
key 102 HOME
... to ...
... lol just delete that line out of the file and save it... voila! no more hitting it on mistake while playing a game or browser or w.e it is your doing *** note that this will not disable the light on the button.. it will still flash for notifications and the like...
alright once you have that saved you can exit out of gedit and go back to nautilus showing your extracted cm9 files go up your directory tree until your back in tweaked/ looking at META-INF/, system/, boot.img ... highlight all three of those... right click again and hit compress.. name the file myCM9tweak.zip or w/e you want to call it... make sure .zip is selected in the drop down menu of type of format to compress and compress... once its done you have an unsigned tweaked CM9.zip that if you didn't make any mistakes will boot.. and even if you made mistakes it could possibly boot and you will find your errors as you use it.. now if you just stuck with the simple tweaks I should you above you should be pretty safe and not worry to much about the device not booting.. if it doesn't boot a stock .zip then go back to your tweaked/ folder and try and find out what you did wrong and compress again about try it out! ... okay my fingures are tired of typing so I'm done with the tutorial for tonight.. well I might add more tonight but don't hold me to it... but this tutorial is in NO WAY finished... we are just beginning.. I haven't even showed you how to unpack-edit- and repack your boot.img to swap out kernals and from there extracting your initrd( aka "ramdisk") so you cant edit things at the very core of the ROM... don't be mad if you made the stock/ and tweaked/ directories and are wondering what the hell i had you make two directories of the same crap... just remember this tutorial is at its very begin if you plan on unpacking boot.img's with me then you need to just follow along... for what I have showed you tonight you can do this from windows of course and using notepad instead of gedit... for the advanced stuff sorry your going to need Ubuntu! ...
MORE TO COME...
--more simple system tweaks and mods--
--unpacking-modifying- and repacking boot.img's--
--extracting initrd's( aka "ramdisk") to make edits to the core of your rom and of course repacking them--
I hope someone finds some kind of useful information out of this.. tonight was pretty basic stuff but theres a lot more coming... including but not limited to a whole bunch of command prompt!
*~ENJOY~*
(please excuse any typo's.. I don't think theres any where it count's ..)
This is the guide I wish I had read the day I rooted, you rock man!
sent from your future.