Hovatek Forum DEVELOPMENT Android [Tutorial] How to verify the contents of a vbmeta image
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Tutorial] How to verify the contents of a vbmeta image

[Tutorial] How to verify the contents of a vbmeta image

Pages (4): Previous 1 2 3 4 Next
zav31254
zav31254
zav31254
Newbie
4
13-07-2020, 02:10 PM
#11



Please transfer the contents of the vbmeta file. Thank you in advance.
X3non
X3non
X3non
Recognized Contributor
22,062
14-07-2020, 09:35 AM
#12
(13-07-2020, 02:10 PM)zav31254 Please transfer the contents of the vbmeta file. Thank you in advance.

did you even try my suggestions?
anyways, below is the contents of your vbmeta

Code:

Minimum libavb version:   1.0
Header Block:             256 bytes
Authentication Block:     576 bytes
Auxiliary Block:          13504 bytes
Algorithm:                SHA256_RSA4096
Rollback Index:           1
Flags:                    0
Release String:           'avbtool 1.1.0'
Descriptors:
    Chain Partition descriptor:
      Partition Name:          boot
      Rollback Index Location: 1
      Public key (sha1):       3d2079902c9bf9825c66a513a7eb06f8d1a0df1d
    Chain Partition descriptor:
      Partition Name:          system
      Rollback Index Location: 3
      Public key (sha1):       94d19fe32bc84187a9bcc76f94160c68521f15d8
    Chain Partition descriptor:
      Partition Name:          vendor
      Rollback Index Location: 4
      Public key (sha1):       765d1f6b50a79692fcbdab164aa5dfd2ae637bab
    Chain Partition descriptor:
      Partition Name:          product
      Rollback Index Location: 10
      Public key (sha1):       1c39b0d67cc2fc3993f06728e8a10b2083c50220
    Chain Partition descriptor:
      Partition Name:          dtbo
      Rollback Index Location: 9
      Public key (sha1):       3d2079902c9bf9825c66a513a7eb06f8d1a0df1d
    Chain Partition descriptor:
      Partition Name:          recovery
      Rollback Index Location: 2
      Public key (sha1):       5ff5f20a5ba24c9c7a3b9862e5bdcc40d8505157
    Chain Partition descriptor:
      Partition Name:          l_modem
      Rollback Index Location: 5
      Public key (sha1):       e2b445caaea247aafc6c415c5ad0509916472a47
    Chain Partition descriptor:
      Partition Name:          l_ldsp
      Rollback Index Location: 6
      Public key (sha1):       e2b445caaea247aafc6c415c5ad0509916472a47
    Chain Partition descriptor:
      Partition Name:          l_gdsp
      Rollback Index Location: 7
      Public key (sha1):       e2b445caaea247aafc6c415c5ad0509916472a47
    Chain Partition descriptor:
      Partition Name:          pm_sys
      Rollback Index Location: 8
      Public key (sha1):       e2b445caaea247aafc6c415c5ad0509916472a47
    Chain Partition descriptor:
      Partition Name:          dtb
      Rollback Index Location: 11
      Public key (sha1):       3d2079902c9bf9825c66a513a7eb06f8d1a0df1d
zav31254
zav31254
zav31254
Newbie
4
15-07-2020, 10:07 AM
#13
thank
quassiie
quassiie
quassiie
Newbie
1
24-08-2020, 04:23 AM
#14
For those getting error like zav31254, you need to use python2 not python3.
cgod
cgod
cgod
Newbie
1
20-09-2020, 08:04 PM
#15



Hello!

I have Blackview Tab 8 (Spreadtrum/Unisoc SC9863a, Android 10)

