What Is ADB? (Android Debug Bridge)
The fundamental tool for controlling Android devices from a computer
How ADB Works
ADB consists of three components working together:
- ADB Client — the program you run in the terminal, e.g.
adb devices - ADB Server — the process running on the PC that manages connections (default port 5037)
- ADBd (ADB Daemon) — the process running on the Android device that receives commands from the server
If the client cannot reach the server, restart it:
adb kill-server
adb start-serverWhat It's Used For
The most frequently used commands:
adb devices # list connected devices
adb -s <SERIAL> shell # open a shell on the device
adb -s <SERIAL> shell input tap 540 1200 # tap the screen
adb -s <SERIAL> shell input text "hello" # type text
adb -s <SERIAL> shell monkey -p com.tiktok.android 1 # open an app
adb -s <SERIAL> install app.apk # install an app
adb -s <SERIAL> shell pm list packages # list installed appsInside a BoxPhone system, ADB is used to:
- Open apps simultaneously across many devices
- Issue tap / swipe / type commands
- Install apps in batch
- Collect logs and screenshots
What You Need
- Android SDK Platform Tools — includes
adb, downloadable from developer.android.com - USB Driver — on Windows you must install the driver matching your phone brand (Mac/Linux usually work out of the box)
- Developer Mode + USB Debugging — enabled on the Android device (Settings → About → tap Build Number 7 times)
- A Type-C / Micro-USB cable that supports data transfer
ADB Modes: USB vs TCP/IP
There are two ways to connect:
- USB Mode — the most stable, with the lowest latency
- TCP/IP Mode — connects over Wi-Fi / LAN, lets you unplug USB
# enable TCP mode (over USB the first time)
adb tcpip 5555
# connect over the network
adb connect 192.168.1.42:5555Summary
ADB is the foundational tool that anyone working with multiple Android devices needs to understand — at the level of fluency, not just memorising commands.
Start with the five core commands above, try them on one or two of your own devices, then expand to batch operations once you are comfortable.
FAQ
01What is ADB?+
ADB (Android Debug Bridge) is a command-line tool created by Google for controlling Android devices from a computer — opening apps, tapping the screen, typing text, and installing apps.
02How does BoxPhone use ADB?+
BoxPhone uses ADB as the lowest layer for issuing commands to devices. Every tap, swipe, and app launch is ultimately an ADB command wrapped by the automation engine.
03Can ADB be used over Wi-Fi?+
Yes. Use 'adb tcpip 5555' followed by 'adb connect <IP>:5555', but TCP mode has to be enabled over USB the first time — and re-enabled each time the device reboots.
04What do I do when a device shows as offline in adb devices?+
Try 'adb kill-server' followed by 'adb start-server', or switch USB ports. If that does not work, check the USB cable and make sure USB Debugging is enabled on the device.
05Is it safe to leave ADB enabled?+
It is safe on a closed network, but never enable TCP/IP mode on a device connected to public Wi-Fi — anyone on the same network can connect without pairing.
Continue Reading
Ready to deploy BoxPhone? — Talk to the Sikrid team
We design and assemble BoxPhone in Thailand with a complete Automation system in a single platform. See more on TikTok @sikridphonefarmth
