Join us on Tl   Wh

Hovatek Forum DEVELOPMENT Android Problems: flash vbmeta and sign images

Problems: flash vbmeta and sign images

Problems: flash vbmeta and sign images

mozolin
mozolin
mozolin
Enthusiastic Member
13
12-07-2023, 02:18 PM
#1



Gentlemen, I really need your help!

The first problem is to flash vbmeta.
According to https://www.hovatek.com/forum/thread-32719.html I have used "Method 3 - Flashing vbmeta" because of Android 11 on my device.
What has been made...
1) Unlocked bootloader using Identifier Token (https://www.hovatek.com/forum/thread-32287.html)
2) Checked empty vbmeta (https://www.hovatek.com/forum/thread-32719.html)
  - using "adb reboot-fastboot" (fastbootd mode) => bootloops after reload
  - using "adb reboot-bootloader" (fastboot mode) => stucks for many hours after:
      | Sending 'vbmeta' (1024 KB)  OKAY [  0.043s]
      | Writing 'vbmeta'...
3) Checked stock vbmeta with parameters (https://www.hovatek.com/forum/thread-32719.html)
  => the same as (2)
4) Created a custom signed vbmeta.img using AVBtool (https://www.hovatek.com/forum/thread-32664.html)
  >> python avbtool.py make_vbmeta_image --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096 --flag 2 --padding_size 20480 --chain_partition boot:1:keys/boot_key.bin --chain_partition dtbo:6:keys/dtbo_key.bin --chain_partition socko:13:keys/socko_key.bin --chain_partition odmko:14:keys/odmko_key.bin --chain_partition vbmeta_system:2:keys/vbmeta_system_key.bin --chain_partition vbmeta_system_ext:3:keys/vbmeta_system_ext_key.bin --chain_partition vbmeta_vendor:4:keys/vbmeta_vendor_key.bin --chain_partition vbmeta_product:5:keys/vbmeta_product_key.bin --chain_partition l_modem:7:keys/l_modem_key.bin --chain_partition l_ldsp:8:keys/l_ldsp_key.bin --chain_partition l_gdsp:9:keys/l_gdsp_key.bin --chain_partition pm_sys:10:keys/pm_sys_key.bin --chain_partition l_agdsp:11:keys/l_agdsp_key.bin --chain_partition l_cdsp:12:keys/l_cdsp_key.bin --output vbmeta-sign-custom.img
  >> python vbmeta_pad_10.py
  => the same as (2)

The second problem is to sign images (https://www.hovatek.com/forum/thread-32674.html).
The command
>> python avbtool.py add_hash_footer --image magisk_boot.img --partition_name boot --partition_size 67108864 --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096
fires an error: "avbtool.py add_hash_footer: error: argument --image: invalid FileType('rab+') value: 'boot_magisk.img'"
I use Windows 10, Python 2.7 and surely avbtool for this: https://www.hovatek.com/redirectcode.php...TE9ITDlLQQ==

Thank you so much for any replies!
See all my files: https://disk.yandex.ru/d/o9QwUIkpvZxfhw
AutoResponder
AutoResponder
AutoResponder
Verified Account
609
12-07-2023, 02:18 PM
#2
Thank you for reaching out for support. Due to high demand, our free support services may experience some delays in response time. We apologize for any inconvenience this may cause.
Alternatively, we offer private support where you can receive dedicated attention and prompt support. These sessions are designed to provide personalized solutions to your specific needs.
If you are interested in scheduling a private session, please visit https://www.hovatek.com/remote
maxpayne
maxpayne
maxpayne
Intern
4,033
21-07-2023, 12:00 PM
#3
(12-07-2023, 02:18 PM)mozolin Gentlemen, I really need your help!
..

Where exactly are you stuck?

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
mozolin
mozolin
mozolin
Enthusiastic Member
13
21-07-2023, 12:09 PM
#4
(21-07-2023, 12:00 PM)maxpayne
(12-07-2023, 02:18 PM)mozolin Gentlemen, I really need your help!
..

Where exactly are you stuck?
I'm awfully sorry, there is the duplicated issue to this one: https://www.hovatek.com/forum/thread-45922.html
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt