From 9437d3fa56f55a1ed2d6c9be7a7b8a6d93589864 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 14 Apr 2024 09:25:55 +0300 Subject: [PATCH] adb-permissions.bash: add missing argument, check if DoH3 is supported --- bash/adb-permissions.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bash/adb-permissions.bash b/bash/adb-permissions.bash index bc4e60c..e30ed6e 100755 --- a/bash/adb-permissions.bash +++ b/bash/adb-permissions.bash @@ -40,7 +40,10 @@ adb "$@" shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CON # Shizuku #(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &) -(adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &) +(adb "$@" shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &) + +# If 1, DoH3 is supported +(adb "$@" shell cmd device_config get netd_native doh &) # Wait a bit and then reboot the device sleep 5