Mattijs Korpershoek 6745cbed6e bootstd: android: Allow boot with AVB failures when unlocked
When the bootloader is UNLOCKED, it should be possible to boot Android
even if AVB reports verification errors [1].

This allows developers to flash modified partitions on
userdebug/engineering builds.

Developers can do so on unlocked devices with:
$ fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img

In such case, bootmeth_android refuses to boot.

Allow the boot to continue when the device is UNLOCKED and AVB reports
verification errors.

[1] https://source.android.com/docs/security/features/verifiedboot/boot-flow#unlocked-devices

Fixes: 125d9f3306ea ("bootstd: Add a bootmeth for Android")
Reviewed-by: Julien Masson <jmasson@baylibre.com>
Link: https://lore.kernel.org/r/20250108-avb-disable-verif-v2-2-ba7d3b0d5b6a@baylibre.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
2025-01-23 15:23:05 +01:00
..
2024-12-30 13:21:55 -06:00
2024-10-23 06:52:38 +02:00
2024-10-18 14:10:22 -06:00
2022-01-19 18:11:34 +01:00
2024-12-30 13:21:55 -06:00
2021-11-11 19:01:56 -05:00
2024-07-05 13:57:02 -06:00
2024-12-27 15:16:10 -06:00
2024-10-18 14:10:22 -06:00
2024-11-14 18:14:06 -06:00
2025-01-22 09:47:50 -06:00
2025-01-22 09:47:49 -06:00