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.
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.
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.
I have found a similar post but I couldn't find any solution. So, I made a zip that contains my favorite mods for flashing after a factory reset. Some of them need odex files to be deleted. I try to do that with the update-binary file but when I open it with notepad+ I see unrecognisable characters. Could anyone help me? I tried to edit the updater script file but when I flash it the files are not deleted.
For delete single file you should add to updater-script this:
Code:
delete("/system/bin/xxx.odex");
For s iii mini you can use update.zip in attachment. Only edit updater-script for your need.
Delete this!
Hi guys, I want to extract a flashable zip from stock firmware of XT1060... I followed the instruction from this post :http://forum.xda-developers.com/showthread.php?t=2387941
but I get nothing in the system folder after I extracted it, and the kitchen gave me an error
Code:
Error: No /system/framework folder found!
So I want to ask how to extract a full flashable zip from the stock rom downloaded from sbf-droid (e.g.: VZW_XT1060_4.4.4-KXA21.12-L1.26_CFC_1FF.xml.zip)
Thank You
.....