AnsweredAssumed Answered

How to sign update.zip

Question asked by Qiulong Li on Nov 27, 2015
Latest reply on Dec 3, 2015 by W g

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

Outcomes