Skip to content

Instantly share code, notes, and snippets.

@deadman96385
Created July 30, 2022 19:21
Show Gist options
  • Save deadman96385/dfa1a9828b6331ee412adab090324685 to your computer and use it in GitHub Desktop.
Save deadman96385/dfa1a9828b6331ee412adab090324685 to your computer and use it in GitHub Desktop.
python3 avbtool.py info_image --atx --image /mnt/c/Users/seanh/Desktop/vbmeta.img
Minimum libavb version: 1.1
Header Block: 256 bytes
Authentication Block: 576 bytes
Auxiliary Block: 6080 bytes
Public key (sha1): 340ac92fd2fcaa2c6fd1262a15aa215f828d39ca
Algorithm: SHA512_RSA4096
Rollback Index: 1
Flags: 0
Rollback Index Location: 0
Release String: 'avbtool 1.1.0'
Descriptors:
Kernel Cmdline descriptor:
Flags: 1
Kernel Cmdline: 'dm="1 vroot none ro 1,0 1031864 verity 1 PARTUUID=$(ANDROID_SYSTEM_PARTUUID) PARTUUID=$(ANDROID_SYSTEM_PARTUUID) 4096 4096 128983 128983 sha1 8a5341efeeedf1827292380f3127e3a953284cc7 b386c29eb373b844a7914902861e984908511d7ce88a1e210fa4271bd8895307 10 $(ANDROID_VERITY_MODE) ignore_zero_blocks use_fec_from_device PARTUUID=$(ANDROID_SYSTEM_PARTUUID) fec_roots 2 fec_blocks 130000 fec_start 130000" root=/dev/dm-0'
Kernel Cmdline descriptor:
Flags: 2
Kernel Cmdline: 'root=PARTUUID=$(ANDROID_SYSTEM_PARTUUID)'
Hash descriptor:
Image Size: 12832768 bytes
Hash Algorithm: sha256
Partition Name: boot
Salt: b386c29eb373b844a7914902861e984908511d7ce88a1e210fa4271bd8895307
Digest: 67a2c3eb1c6057088156c85cb2e65230d9add930c18de72ef2adb52110f4d4f0
Flags: 0
Hash descriptor:
Image Size: 33484800 bytes
Hash Algorithm: sha256
Partition Name: factory
Salt:
Digest:
Flags: 1
Hash descriptor:
Image Size: 68953 bytes
Hash Algorithm: sha256
Partition Name: oem_bootloader
Salt: 702bb530078f7b00cc26b593c60225aa321ad3c74f64414f6c28ef7124a9f48e
Digest: 2b15aa51bb75c6712cc3e30c8f330e80025f104b1047527e7ab99a907c04e9ea
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 1056714752 bytes
Tree Offset: 1056714752
Tree Size: 8327168 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 1065041920
FEC size: 8421376 bytes
Hash Algorithm: sha1
Partition Name: oem
Salt: 2c0f072b14df925075c1d236402ec75e35d0d060
Root Digest: 8424bfa6c9d2aa1dd2f48c6cb44a3fb664baf304
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 528314368 bytes
Tree Offset: 528314368
Tree Size: 4165632 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 532480000
FEC size: 4210688 bytes
Hash Algorithm: sha1
Partition Name: system
Salt: b386c29eb373b844a7914902861e984908511d7ce88a1e210fa4271bd8895307
Root Digest: 8a5341efeeedf1827292380f3127e3a953284cc7
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 264114176 bytes
Tree Offset: 264114176
Tree Size: 2084864 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 266199040
FEC size: 2105344 bytes
Hash Algorithm: sha1
Partition Name: vendor
Salt: b386c29eb373b844a7914902861e984908511d7ce88a1e210fa4271bd8895307
Root Digest: 031b07e23d8e42d53620ca4ec13d5a88462a3553
Flags: 0
Android Things eXtension (ATX):
Metadata version: 1
Product Intermediate Key:
Version: 1
Public key (sha1): 89fe5d7d81ef9c95ce4825008f5a3db496bfe2e9
Subject: 0187db8f3fcaff4bf8727e0ff7c2b348967e5db9a9f68c8952c0ffa21281dd2b
Usage: 04ec7cc74241763bcc72e35ed392dfd82a6c51aea8ec6d4327c70df4534b215c
Key version: 1
Product Signing Key:
Version: 1
Public key (sha1): 340ac92fd2fcaa2c6fd1262a15aa215f828d39ca
Subject: ffc072f32facd2c10b71d26ede3e572e2230cabfac8d371c6f0c701e4a572aac
Usage: 75047fe15ed499802dfd7726006118ef5b065856f59ca7f4dc63e759e648f816
Key version: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment