Home Forum Blog Private Support Courses
Our courses are now on YouTube! Start Watching
Hovatek Forum OPERATING SYSTEMS Android [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

[Tutorial] How to create a custom signed vbmeta.img for Unisoc using AVBtool

Pages (18): Previous 1 14 15 16 17 18 Next
Aptiva
Aptiva
Aptiva
Newbie
4
24-07-2024, 08:33 PM



Is it possible to pull the existing signature from a device?
maxpayne
maxpayne
maxpayne
Intern
4,774
25-07-2024, 09:32 AM
(24-07-2024, 08:33 PM)Aptiva Is it possible to pull the existing signature from a device?

Very unlikely

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
slimcyril
slimcyril
slimcyril
Junior Member
19
10-08-2024, 12:55 AM
(14-08-2020, 10:33 PM)Ejike Dex
(14-08-2020, 07:21 PM)hovatek
(14-08-2020, 04:47 PM)Ejike Dex Hey guys thanks for this amazing site and all the informative resources. I followed your guide and was able to generate a  signed vbmeta image .
My question now is, when flashing it via fastboot? is the command below correct or am I mistaking something?

Code:

fastboot flash boot vbmeta_custom.img

Your command would flash vbmeta to boot partition.
It should be

Code:

fastboot flash vbmeta vbmeta_custom.img

Thank you very much. I am guessing after this I just have to flash a patched recovery image to the boot partition right? Flashing an Itel S15 running android 9 pie

I'm using the same device as yours. The instructions to port a working twrp recovery is convoluted. Please could you share or upload your ported TWRP so I could flash it to my phone. Thanks in anticipation.
Yashraj
Yashraj
Yashraj
Enthusiastic Member
5
27-08-2024, 09:30 AM
(14-08-2020, 10:33 PM)Ejike Dex
(14-08-2020, 07:21 PM)hovatek
(14-08-2020, 04:47 PM)Ejike Dex Hey guys thanks for this amazing site and all the informative resources. I followed your guide and was able to generate a  signed vbmeta image .
My question now is, when flashing it via fastboot? is the command below correct or am I mistaking something?

Code:

fastboot flash boot vbmeta_custom.img

Your command would flash vbmeta to boot partition.
It should be

Code:

fastboot flash vbmeta vbmeta_custom.img

Thank you very much. I am guessing after this I just have to flash a patched recovery image to the boot partition right? Flashing an Itel S15 running android 9 pie

Sir please provide me the details of how u unlocked the itel s15 bootloader please
Yashraj
Yashraj
Yashraj
Enthusiastic Member
5
27-08-2024, 09:31 AM

Mediatek Course Mediatek Course


(14-08-2020, 10:33 PM)Ejike Dex
(14-08-2020, 07:21 PM)hovatek
(14-08-2020, 04:47 PM)Ejike Dex Hey guys thanks for this amazing site and all the informative resources. I followed your guide and was able to generate a  signed vbmeta image .
My question now is, when flashing it via fastboot? is the command below correct or am I mistaking something?

Code:

fastboot flash boot vbmeta_custom.img

Your command would flash vbmeta to boot partition.
It should be

Code:

fastboot flash vbmeta vbmeta_custom.img

Thank you very much. I am guessing after this I just have to flash a patched recovery image to the boot partition right? Flashing an Itel S15 running android 9 pie

Sir please provide me the details of how u unlocked the itel s15 bootloader please
maxpayne
maxpayne
maxpayne
Intern
4,774
01-09-2024, 02:19 PM
(27-08-2024, 09:31 AM)Yashraj Sir please provide me the details of how u unlocked the itel s15 bootloader please

You need to create a new thread. Click Ask Question at the top

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
HeroEpic123
HeroEpic123
HeroEpic123
Newbie
1
22-02-2025, 01:33 AM
My device doesn't have the recovery partition, so should I ignore the hovatek.bin?
This post was last modified: 22-02-2025, 01:35 AM by HeroEpic123.
justshez
justshez
justshez
Senior Member
2,505
22-02-2025, 04:46 PM
(22-02-2025, 01:33 AM)HeroEpic123 My device doesn't have the recovery partition, so should I ignore the hovatek.bin?

NO. Do this instead: 
1. Remove the 'recovery' entry entirely from your avbtool command. 
2. Check your stock vbmeta using: 
  python avbtool info_image --image vbmeta-sign.img 
  Ensure "recovery" isn't listed under "Descriptors". 
3. If you're modifying OTHER partitions (e.g., boot), replace THEIR public keys with hovatek.bin in the avbtool command. 
4. Keep hovatek.bin in the "keys" folder but only use it for partitions you're modifying.
chklotzba
chklotzba
chklotzba
Enthusiastic Member
10
07-08-2025, 04:21 PM
Hello,

thank you for the tutorial. It works for newbies like me. I have a Blackwiew Tab 16 with SoC: Unisoc Tiger T616 running on Android 12. I followed every step of the tutorial and it works well. For the DHTP I took the vbmeta_pad.py for Android 9, because the Hex is 00 40 00 00. As I compared the files, the DHTP was different, so I copied the DHTP data from the original to the custom vbmeta. 
For the key I used the rsa4096_vbmeta.pem.


As I try to flash it with fastboot it won`t work and there was a fault. Should I flash it per EDL Recovery tool?

I´ve attached the original vbmeta and the one I created. My goal is to root the tablet with Magisk and create a TWRP (with your online tool :-)) and flash it.

Thank you in advance for your help!
Attached Files
.img
vbmeta-sign.img
Size: 1 MB / Downloads: 85
.img
vbmeta-sign-custom.img
Size: 1 MB / Downloads: 120
Gargoyle
Gargoyle
Gargoyle
Contributor
579
07-08-2025, 09:45 PM
(07-08-2025, 04:21 PM)chklotzba Hello,

thank you for the tutorial. It works for newbies like me. I have a Blackwiew Tab 16 with SoC: Unisoc Tiger T616 running on Android 12. I followed every step of the tutorial and it works well. For the DHTP I took the vbmeta_pad.py for Android 9, because the Hex is 00 40 00 00. As I compared the files, the DHTP was different, so I copied the DHTP data from the original to the custom vbmeta. 
For the key I used the rsa4096_vbmeta.pem.


As I try to flash it with fastboot it won`t work and there was a fault. Should I flash it per EDL Recovery tool?

I´ve attached the original vbmeta and the one I created. My goal is to root the tablet with Magisk and create a TWRP (with your online tool :-)) and flash it.

Thank you in advance for your help!

The error will be here if you have not signed both files "boot.img and vendor_boot.img" with the key rsa4096_vbmeta.pem
Code:

Chain Partition descriptor: Partition Name: boot Rollback Index Location: 1 Public key (sha1): 2597c218aae470a130f61162feaae70afd97f011 Flags: 0 Chain Partition descriptor: Partition Name: vendor_boot Rollback Index Location: 14 Public key (sha1): 2597c218aae470a130f61162feaae70afd97f011 Flags: 0
Pages (18): Previous 1 14 15 16 17 18 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
WhTlYt