Home Forum Blog Private Support Courses
Our courses are now on YouTube! Start Watching
Hovatek Forum OPERATING SYSTEMS Android [Tutorial] How to use AVBtool and a private key to sign a Unisoc (SPD) image

[Tutorial] How to use AVBtool and a private key to sign a Unisoc (SPD) image

[Tutorial] How to use AVBtool and a private key to sign a Unisoc (SPD) image

Pages (6): Previous 1 2 3 4 5 6 Next
runnerGunn4r
runnerGunn4r
runnerGunn4r
Newbie
3
27-09-2021, 04:47 AM
#21



This worked for me on Manjaro and my Teclast T40 Plus.
lolvatveo
lolvatveo
lolvatveo
Senior Member
146
27-09-2021, 05:15 AM
#22
ok I know the reason and it used to be for many people because the versions you download are not stock rom or repaired rom, old version rom (this is why i flashed recovery and crashed), fake rom, broken rom scam etc. And the latest stock roms, those who get them, you have to pay to get, even the stock rom they sell. really greedy! Currently i cant fix my phone without stock rom
This post was last modified: 27-09-2021, 05:18 AM by lolvatveo.
hovatek
hovatek
hovatek
Administrator
50,982
27-09-2021, 12:40 PM
#23
(25-09-2021, 04:10 PM)lolvatveo my stock vbmeta is signed with rsa4096 key, can i sign magiskpatched recovery with rsa4096?

yes, you should seeing as it is what is indicated in stock vbmeta

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.
philps
philps
philps
Newbie
2
15-11-2021, 12:07 PM
#24
D:\crb_v3b10\Binaries\avbtool>python avbtool.py add_hash_footer --image boot.img --partition_name recovery --partition_size 41943040 --key verity.x509.pem --algorithm SHA256_RSA4096
avbtool.py: Adding hash_footer failed: Image size of 70062080 exceeds maximum image size of 41873408 in order to fit in a partition size of 41943040..

not work.
hovatek
hovatek
hovatek
Administrator
50,982
19-11-2021, 10:06 AM
#25

Mediatek Course Mediatek Course


(15-11-2021, 12:07 PM)philps D:\crb_v3b10\Binaries\avbtool>python avbtool.py add_hash_footer --image boot.img --partition_name recovery --partition_size 41943040 --key verity.x509.pem --algorithm SHA256_RSA4096
avbtool.py: Adding hash_footer failed: Image size of 70062080 exceeds maximum image size of 41873408 in order to fit in a partition size of 41943040..

not work.

You have boot image file and partition set as recovery.
I also trust you've already created and flashed a corresponding custom signed vbmeta

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.
Skorpion06
Skorpion06
Skorpion06
Junior Member
38
29-11-2021, 01:58 PM
#26
I want to root ZTE A5 2019, i've made a custom recovery and now i want to make it flashable with SPD Research Tool, here is the recovery:https://www.mediafire.com/folder/uvde49kcna40o/ZTE+A5+2019+Philz and here is the rom:https://drive.google.com/file/d/18e6jRrdYLX3Id7iZsw9SZCwpLawGqhpL/view Please help me with simple steps or give me patched files.
hovatek
hovatek
hovatek
Administrator
50,982
30-11-2021, 08:05 AM
#27
(29-11-2021, 01:58 PM)Skorpion06 I want to root ZTE A5 2019, i've made a custom recovery and now i want to make it flashable with SPD Research Tool, here is the recovery:https://www.mediafire.com/folder/uvde49kcna40o/ZTE+A5+2019+Philz and here is the rom:https://drive.google.com/file/d/18e6jRrdYLX3Id7iZsw9SZCwpLawGqhpL/view Please help me with simple steps or give me patched files.

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.
blaze2051
blaze2051
blaze2051
Junior Member
31
05-02-2022, 08:29 AM
#28
(13-03-2020, 05:32 PM)hovatek This guide will explain how to sign Unisoc / Spreadtrum (SPD) images (e.g boot, recovery, system etc) using a private key and AVBtool. This guide is ideal for those with vbmeta-sign.img in their firmware as such device's will only accept images signed with keys that match what's contained in the device's vbmeta partition.
....
[/list]

does you have to do this command if you trying to flash a GSI to system partition to get it to boot?
This post was last modified: 06-02-2022, 07:31 AM by hovatek.
hovatek
hovatek
hovatek
Administrator
50,982
06-02-2022, 07:34 AM
#29
(05-02-2022, 08:29 AM)blaze2051 does you have to do this command if you trying to flash a GSI to system partition to get it to boot?

No

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.
Ahmed Jubayer
Ahmed Jubayer
Ahmed Jubayer
Techie Member
71
22-05-2022, 08:09 PM
#30
Do i everytime need to flash a custom signed vbmeta before flashing a custom signed image?

or it's an one time process, Once I flashed the custom signed vbmeta from then I can just flash a image directly after signing that image... right?
This post was last modified: 22-05-2022, 08:09 PM by Ahmed Jubayer.
Pages (6): Previous 1 2 3 4 5 6 Next
Users browsing this thread:
 2 Guest(s)
Users browsing this thread:
 2 Guest(s)
WhTlYt