summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/etc/init.recovery.qcom.rc2
-rw-r--r--rootdir/etc/init.sony.usb.rc2
2 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/etc/init.recovery.qcom.rc b/rootdir/etc/init.recovery.qcom.rc
index 039fed3..fb2c886 100644
--- a/rootdir/etc/init.recovery.qcom.rc
+++ b/rootdir/etc/init.recovery.qcom.rc
@@ -3,3 +3,5 @@ on fs
symlink /dev/block/platform/msm_sdcc.1 /dev/block/bootdevice
setprop sys.usb.ffs.aio_compat 1
+ setprop persist.adb.nonblocking_ffs 0
+ setprop ro.adb.nonblocking_ffs 0
diff --git a/rootdir/etc/init.sony.usb.rc b/rootdir/etc/init.sony.usb.rc
index 5e536ac..02b7b97 100644
--- a/rootdir/etc/init.sony.usb.rc
+++ b/rootdir/etc/init.sony.usb.rc
@@ -32,6 +32,8 @@ on fs
mkdir /dev/bus/usb 0755 root root
setprop sys.usb.ffs.aio_compat 1
+ setprop persist.adb.nonblocking_ffs 0
+ setprop ro.adb.nonblocking_ffs 0
on charger
setprop sys.usb.config mtp