android_device_xiaomi_sm835.../rootdir/etc/init.recovery.qcom.rc

16 lines
401 B
Plaintext
Raw Normal View History

on init
write /sys/class/backlight/panel0-backlight/brightness 200
setprop sys.usb.configfs 1
on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
start init-recovery-qcom-sh
service init-recovery-qcom-sh /init.recovery.qcom.sh
user root
group root
seclabel u:r:recovery:s0
oneshot