From 1e15460c80d2003dfd72f7fee0274cd12df40f0f Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 15 Sep 2019 00:56:40 +0200 Subject: [PATCH] Force ro.vndk.version 26 when we detect vndk 26 --- rw-system.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 5e2ded5..4e8831e 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -8,6 +8,11 @@ vndk="$(getprop persist.sys.vndk)" [ -z "$vndk" ] && vndk="$(getprop ro.vndk.version |grep -oE '^[0-9]+')" + +if [ "$vndk" = 26 ];then + resetprop ro.vndk.version 26 +fi + setprop sys.usb.ffs.aio_compat true setprop persist.adb.nonblocking_ffs false