Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save phhusson/bf175a9067b0bc3073d00d4853d2f14a to your computer and use it in GitHub Desktop.
Save phhusson/bf175a9067b0bc3073d00d4853d2f14a to your computer and use it in GitHub Desktop.
➜ Telegram Desktop /build2/AOSP-10.0-new/out/host/linux-x86/bin/avbtool info_image --image vbmeta_system.img
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 320 bytes
Auxiliary Block: 1408 bytes
Algorithm: SHA256_RSA2048
Rollback Index: 0
Flags: 0
Release String: 'avbtool 1.1.0'
Descriptors:
Prop: com.android.build.product.os_version -> '10'
Prop: com.android.build.product.security_patch -> '2019-12-05'
Prop: com.android.build.system.os_version -> '10'
Prop: com.android.build.system.security_patch -> '2019-12-05'
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 1524744192 bytes
Tree Offset: 1524744192
Tree Size: 12013568 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 1536757760
FEC size: 12148736 bytes
Hash Algorithm: sha256
Partition Name: product
Salt: a3eda96f7bad4e9b7d50666910d7b29fa31e22fe0a60cd5a0dbd57cd5e37b859
Root Digest: 1142bccc5dad12459acb621a47a9f4a9772bc7b2fb459e7c35cf8f106921aaf0
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 1023361024 bytes
Tree Offset: 1023361024
Tree Size: 8065024 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 1031426048
FEC size: 8159232 bytes
Hash Algorithm: sha256
Partition Name: system
Salt: 08644785ecb2f0976da2105dc6d38df01568a575b077f0b402e75904e655f44f
Root Digest: 0efb18c5db3911c49f204178661a5b7e2a4de996068450cf650f1e7a42d5db9a
Flags: 0
➜ Telegram Desktop /build2/AOSP-10.0-new/out/host/linux-x86/bin/avbtool info_image --image vbmeta_vendor.img
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 320 bytes
Auxiliary Block: 960 bytes
Algorithm: SHA256_RSA2048
Rollback Index: 0
Flags: 0
Release String: 'avbtool 1.1.0'
Descriptors:
Prop: com.android.build.vendor.os_version -> '10'
Prop: com.android.build.vendor.security_patch -> '2019-12-05'
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 402161664 bytes
Tree Offset: 402161664
Tree Size: 3174400 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 405336064
FEC size: 3211264 bytes
Hash Algorithm: sha256
Partition Name: vendor
Salt: 946a386c1f74cd816bf8ac69b733440594bef35eb31cccc0fdf0a446f8f53624
Root Digest: 2fb2d78d9094b39692013e1d6833a7c0002aab32c9572002970d001909105813
Flags: 0
➜ Telegram Desktop /build2/AOSP-10.0-new/out/host/linux-x86/bin/avbtool info_image --image vbmeta\ \(2\).img
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 320 bytes
Auxiliary Block: 3264 bytes
Algorithm: SHA256_RSA2048
Rollback Index: 0
Flags: 0
Release String: 'avbtool 1.1.0'
Descriptors:
Chain Partition descriptor:
Partition Name: recovery
Rollback Index Location: 1
Public key (sha1): 0aa0987116fc792f36bc909b0a4d530413f02a54
Chain Partition descriptor:
Partition Name: vbmeta_system
Rollback Index Location: 2
Public key (sha1): fa41159a5d696abdef93176a07d0b0d001263f01
Chain Partition descriptor:
Partition Name: vbmeta_vendor
Rollback Index Location: 4
Public key (sha1): 9577bc6c0772975ecce93c4d8a178662c728dadf
Chain Partition descriptor:
Partition Name: boot
Rollback Index Location: 3
Public key (sha1): 9d808b0995768d0677fccb1efcddb7cf9e153d99
Hash descriptor:
Image Size: 54320 bytes
Hash Algorithm: sha256
Partition Name: dtbo
Salt: d4ec2723cc4ebb2fe57e18591b72a68654af63121fae33dd189132803b4eac8d
Digest: 49b0e5e7a3dc2f0ef761a7316ff2ba61a8ac4ab66c7c1259c717ade6b8e863a0
Flags: 0
➜ Telegram Desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment