Skip to content

Instantly share code, notes, and snippets.

@ThEMarD
Last active November 26, 2024 07:05
Show Gist options
  • Save ThEMarD/cf25c09794069fffb8c7d443286b5103 to your computer and use it in GitHub Desktop.
Save ThEMarD/cf25c09794069fffb8c7d443286b5103 to your computer and use it in GitHub Desktop.
rtwo avb info
./avbtool.py info_image --image /media/themard/SSHD/blobs/RTWO_RETAIL_14_U1TRS34.8-30-13-2-2-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC.xml/vbmeta.img
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 320 bytes
Auxiliary Block: 5632 bytes
Public key (sha1): fd29248b78aa9d6427e8f569eda90be62b9fa0ee
Algorithm: SHA256_RSA2048
Rollback Index: 17
Flags: 0
Rollback Index Location: 0
Release String: 'avbtool 1.2.0'
Descriptors:
Chain Partition descriptor:
Partition Name: vbmeta_system
Rollback Index Location: 2
Public key (sha1): fd29248b78aa9d6427e8f569eda90be62b9fa0ee
Flags: 0
Prop: HAB_META -> 'rtwo_50'
Prop: com.android.build.boot.os_version -> '13'
Prop: com.android.build.boot.fingerprint -> 'motorola/rtwo/rtwo:13/U1TRS34.8-30-13-2-2-3/2a8f5b:user/release-keys'
Prop: com.android.build.boot.security_patch -> '2024-09-01'
Prop: com.android.build.boot.security_patch -> '2024-09-01'
Prop: com.android.build.init_boot.os_version -> '13'
Prop: com.android.build.init_boot.fingerprint -> 'motorola/rtwo/rtwo:13/U1TRS34.8-30-13-2-2-3/2a8f5b:user/release-keys'
Prop: com.android.build.init_boot.security_patch -> '2024-09-01'
Prop: com.android.build.vendor_boot.fingerprint -> 'motorola/rtwo/rtwo:13/U1TRS34.8-30-13-2-2-3/2a8f5b:user/release-keys'
Prop: com.android.build.recovery.fingerprint -> 'motorola/rtwo/rtwo:13/U1TRS34.8-30-13-2-2-3/2a8f5b:user/release-keys'
Prop: com.android.build.vendor.os_version -> '13'
Prop: com.android.build.vendor.fingerprint -> 'motorola/rtwo/rtwo:13/U1TRS34.8-30-13-2-2-3/2a8f5b:user/release-keys'
Prop: com.android.build.vendor.security_patch -> '2024-09-01'
Prop: com.android.build.vendor.security_patch -> '2024-09-01'
Prop: com.android.build.product.os_version -> '14'
Prop: com.android.build.product.fingerprint -> 'motorola/rtwo_g/msi:14/U1TRS34M.8-30-13-2-2-3/817f7f:user/release-keys'
Prop: com.android.build.product.security_patch -> '2024-09-01'
Prop: com.android.build.product.security_patch -> '2024-09-01'
Prop: com.android.build.vendor_dlkm.os_version -> '13'
Prop: com.android.build.vendor_dlkm.fingerprint -> 'motorola/rtwo/rtwo:13/U1TRS34.8-30-13-2-2-3/2a8f5b:user/release-keys'
Prop: com.android.build.system_dlkm.os_version -> '13'
Prop: com.android.build.system_dlkm.fingerprint -> 'motorola/rtwo/rtwo:13/U1TRS34.8-30-13-2-2-3/2a8f5b:user/release-keys'
Prop: com.android.build.dtbo.fingerprint -> 'motorola/rtwo/rtwo:13/U1TRS34.8-30-13-2-2-3/2a8f5b:user/release-keys'
Hash descriptor:
Image Size: 46841856 bytes
Hash Algorithm: sha256
Partition Name: boot
Salt: b872271098764ebd41e76d78a72e8ea266bb32e4df38ddfc23d481ce8dc502f8
Digest: 33f0a4d431dc04e01b212bdf3e042ef323991fb189ccfd681968c75a98d0e3ef
Flags: 0
Hash descriptor:
Image Size: 3620996 bytes
Hash Algorithm: sha256
Partition Name: dtbo
Salt: b872271098764ebd41e76d78a72e8ea266bb32e4df38ddfc23d481ce8dc502f8
Digest: a309568b9401779ac6752ebe338242b682c3918e2e39d550273b35887aed6a0f
Flags: 0
Hash descriptor:
Image Size: 2019328 bytes
Hash Algorithm: sha256
Partition Name: init_boot
Salt: b872271098764ebd41e76d78a72e8ea266bb32e4df38ddfc23d481ce8dc502f8
Digest: 74488a5b73cbaf3f88315b18cb983aee739273b2d165f159abbf2b4ae3585d42
Flags: 0
Hash descriptor:
Image Size: 18460672 bytes
Hash Algorithm: sha256
Partition Name: recovery
Salt: b872271098764ebd41e76d78a72e8ea266bb32e4df38ddfc23d481ce8dc502f8
Digest: 122d0ddb6f327a382bd5c978a803d700e96ae4dd59a0655b7409c7206487b08d
Flags: 0
Hash descriptor:
Image Size: 10817536 bytes
Hash Algorithm: sha256
Partition Name: vendor_boot
Salt: b872271098764ebd41e76d78a72e8ea266bb32e4df38ddfc23d481ce8dc502f8
Digest: 97788f085dfb04e4dd025b4dc6b928998e0eaec7364fc45e26b5a5d022a9663c
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 2851889152 bytes
Tree Offset: 2851889152
Tree Size: 22462464 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 2874351616
FEC size: 22724608 bytes
Hash Algorithm: sha256
Partition Name: product
Salt: b872271098764ebd41e76d78a72e8ea266bb32e4df38ddfc23d481ce8dc502f8
Root Digest: e53a1e0626e2f33af16a03b9a366e8639384a5a6e8a7d1e9352bed912a8d1ca1
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 110592 bytes
Tree Offset: 110592
Tree Size: 4096 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 114688
FEC size: 8192 bytes
Hash Algorithm: sha256
Partition Name: system_dlkm
Salt: 33791721df2d69d7273388ddb0601b9bb44659bd1c7d26b82633e8c105019c65
Root Digest: f97eb5ded2bdb7e90cf8a24c4d81650d0443d597433b7c3aaa02f76dbbf621d0
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 1546895360 bytes
Tree Offset: 1546895360
Tree Size: 12189696 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 1559085056
FEC size: 12328960 bytes
Hash Algorithm: sha256
Partition Name: vendor
Salt: 8bb16902d9fdf044f55e826c296dec3d41202ea01f64e24abf2c3879ba3e6c46
Root Digest: 3e5978167a1c868262b5a24d8dd23e6142b73e57dd81f27b7e41950ea70e954c
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 46972928 bytes
Tree Offset: 46972928
Tree Size: 372736 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 47345664
FEC size: 376832 bytes
Hash Algorithm: sha256
Partition Name: vendor_dlkm
Salt: a9516023224b431602f19b9868946387d0dd49f7e5c4c41e5f7d7cd0b4095c49
Root Digest: 9ccd2fb370f45b1c21178c9bc9b7b713326472a2acb61b4185be479305ebaaab
Flags: 0
./avbtool.py info_image --image /media/themard/SSHD/blobs/RTWO_RETAIL_14_U1TRS34.8-30-13-2-2-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC.xml/vbmeta_system.img
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 320 bytes
Auxiliary Block: 1792 bytes
Public key (sha1): fd29248b78aa9d6427e8f569eda90be62b9fa0ee
Algorithm: SHA256_RSA2048
Rollback Index: 17
Flags: 0
Rollback Index Location: 0
Release String: 'avbtool 1.2.0'
Descriptors:
Prop: HAB_META -> 'rtwo_50'
Prop: com.android.build.system.os_version -> '14'
Prop: com.android.build.system.fingerprint -> 'motorola/rtwo_g/msi:14/U1TRS34M.8-30-13-2-2-3/817f7f:user/release-keys'
Prop: com.android.build.system.security_patch -> '2024-09-01'
Prop: com.android.build.system.security_patch -> '2024-09-01'
Prop: com.android.build.system_ext.os_version -> '14'
Prop: com.android.build.system_ext.fingerprint -> 'motorola/rtwo_g/msi:14/U1TRS34M.8-30-13-2-2-3/817f7f:user/release-keys'
Prop: com.android.build.system_ext.security_patch -> '2024-09-01'
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 644501504 bytes
Tree Offset: 644501504
Tree Size: 5083136 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 649584640
FEC size: 5136384 bytes
Hash Algorithm: sha256
Partition Name: system
Salt: b872271098764ebd41e76d78a72e8ea266bb32e4df38ddfc23d481ce8dc502f8
Root Digest: a72726f39a2d6e0f864b63c6b078998d5134229b38bb0782c3bcb833cb868d93
Flags: 0
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 681922560 bytes
Tree Offset: 681922560
Tree Size: 5378048 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 2
FEC offset: 687300608
FEC size: 5439488 bytes
Hash Algorithm: sha256
Partition Name: system_ext
Salt: b872271098764ebd41e76d78a72e8ea266bb32e4df38ddfc23d481ce8dc502f8
Root Digest: 6fa8115e776768dfdfd6eb7c90bcbee637d04832ba21fc03719d6d535f35646e
Flags: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment