Wireless ADB lets you run adb commands over the same Wi‑Fi network your computer and Android device share. It removes the need to keep a USB cable attached, which is handy for debugging apps, pulling logs, or issuing shell commands while the device is on a test bench.
Open Settings → About phone. Scroll to Build number and tap it seven times. You’ll see a toast confirming that Developer options are now enabled.
On some manufacturers (e.g., Samsung, Xiaomi) the path may be Settings > Software information > Build number.
Return to the main Settings screen, then go to System → Developer options. Locate USB debugging and toggle it on. Confirm any security prompt that appears.
Warning: USB debugging grants a computer full access to your device. Only enable it when you trust the connected PC.
Plug the phone into the PC with a USB cable. On the phone, a dialog Allow USB debugging? will appear. Check Always allow from this computer and tap OK.
Open a command prompt (or terminal) on the PC and verify the connection:
adb devices
You should see a line like 0123456789ABCDEF device. If you see unauthorized, repeat the previous step.
With the USB connection still active, run:
adb tcpip 5555
The command tells the device’s ADB daemon to listen on port 5555 for network connections. You’ll get a confirmation like restarting in TCP mode port: 5555.
On the Android device, go to Settings → Network & internet → Wi‑Fi. Tap the connected network, then look for IP address. Note the IPv4 address (e.g., 192.168.1.42).
If you prefer a command‑line method, you can also run:
adb shell ip -f inet addr show wlan0
Look for the line containing inet – the number after it is the IP.
Disconnect the USB cable. In the terminal, execute:
adb connect 192.168.1.42:5555
Replace 192.168.1.42 with the IP you noted. A successful connection returns connected to 192.168.1.42:5555.
Run adb devices again. You should now see the device listed with its IP address instead of the USB serial number:
192.168.1.42:5555 device
You can now issue any usual ADB commands (e.g., adb logcat, adb install myapp.apk) without a cable.
adb usb on the PC to switch the daemon back to USB mode, then unplug the cable. This closes the open port.adb tcpip on newer Android releases. Update to the latest Platform‑Tools package.If you see unauthorized when running adb devices, reconnect the USB cable, re‑authorize the PC, then repeat step 4.
Opening port 5555 effectively gives anyone on the same Wi‑Fi network the ability to control your device. To mitigate risk:
adb usb or toggle USB debugging off) when not in use.When you no longer need wireless ADB, turn off USB debugging in Developer options. This closes the listening socket and restores the default security posture.
By following this guide you now have a fully functional wireless ADB setup that works without rooting your device. You can debug apps, pull logs, install builds, or run shell commands from anywhere on your LAN, all while keeping the process secure and reversible.









