1on init
2    wait /sys/devices/platform/11110000.usb/11110000.dwc3/driver 10
3    setprop sys.usb.controller "11110000.dwc3"
4    setprop sys.usb.configfs 1
5
6on init && property:ro.debuggable=1 && property:ro.boot.mode=recovery
7    start recovery-console
8
9service recovery-console /system/bin/sh
10    class core
11    console
12    disabled
13    user root
14    group root shell log readproc
15    seclabel u:r:su:s0
16    setenv HOSTNAME console
17
18on fs && property:sys.usb.configfs=1
19    write /config/usb_gadget/g1/configs/b.1/MaxPower 900
20