You inappropriately do this ...
update.zip is convenient only for patches (when there are few files), if you have a working nandroid backup, then use it much easier:
1) create backup in recovery
2) replace system.img in the resulting backup / sdcard / clockworkmod / backup / {date} /
3) you rewrite its checksum in the nandroid.md5 text box before the word system.img
create checksum so in linux console
# md5sum /mnt/inst/GT540/system.img - this will give md5 the sum of the file
473e7d078e67385bb53f897e4b21ff6e/ mnt / inst / GT540 /
system.img4) you are recovering completely from backup in recovery, or separately in "advansed restore", as below
Mur4ik I wrote, but the checksums must be correct for all files as well as for full recovery, because for some reason, checks for all amounts
that's all
In order to concoct update.zip, you need to parse system.img, see what rights to which folders and files are in the original, write a script that will copy the contents of the system folder to the system directory, and then give out rights to the contents (you can take it from the topic, the link below to which , these are the recommended rights by Google, well, you still need to add set_perm 0 2000 down there
0550SYSTEM: etc / init.qcom.bt.sh highlighted in red, you need to replace 0755 or 0655).
put in place, compress in zip and sign sign apk
Here's how to create update.zip from system.img - ENGif I can create a topic about translation-based creation
Post has been editedFroggyzzz - 21.10.10, 16:26