dragonboards: Set verifiedbootstate property
ABL has VERIFIED_BOOT* variables disabled during build,
so it never get around to set "ro.boot.verifiedbootstate"
property on dragonboards.
But recent system/core changes depend on
ro.boot.verifiedbootstate property checks and that broke
adb remount on dragonboards:
$ adb remount
Device must be bootloader unlocked
So we are setting that property explicitly now.
Change-Id: I58b06af41bf6957b31891f62559226c028865585
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/db845c/BoardConfig.mk b/db845c/BoardConfig.mk
index 887bb30..644f9a8 100644
--- a/db845c/BoardConfig.mk
+++ b/db845c/BoardConfig.mk
@@ -22,9 +22,11 @@
ifeq ($(TARGET_USES_BOOT_HDR_V3), true)
BOARD_BOOT_HEADER_VERSION := 3
BOARD_KERNEL_CMDLINE += androidboot.hardware=db845c androidboot.boot_devices=soc@0/1d84000.ufshc
+ BOARD_KERNEL_CMDLINE += androidboot.verifiedbootstate=orange
else
BOARD_BOOT_HEADER_VERSION := 4
BOARD_BOOTCONFIG += androidboot.hardware=db845c androidboot.boot_devices=soc@0/1d84000.ufshc
+ BOARD_BOOTCONFIG += androidboot.verifiedbootstate=orange
endif
BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION)
BOARD_KERNEL_BASE := 0x80000000
diff --git a/rb5/BoardConfig.mk b/rb5/BoardConfig.mk
index e9503ac..92f536b 100644
--- a/rb5/BoardConfig.mk
+++ b/rb5/BoardConfig.mk
@@ -32,6 +32,7 @@
BOARD_KERNEL_CMDLINE += qcom_geni_serial.con_enabled=1
BOARD_KERNEL_CMDLINE += console=ttyMSM0
BOARD_BOOTCONFIG += androidboot.hardware=rb5 androidboot.boot_devices=soc@0/1d84000.ufshc
+BOARD_BOOTCONFIG += androidboot.verifiedbootstate=orange
# Image Configuration
BOARD_BOOTIMAGE_PARTITION_SIZE := 103079215104 #96M