From: Edward Delaporte Date: Sat, 21 Sep 2024 03:29:35 +0000 (-0500) Subject: Add android setup script X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/49cc77eecb787c5d76f994c3851475b46a128bd4?ds=sidebyside Add android setup script Fixup --- 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."