[Please help] After using avbtool to sign boot.img, ResearchDownload cannot be flash
[Please help] After using avbtool to sign boot.img, ResearchDownload cannot be flash
(15-07-2020, 01:56 PM)omuitk avbtool add_hash_footer --image boot.img --partition_name boot --partition_size 36700160 --key testkey_rsa4096.pem --algorithm SHA256_RSA4096
After using the above command to sign boot.img, the official brush tool cannot be brushed. As far as I know, officials use public keys, but the boot.img I generated is completely different from officials. What's the question?
The official on the left of the picture, the one on the right is generated by me, but it is different from the boot.bin extracted by vbmeta. Isn't the official testkey_rsa4096.pem used?
(15-07-2020, 01:56 PM)omuitk avbtool add_hash_footer --image boot.img --partition_name boot --partition_size 36700160 --key testkey_rsa4096.pem --algorithm SHA256_RSA4096
After using the above command to sign boot.img, the official brush tool cannot be brushed. As far as I know, officials use public keys, but the boot.img I generated is completely different from officials. What's the question?
The official on the left of the picture, the one on the right is generated by me, but it is different from the boot.bin extracted by vbmeta. Isn't the official testkey_rsa4096.pem used?
(16-07-2020, 09:05 AM)X3nonthis testkey_rsa4096.pem,Using the public key,Because I see that vbmeta is also generated by the public key(15-07-2020, 01:56 PM)omuitk avbtool add_hash_footer --image boot.img --partition_name boot --partition_size 36700160 --key testkey_rsa4096.pem --algorithm SHA256_RSA4096
After using the above command to sign boot.img, the official brush tool cannot be brushed. As far as I know, officials use public keys, but the boot.img I generated is completely different from officials. What's the question?
The official on the left of the picture, the one on the right is generated by me, but it is different from the boot.bin extracted by vbmeta. Isn't the official testkey_rsa4096.pem used?
this testkey_rsa4096.pem ; is it the same private key you used when creating your custom vbmeta?
you should use the same private key you use when creating vbmeta to sign the boot.img then flash the vbmeta first before attempting to flash the signed boot
(17-07-2020, 08:51 AM)hovatekfastboot should unlock bootloader,but research download Is not needed(15-07-2020, 01:56 PM)omuitk avbtool add_hash_footer --image boot.img --partition_name boot --partition_size 36700160 --key testkey_rsa4096.pem --algorithm SHA256_RSA4096
After using the above command to sign boot.img, the official brush tool cannot be brushed. As far as I know, officials use public keys, but the boot.img I generated is completely different from officials. What's the question?
The official on the left of the picture, the one on the right is generated by me, but it is different from the boot.bin extracted by vbmeta. Isn't the official testkey_rsa4096.pem used?
You should be using fastboot to flash this self-signed boot.img, not research downloadtool for many reasons.
BTW, you need to have signed the boot partition (when creating vbmeta) with a public key that corresponds to the private key used to sign the boot.img in your command above.
Read https://www.hovatek.com/forum/thread-32674.html and take note of the requirements part
(17-07-2020, 10:32 AM)omuitk fastboot should unlock bootloader,but research download Is not needed