adb shell pm grant android.permission.WRITE_SECURE_SETTINGS adb shell uiautomator dump Stack Overflow exact package name and service path
Android 11 restricts what apps can see. Your automator might not "see" other apps. Grant the QUERY_ALL_PACKAGES permission via ADB:
You can simulate taps, swipes, text without any app: