Some people aren't sure how to create a flash-able zip. So here is a template zip file.
If you want to edit the updater-script (what shows up in recovery when you choose the .zip to flash. It it's in META-INF\com\google\android\updater-script, edit with notepad++, and edit in between the parentheses ui_print("Put Your Text Here");
add your boot.img to the spot where there is already a boot.img and replace it with yours
Most Kernels require different system/libs/modules
I added a spot for you to add these as well.
https://androidfilehost.com/?fid=313042859668275619
No need to seek permission for this or give any credits. Just something for those who need it.
Saved.
andybones said:
Some people aren't sure how to create a flash-able zip. So here is a template zip file.
If you want to edit the updater-script (what shows up in recovery when you choose the .zip to flash. It it's in META-INF\com\google\android\updater-script, edit with notepad++, and edit in between the parentheses ui_print("Put Your Text Here");
add your boot.img to the spot where there is already a boot.img and replace it with yours
Most Kernels require different system/libs/modules
I added a spot for you to add these as well.
http://d-h.st/MfA
No need to seek permission for this or give any credits. Just something for those who need it.
Click to expand...
Click to collapse
Would this work if we want to make a flashable zip for certain files? Say frameworks, systemui, etc?
droidkevlar said:
Would this work if we want to make a flashable zip for certain files? Say frameworks, systemui, etc?
Click to expand...
Click to collapse
Yes it should work
Sent from my Insanely powered M8 using Tapatalk
holla420 said:
Yes it should work
Sent from my Insanely powered M8 using Tapatalk
Click to expand...
Click to collapse
So I would just need to update the updater-script, correct? And remove the boot.img file?
droidkevlar said:
So I would just need to update the updater-script, correct? And remove the boot.img file?
Click to expand...
Click to collapse
No.. Use this thread for that..
http://forum.xda-developers.com/showthread.php?t=2745680
Could you please reupload this file?
Thanks.
revflash said:
Could you please reupload this file?
Thanks.
Click to expand...
Click to collapse
link updated.
Late reply, sorry -- just seen today.
Related
Sorry about the first post. I was wondering where the png files are located in the rom so I can start theming
Sent from my HERO200 using XDA App
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
abadasstanker69 said:
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Papa Smurf151 said:
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Click to expand...
Click to collapse
Thanks bro! All I see is apk files though. Where are the images?? Also, is there anything specific I have to do in order to export/import the files in Photoshop? I read something somewhere about a .9 PNG or something like that....what does this mean? BTW great work on your theme! It looks awesome! I love it!
Ok I'm a douche bad. lol I renamed the apk to .zip and extracted with winrar. Now I'm in to where I want to be! I'm looking for the little android guy when you make a phone call but, I can't seem to find him in the HTCdialer.apk. Am I looking in the wrong place? Thanks again for the help!
They are in the apk's.
http://developer.android.com/index.html
Good luck.
Ok found the little droid man! This is gonna be awesome!! Any more useful places I should mess around in? This is gonna be FUN!!!!!!!
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
I may be wrong but I have done the same thing, all I did when I was finished was push them via adb to their respective places and then reboot and it worked fine for me. Nandroid before you push so if it boot loops you can recover. Then the easiest thing at that point would be to save your work in the ROM you modded, push to sd root, wipe and flash it. I am creating a themed version of Darchoid 2.7 but taking my sweet time as I dont have a lot of it to begin with.
For my HTC Keyboard modifications, I just dropped my new images into the APK that was open in 7zip and pushed it to the /system/app/ dir and launched the keyboard, and BAM, my new keyboard.
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
You have to sign it too. If you want to flash it. If you wanna just push it through adb then then put your edited .apk in AndroidSDK\tools and push it.
Go to command prompt:
Code:
cd C:\android-sdk-windows\tools
adb remount
adb push xxxxx.apk /system/app/
exit
C:\android-sdk-windows\tools is assuming thats where your sdk\tools folder is
xxxxx.apk is the name of the .apk
/system/app/ is assuming that's where you got the .apk from
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
abadasstanker69 said:
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
Click to expand...
Click to collapse
Just use a mod or update.zip any will do and add ur files and delete the originals in the zip. Keep the meta file and such. Then u can autosign with avabox. It gets tricky with scripts when making a rom. The update.zip script is very basic
Check This Out
You can just take one from a working zip if you want
Otherwise you will be making a file (i use notepad++) called "update-script" *notice-there is no file extension like .txt or anything*
In general they ususally just have:
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
(but may be different depending on where you want the zip's contents to be put in)
Which will be placed into a folder directory META-INF/com/google/android/update-script
You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template
[/QUOTE]You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template[/QUOTE]
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
abadasstanker69 said:
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
Click to expand...
Click to collapse
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
kyouko said:
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
Click to expand...
Click to collapse
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
abadasstanker69 said:
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
Click to expand...
Click to collapse
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Papa Smurf151 said:
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Click to expand...
Click to collapse
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
abadasstanker69 said:
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
Click to expand...
Click to collapse
The Meta file is for the update script. It has other uses but for ur purpose its for the update script which is the instructions the recovery uses to flash the theme. Like I stated before just use an existing one from a different theme or mod. Creating ur own is possible but not needed. Hit me up on gtalk if u want to ask me questions.
[email protected]
I don't mind teaching if anyone wants to learn
Hello all guys I have prepared this nice theme for our xperia play, hope you like;-)
I have used UOT KITCHEN ;-)
For those who are 'tired of the''usual''theme prove it takes off and certainly not' more '
Theme is here,TO INSTALL USE RECOVERY:
http://www.multiupload.com/ZFMZQEAQE0
Screenshoot here:
Uploaded with ImageShack.us
Uploaded with ImageShack.us
Here a personal wallpaper of theme image ;-)
Uploaded with ImageShack.us
Your wallpaper is sweet, if you dont mind me asking where can i get it from?
HankKing said:
Your wallpaper is sweet, if you dont mind me asking where can i get it from?
Click to expand...
Click to collapse
I personally changed the background for the play and I am happy that you like, now I add it to the first post so you can download it
Done,you can download it,i have upload in first post ;-)
thanks has been given
how did u make a flashable zip file to work with recovery? i have made my own theme a while ago and got the frameword-res.apk and systemUI.apk. how do i make a flashable zip?
Roshi69 said:
how did u make a flashable zip file to work with recovery? i have made my own theme a while ago and got the frameword-res.apk and systemUI.apk. how do i make a flashable zip?
Click to expand...
Click to collapse
Uot kitchen makes the flashable .zip itself
Sent from my R800i using Tapatalk
I didnt know that zip was flashable lol. what an idiot. cheers
AndroHero said:
Uot kitchen makes the flashable .zip itself
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Oh dear God, I think you may have answered something I have been wrestling with for a while. If I use the recovery flash method rather than pushing the files with adb, will the theme also include the new custom lock screens?
I just tried to flash my downloaded UOT .zip and now i've got a bootloop.
Do i just make it the same way as i would if i was pushing the -res and UI .APKs to the phone?
Roshi69 said:
I just tried to flash my downloaded UOT .zip and now i've got a bootloop.
Do i just make it the same way as i would if i was pushing the -res and UI .APKs to the phone?
Click to expand...
Click to collapse
But you have the new firmware 4.0.A.2.368?Specified that' only the firmware and the file and 'have been personally tested and works great.
I extracted the file, found a lot of folders, I don't know what to do next..
Can you do a step by step tutorial on how to install this? Thanks..
brochador said:
I extracted the file, found a lot of folders, I don't know what to do next..
Can you do a step by step tutorial on how to install this? Thanks..
Click to expand...
Click to collapse
You have the recovery? You don't open the zip file and extract it, but put the archive.zip in the directory of the sd and flash it as a zip.
What's recovery? Where can I found it? Sorry, total noob on this..
I got yours workung fine but when i flased mine from uot kitchen i get bootloop. They both contain the same folders. Maybe bad dowbload.
Sent from my R800i using XDA Premium App
brochador said:
What's recovery? Where can I found it? Sorry, total noob on this..
Click to expand...
Click to collapse
And i thought you were a PRO in here
To do this you need the Bootloader Unlocked,and R00T!
http://forum.xda-developers.com/showthread.php?t=1130639
download the package , "BOOT" the package!
but before you do BOOT the package put the Theme in ZIP state anyware to your SDCard.Once you BOOT the package and click Install from SD,find it and CLICK YES !!!! you'll have your theme
Do a nAndroid before doing it (backup)
To enter recovery again,Reboot,when you see the FIRST logo,Hold the Power button and TAP BACK BUTTON like a DONKEY!!!
I think i might be a professional idiot. I know what i was doing wrong.
When i was making my theme with uot kitchen i used the framework-res.apk and systemUI.Apk that were on my computer but these have been there for ages and aren't from the newest firmware that i am on now
Sent from my R800i using XDA Premium App
Cat_On_Droid said:
And i thought you were a PRO in here
To do this you need the Bootloader Unlocked,and R00T!
http://forum.xda-developers.com/showthread.php?t=1130639
download the package , "BOOT" the package!
but before you do BOOT the package put the Theme in ZIP state anyware to your SDCard.Once you BOOT the package and click Install from SD,find it and CLICK YES !!!! you'll have your theme
Do a nAndroid before doing it (backup)
To enter recovery again,Reboot,when you see the FIRST logo,Hold the Power button and TAP BACK BUTTON like a DONKEY!!!
Click to expand...
Click to collapse
I'm only using the stock recovery, lol. haha.. I'm no pro, and not lurking much around to increase my uhmm you know.
I had an htc desire before. My question is has anyone tried flashing cooked files from the said site? I want to change my batt icon badly
Works fine with SGS+.
do i need a deodexed phone for this?
Maigel said:
Works fine with SGS+.
Click to expand...
Click to collapse
What settings do I have to use in the "File Upload"-Tab, especially under "Select flashable zip scripting"?
reneph said:
What settings do I have to use in the "File Upload"-Tab, especially under "Select flashable zip scripting"?
Click to expand...
Click to collapse
where did you get framework-res.apk from...you need that in order to cook in kitchen
shad0wboss said:
where did you get framework-res.apk from...you need that in order to cook in kitchen
Click to expand...
Click to collapse
From the /system/framework/ folder. You need root to access it.
somehow i cant apply the update with the recovery mode -.-
Blumdum said:
do i need a deodexed phone for this?
Click to expand...
Click to collapse
I have deodexed rom but kitchen should work with odexed roms also.
reneph said:
What settings do I have to use in the "File Upload"-Tab, especially under "Select flashable zip scripting"?
Click to expand...
Click to collapse
Default options are fine - you can't flash the zip anyway.
Blumdum said:
somehow i cant apply the update with the recovery mode -.-
Click to expand...
Click to collapse
Get the apks from the generated UOT zip and copy them to your phone (for example with adb).
Yes it really works.
@Blumdum: I have got an odexed phone and it worked fine. You just have to extract the apk-files from the cookek-zip-file and overwrite the old ones.
Thanks! I will try it!
Im having an error when flashing the cooked file. Error in /tmp/sideload/package.zip
Im trying to change not just the batt but also pop up, notifications bar etc..
ebonikeys said:
Im having an error when flashing the cooked file. Error in /tmp/sideload/package.zip
Im trying to change not just the batt but also pop up, notifications bar etc..
Click to expand...
Click to collapse
Have you done it like Maigel or I said before?
You just have to extract the apk-files from the cookek-zip-file and overwrite the old ones.
Click to expand...
Click to collapse
So do not flash the files provided by uot kitchen. Extract the apk-files out of the kitchen-file instead.
should I use odin multidownloader?
reneph said:
Have you done it like Maigel or I said before?
So do not flash the files provided by uot kitchen. Extract the apk-files out of the kitchen-file instead.
Click to expand...
Click to collapse
ok sorry i wasn't able to read the previous post.. will try this, thanks!
ebonikeys said:
should I use odin multidownloader?
Click to expand...
Click to collapse
No, just use root explorer (or something like that) to copy the cooked uot-kitchen-files into the original folders.
should I paste it in /system/framework/ folder?
ebonikeys said:
should I paste it in /system/framework/ folder?
Click to expand...
Click to collapse
Yes, framework-res.apk belongs to this folder (you should got the original file for cooking in uot-kitchen from there).
The SystemUI.apk belongs to the /system/app/ folder.
reneph said:
Yes, framework-res.apk belongs to this folder (you should got the original file for cooking in uot-kitchen from there).
The SystemUI.apk belongs to the /system/app/ folder.
Click to expand...
Click to collapse
done, thanks! have u tried changing the boot animation?
ebonikeys said:
have u tried changing the boot animation?
Click to expand...
Click to collapse
No, I did not.
maybe i have found a solution how to flash the update.zip of uot
there is one point in their how to:
WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file
2. Put this file in the UOT zip (overriding UOT's file)
Click to expand...
Click to collapse
maybe we only have to add this update-binary file
and then it should work
this file is included in the Root-i9001-Signed.zip of Keksflip
but is this file in this .zip the same file as in the rom?
Title says all , How do you change CWM custom Rom install message? When installing a Custom Rom it says Welcome to "Example" by "Example Credits to etc.
If you know then plz reply it would help me out alot!
I think its part of the updater-binary or updater-script. These can be found in the meta-inf folder and can be edited using notepad++
.
however, do this only if ur making ur own flashable zip. Modifying others zips will cause infractions
QuantumFoam said:
I think its part of the updater-binary or updater-script. These can be found in the meta-inf folder and can be edited using notepad++
.
however, do this only if ur making ur own flashable zip. Modifying others zips will cause infractions
Click to expand...
Click to collapse
thanks
Sent from my GT-S5360 using XDA
Hello..
Is it possible to flash a cwm-flashable zip whilst flashing another zip??
i.e suppose my zip file contains meta-inf, system and a zip file... so is it possible to flash the zip file from the parent zip?
what code would I have to add in the updater script?
nope
hulgo said:
Hello..
Is it possible to flash a cwm-flashable zip whilst flashing another zip??
i.e suppose my zip file contains meta-inf, system and a zip file... so is it possible to flash the zip file from the parent zip?
what code would I have to add in the updater script?
Click to expand...
Click to collapse
nope yo cannot do that you can refer to the guide in xda it will surely help you
press thanks if I had helped you
ashwin007 said:
nope yo cannot do that you can refer to the guide in xda it will surely help you
press thanks if I had helped you
Click to expand...
Click to collapse
yeah, I figured that out when I went ahead and let myself study Edify...
hulgo said:
yeah, I figured that out when I went ahead and let myself study Edify...
Click to expand...
Click to collapse
But i like your thought...