From: Nolen Johnson Date: Mon, 11 Dec 2023 06:21:39 +0000 (-0500) Subject: beast: Start systemcontrol_static far later in recovery X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=31d61132abc2e3a48e4cbb8e18b59a63ef696c63;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_google_beast.git beast: Start systemcontrol_static far later in recovery * Beast is slow. Change-Id: Ia5943a6c68963add1ab41f632d522a15b7108879 (cherry picked from commit 80e76875168eb48c73520ff192a8a23953fef810) --- 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