scripts/bash/adb-reset-permissions.bash

8 lines
200 B
Bash
Raw Normal View History

2023-12-03 09:32:43 +01:00
#!/usr/bin/env bash
set -x
# As the GUI method did nothing for me, this will hopefully reset all
# permissions of apps on an Android device.
adb "$@" shell pm reset-permissions
adb "$@" reboot
set +x