From 1f70c7a553345e6a7d9c7df17090b1f5d5ba86b5 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 26 May 2020 17:48:20 +0200 Subject: [PATCH] sm7125-common: Switch to common usb-in-recovery configuration Change-Id: I6e281e0a76dbf6f02c9cab9b0dcf2293e0352c0a --- recovery/root/init.recovery.qcom.rc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/recovery/root/init.recovery.qcom.rc b/recovery/root/init.recovery.qcom.rc index c0fa50d..84b5375 100755 --- a/recovery/root/init.recovery.qcom.rc +++ b/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