11 lines
350 B
Plaintext
11 lines
350 B
Plaintext
on fs
|
|
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
|
|
|
|
on property:ro.boot.usbcontroller=*
|
|
setprop sys.usb.controller ${ro.boot.usbcontroller}
|
|
write /sys/class/udc/${ro.boot.usbcontroller}/device/../mode peripheral
|