ADB or Android Debugging Bridge is one of the most potent command-line tools for Android devices. ADB grants a solid connection between your Android device and PC. With this, you can perform various activities like sideloading OTA, custom recovery, among others. A USB cable is what you need to perform such activities. Without it, ADB commands won’t function like a champ. But that’s a traditional way. Another way to do this is with the help of a WiFi connection. You need a stable WiFi connection, your computer or laptop, a USB cable, and your Android device.
Below-listed is a step-by-step guide to bring about ADB commands over the WiFi network. Please stick to this process for successful implementation.
Step 1: Download and install the Android SDK platform-tools on your desktop.
Step 2: Connect your Android device to your PC/laptop through a USB cable. Make sure you’ve enabled ‘USB Debugging’.
Step 3: Based on the operating system, open ‘Command Prompt’ on Windows or ‘Terminal’ on Linux and type away ‘ADB devices’. A list of devices connected to your PC/laptop will appear in front of you. Before you ask, alphanumeric codes speak for your device.
Step 4: Type ‘adb tcpip 5555’ if a single device is connected, and ‘adb –s <device_ID> tcpip 5555’ if multiple devices are connected.
Step 5: Detach the USB cable and go to ‘Device Settings’. To find the IP address, visit Settings > Network and Internet > WiFi > Tap on the connected WiFi > Advanced > Note your IP Address.
Step 6: Turn back to ‘Command Prompt’ or ‘Terminal’ and type ‘adb connect <Device IP>:5555’.
Congrats! You can now do ADB commands over WiFi on your Android device!
What all should you remember while connecting ADB via WiFi?
The above steps are easy to perform, but some people may complicate things by ignoring a few pointers. Firstly, make sure that your Android device and PC/laptop are connected on the same WiFi network. In case you change it, you have to replace the ‘Device IP’ with your Android device’s new IP address on the new WiFi network. Secondly, if you restart your smartphone in the middle of the steps, you have to perform the entire process again, as the service will be interrupted.
To sum it up…
Performing ADB commands over WiFi can be a cakewalk if you follow the above-listed steps. It is tried and tested to give you perfect results.