summaryrefstree
path: root/system/init.recovery.starlet.rc
blob: d3362ca320b8bfef7796f1b9c5670944102213b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
on early-init
    # Set LED to purple/white blinking in recovery mode
    write /sys/class/leds/red/brightness 100
    write /sys/class/leds/green/brightness 100
    write /sys/class/leds/blue/brightness 100
    write /sys/class/leds/green/delay_on 500
    write /sys/class/leds/green/delay_off 500

on fs
    mount pstore pstore /sys/fs/pstore
    wait /dev/block/platform/soc/${ro.boot.bootdevice}
    symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice

on init
    setprop sys.usb.configfs 1