1
0
mirror of https://gitea.blesmrt.net/mikaela/scripts.git synced 2025-06-24 16:17:20 +02:00
scripts/bash/adb-reset-permissions.bash

8 lines
200 B
Bash
Executable File

#!/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