Skip to content

How to change ADB over Wi-Fi mode using computer? ​

Please note that ADB over Wi-Fi mode will be disabled every time the device is rebooted.

Step 1. Enable USB Debugging ​

Enable USB Debugging on your Android device. For more info, see How to enable USB Debugging?.

Step 2. Setup adb in computer ​

Download SDK Platform Tools in your computer to setup adb.

It should print Android Debug Bridge version ... etc.

Step 3. Change ADB over Wi-Fi mode ​

  • Connect your Android device to your computer with a USB cable.

  • In previously opened terminal, run the following command to check connected devices.

    sh
    ./adb devices

You should see your device listed. You may see USB Debugging authorization dialog in your connected deivce. In this case, please click OK or Allow.

  • Run the following command to change ADB over Wi-Fi mode.

    sh
    ./adb tcpip 5555

It should print restarting in TCP mode port: 5555.
Congratulations 🎉, you can now connect your device using IP Address and port 5555.

You can also get your local IP address from the connected device by running the following command.

sh
./adb shell 'ifconfig wlan0 | grep "inet "'
sh
./adb shell 'ifconfig eth0 | grep "inet "'