From ad6740130b2636475bbe316ec4b32238b805106d Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Mon, 11 Dec 2023 01:21:39 -0500 Subject: [PATCH] sabrina: Disable systemcontrol_static in recovery Change-Id: Ia5943a6c68963add1ab41f632d522a15b7108879 --- device.mk | 3 ++- init-files/init.recovery.sabrina.rc | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 init-files/init.recovery.sabrina.rc diff --git a/device.mk b/device.mk index 088687c..ec74034 100644 --- a/device.mk +++ b/device.mk @@ -14,7 +14,8 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/init-files/tee_hdcp.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/tee_hdcp.rc \ $(LOCAL_PATH)/init-files/tee_key_inject.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/tee_key_inject.rc \ $(LOCAL_PATH)/init-files/init.amlogic.sku.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.sku.rc \ - $(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc + $(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc \ + $(LOCAL_PATH)/init-files/init.recovery.sabrina.rc:recovery/root/init.recovery.sabrina.rc ## Kernel Modules PRODUCT_PACKAGES += \ diff --git a/init-files/init.recovery.sabrina.rc b/init-files/init.recovery.sabrina.rc new file mode 100644 index 0000000..10900e3 --- /dev/null +++ b/init-files/init.recovery.sabrina.rc @@ -0,0 +1,4 @@ +service systemcontrol /system/bin/systemcontrol_static /system/etc/mesondisplay.cfg + disabled + seclabel u:r:recovery:s0 + override -- 2.20.1