Related
i went ahead and resized the droid boot animation to fit the G1 and it look great and works well. may do droid x and incredible later on. for ppl with the x and incredible plz extract the boot animation.zip file and send it to me by using adb
Code:
adb pull /system/media/bootanimation.zip C:\users\[your name]\desktop
here is the link
Download
add it with adb by typing in:
Code:
adb push C:\[file location]\bootanimation.zip /data/local/bootanimation.zip
to remove it to go back to the original boot screen, use adb and type:
Code:
adb shell rm /data/local/bootanimation.zip
this does require root for the purpose of installing eclair/froyo to use it.
happy modding
im having a small problems, that i hope you can clear for me.
(not with the process of sending a new bootanim to the phone)
sooo.. steps im doing...
create frames of animation (24bit PNG files, 220x220)
put them in two different folders,
create conf file,
pack up into bootanimation.zip and adb push it to the phone...
yet all im getting is black screen...
are my png files not correct?
zip program? (im using winrar to zip it to bootanimation.zip)
http://muziol.us/misc/g1/bootanimation.zip
he3r0 said:
im having a small problems, that i hope you can clear for me.
(not with the process of sending a new bootanim to the phone)
sooo.. steps im doing...
create frames of animation (24bit PNG files, 220x220)
put them in two different folders,
create conf file,
pack up into bootanimation.zip and adb push it to the phone...
yet all im getting is black screen...
are my png files not correct?
zip program? (im using winrar to zip it to bootanimation.zip)
http://muziol.us/misc/g1/bootanimation.zip
Click to expand...
Click to collapse
I PM'd you your working boot animation. Let me know how it goes.
he3r0 said:
im having a small problems, that i hope you can clear for me.
(not with the process of sending a new bootanim to the phone)
sooo.. steps im doing...
create frames of animation (24bit PNG files, 220x220)
put them in two different folders,
create conf file,
pack up into bootanimation.zip and adb push it to the phone...
yet all im getting is black screen...
are my png files not correct?
zip program? (im using winrar to zip it to bootanimation.zip)
http://muziol.us/misc/g1/bootanimation.zip
Click to expand...
Click to collapse
sorry for not responding. didnt realize i had my old email in my profile so the email notifications werent working.
Thank you
Thank you, it looks pretty nice on my Mytouch 3G...
Best regards
This is awesome! Thank you for putting this together for everyone. I do wish that I could have the cool "droid" voice on bootup (while the animation is going) but I will have to do some more research on how to do it correctly. If anyone wants to take a stab at it, the soundfile is available via the zedge app. If I get it working I'll zip it myself and put it up here for the dev to add to the OP.
Thanks again!
Sent from my HTC Dream SparksMod using XDA App
darthlukan said:
If I get it working I'll zip it myself and put it up here for the dev to add to the OP.
Click to expand...
Click to collapse
it actually needs to be in a separate folder (the sound bite) but afaik it doesnt work with the G1 or MT3G
can i install it via terminal emulator
No you would need root manager or ghost droid
Sent from my Droid using XDA App
Does anyone know what the underlying mechanism for running the boot animation is? I have Android 2.2 on an HTC Incredible and replaced the VZW_Droid.mp3 and VZW_bootanimation.zip with some animations I did, but all I get on boot is a blank screen. Do the files in the zip have to be named the same way, or do they just have to be in alphabetical order?
Thanks!
adprice said:
Does anyone know what the underlying mechanism for running the boot animation is? I have Android 2.2 on an HTC Incredible and replaced the VZW_Droid.mp3 and VZW_bootanimation.zip with some animations I did, but all I get on boot is a blank screen. Do the files in the zip have to be named the same way, or do they just have to be in alphabetical order?
Thanks!
Click to expand...
Click to collapse
post the animation zip file you are tryin to use and I will see if there are any obvious issues with it
I did a quick search and found this, not sure if this is what your looking for!
http://forum.xda-developers.com/showthread.php?t=708316
ID
Cool, thanks guys. I will post when I get back home. I've been doing some searching as well and it seems that you have to set the compression mode to "store" when you create the archive. Not sure where to do this on a mac, but I'll see if I can figure it out.
As a side note, does anyone know what the fields in the desc.txt file are? I figured out the first two are image size, but any idea what the third number on the first line is? Frame rate maybe? And then the next lines specify directories, but I have no clue what the numbers in front of them mean.
Arg, sorry - second paragraph of questions answered in the thread IncredibleDoes posted...
SOLVED
Alright, the "store" problem was the issue. According to the zip documentation, "store" compression doesn't actually compress the files, it just archives them (I guess similar to .tar). So once I did that it worked fine. For anyone else using a Mac from the command line its
Code:
zip -r -Z store desc.txt part0 VZW_bootanimation.zip
You can, of course, specify other directories as well. The sound also started working once the animation did, nothing special there.
And now, I've posted the animation I made. Nothing special, I'm just a big half life fan and whipped this up with my very limited animating skills. Enjoy!
Hmm...won't let me upload the .mp3 file. I guess message me if you want it...
Hi Peeps,
I want to change the unlock dots to something more.... well... interesting?
I noticed the unlock dots are different in the stock android 2.2 vs htc 2.2...
I've done some Googling and im having trouble finding the location for the image of the dot so I can change it... or even anything mentioning changing the dots to something else...
Any thoughts?
if these "dots" is the finger linw rhing that has 9 dots in total then its easy..
go to System-Framework and framework-res.apk open it with winrar, copy the folder "res" to your desktop open it and go "drawable-hdpi" and search the images there u will find it
I'm not really familiar with the android OS at this level...
Should it be as simple as changing the image,repacking it and 'installing' it again on the phone?
Got it working!
edited image, rezipped then pushed it to the phone using the bellow commands;
adb remount
adb push framework-res.apk /system/framework
restarted the phone and tada! There we go.
Thanks for the pointer!
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?
Hello
I changed some png images with 7zip and copied back to system/framework/ but i got boot loop.
I would like to know how to modify and replace .apk that will work normal?
Thanks
How exactly did you replace the png's? Because the 'normal' proces of unzip-replace-rezip doesn't work.
The most easy way to changes png's:
1. Open framework-res.apk in 7-zip
2. Search for the files you want to change and copy them to your hard disk (do not unzip!!)
3. change the files. Make sure the name stays EXACT the same.
4. Open framework-res.apk and copy your new files in the desired place. By doing so, the original files will be replaced by your files. DO NOT USE ANY COMPRESSION (if asked select 'store').
5. Go into recovery, mount /system and replace the framework-res.apk by the new one. Reboot phone.
Take home message: never unzip
Hope it works now!
Erwin
i went to recovery and hit mount/system. But how can i replace it?
Thanks
urkotheone said:
i went to recovery and hit mount/system. But how can i replace it?
Thanks
Click to expand...
Click to collapse
You have to use adb to do is. I assume you know how to work with it. If not, you have to search for a little tutorial (can't link you right now because I'm using the xda app)
Put the new framework-res.apk in the same folder as adb.exe. Open the command prompt and brows to that same folder. Type in your command prompt:
Code:
adb shell mv system/framework/framework-res.apk system/framework/framework-res.old
adb push framework-res.apk system/framework
adb reboot
Due to the first command, you have a backup of your original framework-res.apk. To restore it, you have to boot in recovery, mount /system and again by the use of the command prompt, type:
Code:
adb shell rm system/framework/framework-res.apk
adb shell mv system/framework/framework-res.old system/framework/framework-res.apk
adb reboot
Erwin
Yeeeeey i did it
Thank you
One more problem
When discharging it's working, but when I charge phone i don't get no battery icon. I believe it's because in original framework i had 100 png animations for charging and now i have only 20. Is there a way to fix this?
urkotheone said:
One more problem
When discharging it's working, but when I charge phone i don't get no battery icon. I believe it's because in original framework i had 100 png animations for charging and now i have only 20. Is there a way to fix this?
Click to expand...
Click to collapse
Then it is going to be much more complicated than that. Perhaps I can explain you in more detail tomorrow, but you will have to look up some things for yourself.
First, you should decompile the framework-res.apk first using apktool. You will notice that it almost looks like it just dezips your apk, but when you look closely, you will see now that you can open and read the xml files.
Second, you have to open res\drawable\stat_sys_battery.xml (or something similar, perhaps it depends on your ROM). Try to understand what is written and make some changes (it is really not that hard) so that your system shows only 20 different images, in stead of 100.
Third, you have to recompile your modified framework-res.apk. Then pull stat_sys_battery.xml out of "your" framework-res.apk into the original framework-res.apk, but again, without unzipping one of them. Do, of course, the same thing with your images.
I must admit, I've been busy with the battery icons myself. It was my plan to do something similar like you did, but I didn't do it yet. So all the things I've written above where the things I was planing to do, but I don't know if it will work, as I never tried it myself. So please, keep me/us informed ;-)
Good luck!
EDIT: I used this site to know how to decompile apk's.
This is an old thread but I wanted to edit my systemUI.apk file with changing out a couple images... if I was to upload the file I edited (by just swapping out the images) to the UOT kitchen and use a mod, say the battery mod, would it make the file usable on my phone or would I get a bootloop or worse?
Basically what I did was opened up the SystemUI.apk file using 7zip and just swapped out the images I wanted (making sure I saved the original ones of course). I didn't unzip/zip anything.. I just opened it using 7zip and then closed it. It didn't ask me if I wanted to save anything though??
Sorry for the stupid question... but I thought it would be an idea as I want to use the UOT to make a mod to the theme I have anyways.
crazy_dragonlady said:
This is an old thread but I wanted to edit my systemUI.apk file with changing out a couple images... if I was to upload the file I edited (by just swapping out the images) to the UOT kitchen and use a mod, say the battery mod, would it make the file usable on my phone or would I get a bootloop or worse?
Basically what I did was opened up the SystemUI.apk file using 7zip and just swapped out the images I wanted (making sure I saved the original ones of course). I didn't unzip/zip anything.. I just opened it using 7zip and then closed it. It didn't ask me if I wanted to save anything though??
Sorry for the stupid question... but I thought it would be an idea as I want to use the UOT to make a mod to the theme I have anyways.
Click to expand...
Click to collapse
I don't know if I understand you fully, but I believe it would: only if the UOT changed the images that you have changed, you will not see the things you have changed.
What I did some time ago was upload my framework en systemui to the UOT, apply the battery mod and than change the battery images with my own. I did that just by opening the apk in WinRAR and adding my images, just like you did.
But if you only want to swapp some images, there is no need for uploading it to the UTO. Just continue as you did. Just make sure that you keep the original systemui.apk on your hdd. In case of a bootloop, you can easely revert.
Is that een answer to your question?
Erwin
Yes, it does.. and thanks. I ended up following the instructions on another thread I found on here... don't remember exactly which one but it basically omitted uploading the files to the UOT. It was a guide on how to theme your phone... sorry but I didn't save the link.
thanks again!
CDL.
urkotheone said:
Hello
I changed some png images with 7zip and copied back to system/framework/ but i got boot loop.
I would like to know how to modify and replace .apk that will work normal?
Thanks
Click to expand...
Click to collapse
Same thing happened to me!
I Wiped Cache, Dalvik Cache, but nothing happened!
I had to flash 2.3.6 Stock ROM via Odin, to make my phone work!
I always work with Winrar, and in there you have the option for compression, which is selected at "medium compression" by default, and that causes bootloops.
So make sure that you don't compress your apk when adding your new png, or it will not work.
Erwin
I change my framework-res.apk from another rom. the problem is when I push long power button, my device going to BOOTANIMATION with out I choose shutdown, restart n etc.. what's wrong with my device??
sorry for my bad eng..
The problem is its another roms framework so things are in different places and some things will be missing, put the framework-res.apk from your rom back and things should go back to normal, mind me asking what tweak or mod you are after using?
Sent from my HTC Wildfire using xda premium
first time I must say sorry, I know this not my device place on XDA, I use MB525.. but I see the same problem here..
I use Ms3ginger mod rom by walter, n I take framework-res.apk from 2.3.6_4.5.2-109 DHT25_themed MultiLanguage, I try to change battery sys-stat but I get bootloop..
once again sorry for my bad eng
If not possible try
Adb remount
First