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 9 10 11 12 13 18 Next
hovatek
hovatek
hovatek
Administrator
50,964
08-12-2021, 12:01 PM



(07-12-2021, 06:51 PM)Денис Ломонин Hello! Followed all the steps outlined in the "How to create a custom signed vbmeta.img for Unisoc using AVBtool" manual. Got vbmeta-sign-custom.img. But when I try to flash it via fastboot, I get a FAILED error (remote: Write img fail!). The bootloader is unlocked! I entered the following command:
  c: \ UnlockBootloaderWin> fastboot flash vbmeta vbmeta-sign-custom.img
target didn't report max-download-size
Sending 'vbmeta' (1024 KB) ...
OKAY [0.031s]
Writing 'vbmeta' ...
FAILED (remote: Write img fail!)
Finished. Total time: 0.266s
Tell me how to fix it?

Create a thread for this by clicking 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.
Gargoyle
Gargoyle
Gargoyle
Contributor
579
25-12-2021, 03:24 AM
(29-09-2021, 03:30 PM)Gargoyle either wait till battery drains or manually disassemble and disconnect the battery to power it off then you can flash using research download tool
if you still have any problems then create a new thread for your device issue by clicking "ask question" at the top

This possibility occurred to me only when I put it into service, so I will not try it now, but it would mean that it is immortal, like Xiaomi ?
[/quote]

Yes sir, that's what I meant.

Thanks for all the answers, the tablet came back to me from service as "damaged motherboard and lcd" LOL

I bought a CM2 dongle and it works as it should, no damage.

Thanks for this forum !!! Nice work :-)
This post was last modified: 25-12-2021, 03:27 AM by Gargoyle.
gasparirob
gasparirob
gasparirob
Newbie
2
02-01-2022, 02:58 PM
Hi all, I'm stuck at "Download vbmeta_pad.py" requirements: I'm on Android 11, so there's no vbmeta_pad.py I can download.
What can I do?
Thanks in advance
hovatek
hovatek
hovatek
Administrator
50,964
03-01-2022, 08:03 AM
(02-01-2022, 02:58 PM)gasparirob Hi all, I'm stuck at "Download vbmeta_pad.py" requirements: I'm on Android 11, so there's no vbmeta_pad.py I can download.
What can I do?
Thanks in advance

Create a thread by clicking 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.
lolvatveo
lolvatveo
lolvatveo
Senior Member
146
04-01-2022, 05:45 PM

Mediatek Course Mediatek Course


can I install TWRP?
hovatek
hovatek
hovatek
Administrator
50,964
05-01-2022, 09:10 AM
(04-01-2022, 05:45 PM)lolvatveo can I install TWRP?

Create a thread for this by clicking 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.
mohaboha13
mohaboha13
mohaboha13
Newbie
4
15-03-2022, 06:43 PM
Can you help me, I don't understand Python

vbmeta-sign-custom.img = 0bytes

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 "avbtool", line 4154, in <module>
    tool.run(sys.argv)
  File "avbtool", line 4004, in run
    args.func(args)
  File "avbtool", line 4032, in make_vbmeta_image
    args.padding_size)
  File "avbtool", line 2430, in make_vbmeta_image
    append_to_release_string, 0)
  File "avbtool", line 2526, in _generate_vbmeta_blob
    desc.public_key = open(file_path, 'rb').read()
IOError: [Errno 2] No such file or directory: 'keys/key_boot.bin'
hovatek
hovatek
hovatek
Administrator
50,964
16-03-2022, 08:21 AM
(15-03-2022, 06:43 PM)mohaboha13 Can you help me, I don't understand Python

vbmeta-sign-custom.img = 0bytes

No such file or directory: 'keys/key_boot.bin
check your keys folder if key_boot.bin is present

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.
mohaboha13
mohaboha13
mohaboha13
Newbie
4
16-03-2022, 04:36 PM
(16-03-2022, 08:21 AM)hovatek
(15-03-2022, 06:43 PM)mohaboha13 Can you help me, I don't understand Python

vbmeta-sign-custom.img = 0bytes

No such file or directory: 'keys/key_boot.bin
check your keys folder if key_boot.bin is present
At these keys
.png
havatek.png
Size: 33.55 KB / Downloads: 109
see the picture
to thank. I succeeded in this stage, but the next stage failed

python vbmeta_pad.py
Traceback (most recent call last):
  File "vbmeta_pad.py", line 4, in <module>
    f = open("vbmeta_custom.img", "rb")
IOError: [Errno 2] No such file or directory: 'vbmeta_custom.img'
Skorpion06
Skorpion06
Skorpion06
Junior Member
38
12-05-2022, 09:01 PM
I have fastboot disabled on my device, also I have some verity_dev_keys.x509 that should be a certificate for verity, can I use it to sign vbmeta and boot and flash them through spd research tool?
Pages (18): Previous 1 9 10 11 12 13 18 Next
Users browsing this thread:
 3 Guest(s)
Users browsing this thread:
 3 Guest(s)
WhTlYt