sm7125-common: Switch to common usb-in-recovery configuration

Change-Id: I6e281e0a76dbf6f02c9cab9b0dcf2293e0352c0a
urubino-microg
LuK1337 5 years ago committed by Ruchit
parent c1e2fc7ca1
commit 91b1f1c78f
  1. 4
      recovery/root/init.recovery.qcom.rc

@ -29,10 +29,6 @@ on init
write /sys/class/backlight/panel0-backlight/brightness 200
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
on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice

Loading…
Cancel
Save