How to execute ADB commands over WiFi without USB or Root

In this guide we covered a great trick to execute any ADB command simply over WIFi, without any USB Cable. Android Debugging Bridge, aka ADB, is one of the most powerful command line tools for Android devices. Part of the Android SDK and Platform-Tools, it provides a successful connection between your PC and Android device. Right from booting your device to Fastboot or Recovery Mode, to installing a custom recovery or loading an OTA, the possibilities are endless. Keeping that in mind, we’ve covered an extensive guide to some of the most powerful ADB commands.

Meanwhile, if you need to do any ADB commands, the basic requirement is a USB cable. Until and unless you connect your device to your PC via USB, you cannot execute any ADB commands. Or a general concept. But today I discovered an impressive hack using which you can execute any ADB command to your device just over WiFi without using any USB cable. But before doing so, some important prerequisites should be kept in mind.


  1. Download and install the Android SDK platform-tools on your desktop. If you face any problem while setting it up on Windows 10, you can refer to our guide.
  2. Enable USB debugging on your device. Move in Setting > About the phone > Click Build Number 7 times> Back Setting > Developer Options > Toggle on the USB debug switch. For more explanation, see our guide on how to enable Developer options and USB debugging on Android.
  3. For this trick to work, your device, as well as your PC, need to be connected on the same Wi-Fi network.

So these are important requirements to keep in mind. Now let’s see how to execute ADB commands over WiFi without any USB cable.

Execute ADB commands over WiFi

To set up the process, connect your device to USB. This is a one-time request only. Furthermore, you need to write down the IP Address on your Android device. If you’re on Android 9.0 Pie or later, go to Setting > Network and Internet > WIFI > Click WiFi is connected > Advanced > Notes IP address your .

However, for Android 8.0 Oreo or earlier versions, the method is slightly different. Move in Setting > About the phone > Status > IP address. Now let’s start the process of executing ADB commands over WiFi without USB cable.

  1. Go to folder Android SDK and Platform Tools. In the same directory, enter cmd in the address bar.
  2. This will open the window Command Prompt. You can also do this process in windows PowerShell . For that, inside the platform-tools folder, right click on an empty space while pressing Shift key. Now click Open PowerShell window here.
  3. If this is the first time, you will need to authorize your device to connect ADB. A dialog box will appear on your device when you connect via USB. Touch Always allow from this computer .
  4. Now enter below code to test ADB connection successfully. if you get alpha-numeric code, the device is connected successfully:
    adb devices
  5. Before entering the adb command below, make sure your device and PC are connected to the same Wi-Fi network. Now type below code:
    adb tcpip 5555
  6. Next, enter the following code to connect your device to ADB via WiFi without a USB cable.
    adb connect :5555
    For example, since my IP address is, the command in my case would be as follows. You can also see the image above for reference.
    adb connect
  7. That’s it. Now you can do any ADB command over WiFi without any USB Cable.

Things need to notice

If you connect your device via USB cable and enter adb device , you will get two device IDs. One will be in the form of an IP Address, with the suffix: 5555 (tcpip). Another would be alpha-numeric code. The latter is the result of the USB cable while the former is due to the WiFi, evident from the IP address.

If you want to remove the WiFi device ID, simply closing and reopening the command shell won’t do anything. For that you will have to kill the process. Enter below code in command prompt to remove the same:

adb kill-server

ADB Command over WiFi when device is on

Up until now we have discussed how to execute ADB commands through WiFi without any USB cable. Now let’s see some important ADB Commands that can be executed in this wireless mode.

Displays a list of all devices connected to the PC in the ADB state.

Used to restart your Android device

To reboot your device to bootloader/fastboot mode, you can use this command.

To boot your device to a custom archive or recovery like TWRP (if installed).

Another useful ADB command that can be executed over WiFi without using a USB cable. It is used to install APK to your Android device directly from PC. Just make sure to move the APk file inside the platform-tools folder before executing the below code. If the name of the file is game.apk, the command would be:

adb install game.apk

Similarly, to uninstall any APK from your Android device, enter the code below. To get the ID of any app, search for the desired app on the Play Store on the Desktop. From the address bar, copy the content next to id=. To uninstall WhatsApp, the code would be:

adb uninstall com.whatsapp

Drag a file from your device and save it on your desktop. The files will be saved to the platform-tools folder. For example, to pull video.mp4, the command would be

adb pull /sdcard/video.mp4

Used to push a file to your device from your PC. Keep the file in the platform-tools folder to push it on your device.

adb push video.mp4 /sdcard

Given above are just some adb commands. For a complete list of all such commands, see List of ADB and Fastboot Commands for Android.

With this we conclude the tutorial on how to execute ADB commands over WiFi without using a USB Cable. Let us know if you run into any issues during this process. Your views are also welcome on this rather useful trick.


We will be happy to hear your thoughts

Leave a reply

App New
Reset Password