rosemary: Disable nonblocking_ffs to avoid recent crashes with

adbd

Recent changes to adbd have enabled nonblocking_ffs by default.

These have seeminly uncovered some bad memory corruption in the
kernel ffs gadget driver on every kernel I've tried so far.

Unfortunately I've not been able to diagnose what is going wrong,
so for now, lets disable the nonblocking_ffs.

We still need to root cause the issue as it's a problem even with
the mainline kernel on HiKey, so its likely a generic kernel issue.

Disable nonblocking_ffs in recovery, too.

Change-Id: I7a0797cc9e8e5f263e533beea23642f768c0f017
Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
John Stultz
2022-10-28 19:40:54 +01:00
committed by Matsvei Niaverau
parent 86afacddbd
commit 8fef010592
3 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
on init
setprop sys.usb.ffs.aio_compat 1
setprop sys.usb.configfs 1
setprop persist.adb.nonblocking_ffs 0