[Tutorial] How to create a custom signed vbmeta.img for Unisoc using AVBtool
[Tutorial] How to create a custom signed vbmeta.img for Unisoc using AVBtool
(19-08-2020, 04:48 PM)akramkhan @X3non
I tried to flash magisk patched img via fastboot and it was successful but unfortunately i am getting bootloop and worst is that i can't get into fastboot mode unless i flash stock rom via aftersale software my device is Tecno Pouvior 4 Pro, please advise. thanks
(06-09-2020, 06:43 PM)guest765 Hi, my vbmeta-sign file does not have 'DHTB' anywhere...
(12-03-2020, 11:51 PM)hovatek ...
error screenshot attached
(07-09-2020, 01:10 PM)X3non you can do away with the --padding_size ***** argumentThanks.
python avbtool make_vbmeta_image --key hovatek.pem --algorithm SHA256_RSA2048 --flag 2 --chain_partition recovery:1:keys/hovatek.bin --chain_partition system:2:keys/system_key.bin --output vbmeta-custom.imgMinimum libavb version: 1.0
Header Block: 256 bytes
Authentication Block: 320 bytes
Auxiliary Block: 2432 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: system
Rollback Index Location: 2
Public key (sha1): fa41159a5d696abdef93176a07d0b0d001263f01
Hashtree descriptor:
Version of dm-verity: 1
Image Size: 299536384 bytes
Tree Offset: 299536384
Tree Size: 2367488 bytes
Data Block Size: 4096 bytes
Hash Block Size: 4096 bytes
FEC num roots: 0
FEC offset: 0
FEC size: 0 bytes
Hash Algorithm: sha1
Partition Name: vendor
Salt: a8e93fa28d41067338c5bee0665a377ff148c048fc64fa5674373324a5a44907
Root Digest: 3f2acb5619b3cfa2feeb972ca8df5670bc3f8876
Flags: 0
Hash descriptor:
Image Size: 32480 bytes
Hash Algorithm: sha256
Partition Name: dtbo
Salt: a8e93fa28d41067338c5bee0665a377ff148c048fc64fa5674373324a5a44907
Digest: c0783c1edff92bf2e9af9ce370b930c245a5c60a047597c7d5a0dbf832943258
Flags: 0
Hash descriptor:
Image Size: 6729728 bytes
Hash Algorithm: sha256
Partition Name: boot
Salt: a8e93fa28d41067338c5bee0665a377ff148c048fc64fa5674373324a5a44907
Digest: 1c0fc132d5903f7a3722ba338438bb5121ed26486789005505a4c40f608c8e55
Flags: 0(07-09-2020, 04:54 PM)Denny83 ...
error screenshot attached
(07-09-2020, 05:26 PM)guest765 ...
(08-09-2020, 09:13 AM)Thanks, solvednow i want to flash a magisk patched boot image, how can I sign this image with key hovatek.bin? i didn't find link to this argument in your postX3non(07-09-2020, 04:54 PM)Denny83 ...
error screenshot attached
use python 2.7.x ; see the requirements section
(08-09-2020, 10:52 AM)Denny83 Thanks, solvednow i want to flash a magisk patched boot image, how can I sign this image...
(09-09-2020, 09:28 AM)X3nonI'm managing with your tutorials to create my own vbmeta to flash a boot image...some questions:(08-09-2020, 10:52 AM)Denny83 Thanks, solvednow i want to flash a magisk patched boot image, how can I sign this image...
see https://www.hovatek.com/forum/thread-32674.html