]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add android setup script
authorEdward Delaporte <edward@delaporte.us>
Sat, 21 Sep 2024 03:29:35 +0000 (22:29 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sun, 22 Sep 2024 23:39:37 +0000 (18:39 -0500)
Fixup

install/android_apks.sh [new file with mode: 0755]

diff --git a/install/android_apks.sh b/install/android_apks.sh
new file mode 100755 (executable)
index 0000000..ebaf17f
--- /dev/null
@@ -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."