|
|
@@ -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
|