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

Change-Id: I6e281e0a76dbf6f02c9cab9b0dcf2293e0352c0a
fourteen-wip
LuK1337 5 years ago committed by Simon1511
parent 46f6c478b5
commit 115d7d8e1e
  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