How to sign update.zip

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to sign update.zip

ソリューションへジャンプ
3,098件の閲覧回数
lqll
Contributor III

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

ラベル(4)
0 件の賞賛
返信
1 解決策
1,990件の閲覧回数
wwggg
Contributor I

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

元の投稿で解決策を見る

1 返信
1,991件の閲覧回数
wwggg
Contributor I

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