ADB without a computer
ADB (Android Debug Bridge) is the tool developers use to send commands to a phone: grant special permissions, remove preinstalled apps, change screen resolution or read logs. It normally needs a computer and a USB cable. Since Android 11, the phone’s Wireless debugging can be used by an app on the same phone, so you can run ADB commands without any computer.
Two apps make this practical: Local ADB (LADB), which gives you an ADB shell on the phone, and Shizuku, which lets other apps use ADB-level access. This guide shows how to set up LADB, the commands people use most, and how to undo them safely.
What you need
- Android 11 or newer. Wireless debugging does not exist on older versions; there you still need a computer, see our USB debugging guide.
- Wi-Fi turned on. Wireless debugging only starts while the phone is connected to a Wi-Fi network. It does not need internet.
- Developer options. Tap Build number seven times; our guide to Developer options shows where it is on each brand.
Set up Local ADB (LADB)
- Install Local ADB and open it. It will ask for a pairing code and port.
- Open split screen with LADB and Settings side by side, or use a floating window. The pairing code disappears if you leave Settings, so both need to be visible.
- In Settings › Developer options › Wireless debugging, turn it on and tap Pair device with pairing code.
- Type the six-digit code and the port shown in Settings into LADB. The pairing only has to be done once.
- LADB connects and shows a shell. Type commands without the word
adb shell; for example justpm list packages.
Useful commands and how to undo them

| What it does | Command | Undo |
|---|---|---|
| List installed packages | pm list packages | Nothing to undo |
| Remove a preinstalled app for your user | pm uninstall --user 0 package.name | cmd package install-existing package.name |
| Give an app a special permission (for tools like Purr) | pm grant package.name android.permission.WRITE_SECURE_SETTINGS | pm revoke package.name android.permission.WRITE_SECURE_SETTINGS |
| Change screen resolution | wm size 720x1600 | wm size reset |
| Change screen density | wm density 320 | wm density reset |
Resolution and density are explained in more detail in our guide to unlocking 90 and 120 FPS, and the same ADB method works on TVs, see changing the Android TV launcher.
LADB or Shizuku?
| Local ADB (LADB) | Shizuku | |
|---|---|---|
| What it gives you | A command line where you type ADB commands | A service that other apps use for ADB-level access |
| Best for | One-off commands: permissions, debloating, resolution | Apps built for Shizuku, such as file managers, app managers and system tweakers |
| Setup | Pair once through Wireless debugging | Pair once, then start the service after each restart |
Many people use both: LADB for quick commands and Shizuku for apps that need ongoing access. Our Shizuku guide covers its setup.
ShizukuTools · 2.48 MB · 13.6.0.r1091.b844bc49 · APK DownloadCommon problems
| Problem | Fix |
|---|---|
| Pairing code disappears | Use split screen or a floating window so Settings stays open while you type the code. |
| Wireless debugging will not turn on | Connect to any Wi-Fi network first; it does not need internet. Some phones also need “USB debugging” on. |
| LADB says “waiting for device” | Wireless debugging was turned off after a restart; turn it on again. |
| “Permission denied” | ADB has shell rights, not root. Commands that need root will not work. |
On Android 11 and newer, Local ADB uses Wireless debugging to run ADB commands on the phone itself, with no computer. Turn on Developer options and Wi-Fi, pair LADB once in split screen, then use commands such as pm grant, wm size or pm uninstall --user 0, always keeping the undo command. Use Shizuku when an app needs ongoing ADB-level access.
Frequently asked questions
Can I use ADB without a PC?
Yes, on Android 11 and newer. Apps like Local ADB connect to the phone’s own Wireless debugging and give you an ADB shell.
Does LADB need root?
No. It uses Wireless debugging, which gives shell-level access without root. Commands that need root still will not work.
Does LADB need internet?
No, but the phone must be connected to a Wi-Fi network, because Android only starts Wireless debugging on Wi-Fi.
Is it safe to remove system apps with ADB?
It is reversible with cmd package install-existing or a factory reset, but removing important system packages can break features. Remove one app at a time and keep a list.
What is the difference between LADB and Shizuku?
LADB gives you a command line to type ADB commands. Shizuku runs a service that other apps use to get ADB-level access.




Reviews and ratings
Your comment was submitted and is awaiting moderation.
Your comment was published.