sanders: Set sys.usb.ffs.aio_compat
The kernel does not support aio with ffs. Set the property so adb/mtp know to use the compatible functions, and the same while in recovery. Bug: 37916658 Test: Use adb / use adb in recovery Change-Id: Id35a05fcb9952dcf7239bd15a61cc620537419bc
This commit is contained in:
@@ -58,6 +58,7 @@ on fs
|
|||||||
mkdir /dev/usb-ffs/adb 0770 shell shell
|
mkdir /dev/usb-ffs/adb 0770 shell shell
|
||||||
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
|
mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
|
||||||
write /sys/class/android_usb/android0/f_ffs/aliases adb
|
write /sys/class/android_usb/android0/f_ffs/aliases adb
|
||||||
|
setprop sys.usb.ffs.aio_compat 1
|
||||||
|
|
||||||
# Disable USB-SS in bp-tools
|
# Disable USB-SS in bp-tools
|
||||||
on property:ro.bootmode=bp-tools
|
on property:ro.bootmode=bp-tools
|
||||||
|
|||||||
Reference in New Issue
Block a user