[Development] Help needed with avbtool script Unisoc T610
[Development] Help needed with avbtool script Unisoc T610
(26-09-2022, 01:49 PM)gtr.fingers hi i read and followed all the info on the below notes:
How to create a custom signed vbmeta.img for Unisoc using AVBtool (hovatek.com)
(27-09-2022, 07:10 PM)hovatek(26-09-2022, 01:49 PM)gtr.fingers hi i read and followed all the info on the below notes:
How to create a custom signed vbmeta.img for Unisoc using AVBtool (hovatek.com)
Are you using Windows or Ubuntu?
Hi i tried on both W11 and Manjaro. I had to quit linux due to my keyrings being outdated. Not sure why...
During my visit to your amazing support site. I came across a few threads with some good tips.
So here is where i'm at with the above listed problem. I went through all my keys and renamed them according to the script. I also changed the flag from 2 to 0. I then ran the script in Windows and it created a vbmeta-sign-custom which was originally 20kb to 1mb. So it seems that it worked with your hovatek.pem > hovatek.bin key
Now i am in the process of getting ready to flash the phone. I have a few questions as i can't seem to find a proper way to flash this phone.
1.Do you have a link or tutorial i can follow for my next steps?.
My procedure next would be to create a magisk patched boot image. Flash phone with that and the custom vbmeta image. I am a bit familiar with adb. I have used it before for basic root stuff.
i will give examples of what i have used and worked before but not sure if it would work with the t610.
adb reboot bootloader
fastboot flashing unlock
fastboot flash vbmeta vbmeta.img
fastboot flash boot magiskpatched.img
fastboot reboot
or would i have to use these commands instead?
fastboot --disable-verity --disable-verification flash boot magisk_patched.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot
2.I also read on the site that i can flash the vbmeta through SPD Research tool, but can't find any info on how to do that. Do you have a tutorial for this?
Thanks for any assistance, and please keep in mind. I'm a noob when it comes to this new secure device lock stuff.
(27-09-2022, 09:14 PM)gtr.fingers Are you using Windows or Ubuntu?
Hi i tried on both W11 and Manjaro. I had to quit linux due to my keyrings being outdated. Not sure why...
During my visit to your amazing support site. I came across a few threads with some good tips.
So here is where i'm at with the above listed problem. I went through all my keys and renamed them according to the script. I also changed the flag from 2 to 0. I then ran the script in Windows and it created a vbmeta-sign-custom which was originally 20kb to 1mb. So it seems that it worked with your hovatek.pem > hovatek.bin key
Now i am in the process of getting ready to flash the phone. I have a few questions as i can't seem to find a proper way to flash this phone.
1.Do you have a link or tutorial i can follow for my next steps?.
My procedure next would be to create a magisk patched boot image. Flash phone with that and the custom vbmeta image. I am a bit familiar with adb. I have used it before for basic root stuff.
i will give examples of what i have used and worked before but not sure if it would work with the t610.
adb reboot bootloader
fastboot flashing unlock
fastboot flash vbmeta vbmeta.img
fastboot flash boot magiskpatched.img
fastboot reboot
or would i have to use these commands instead?
fastboot --disable-verity --disable-verification flash boot magisk_patched.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot reboot
2.I also read on the site that i can flash the vbmeta through SPD Research tool, but can't find any info on how to do that. Do you have a tutorial for this?
Thanks for any assistance, and please keep in mind. I'm a noob when it comes to this new secure device lock stuff.
(29-09-2022, 05:21 AM)hovatek "You first need to unlock bootloader. See https://www.hovatek.com/forum/thread-32287.html"
Hi and thanks for the reply.
This is where i am at so far.
i read and followed the link. I was able to get to here:
~/De/B/.\fastboot ./signidentifier_unlockbootloader.sh 41313350343132
38355932303430373030323638 rsa4096_vbmeta.pem signature.bin
Identifier sign script, ver 0.10
1+0 records in
1+0 records out
44 bytes copied, 8.5907e-05 s, 512 kB/s
Identifier sign successfully
~/De/Build/.\fastboot ./fastboot flashing unlock_bootloader signature
.bin
2downloading 'unlock_message'...
OKAY [ 0.000s]
unlocking bootloader...
Its been stuck there for 10 min so far....Not sure how long its supposed to take if in fact it is working...
Ok so it finished with:
~/De/Build/.\fastboot ./fastboot flashing unlock_bootloader signature
.bin
2downloading 'unlock_message'...
OKAY [ 0.000s]
unlocking bootloader...
Info:Unlock bootloader success! OKAY [1193.813s]
finished. total time: 1193.813s
I hope i am on the right track and can continue to do the other steps. Please let me know.
Thanks in advance.
(29-09-2022, 08:52 PM)gtr.fingers i had created custom vbmeta.img with a flag 0. Not sure if any of this info helps with your assistance. I also created another image with flag 2, but haven't tried it as i'm worried i might damage the phone.
So far everything has worked until this point.
Thanks again for all your assistance.
(30-09-2022, 08:10 AM)hovatek(29-09-2022, 08:52 PM)gtr.fingers i had created custom vbmeta.img with a flag 0. Not sure if any of this info helps with your assistance. I also created another image with flag 2, but haven't tried it as i'm worried i might damage the phone.
So far everything has worked until this point.
Thanks again for all your assistance.
You need to go one step at a time else you'll get confused.
After bootloader unlock, you create a custom vbmeta with flag 2, no other change then you flash and see if the device boots up normally
Hi another update. I flashed in fastbood, vbmeta with flag 2. With this flag2 the device randomly reboots. Please advise what should i do.
Thanks