AnsweredAssumed Answered

A/B OTA upgrade failed

Question asked by win cao on Jun 21, 2019
Latest reply on Jun 23, 2019 by win cao

参考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.

 

差分包或全包都报这样的错误,请帮忙分析!

Outcomes