From f7c42a3d4f30c335e081845420bfe839d0a2e730 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Mon, 11 Dec 2023 01:21:39 -0500 Subject: [PATCH] dopinder: Disable systemcontrol_static in recovery Change-Id: Ia5943a6c68963add1ab41f632d522a15b7108879 --- device.mk | 3 ++- init-files/init.recovery.dopinder.rc | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 init-files/init.recovery.dopinder.rc diff --git a/device.mk b/device.mk index da93c18..00edf87 100644 --- a/device.mk +++ b/device.mk @@ -18,7 +18,8 @@ endif ## Init-Files PRODUCT_COPY_FILES += \ - $(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.dopinder.rc:recovery/root/init.recovery.dopinder.rc ## Kernel Modules PRODUCT_PACKAGES += \ diff --git a/init-files/init.recovery.dopinder.rc b/init-files/init.recovery.dopinder.rc new file mode 100644 index 0000000..10900e3 --- /dev/null +++ b/init-files/init.recovery.dopinder.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