AVB disable toggle and avb_custom_key flashing #283
-
I wanted to check if the bootloader on
The ota is verified without problems:
And can be flashed through recovery without any problems |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
It looks they completely removed the functionality in the new bootloader version. Based on the error message, the bootloader is trying to flash a partition named
Yep, that is almost certainly the case. The specific behavior in that error message is a LineageOS-specific addition. Normally, when the bootloader is unlocked, dm-verity remains enabled. dm-verity with an unlocked bootloader doesn't really provide much security, but dm-verity has other useful functionality like detecting and correcting corruption of OS partitions. That functionality is also getting disabled here. I'm guessing LineageOS disables dm-verity when AVB is non-functional because they assume that if users are leaving the bootloader unlocked, they probably intend to flash other things that modify the OS partitions and dm-verity would get in the way of that. |
Beta Was this translation helpful? Give feedback.
-
I had several tests with my other device - Pixel 8 Pro (husky) - seems like flashing avb_custom_key always returns this error with partition size. Tested it with ROMs natively supporting relocking - Calyx and Graphene. Also locking works well too. So, is there any way to enable AVB for my old lemonadep device? |
Beta Was this translation helpful? Give feedback.
It looks they completely removed the functionality in the new bootloader version. Based on the error message, the bootloader is trying to flash a partition named
avb_custom_key
instead of handlingavb_custom_key
as a special case (for enrolling a key).Yep, that is almost certainly the case.
The specific behavior in that error message is a LineageOS-specific addition. Normally, when the bootloader is…