#!/system/bin/sh

# Check if the device has root permissions
if [ "$(id -u)" -ne 0; then
    echo "You need root privileges to run this script."
    exit 1
fi

# Get the package names of all applications and add '!'
pm list packages | awk -F':' '{print $2}' > /data/adb/tricky_store/target.txt

