ADB enables you to execute commands to transfer files, install apps, and access system files on your Android phone, tablet, or Wear OS watch. Typically, ADB requires a USB connection between your device and computer. Constantly plugging and unplugging your Android phone to execute ADB commands can be irritating. However, the introduction of ADB over Wi-Fi has eliminated this restriction. Let’s see how to harness the power of ADB wirelessly by setting up ADB over Wi-Fi on Windows, Mac, and Linux systems.

ADB over Wi-Fi uses the same protocol as ADB via USB but instead communicates through a wireless network connection. It sends commands from the computer to the device’s operating system via a terminal or command prompt window. This means that both devices must be connected to the same Wi-Fi network to establish a connection.

Once connected, you can execute any ADB command on your Android phone or tablet without a USB connection.

Table of Content

Steps to Set up ADB on Computer and Android

Please note that the steps and screenshots in this tutorial are from Samsung Galaxy S23 Ultra. Depending on your device’s OEM, the location of Developer options, Build number, and IP address may differ.

  1. Download the latest ADB driver and extract it on your desktop.
  2. Enable the Developer Options by going to your phone’s Settings > About phone > Software information. Then scroll down until you see the Build number and tap it seven times until you see the message “Developer mode has been enabled.”tab build number 7 times to enable developer mode on android
  3. If you do not find the Build number in the location mentioned above, open device Settings, tap the search box, and type “Build number” to access it.
  4. Now go back to the Settings menu, scroll down to Developer options, tap it, and enable USB debugging.allow usb debugging on android
  5. ADB can’t communicate with your Android phone or tablet with a locked screen. Go to Settings > Display and set the Screen timeout to 5-10 minutes.
  6. Now open the ‘platform-tools’ folder and launch a command window with the Android SDK platform tools path. You can do that in 2 ways:
    1. Right-click in the ‘platform-tools‘ folder window and select the Open in Terminal option from the context menu.Open terminal in the platform tools folder
    2. Type “powershell” or “cmd” in the address bar of the ‘platform-tools‘ folder and hit the Enter key.launch powershell in android platform tools folder
  7. On Mac, you can open Terminal by searching for it in Spotlight Search or locating it in Applications > Utilities.
  8. It’s time to connect your Android device to your PC using a USB cable.
  9. Type the following command in the command window and press Enter.
    adb devices
  10. Tap on Allow when prompted on your device to authorize ADB access on your Android phone.
  11. This will show a list of connected devices with their device ID or serial number. If your device is listed, then it is connected properly.adb devices command in windows powershell

Steps to Set up ADB over Wi-Fi

Now that you have configured a tethered ADB connection, it is time to set up ADB over Wi-Fi so that you can use commands wirelessly. Follow the detailed steps given below:

  1. Ensure your Android device and computer are connected to the same Wi-Fi network.
  2. Go to Settings > About phone > Status information and note down the IP address of your  Android device.ip address of android device
  3. Navigate to the folder where you have ADB installed. I assume you have the ‘platform-tools‘ extracted on the desktop.
  4. Launch a Powershell window with the path of the Android SDK platform-tools folder as shown below.platform folder path in windows powershell
  5.  Now, execute the adb devices command, and when your device is shown as listed, issue the following command.
    adb tcpip 5555

    connected android device to adb wirelessly

  6. ADB will restart in TCP (Transmission Control Protocol) to facilitate wireless connection between your phone and computer.
  7. It’s time to execute the adb connect command followed by your phone IP address.
    adb connect 192.168.1.8

    settings up adb over wi-fi on windows

  8. ADB will be connected to your phone’s IP address.
  9. You can now unplug the USB cable. To check if your Android device can now connect to ADB wirelessly, execute the adb devices command again.adb device connected over wi-fi

That’s it!

Common Issues with Setting up ADB over Wi-Fi

We have listed some troubleshooting tips in case you encounter issues setting up or using ADB wirelessly.

  • Enable USB debugging on your Android device.
  • Connect your PC and Android device to the same Wi-Fi network.
  • Make sure the IP address you used is correct.
  • Restart the ADB server using the adb kill-server command.
  • Try rebooting your PC and Android device.
  • Download and install the latest Android SDK Platform Tools on your computer.
  • Try a different USB cable.

If none of the above solutions work, try WebADB to run ADB commands wirelessly or from your web browser.

Note: Since ADB is a plain text protocol, using ADB over Wi-Fi may not be secure. To avoid opening up your device to hackers, we recommend you use it in a personal and secure network environment.

Was this Article helpful?
YesNo