summaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.usb.rc
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-09-14 12:48:48 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit5935e5dcaeaf18ef5100c74dce194450fc293126 (patch)
treea9a8e832f7ae7764468769a45e9db53d42a6c72f /rootdir/etc/init.qcom.usb.rc
parent1643c02b301b880592b67ed06c34a15cceeb5531 (diff)
sdm660-common: Checkout rootdir to LA.UM.7.2.r1-07500-sdm660.0
Change-Id: Id8bf30d72e8a513f09d654c91ccdf22cd4182b2d
Diffstat (limited to 'rootdir/etc/init.qcom.usb.rc')
-rw-r--r--[-rwxr-xr-x]rootdir/etc/init.qcom.usb.rc3
1 files changed, 1 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.usb.rc b/rootdir/etc/init.qcom.usb.rc
index 7737741..cd85142 100755..100644
--- a/rootdir/etc/init.qcom.usb.rc
+++ b/rootdir/etc/init.qcom.usb.rc
@@ -102,9 +102,8 @@ on boot
mkdir /dev/usb-ffs/adb 0770 shell system
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=1000,rmode=0770,fmode=0660
write /sys/class/android_usb/android0/f_ffs/aliases adb
+ setprop sys.usb.mtp.device_type 2
setprop vendor.usb.controller ${sys.usb.controller}
-
-on load_persist_props_action
enable vendor.qcom-usb-sh
service vendor.qcom-usb-sh /vendor/bin/init.qcom.usb.sh