APK Permissions & Operations
Terminal command to see permissions/operations in an Android package.
Put your Android package name to
PKG=
first bellow.
For example:
PKG=com.google.android.gms
su
(
PKG=
UID=$(dumpsys package $PKG 2>/dev/null | grep -m 1 Id= | sed -e 's/ userId=//g' -e 's/ appId=//g')
echo $PKG
appops get $PKG
echo "Uid: $UID"
appops get --uid $UID
dumpsys package $PKG
) > /sdcard/output.txt
Open the output.txt in your internal storage afterwards.
Terminal command to see permissions/operations in an Android package.
Put your Android package name to
PKG=
first bellow.
For example:
PKG=com.google.android.gms
su
(
PKG=
UID=$(dumpsys package $PKG 2>/dev/null | grep -m 1 Id= | sed -e 's/ userId=//g' -e 's/ appId=//g')
echo $PKG
appops get $PKG
echo "Uid: $UID"
appops get --uid $UID
dumpsys package $PKG
) > /sdcard/output.txt
Open the output.txt in your internal storage afterwards.