Those of our readers who have an inclination for customizing their Android devices must have used ADB. The classic way of using ADB is by connecting the Android smartphone to the PC/laptop via a USB cable. Would you believe if we tell you that you don’t require a USB cable to connect both devices and can still use ADB.? It may sound surprising but with the all-new Android 11 USB debugging you can use Wi-Fi to bridge your Android and PC.
You need to be using the latest beta version of Android 11 on your smartphone. In this guide, I have put up the exact tools and steps that you should follow to execute wireless ADB commands. First, you should grab the respective platform tools for the OS you use. I have provided the link for the same. So, let’s get deeper into the guide.
Send ADB Commands Without USB Cable using Android 11 Wireless Debugging
First, you need to download the platform-tools. Here are the download links for the platform-tools meant for Windows OS, macOS, and Linux. These are official links from Google, so it is safe to download.
Enable Wireless Debugging on your Smartphone
Just the way we do on Android devices running on older Android OS, the same way we have to enable wireless USB debugging. Again I must tell you that this feature is available on Android 11 as of now. It will only work when there is an active Wi-Fi network available.
- Go to Settings > About Device
- Under that go to the build number. Tap on it for 7 times to activate the Developer Option.
- Skip the step above if previously you have enabled the developer option. (It is done only once for any smartphone)
- Again go to Settings > System
- You should see a tab called Developer Option.
- Inside that, there should be an option for Wireless debugging.
- Tap on the toggle beside it to enable it.
Pair the smartphone with the PC to enable Android 11 Wireless Debugging
- Now, under Wireless debugging, tap on Pair Device with pairing Code.
- Note down the IP Address and Port number of the device.
- Go to the folder where you have installed Platform Tools
- From that folder itself launch Command Prompt.
- Now, in Command prompt type the below command
adb pair ipaddr: port
- Next, you have to put up the pairing code and press Enter. You should get a message that says pairing was successful to the IP address of your device.
Now, you can easily execute various ADB commands over a Wi-Fi network without having to require a USB cable connection.
Is There Any Possibility of Security Exploits.?
If you think any other device or person may try to execute some malicious command on your PC via ADB over Wi-Fi, then stay assured. Unless until someone has access to your personal Wi-Fi network they can’t remotely execute any such command using ADB.
The port number is dynamically generated every single time the user requests a fresh pairing code. So, there should be no serious security issues if you use Android 11 wireless debugging.
So, that was all about setting up and using Android 11 wireless debugging on your Windows, macOS, and Linux systems. I hope that this guide was useful to you.
You May Like,