20 lines
584 B
Text
20 lines
584 B
Text
|
import /init.recovery.qcom_decrypt.rc
|
||
|
|
||
|
on init
|
||
|
write /sys/class/backlight/panel0-backlight/brightness 200
|
||
|
# Create location for fs_mgr to store abbreviated output from filesystem
|
||
|
# checker programs.
|
||
|
mkdir /dev/fscklogs 0770 root system
|
||
|
|
||
|
on fs
|
||
|
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||
|
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
||
|
# Set fscklog permission
|
||
|
chown root system /dev/fscklogs/log
|
||
|
chmod 0770 /dev/fscklogs/log
|
||
|
start boot-hal-1-1
|
||
|
|
||
|
on boot
|
||
|
start health-hal-2-1
|
||
|
setprop sys.usb.config adb
|