I successfully unlocked the bootloader using your tutorial (https://www.hovatek.com/forum/thread-32287.html)
Now i'm trying to root the device using Magisk, by patching the boot image. As i understand, i have to deal with the vbmeta first.

Looks like i have the same keys you used in your tutorials, however some my partition names (and Auxiliary Block: 13568 bytes) are different.

Code:

Minimum libavb version:   1.0
Header Block:             256 bytes
Authentication Block:     576 bytes
Auxiliary Block:          13568 bytes
Algorithm:                SHA256_RSA4096
Rollback Index:           0
Flags:                    0
Release String:           'avbtool 1.1.0'
Descriptors:
    Chain Partition descriptor:
      Partition Name:          boot
      Rollback Index Location: 1
      Public key (sha1):       ea410c1b46cdb2e40e526880ff383f083bd615d5
    Chain Partition descriptor:
      Partition Name:          dtbo
      Rollback Index Location: 10
      Public key (sha1):       ea410c1b46cdb2e40e526880ff383f083bd615d5
    Chain Partition descriptor:
      Partition Name:          recovery
      Rollback Index Location: 2
      Public key (sha1):       d9093b9a181bdb5731b44d60a9f850dc724e2874
    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: 3
      Public key (sha1):       e2c66ff8a1d787d7bf898711187bff150f691d27
    Chain Partition descriptor:
      Partition Name:          vbmeta_vendor
      Rollback Index Location: 4
      Public key (sha1):       9885bf5bf909e5208dfd42abaf51ad9b104ee117
    Chain Partition descriptor:
      Partition Name:          l_modem
      Rollback Index Location: 6
      Public key (sha1):       e93e7d91ba1a46b81a5f15129b4dc5769bf41f26
    Chain Partition descriptor:
      Partition Name:          l_ldsp
      Rollback Index Location: 7
      Public key (sha1):       e93e7d91ba1a46b81a5f15129b4dc5769bf41f26
    Chain Partition descriptor:
      Partition Name:          l_gdsp
      Rollback Index Location: 8
      Public key (sha1):       e93e7d91ba1a46b81a5f15129b4dc5769bf41f26
    Chain Partition descriptor:
      Partition Name:          pm_sys
      Rollback Index Location: 9
      Public key (sha1):       e93e7d91ba1a46b81a5f15129b4dc5769bf41f26

If i'm going to use your "[Hovatek] generic_spd_unisoc_public_keys.zip" Do i have to rename your key.bin files accordingly? Is Auxillary Block diff a problem?

Thank you.
This post was last modified: 20-09-2020, 08:38 PM by cgod.
X3non
X3non
X3non
Recognized Contributor
22,062
21-09-2020, 09:05 AM
#16
(20-09-2020, 08:04 PM)cgod ...
If i'm going to use your "[Hovatek] generic_spd_unisoc_public_keys.zip" Do i have to rename your key.bin files accordingly?

if the partition you have has an exact match for public key sha1 as any of ours then you are to copy and rename
e.g notice that boot and dtbo have the same sha1 keys, if any other partition has similar sha1 then similar copy the file for either boot or dtbo then rename accordingly to the partition


(20-09-2020, 08:04 PM)cgod Is Auxillary Block diff a problem?

Thank you.

no, different auxiliary block from ours doesn't matter
Nelson Npt
Nelson Npt
Nelson Npt
Newbie
2
29-12-2020, 08:12 PM
#17
Please help I can't see the contents of vbmeta-sign.img

In win10 this erro

PS D:\Nova pasta (2)\Nova pasta> python avbtool.py info_image --image vbmeta-sign.img
File "D:\Nova pasta (2)\Nova pasta\avbtool.py", line 411
b = 2L**32
^
SyntaxError: invalid syntax
PS D:\Nova pasta (2)\Nova pasta>


In ubuntu says that avbtool the image provided does not look like a vbmeta image please help me
Nelson Npt
Nelson Npt
Nelson Npt
Newbie
2
29-12-2020, 08:34 PM
#18
Please help I can't see the contents of vbmeta-sign.img

In win10 this erro

PS D:\Nova pasta (2)\Nova pasta> python avbtool.py info_image --image vbmeta-sign.img
File "D:\Nova pasta (2)\Nova pasta\avbtool.py", line 411
b = 2L**32
^
SyntaxError: invalid syntax
PS D:\Nova pasta (2)\Nova pasta>


In ubuntu says that avbtool the image provided does not look like a vbmeta image please help me
hovatek
hovatek
hovatek
Administrator
49,570
30-12-2020, 06:46 AM
#19
(29-12-2020, 08:34 PM)Nelson Npt Please help I can't see the contents of vbmeta-sign.img

In win10 this erro

PS D:\Nova pasta (2)\Nova pasta> python avbtool.py info_image --image vbmeta-sign.img
  File "D:\Nova pasta (2)\Nova pasta\avbtool.py", line 411
    b = 2L**32
        ^
SyntaxError: invalid syntax
PS D:\Nova pasta (2)\Nova pasta>


In ubuntu says that avbtool the image provided does not look like a vbmeta image please help me

Create a thread for this by clicking Ask Question at the top

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
liOnux.fr
liOnux.fr
liOnux.fr
Enthusiastic Member
12
26-04-2021, 06:30 PM
#20



(11-07-2020, 11:02 PM)zav31254 Hello! There is a problem. I can not see the contents of vbmeta-sign.img for doogee n10. In Windows 7, I get an error: File "avbtool", line 411
    b = 2L ** 32
Syntax error: invalid syntax.
In Umbuntu , I get an error:avbtool: Given image does not look like a vbmeta image.
 I ask for help.
Hi,
I had the same error using Python3 instead of Python2, so type this:

python2 avbtool.py info_image --image vbmeta-sign.img
This post was last modified: 26-04-2021, 06:36 PM by liOnux.fr.
Pages (4): Previous 1 2 3 4 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram