Hello
My environment is i.MX6Q,Android 4.4.2.
I want to customise OTA update.zip,as Android_Frequently_Asked_Questions.pdf 's section How do I customize the reference OTA application said.
I generate update.zip by this command:
make dist -j4
and this update.zip can update my device system well in recovery.But when I unzip this update.zip then zip again without doing any modify,I found the file size changed and I can't do update,
My unzip and zip command is below:
unzip -d update update.zip
zip -r update2.zip update

Then I signed the update2.zip by the command below:
java -Xmx2048m -jar ~/android-4.4.2_sdi_in/out/host/linux-x86/framework/signapk.jar -w ~/android-4.4.2_sdi_in/device/fsl/common/security/testkey.x509.pem ~/android-4.4.2_sdi_in/device/fsl/common/security/testkey.pk8 update2.zip update-signed.zip
This update-signed.zip still not has the same size compare to update.zip,and still can't pass recovery to update system.

So my question is how to unzip&zip update.zip correctly?
Thank You
Qiulong Li