Connecting ADB Using WiFi for Non-Rooted Android Devices

Connecting ADB Using WiFi for Non-Rooted Android Devices

21 May 2024 Stephan Petzl Leave a comment Tech-Help

Connecting Android Debug Bridge (ADB) over WiFi can significantly streamline your development and debugging process. This guide will walk you through the steps to establish a wireless ADB connection on non-rooted Android devices.


  • Ensure USB Debugging is enabled on your Android device. You can enable it by navigating to Settings > Developer options > USB Debugging.
  • Make sure your Android device and your computer are connected to the same WiFi network.
  • Have ADB installed on your computer. If you haven’t set it up yet, refer to our step-by-step ADB installation guide.

Step-by-Step Guide

Follow these steps to connect your Android device to ADB over WiFi:

1. Connect Your Device via USB

First, connect your Android device to your computer using a USB cable.

2. Set the TCP/IP Port

Open a terminal or command prompt on your computer and type the following command to set the TCP/IP port:

adb tcpip 5555

3. Find Your Device’s IP Address

To find the IP address of your Android device, use the following command:

adb shell ip -f inet addr show wlan0

Look for the IP address in the output, which should appear similar to this:

inet brd scope global wlan0

Note down the IP address (e.g.,

4. Disconnect USB and Connect via WiFi

Disconnect the USB cable from your device. Then, in the terminal, connect to your device using its IP address:

adb connect

If successful, you will see a message indicating that the connection has been established:

connected to


If you encounter issues, ensure the following:

  • Verify that both your Android device and computer are on the same WiFi network.
  • Ensure no firewall or network security settings are blocking the connection.
  • Check that the IP address is correctly noted and entered.
  • Restart the ADB server using adb kill-server and adb start-server commands.

Enhancing Your Testing Workflow

While manually setting up ADB over WiFi can be effective, it can become repetitive and time-consuming. This is where tools like Repeato can enhance your workflow. Repeato is a no-code test automation tool for iOS and Android, streamlining the process of creating, running, and maintaining automated tests for your apps.

Repeato’s built-in ADB capabilities allow you to execute ADB commands via script steps, ensuring proper timing and sequence. This feature is particularly useful when dealing with complex testing scenarios that require precise control over device interactions.

For more detailed information on how Repeato can assist in your testing needs, explore our documentation and blog articles.

By following this guide and leveraging tools like Repeato, you can significantly improve your development and testing efficiency.

Like this article? there’s more where that came from!