fp2 : adb sideload not working in recovery

device remains in offline during adb sideload

Current kernel does not support aio with ffs
Set the property so adb/mtp know to use the compatible functions

Issue: FP2P-168
Change-Id: Ib73cb483c85e70c8696c9ee897cf19cea1e0cb3b
diff --git a/etc/init.rc b/etc/init.rc
index 0fc6c4c..479c32c 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -30,6 +30,10 @@
     write /proc/sys/kernel/panic_on_oops 1
     write /proc/sys/vm/max_map_count 1000000
 
+    # Current kernel does not support aio with ffs.
+    # Set the property so adb/mtp know to use the compatible functions.
+    setprop sys.usb.ffs.aio_compat 1
+
 on fs
     write /sys/class/android_usb/android0/f_ffs/aliases adb
     mkdir /dev/usb-ffs 0770 shell shell