Home Forum Blog Private Support Courses
Our courses are now on YouTube! Start Watching
Hovatek Forum OPERATING SYSTEMS Android Root Itel P15 Stuck/Hang on logo with custom vbmeta

Root Itel P15 Stuck/Hang on logo with custom vbmeta

Root Itel P15 Stuck/Hang on logo with custom vbmeta

Pages (6): Previous 1 2 3 4 5 6 Next
Ahmed Jubayer
Ahmed Jubayer
Ahmed Jubayer
Techie Member
71
30-11-2021, 06:48 AM
#11



(30-11-2021, 06:31 AM)lolvatveo minus the recovery key hash
what does that means?
and can I send the commands you used to sign vbmeta and the recovery image?

and did you able to flasg the custom-signed vbmeta for recovery partition and can boot normally?
lolvatveo
lolvatveo
lolvatveo
Senior Member
146
30-11-2021, 04:26 PM
#12
minus mean expect, I'll send all commamd I used soon
lolvatveo
lolvatveo
lolvatveo
Senior Member
146
01-12-2021, 09:45 AM
#13
sorry for my bad english, expect->except
these are the commands I use to create vbmmta & recovery custom
Create vbmeta custom
Code:

python avbtool info_image --image vbmeta-sign.img
and

Code:

python avbtool extract_public_key --key hovatek.pem --output keys/hovatek.bin
then

Code:

python avbtool make_vbmeta_image --key rsa4096_vbmeta.pem --algorithm SHA256_RSA4096 --flag 2 --chain_partition boot:1:keys/boot.bin --chain_partition system:3:keys/system.bin --chain_partition vendor:4:keys/vendor.bin --chain_partition product:10:keys/product.bin --chain_partition dtbo:9:keys/dtbo.bin --chain_partition recovery:2:keys/hovatek.bin --chain_partition w_modem:5:keys/w_modem.bin --chain_partition w_gdsp:6:keys/w_gdsp.bin --chain_partition pm_sys:7:keys/pm_sys.bin --chain_partition dtb:11:keys/dtb.bin --padding_size 16384 --output vbmeta-sign-custom.img
final type
Code:

python vbmeta_pad.py

sign recovery

1.
Code:

python avbtool info_image --image recovery_stock.img
2.
Code:

python avbtool add_hash_footer --image recovery_magisk.img --partition_name recovery --partition_size 36700160 --key hovatek.pem --algorithm SHA256_RSA4096

command in vbmeta creation I slightly edited the name and partition accordingly, and in create recovery I fixed the exact partition size. no error messages recorded.
This post was last modified: 01-12-2021, 09:50 AM by lolvatveo.
lolvatveo
lolvatveo
lolvatveo
Senior Member
146
01-12-2021, 10:06 AM
#14
In research download tool setting I select power off after flash, put vbmeta first and flash custom recovery later, also changed the name to be the same as stock. I tried many times but doesn't boot to menu it hang forever, i open the phone case cover to disconnect the capable pin then flash stock vbmeta then it boots normally. Phone don't accept my custom file or vbmeta custom not suitable
This post was last modified: 01-12-2021, 10:07 AM by lolvatveo.
Ahmed Jubayer
Ahmed Jubayer
Ahmed Jubayer
Techie Member
71
01-12-2021, 10:09 AM
#15

Mediatek Course Mediatek Course


(01-12-2021, 10:06 AM)lolvatveo In research download tool setting I select power off after flash, put vbmeta first and flash custom recovery later, also changed the name to be the same as stock. I tried many times but doesn't boot to menu it hang forever, i open the phone case cover to disconnect the capable pin then flash stock vbmeta then it boots normally. Phone don't accept these file or vbmeta custom not suitable
ohh, maybe I got the problem, try with flag 0 when creating custom signed vbmeta and flash that using fastboot

fastboot flash vbmeta vbmeta.img

then reboot
fastboot reboot

check is you can reboot to system without bootloop or not
lolvatveo
lolvatveo
lolvatveo
Senior Member
146
01-12-2021, 03:21 PM
#16
(01-12-2021, 10:09 AM)Ahmed Jubayer ohh, maybe I got the problem, try with flag 0 when creating custom signed vbmeta and flash that using fastboot

fastboot flash vbmeta vbmeta.img

then reboot
fastboot reboot

check is you can reboot to system without bootloop or not

thanks I will try with flag 0, my phone can't flash through adb fastboot when not root (fastboot flag locked) need #SU permission to flash.
This post was last modified: 01-12-2021, 03:22 PM by lolvatveo.
Ahmed Jubayer
Ahmed Jubayer
Ahmed Jubayer
Techie Member
71
01-12-2021, 05:06 PM
#17
(01-12-2021, 03:21 PM)lolvatveo thanks I will try with flag 0, my phone can't flash through adb fastboot when not root (fastboot flag locked) need #SU permission to flash.
you unlocked the bootloader?
if yes then it should let you flash images
This post was last modified: 01-12-2021, 05:06 PM by Ahmed Jubayer.
lolvatveo
lolvatveo
lolvatveo
Senior Member
146
02-12-2021, 12:51 AM
#18
(01-12-2021, 05:06 PM)Ahmed Jubayer you unlocked the bootloader?
if yes then it should let you flash images

I can unlock OEM and USB Debug, this SPD can only flash via Research/SPD/Factory Tool if not Root. I tried many ways to unlock it with fastboot command, it didn't work: flashing flag locked. better is research tools
This post was last modified: 02-12-2021, 12:54 AM by lolvatveo.
Ahmed Jubayer
Ahmed Jubayer
Ahmed Jubayer
Techie Member
71
02-12-2021, 07:32 AM
#19
(02-12-2021, 12:51 AM)lolvatveo
(01-12-2021, 05:06 PM)Ahmed Jubayer you unlocked the bootloader?
if yes then it should let you flash images

I can unlock OEM and USB Debug, this SPD can only flash via Research/SPD/Factory Tool if not Root. I tried many ways to unlock it with fastboot command, it didn't work: flashing flag locked. better is research tools
did you tried to unlock the bootloader following this guide https://www.hovatek.com/forum/thread-32287.html ??
lolvatveo
lolvatveo
lolvatveo
Senior Member
146
03-12-2021, 06:24 AM
#20
Haven't tried it because I'm worried about the data
Pages (6): Previous 1 2 3 4 5 6 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
WhTlYt