Hovatek Forum DEVELOPMENT Android Help creating custom signed vbmeta
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


Help creating custom signed vbmeta

Help creating custom signed vbmeta

guest765
guest765
guest765
Enthusiastic Member
14
08-09-2020, 09:50 AM
#1



Hello,

I am having some trouble creating a custom signed vbmeta file for my Ulefone Note 7 running android 9.

I made one using this terminal command but could not flash it using sp flash tool with error IMAGE_SIGN_HEADER_NOT_FOUND (6045)

Fastboot is not working on my device.

Code:

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.img

This is the vbmeta image info, I'm not sure what argument to use for the partitions that are not chain partitions.

Code:

Minimum 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

Messages In This Thread
Help creating custom signed vbmeta - by guest765 - 08-09-2020, 09:50 AM
RE: Help creating custom signed vbmeta - by X3non - 09-09-2020, 08:34 PM
RE: Help creating custom signed vbmeta - by hovatek - 11-09-2020, 01:21 PM
RE: Help creating custom signed vbmeta - by guest765 - 11-09-2020, 03:19 PM
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram