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 setprop sys.usb.configfs 1 7 # Don't lose recovery logs- keep warm reset for coming out of recovery. 8 write /sys/module/msm_poweroff/parameters/warm_reset 1 9 # Enable thermal mitigation 10 write /sys/devices/virtual/thermal/tz-by-name/backup-charge/mode enabled 11