From 80e76875168eb48c73520ff192a8a23953fef810 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Mon, 11 Dec 2023 01:21:39 -0500 Subject: [PATCH] beast: Start systemcontrol_static far later in recovery * Beast is slow. Change-Id: Ia5943a6c68963add1ab41f632d522a15b7108879 --- device.mk | 3 ++- init-files/init.recovery.beast.rc | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 init-files/init.recovery.beast.rc diff --git a/device.mk b/device.mk index 83d662f..ae5486f 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.beast.rc:recovery/root/init.recovery.beast.rc ## Kernel Modules PRODUCT_PACKAGES += \ diff --git a/init-files/init.recovery.beast.rc b/init-files/init.recovery.beast.rc new file mode 100644 index 0000000..87d0bb1 --- /dev/null +++ b/init-files/init.recovery.beast.rc @@ -0,0 +1,7 @@ +service systemcontrol /system/bin/systemcontrol_static /system/etc/mesondisplay.cfg + disabled + seclabel u:r:recovery:s0 + override + +on boot + start systemcontrol -- 2.20.1