Hello
My environment is i.MX6Q,Android 4.4.2.
I want to add uboot to update.zip,and I follow Android_Frequently_Asked_Questions.pdf 's section:How do I customize the update script to update uboot,and I get make_update_zip.sh from here,Updating Bootloader in OTA for imx6
But,I found make_update_zip.sh did't resign my update.zip,it just make a update.zip from android source path,then resign that update.zip,not mine!
So I copy this code "java -jar ${ANDROID_BUILD_TOP}/out/host/linux-x86/framework/signapk.jar ${ANDROID_BUILD_TOP}/build/target/product/security/testkey.x509.pem ${ANDROID_BUILD_TOP}/build/target/product/security/testkey.pk8 update.zip update-signed.zip " from make_update_zip.sh then resign my own update.zip,but during recovery,it failed,said invalid signature.
Please help me sign update.zip contained uboot.
Thank You
Qiulong Li
Solved! Go to Solution.
java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w device/fsl/common/security/testkey.x509.pem device/fsl/common/security/testkey.pk8 update.zip out/target/product/sabresd_6dq/update-signed.zip
java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w device/fsl/common/security/testkey.x509.pem device/fsl/common/security/testkey.pk8 update.zip out/target/product/sabresd_6dq/update-signed.zip