DSU compatibility #286
|
Usually installing a custom DSU image requires the bootloader to be in open state. I wonder if it's possible to sign the GSI image with avb key and install it as usual |
Answered by
chenxiaolong
May 17, 2024
Replies: 2 comments 8 replies
|
Yep, this is possible as long as the main OS is signed by your own key (so that you're able to modify it). The keys used for verifying DSUs are stored in The process would look something like this:
|
3 replies
Answer selected by
Unb0rn
|
Hey @chenxiaolong! Sorry for pinging you directly - is there any way to re-sign the GSI image the same way as we do with OTA using avbroot? Thanks!) |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep, this is possible as long as the main OS is signed by your own key (so that you're able to modify it).
The keys used for verifying DSUs are stored in
first_stage_ramdisk/avb/*.avbpubkeyin the ramdisk of theinit_bootorvendor_bootpartition.The process would look something like this:
init_bootorvendor_bootfrom the main OS's OTAavb_pkmd.binto the ramdisk'sfirst_stage_ramdisk/avb/directory and rename it to have the.avbpubkeyextensioninit_boot/vendor_boot