flashing custom zips

alphis

New member
Dec 3, 2012
2
0
0
Hey guys.

I've used custom recovery images for backing up my device as well as to flash custom roms. These flashable zip files seem to be just that...zip files. Signed zip files actually. So I wanted to test my ability to flash my own custom rom via a simple test. I zipped up a file who's contents are:


Code:
Length      Date    Time    Name
---------  ---------- -----   ----
      393  2008-02-29 03:33   META-INF/MANIFEST.MF
      446  2008-02-29 03:33   META-INF/CERT.SF
     1714  2008-02-29 03:33   META-INF/CERT.RSA
  1014472  2008-02-29 03:33   system/app/MyTest.apk
---------                     -------

As you can see its just a simple test to see if I can flash one file onto my device. I signed the zip file using jarsigner as I do with my APKs. The problem is, when I try to flash the zip file via recovery images such as clockworkmod or teamwin's recovery the flash fails. There aren't many details as to why either.

If anyone has any idea why this isn't working I'd very much appreciate it. I'd like to play with my own custom roms and need to get this basic step working first.

Thanks in advance!
 
You need an updater script which is what tells it how to update/replace the files the script is located in META-INF/com/google/android/ not sure how to make them though

Sent from my LG-VM701 using Android Central Forums