aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BoardConfig.mk10
-rw-r--r--system.prop3
2 files changed, 12 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index dfd4539..afce5a9 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -78,7 +78,14 @@ TARGET_USES_64_BIT_BINDER := true
# Kernel
-BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=32M@0-0xffffffff
+BOARD_KERNEL_CMDLINE := \
+ androidboot.hardware=qcom \
+ ehci-hcd.park=3 \
+ lpm_levels.sleep_disabled=1 \
+ cma=32M@0-0xffffffff \
+ androidboot.selinux=enforcing \
+ androidboot.verifiedbootstate=green \
+ androidboot.veritymode=enforcing
BOARD_KERNEL_BASE := 0x80000000
BOARD_KERNEL_PAGESIZE := 4096
BOARD_KERNEL_TAGS_OFFSET := 0x00000100
@@ -90,6 +97,7 @@ TARGET_KERNEL_HEADER_ARCH := arm64
TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android-
TARGET_KERNEL_CONFIG := z2_plus_defconfig
TARGET_KERNEL_SOURCE := kernel/zuk/msm8996
+TARGET_KERNEL_BUILD_VARIANT := user
# QCOM hardware
BOARD_USES_QCOM_HARDWARE := true
diff --git a/system.prop b/system.prop
index 44789ca..2f80a16 100644
--- a/system.prop
+++ b/system.prop
@@ -165,3 +165,6 @@ ro.device.gpu=Qualcomm Adreno 530
ro.device.rear_cam=13 MP, f/2.2
ro.device.front_cam=8 MP, f/2.0
ro.device.screen_res=1080 x 1920, 5.0"
+
+# SafetyNet
+ro.boot.verifiedbootstate=green