summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/init.recovery.qcom.rc2
-rw-r--r--rootdir/init.sony.usb.rc2
2 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.recovery.qcom.rc b/rootdir/init.recovery.qcom.rc
index 998c647..4d427f1 100644
--- a/rootdir/init.recovery.qcom.rc
+++ b/rootdir/init.recovery.qcom.rc
@@ -3,6 +3,8 @@ on init
write /sys/class/android_usb/android0/idProduct 6182
symlink /dev/block/platform/msm_sdcc.1 /dev/block/bootdevice
+ setprop sys.usb.ffs.aio_compat 1
+
on boot
# Allow core adjustements
write /sys/module/msm_thermal/core_control/enabled 0
diff --git a/rootdir/init.sony.usb.rc b/rootdir/init.sony.usb.rc
index 727c268..679a600 100644
--- a/rootdir/init.sony.usb.rc
+++ b/rootdir/init.sony.usb.rc
@@ -31,6 +31,8 @@ on fs
mkdir /dev/bus 0755 root root
mkdir /dev/bus/usb 0755 root root
+ setprop sys.usb.ffs.aio_compat 1
+
on property:sys.usb.config=mtp
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 0FCE