Pick what you're trying to do, fill in a couple of fields, and get the exact adb command ready to paste into your terminal.
Common ones: android.permission.CAMERA, RECORD_AUDIO, ACCESS_FINE_LOCATION, READ_CONTACTS, WRITE_EXTERNAL_STORAGE - only works for "dangerous"-level runtime permissions the app has actually declared in its manifest.
Coordinates are in pixels from the top-left corner. Use the Screenshot task first if you need to work out where something is on screen.
Step 1 - run this in your terminal first (with the screen you want to fill already open on the device):
(if multiple devices/emulators are connected, add -s your-device-serial right after "adb" in both places above)
Step 2 - the "." at the end saves window_dump.xml into whatever folder your terminal was open in when you ran the command (e.g. if your prompt showed C:\Users\Admin>, that's exactly where the file landed - check there first if you can't find it). Open that file, select all, copy, and paste it below:
0 is dimmest (usually not fully black), 255 is maximum brightness.
This only fakes the reported level for testing (e.g. low-battery UI) - it doesn't affect the real battery. Run Reset Battery Simulation afterward to go back to normal.
Generated Command
// Command will appear here
Pick a task and click "Generate Command" to see what it does.
Step 2 - run this separately, a second or two later
Some apps take a brief moment to validate what you just typed before their submit/login button actually responds - running this as its own paste, right after the first, gives it that moment instead of arriving in the same instant.