Explorar el Código

cap_sprout: start both boot and health HAL

Signed-off-by: Carlo Dee <carlodee.official@proton.me>
Carlo Dee hace 2 años
padre
commit
ddcaf37749
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      recovery/root/init.recovery.qcom.rc

+ 6 - 0
recovery/root/init.recovery.qcom.rc

@@ -31,6 +31,9 @@ on init
     write /sys/class/backlight/panel0-backlight/brightness 200
     setprop sys.usb.configfs 1
 
+on boot
+    start health-hal-2-1
+
 on property:ro.boot.usbcontroller=*
     setprop sys.usb.controller ${ro.boot.usbcontroller}
     write /sys/class/udc/${ro.boot.usbcontroller}/device/../mode peripheral
@@ -38,3 +41,6 @@ on property:ro.boot.usbcontroller=*
 on fs
     wait /dev/block/platform/soc/${ro.boot.bootdevice}
     symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
+
+on post-fs
+    start boot-hal-1-1