The Android Debug Bridge (ADB) isn't just a tool for developers—it's a superpower for everyday Android users. Whether you want to check the actual health of your battery, change your screen resolution, or uninstall stubborn bloatware, ADB commands give you deep access to your phone's operating system.
Usually, you have to install the Android SDK and mess around with command prompt windows to use ADB. But today, you can run all of these commands instantly from your browser using WebADB.
Here are 15 of the most useful ADB commands you can start using right now.
How to Run These Commands
- Go to Settings > Developer Options on your phone and enable USB Debugging.
- Connect your phone to your PC via USB.
- Open webadb.in in a compatible browser (like Chrome or Edge).
- Click Connect Device and allow the connection on your phone.
- Click on the Shell tab to open the terminal.
1. Check Battery Health & Stats
Want to see the actual capacity and health of your battery, not just the percentage?
dumpsys battery
Look for the level, scale, and health variables in the output.
2. List All Installed Apps (Packages)
Need to find the exact package name of an app to uninstall it? This command lists everything.
pm list packages
(Pro tip: Add -3 to the end to only list third-party apps you installed, or -s for system apps).
3. Uninstall Bloatware Without Root
Remove pre-installed carrier apps or manufacturer junk without rooting your phone.
pm uninstall -k --user 0 <package_name>
4. Reinstall an App Keeping its Data
If an app is crashing but you don't want to lose your login or save data, reinstall it with the -r flag.
pm install -r <path_to_apk>
5. Take a Screenshot
You can trigger a screenshot via ADB and save it directly to your phone's storage.
screencap -p /sdcard/screenshot.png
(Or, just use the built-in 1-click Screenshot tab in WebADB!)
6. Record Your Screen
Capture a high-quality screen recording without downloading a sketchy third-party app.
screenrecord /sdcard/video.mp4
Press Ctrl+C to stop recording.
7. Change Screen Resolution
Playing a heavy game and need better performance? You can lower your phone's resolution.
wm size 1080x1920
To reset it back to default, type wm size reset.
8. Change Screen Density (DPI)
Make everything on your screen bigger or smaller to fit more content.
wm density 400
To reset it back to default, type wm density reset.
9. Grant Hidden Permissions
Some powerful apps (like Tasker or Macrodroid) need special permissions that you can't grant from the normal settings menu.
pm grant <package_name> android.permission.WRITE_SECURE_SETTINGS
10. Reboot Your Phone
A simple command to restart your device.
reboot
11. Reboot to Recovery Mode
Need to clear your cache partition or install an update from a ZIP file?
reboot recovery
12. Reboot to Bootloader / Fastboot
If you are planning to unlock your bootloader or flash a custom ROM, you need to be in Fastboot mode.
reboot bootloader
13. Check Device Uptime
Curious how long it's been since you last restarted your phone?
uptime
14. Clear an App's Data and Cache
Is an app totally frozen or acting corrupted? Wipe its slate clean.
pm clear <package_name>
15. See What's Eating Your RAM
Find out exactly which apps are consuming your system memory.
dumpsys meminfo
Ready to Try Them Out?
You don't need to install anything to test these out. Head over to webadb.in, connect your device, and start exploring your phone's true capabilities!