[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
(19-12-2020, 12:30 AM)s_agh dos not work on galaxy note 10 plus
(06-02-2021, 12:46 PM)lxssss ...
(10-09-2020, 02:50 PM)Denny83changing flag from 2 to 0 will do the trick. i.e my origianal vbmeta-sign_stock gave flag 0 applying code: python2 avbtool info_image --image vbmeta-sign_stock.img (python 2 because in ubuntu). So i change flag in the the hovatek code forcreating custom vbmeta. With flag 2 my custom vbmeta size was 1.1 GB)))(09-09-2020, 09:28 AM)X3nonI'm managing with your tutorials to create my own vbmeta to flash a boot image...some questions:(08-09-2020, 10:52 AM)Denny83 Thanks, solvednow i want to flash a magisk patched boot image, how can I sign this image...
see https://www.hovatek.com/forum/thread-32674.html
1 if I unlock bootloader like you show in this post https://www.hovatek.com/forum/thread-32287.html - then i can sign vbmeta with the .pem key used to unlock bootloader?
2 I have a vbmeta image as in attached file vbmeta_info.txt; is it correct to make my vbmeta to run this command: python avbtool.py make_vbmeta_image --key denny2048.pem --algorithm SHA256_RSA2048 --flag 2 --chain_partition recovery:1:keys/recovery.bin --chain_partition vbmeta_sysstem:2:keys/vbmeta_system.bin --chain_partition vbmeta_vendor:4:keys/vbmeta_vendor.bin --chain_partition boot:3:keys/boot.bin --padding_size 12288 --output vbmeta-sign-custom.img
3 my vbmeta is Image Size: 46976 bytes ---how can i obtain vbmeta image with this size?
thanks for reply
(14-02-2021, 06:56 PM)getoverwith creating custom vbmeta with the code: python2 avbtool make_vbmeta_image ....etc.
flag should be taken from the original vbmeta image, in my case it was flag 0 instead of flag 2.
code: python2 avbtool info_image --image vbmeta-sign_stock.img (python2 because in ubuntu)
otherwise as with my padding size 1112819780, my custom vbmeta image will have size of 1.1 GB