mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-29 06:12:30 +01:00
8 lines
200 B
Bash
8 lines
200 B
Bash
|
#!/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
|