Extract update.zip and repack issue - myTouch 3G, Magic Apps and Games

Dear All,
I also tried to update the cyanogen kernel for certain times. I found that there is some packages I don't want.
Just like my previous post about keyboard issue. Does it possible for me to extract update.zip into folder, then check/remove/add apk I want, then compress it again ? like remove original android keyboard and add HTC_CIME and keyboard ???
But I tried before and error occur like failed with my signature if I do that.
Are there any example or procedures require to make update.zip like cyanogen provides ??
Thanks !!

you need to resign the zip file. Search for "resign apk made easy" or something like that on the dream forums. or like "resign reg".

Related

[help] how to make a update.zip???

hey does anyone know how to make a update.zip for a apk???
you need to create an update-script that basically tells the flashing app where the file of your apk goes in the live system.
zip and sign and you're done.
if your next question is "how do I write an update-script" I would suggest you download any of the roms available, extract their script and have a look at it.
its quite basic, not much more difficult than writing a batch file on DOS.
there are a couple of threads that give a few pointers as well but they are somewhere in xda, not necessarily in the nexus section.
search for update-script and you'll see.
nmesisca said:
you need to create an update-script that basically tells the flashing app where the file of your apk goes in the live system.
zip and sign and you're done.
if your next question is "how do I write an update-script" I would suggest you download any of the roms available, extract their script and have a look at it.
its quite basic, not much more difficult than writing a batch file on DOS.
there are a couple of threads that give a few pointers as well but they are somewhere in xda, not necessarily in the nexus section.
search for update-script and you'll see.
Click to expand...
Click to collapse
thanks mam ill give it a try
Remove the .txt extension or use the META-INF folder in the .zip that already has the same update-script in it or finally, you can use the empty update.zip which already has all the components in it, you just need to add your .apk's and .jar's to it.
This is a basic update script that works well for themes (or at least for me it does). In your .zip have META-INF (for the update-script) folder (take one from a ROM or theme) and an app and a framework folder and it will work.

[Q] Integrating a language with a ROM .zip?

Hi,
I have a ROM, for example Enomther's. and I also have the arabic language libs. how can I integrate the arabic libs into the ROM's zip file so I don't have to flash another zip for arabic libs? I have attached the arabic libs.
Bump! anyone?
Come on, what kind of answer do you expect?
Here's the answer: you need to substitute the files in the original ROM zip and resign it - that's it.
Now you're going to ask, how to do it, because you have no clue - and the explanation is a lot of work to try and put in one post, and setting up signing applications involves installing Java SDK and some knowledge. If you're asking the question you're asking - it seems like you're far from being skilled enough in Android depths to do what you're asking to do, and that's why you see no answer. After all, if you'd want to do it - you'd have to search anyway, Google "sign apk zip" and here you go, a lot of tutorials show up. And if you didn't search and posted instead - it speaks for itself.
By the way, there's no good reason to integrate the libs into a standard ROM, moreover - it's a bad idea. ROMs tend to be updated, and the work that needs to be done setting up the environment for signing APKs and ZIPs is way more than flashing one update right after updating the ROM to a newer version. And ROMs are updated quite often.
Yeah i'm not skilled. I'm trying to learn... I am trying to make my own customized ROM for my country's users. And I didn't mean editing ROM files, I was saying how to push the lib into the ROM zip so people don't have to flash the arabic zip lib when they flash my customized ROM. So I hope you haven't missunderstood my question...
Ah, I see, you want to customize and share the ROM. In that case, you have to have the setup I'm talking about. The update.zip contains folders and files, which directly replace the files in the same folders in ROM, so if you have a ROM zip - you need to replace those files. The easiest way would be just extracting your update.zip, opening a ROM zip in 7zip / WinZip / WinRar / etc, putting those extracted files from update.zip in the right place into ROM zip by drag-and-drop, and then resigning the ROM file.
Please do some googling as to how to sign ZIP and APK files. There are some pretty good tutorials.
I have done that before, and I replaced the lib file with the ROM default lib. it's libskia.so, but I think because I didn't know I have to sign it it gave me an error while flashing through recovery. so after I replace the lib I have to re-compress the file and then sign the zip right?
You don't have to re-compress if you replace the file without decompressing the original ROM archive, by dragging-and-dropping the file into the archive.
And yes, you have to re-sign the ZIP after any changes you make to anything inside it.

Modifying ROM Zips

I've done a bit of searching and haven't managed to find the answer(s) I'm looking for. There are a few decent ROM's around here but nothing specific to what I want as an end result. The ROM's seem to come in ZIP files and open fine in WinRAR. Can I use WinRAR to delete apk files that I don't want to install and still end up with a file safe to flash in Clockwork Recovery? Thanks in advance!
yes you can. But dont extract the zip file (the rom), double click on it, system>app, and then delete what you want I let you here this site for you to see witch apk you can remove/uninstall :
http://wiki.cyanogenmod.com/index.php?title=Barebones
(from cyanogenmod but the same roms are practilly the same)
Thanks! That makes life so much simpler than reading about this Kitchen stuff and such when I just simply want to remove what I consider useless.

[Q] How to make CWM3 installable package ?

I would like to know how to create a CWM3 updatable zip file with my own files. I want to do this because I would like to try out some themes but want to be able to go back if I don't end up liking them or of I run in to problems.
If I can create my own package with the stock files a theme is going to update, then I can always revert back safely. Will it work if I update lets say a particular theme zip and replace the theme files with stock files ??
Anyways, I found out that, just replacing the files does work.. Didn't want to try it out before first thinking that I might run into problems.. But since no one answered, I went and tried anyway.

[Q] Tutorial for stock rom

hi there. i am wondering if someone can help me and guide me how to **** mine own rom?
at least how to change something basic in rom...like put other launcher , video player...etc. and all ZIP it than flash it via CWM.
i was searching forum for it but... cant find anything ( maybe i missed it ).
btw... it's for Win 7 64 bit. platform.
any way...sry if i am missed some similar post but... ty for any info.
you can change launcher by using 3rd party apps such as 'home switcher'.
y, know that mate. just need someone to explain me how to make all that what i ask and than make flashable zip file.
download a lauchner like GoLauncher.apk open your Rom.zip,dont extract!! only open it,go to the directory system/app,put the golauncher.apk in and delete the LGLauncher.apk ,you can do the same with camera,videoplayer,sms and somethting.
you must have a replacement for the original,thats all.
for optic,first go copy systemUI.apk and framework-res.apk from the open zip to your PC,then go to the xda kitchen,make your style,open the downloaded zip and copy the backed framwork and system apk to Our rom zip,of corse in the right direction;-) and then you flash your own styled rom

Categories

Resources