From 49cc77eecb787c5d76f994c3851475b46a128bd4 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 20 Sep 2024 22:29:35 -0500 Subject: [PATCH] Add android setup script Fixup --- install/android_apks.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 install/android_apks.sh diff --git a/install/android_apks.sh b/install/android_apks.sh new file mode 100755 index 0000000..ebaf17f --- /dev/null +++ b/install/android_apks.sh @@ -0,0 +1,10 @@ +# export PATH="$HOME/bin/android_platform_tools/platform-tools:$PATH" +echo "Be sure the phone is plugged connected by USB, and USB debugging is enabled." +read -p "Be sure the phone is unlocked, and to accept the USB debugging prompt." +echo "Setting night mode" +adb shell "cmd uimode night yes" +echo "No 911 power button around babies" +adb shell su -c 'pm disable com.android.server.telecom/.PrivilegedCallActivity' +echo "Installing packages" +adb install-multi-package -r $HOME/apk/*.apk +echo "If there were errors, run 'adb kill-server' and watch for the prompt on re-run." -- 2.47.3