beast: Start systemcontrol_static far later in recovery
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 11 Dec 2023 06:21:39 +0000 (01:21 -0500)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 21 Apr 2024 16:50:00 +0000 (12:50 -0400)
* Beast is slow.

Change-Id: Ia5943a6c68963add1ab41f632d522a15b7108879

device.mk
init-files/init.recovery.beast.rc [new file with mode: 0644]

index 83d662f7e25f5b6446f170aa97930cfa85f56d6a..ae5486ff6013c327fe66762fd9e03dab7200afd1 100644 (file)
--- 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 (file)
index 0000000..87d0bb1
--- /dev/null
@@ -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