From 118707a05aff64748b37cbd62cc07e18dcb28ea5 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Mon, 5 Jul 2021 14:51:55 +0800 Subject: [PATCH] make gs201 permissive Bug: 192632804 Test: build and flash ROM with it being permissive Change-Id: I54a2ff96466c5d9365ee7811a6f9c318f0a9e286 --- BoardConfig-common.mk | 1 + factory_common.mk | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index 77210870..590995fa 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -45,6 +45,7 @@ BOARD_KERNEL_CMDLINE += dyndbg=\"func alloc_contig_dump_pages +p\" BOARD_KERNEL_CMDLINE += earlycon=exynos4210,0x10A00000 console=ttySAC0,115200 androidboot.console=ttySAC0 printk.devkmsg=on BOARD_KERNEL_CMDLINE += cma_sysfs.experimental=Y BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs +BOARD_BOOTCONFIG += androidboot.selinux=permissive TARGET_NO_BOOTLOADER := true TARGET_NO_KERNEL := false diff --git a/factory_common.mk b/factory_common.mk index 20711639..b17ad95d 100644 --- a/factory_common.mk +++ b/factory_common.mk @@ -50,8 +50,8 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_display_power_timer PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_for_refresh_rate=true # factory should always has SELinux permissive -BOARD_BOOTCONFIG += androidboot.selinux=permissive -BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive +#BOARD_BOOTCONFIG += androidboot.selinux=permissive +#BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive # Disable Bluetooth as default in factory build DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay-factory