[Please help] Difficulties at creation of signed vmeta
[Please help] Difficulties at creation of signed vmeta
python avbtool make_vbmeta_image --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096 --flag 2 --chain_partition boot:1:keys/key_boot.bin --chain_partition system:3:keys/key_system.bin --chain_partition vendor:4:keys/key_vendor.bin --chain_partition product:10:keys/key_product.bin --chain_partition dtbo:9:keys/key_dtbo.bin --chain_partition recovery:2:keys/hovatek.bin --chain_partition l_modem:5:keys/key_l_modem.bin --chain_partition l_ldsp:6:keys/key_l_ldsp.bin --chain_partition l_gdsp:7:keys/key_l_gdsp.bin --chain_partition pm_sys:8:keys/key_pm_sys.bin --chain_partition dtb:11:keys/key_dtb.bin --padding_size 16384 --output vbmeta-sign-custom.img
Traceback (most recent call last):
File "/AVB/avbtoolp3.py", line 4935, in <module>
tool.run(sys.argv)
File "/AVB/avbtoolp3.py", line 4739, in run
args.func(args)
File "/AVB/avbtoolp3.py", line 4765, in make_vbmeta_image
self.avb.make_vbmeta_image(args.output, args.chain_partition,
File "/AVB/avbtoolp3.py", line 2971, in make_vbmeta_image
vbmeta_blob = self._generate_vbmeta_blob(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/lucas/Porcarias/Temp/TempPad/AVB/avbtoolp3.py", line 3076, in _generate_vbmeta_blob
with open(file_path, 'rb') as f:
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'keys/key_boot.bin'
python3 avbtoolp3.py make_vbmeta_image --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096 --flag 2 --chain_partition boot:1:keys/rsa4096_vbmeta.bin --chain_partition system:3:keys/vbmeta-sign.img --chain_partition vendor:4:keys/vbmeta-sign.img --chain_partition product:10:keys/vbmeta-sign.img --chain_partition dtbo:9:keys/vbmeta-sign.img --chain_partition recovery:2:keys/vbmeta-sign.img --chain_partition l_modem:5:keys/vbmeta-sign.img --chain_partition l_ldsp:6:keys/vbmeta-sign.img --chain_partition l_gdsp:7:keys/vbmeta-sign.img --chain_partition pm_sys:8:keys/vbmeta-sign.img --chain_partition dtb:11:keys/vbmeta-sign.img --padding_size 16384 --output vbmeta-sign-mod.img
Partition Name: boot
Rollback Index Location: 1
Partition Name: dtbo
Rollback Index Location: 6
Partition Name: socko
Rollback Index Location: 11
Partition Name: odmko
Rollback Index Location: 12
Partition Name: vbmeta_system
Rollback Index Location: 2
Partition Name: vbmeta_system_ext
Rollback Index Location: 3
Partition Name: vbmeta_vendor
Rollback Index Location: 4
Partition Name: vbmeta_product
Rollback Index Location: 5
Partition Name: l_modem
Rollback Index Location: 7
Partition Name: l_ldsp
Rollback Index Location: 8
Partition Name: l_gdsp
Rollback Index Location: 9
Partition Name: pm_sys
Rollback Index Location: 10
python avbtool make_vbmeta_image --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096 --flag 2
--chain_partition boot:1:keys/key_boot.bin
--chain_partition system:3:keys/key_system.bin
--chain_partition vendor:4:keys/key_vendor.bin
--chain_partition product:10:keys/key_product.bin
--chain_partition dtbo:9:keys/key_dtbo.bin
--chain_partition recovery:2:keys/hovatek.bin
--chain_partition l_modem:5:keys/key_l_modem.bin
--chain_partition l_ldsp:6:keys/key_l_ldsp.bin
--chain_partition l_gdsp:7:keys/key_l_gdsp.bin
--chain_partition pm_sys:8:keys/key_pm_sys.bin
--chain_partition dtb:11:keys/key_dtb.bin
--padding_size 16384 --output vbmeta-sign-custom.img
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 576 bytes
Auxiliary Block: 14720 bytes
Public key (sha1): 2597c218aae470a130f61162feaae70afd97f011
Algorithm: SHA256_RSA4096
Rollback Index: 0
Flags: 2
Rollback Index Location: 0
Release String: 'avbtool 1.2.0'
Descriptors:
Chain Partition descriptor:
Partition Name: boot
Rollback Index Location: 1
Public key (sha1): 2597c218aae470a130f61162feaae70afd97f011
Chain Partition descriptor:
Partition Name: dtbo
Rollback Index Location: 6
Public key (sha1): ea410c1b46cdb2e40e526880ff383f083bd615d5
Chain Partition descriptor:
Partition Name: socko
Rollback Index Location: 11
Public key (sha1): bc688cacacd959cfaafbf0549d080d6fc2d50a08
Chain Partition descriptor:
Partition Name: odmko
Rollback Index Location: 12
Public key (sha1): 425215859f49f31809f16491c2a67e04df79baaf
Chain Partition descriptor:
Partition Name: vbmeta_system
Rollback Index Location: 2
Public key (sha1): e2c66ff8a1d787d7bf898711187bff150f691d27
Chain Partition descriptor:
Partition Name: vbmeta_system_ext
Rollback Index Location: 3
Public key (sha1): f204332ee2d0bec13ea120b73c5adcf7866bf889
Chain Partition descriptor:
Partition Name: vbmeta_vendor
Rollback Index Location: 4
Public key (sha1): 9885bf5bf909e5208dfd42abaf51ad9b104ee117
Chain Partition descriptor:
Partition Name: vbmeta_product
Rollback Index Location: 5
Public key (sha1): 766a95798206f6e980e42414e3cb658617c27daf
Chain Partition descriptor:
Partition Name: l_modem
Rollback Index Location: 7
Public key (sha1): e93e7d91ba1a46b81a5f15129b4dc5769bf41f26
Chain Partition descriptor:
Partition Name: l_ldsp
Rollback Index Location: 8
Public key (sha1): e93e7d91ba1a46b81a5f15129b4dc5769bf41f26
Chain Partition descriptor:
Partition Name: l_gdsp
Rollback Index Location: 9
Public key (sha1): e93e7d91ba1a46b81a5f15129b4dc5769bf41f26
Chain Partition descriptor:
Partition Name: pm_sys
Rollback Index Location: 10
Public key (sha1): e93e7d91ba1a46b81a5f15129b4dc5769bf41f26
Footer version: 1.0
Image size: 67108864 bytes
Original image size: 28712960 bytes
VBMeta offset: 28712960
VBMeta size: 2304 bytes
--
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 576 bytes
Auxiliary Block: 1472 bytes
Public key (sha1): ea410c1b46cdb2e40e526880ff383f083bd615d5
Algorithm: SHA256_RSA4096
Rollback Index: 0
Flags: 0
Rollback Index Location: 0
Release String: 'avbtool 1.1.0'
Descriptors:
Hash descriptor:
Image Size: 28712960 bytes
Hash Algorithm: sha256
Partition Name: boot
Salt: 86590b4df8557402ea2adb9993bd3e9e3bd74c1ddb61b82fac901caa8121c179
Digest: ec7b274a35dd02fe916a1d4a9d550f3cb4fc648ffe0ec18b9256da89753c97b9
Flags: 0
Prop: com.android.build.boot.fingerprint -> 'CTRONIQ/CTRONIQ-SNOOK-X10L/CTRONIQ-SNOOK-X10L:11/RP1A.201005.001/20211112:user/release-keys'
Prop: com.android.build.boot.os_version -> '11'
Footer version: 1.0
Image size: 67108864 bytes
Original image size: 28712960 bytes
VBMeta offset: 28712960
VBMeta size: 2112 bytes
--
Minimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 576 bytes
Auxiliary Block: 1280 bytes
Public key (sha1): 2597c218aae470a130f61162feaae70afd97f011
Algorithm: SHA256_RSA4096
Rollback Index: 0
Flags: 0
Rollback Index Location: 0
Release String: 'avbtool 1.2.0'
Descriptors:
Hash descriptor:
Image Size: 28712960 bytes
Hash Algorithm: sha256
Partition Name: boot
Salt: d2ecfa29b44f1a5d0ed10e22c1e8c1897ea35ee5b094fe55952847b2d3aabac7
Digest: 61d51d599b48a923cb04740c697274fa7c6177956c67cc9154e9c61b0d70156c
Flags: 0
fastboot flash vbmeta_custom.img
fastboot flash vbmeta --disable-verity --disable-verification vbmeta_custom.img