summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.sony.usb.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/etc/init.sony.usb.rc b/rootdir/etc/init.sony.usb.rc
index 679a600..5e536ac 100644
--- a/rootdir/etc/init.sony.usb.rc
+++ b/rootdir/etc/init.sony.usb.rc
@@ -33,6 +33,9 @@ on fs
setprop sys.usb.ffs.aio_compat 1
+on charger
+ setprop sys.usb.config mtp
+
on property:sys.usb.config=mtp
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 0FCE