参考Android_User's Guide.pdf
update_engine_client --payload=file:///sdcard/payload.bin --update --headers="FILE_HASH=sM+qbLMlZ9qWQ6ZIq0AmpZXFAdWzT2OTHfueIF0sci8= \ FILE_SIZE=396181160 \ METADATA_HASH=7+44UIriB9jwJ8EOkSqc+i0QI7jxV67sctHwLNOXlkM= \ METADATA_SIZE=58790"
06-21 17:26:51.616 2029 2029 I update_engine: [0621/172651.616640:INFO:delta_performer.cc(1549)] Verifying payload using public key: /etc/update_engine/update-payload-key.pub.pem
06-21 17:26:51.616 2029 2029 E update_engine: [0621/172651.616734:ERROR:delta_performer.cc(1563)] VerifyPayload failure: payload_hash_calculator_.raw_hash() == update_check_response_hash
06-21 17:26:51.616 2029 2029 E update_engine: [0621/172651.616828:ERROR:download_action.cc(397)] Download of file:///sdcard/payload.bin failed due to payload verification error.
差分包或全包都报这样的错误,请帮忙分析!
解決済! 解決策の投稿を見る。
Thanks! The issue is fixed.
My command format has some wrong. Modify like below is OK.
update_engine_client --payload=file:///sdcard/payload.bin --update --headers="FILE_HASH=Afax6nZgj9olKMHlWtCR+6MR57f7rxZj/gbElfmIhRY=
FILE_SIZE=396182858
METADATA_HASH=w7Ptcfwfb4zChWEJNT+O0Pi/hHnBhlWMj+xWkfA9h4I=
METADATA_SIZE=58790"
Thanks! The issue is fixed.
My command format has some wrong. Modify like below is OK.
update_engine_client --payload=file:///sdcard/payload.bin --update --headers="FILE_HASH=Afax6nZgj9olKMHlWtCR+6MR57f7rxZj/gbElfmIhRY=
FILE_SIZE=396182858
METADATA_HASH=w7Ptcfwfb4zChWEJNT+O0Pi/hHnBhlWMj+xWkfA9h4I=
METADATA_SIZE=58790"
based on imx-p9.0.0_2.1.0-auto-ga