[Q] Create flashable framework ZIP? - Galaxy S I9000 Q&A, Help & Troubleshooting

I have simple question, so I hope for simple answer:
how to create flashable zip containing the original framework-res.apk? I can pull original framework file and if something goes wrong, I want to have CWM flashable ZIP to push it back.
How can I do that? Simply ZIP original framework.apk with 7ZIP or there is another method? Thanks.

Related

Recompile APK help

I'm a noob at this... I searched the forum but couldn't find any information.
Could someone more knowledgeable explain to me how to decompile and recompile apk's?? More specifically the framework-res??
I read that you can't simply unzip and then rezip... so what do I have to do?
The apk's are zip files that contain the resources (icons, bitmaps, sounds, etc.) as well as the code compiled in a classes.dex file. You can replace the resources after deodexing, but I don't think you will be able to change the compiled code in classes.dex unless you have the source code.
Sent from my SAMSUNG-SGH-I897 using XDA App
So for instance... if I have a clockwork flashable battery mod... and I unzip that... and edit colors of icons in the framework-res.apk, then can I just save the files, recompress and it will still flash properly?
And another thing.. if you have a clockword flashable .zip how do you change it so that you can flash via stock recovery? I know that simply renaming it to update.zip and trying via stock will not work. Is it a hard process, do I need a special program on my pc??
make your life easier..
search xda for Apk Manager
jslee1020 said:
So for instance... if I have a clockwork flashable battery mod... and I unzip that... and edit colors of icons in the framework-res.apk, then can I just save the files, recompress and it will still flash properly?
And another thing.. if you have a clockword flashable .zip how do you change it so that you can flash via stock recovery? I know that simply renaming it to update.zip and trying via stock will not work. Is it a hard process, do I need a special program on my pc??
Click to expand...
Click to collapse
I am not sure about editing apk's. To create a flashable zip file through stock recovery, you need to have the META-INF folder correctly created with a working updater script and the manifest and certificate files that you get by signing the zip file. Look into playing with the HTC android kitchen on the chef central section here to automate that process.

[Q] Repackaging an existing theme

This is sort of a 2 part question.
I've taken a theme I like which is compatible with my current rom and I have made many edits to image files in the framework apk file.
The theme came as a clockwork flashable zip file. I extracted it and then extracted some apk files to make edits in the graphic design.
My question is how do I put it all back together into the flashable zip, and how do i repackage the apk files I extracted to edit?
Thanks in advance
If you could post the files in a .zip, I can make you an update.zip that can be flashed. Or shoot me a PM and let me know what you need help with (update script, packaging, ect.) and I'll walk you through it.

[Q] What is the update-binary file?

Can anyone tell me what the file is for and what is inside??
It is next to the updater-script in the update.zip files
ty
Its a compiled binary executable file that bears the installation code.
and do I need to create my own or can I use one existing already?
You could use the existing one which works for the version of the CWM that you want your ZIP file to work on.

Need help with getting theme into ROM

I created my rom and took the easy way out with the theming, I went to UOT kitchen and had it made and then manually tweaked it to my liking. Now I need to get it into my rom and I dont know how. It comes in a flashable zip that includes the updater-script, update-script, and update-binary and a folder with the settings along with my usual framework-res.apk.
How do I go about doing this? Is there a script I can use to have it first flash my rom then afterwards flash the theme?
flapflip22 said:
I created my rom and took the easy way out with the theming, I went to UOT kitchen and had it made and then manually tweaked it to my liking. Now I need to get it into my rom and I dont know how. It comes in a flashable zip that includes the updater-script, update-script, and update-binary and a folder with the settings along with my usual framework-res.apk.
How do I go about doing this? Is there a script I can use to have it first flash my rom then afterwards flash the theme?
Click to expand...
Click to collapse
Remove the apk from the UOT Zip and replace it with the one in your ROM.
Nevermind, just wrote up a simple script for it, then extracted and dropped it in my update folder. Nothing too hard

how to create a flashable zip for apk

can anyone tell me how to create a flashable zip for apk which has odex file (without deodexing)
i tried several guides in xda. but still no luck........

Categories

Resources