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

Change-Id: I6e281e0a76dbf6f02c9cab9b0dcf2293e0352c0a
tirimbino
LuK1337 5 years ago committed by Jens Lody
parent b70015cb84
commit 1f70c7a553
  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