Skip to content
APKCombo
Apps

How to use ADB on your phone without a PC (LADB and Shizuku)

Run ADB commands on Android 11+ without a computer using Local ADB: setup with Wireless debugging, useful commands with their undo, and LADB vs Shizuku.

How to use ADB on your phone without a PC (LADB and Shizuku)

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.
Local ADB (Android 11+)Tools · 5.7 MB · 1.2.4 · APK Download

Set up Local ADB (LADB)

  1. Install Local ADB and open it. It will ask for a pairing code and port.
  2. 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.
  3. In Settings › Developer options › Wireless debugging, turn it on and tap Pair device with pairing code.
  4. Type the six-digit code and the port shown in Settings into LADB. The pairing only has to be done once.
  5. LADB connects and shows a shell. Type commands without the word adb shell; for example just pm list packages.

Useful commands and how to undo them

Five common ADB commands with their undo commands: list packages; uninstall a preinstalled app for the current user and restore it with install-existing; grant a special permission and revoke it; change screen resolution and reset it; change screen density and reset it
Every change on the left has a matching undo on the right. Write down what you change.
What it doesCommandUndo
List installed packagespm list packagesNothing to undo
Remove a preinstalled app for your userpm uninstall --user 0 package.namecmd package install-existing package.name
Give an app a special permission (for tools like Purr)pm grant package.name android.permission.WRITE_SECURE_SETTINGSpm revoke package.name android.permission.WRITE_SECURE_SETTINGS
Change screen resolutionwm size 720x1600wm size reset
Change screen densitywm density 320wm 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 youA command line where you type ADB commandsA service that other apps use for ADB-level access
Best forOne-off commands: permissions, debloating, resolutionApps built for Shizuku, such as file managers, app managers and system tweakers
SetupPair once through Wireless debuggingPair 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 Download

Common problems

ProblemFix
Pairing code disappearsUse split screen or a floating window so Settings stays open while you type the code.
Wireless debugging will not turn onConnect 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.

Share

Reviews and ratings

Your comment was submitted and is awaiting moderation.

Your comment was published.

—No ratings yet
5
4
3
2
1
Rate this app
Tap the stars

Write a review

Rating and review are submitted for moderation.