1on fs
2    wait /dev/block/platform/soc/${ro.boot.bootdevice}
3    symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
4
5on init
6    wait /sys/devices/platform/soc/a600000.ssusb/a600000.dwc3/driver 10
7    setprop sys.usb.configfs 1
8    # Don't lose recovery logs- keep warm reset for coming out of recovery.
9    write /sys/module/msm_poweroff/parameters/warm_reset 1
10    # Enable thermal mitigation
11    write /sys/devices/virtual/thermal/tz-by-name/backup-charge/mode enabled
12
13on early-init
14    # Wait to make sure we do not try to talk too early to the display
15    wait /sys/class/drm/card0
16