Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate name: 'IMAGES/product.img' #28

Open
jourje opened this issue Mar 28, 2019 · 1 comment
Open

Duplicate name: 'IMAGES/product.img' #28

jourje opened this issue Mar 28, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@jourje
Copy link

jourje commented Mar 28, 2019

When signing target_files for blueline, I get the following warning :
build/make/tools/releasetools/common.py:1200: UserWarning: Duplicate name: 'IMAGES/product.img'

And there is actually multiple entries for IMAGES/product.img in the zip.

Then i get this from avbtool :
Verifying image vbmeta.img using key at /home/jeremy/Android/keys/avb.pem
vbmeta: Successfully verified SHA256_RSA2048 vbmeta struct in vbmeta.img
system: Successfully verified chain partition descriptor matches expected data
vendor: Successfully verified sha1 hashtree of vendor.img for image of 792514560 bytes
hashtree of product.img does not match descriptor
/home/jeremy/Android/aosp/external/avb/avbtool: Error verifying descriptor.

Obviously avb is refusing to boot.
If I unzip the signed target files to remove duplicate product.img, it kinda pass avb verification but bootloops on the android splashscreen.

@jourje
Copy link
Author

jourje commented Mar 28, 2019

Precisions :
I get the same result when building & signing aosp the usual way.
This is branch android-9.0.0_r34
Everything is working fine when flashing unsigned images.

@lrvick lrvick added the help wanted Extra attention is needed label Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants