I'm trying to put together a zip-file to flash some ca-certificates - but TWRP won't flash it
OK, here's what I did:
First, I got a sample.zip from somewhere in XDA that was made just to allow easy creation of zip files. I unpacked it and put together the necessary files and dirs:
│ └── com
│ └── google
│ └── android
│ ├── update-binary
│ └── updater-script
Then I modded updater-script to my needs:
ui_print("Now mounting /system ...");
mount("yaffs2", "MTD", "system", "/system");
ui_print("Installing CAcert Root certificates");
ui_print("Unmounting /system ...");
ui_print("Done! CAcert root certificates should be in system keystore now ...");
and zipped it again. Then I pushed it to the phone.
But - trying to flash it resulted in an error:
E: Error Executing updater binary in zip '/sdcard/OpenDelta/FlashAfterUpdate/CAcert.zip'
Somewhere I read in order to get rid of this I should replace update-binary with the file from a zip that flashes fine - so I did. But the result was the same
Any hints anyone? Device etc. are in my signature.
Sony Xperia Z1 (C6903 aka honami)
SlimKat latest weekly
(Android 4.4, CAF stuff included)
HTC Incredible S (vivo), Samsung Galaxy S3 LTE (i9305)