zenfone6: Update prebuilt files
Change-Id: I7aca2eb7231ae9513c2c7d014fd183a9e0eb4c70
diff --git a/prebuilt/root/init.recovery.qcom.rc b/prebuilt/root/init.recovery.qcom.rc
index f7693bb..8d9065f 100755
--- a/prebuilt/root/init.recovery.qcom.rc
+++ b/prebuilt/root/init.recovery.qcom.rc
@@ -1,4 +1,4 @@
-# Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
+# Copyright (c) 2017-2018,2020 The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -27,7 +27,6 @@
on init
write /sys/class/backlight/panel0-backlight/brightness 200
-
mkdir /config
mount configfs none /config
mkdir /config/usb_gadget/g1 0770 shell shell
@@ -47,14 +46,7 @@
on property:ro.boot.usbcontroller=*
setprop sys.usb.controller ${ro.boot.usbcontroller}
-
-on property:sys.usb.ffs.ready=1
- mkdir /config/usb_gadget/g1/configs/b.1 0777 shell shell
- symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
- mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 shell shell
- write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb"
- symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1
- write /config/usb_gadget/g1/UDC ${sys.usb.controller}
+ write /sys/class/udc/${ro.boot.usbcontroller}/device/../mode peripheral
on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}