Setting up a wireless ADB connection with Android over WiFi

HomeOther ContentSetting up a wireless ADB connection with Android over WiFi
Setting up a wireless ADB connection with Android over WiFi
Setting up a wireless ADB connection with Android over WiFi
Instead of using USB cable, we can set up ADB connection with Android via WiFi with wireless debugging function.

Hi! Don't forget to like the video, subscribe to the channel and hit the /"Thanks/" button on this video, if you can, and join our channel community here – https:// www.youtube.com/channel/UCnowc_KHgjVNj3Y-E-oQ8aw/join

video description

Today I want to show you how to establish an ADB connection with your smartphone or tablet without having to use a USB cable.

#android #googlepixel #samsunggalaxy

Most people will choose to connect a USB cable to their Android device when they want to do something with ADB. In some cases this is the best solution because most of the time it gives you a faster connection. But sometimes using a USB cable is not possible.

Maybe your USB cable recently broke and you don't have another one on hand.
Or maybe you're having problems with a USB port on your computer.
There may also be cases where a wireless connection is simply more convenient.

Whatever your reasons, we're able to set this up on any smartphone or tablet running Android 11 or later.
To begin, we need to enable what is commonly known as developer mode.

If this is something you're unfamiliar with, be sure to check out the video description below for links to dedicated videos I've already made that show you all the steps involved.

Once Developer Mode is enabled, we can look for the newly revealed Developer Options menu from the Settings app.

Now we just need to scroll down a bit until you get to the Debugging section. It should be near the top and shouldn't take much scrolling to find it.

Usually, when we want to run ADB commands on our device, we need to enable the USB debugging option because we make this connection through a USB cable.

But if you plan to use wireless debugging, this toggle doesn't need to be enabled at all.

Instead, we want to enable the toggle labeled Wireless Debugging, which should appear under the usual USB Debugging option.

Once this feature is enabled, we then need to tap on the option name to be able to access the details area.
If this is your first time using the wireless debugging feature, you won't see anything in this Paired Devices section.

And to continue, we need to pair our devices first.
So tap on the Pair device with pairing code option and it will give us some details.

Now let's turn our attention to the PC and open a command prompt, Windows PowerShell, or terminal window in the same folder as our ADB and Fastboot tools. If you haven't yet installed the ADB and Fastboot tools, I'll include a link to a dedicated tutorial I made in the video description below that will show you how to set it up.

We need to write down the IP address here and the port number next to it.

In this command prompt, we will type the command. . .

adb ip:port pair

When we press Enter on the keyboard, it will ask us for the pairing code.
This is where we enter the pairing code that appears on our Android smartphone or tablet.

As long as we get a "Pairing Successful" message here, that means we've set this part up correctly.

Once we have paired our two devices, we can then establish the wireless debugging connection via WiFi.
So let's look at our phone again and again, we need to note down the IP address and port number that we see here on this page.

With this information, let's go back to our Command Prompt window and make this ADB connection over WiFi.

We do this by typing the command. . .

adb connect ip:port

And then press Enter on the keyboard.
If we don't see any error messages here, it means the connection is successful.
Once this connection is established, we will also receive a notification about it on our device.

From here we can access an ADB shell or run any other ADB command that we would normally do via a USB cable.

I hope this has helped anyone who has already seen the wireless debugging feature and is wondering how it could be used.

Links mentioned

ADB and Fastboot tools – https://www.youtube.com/watch?vic5HIG4r8cE
Samsung Galaxy Developer Mode – https://www.youtube.com/watch?vTFlHeaEhJME
Google Pixel Developer Mode – https://www.youtube.com/watch?vuwR2HIstT-c
Xiaomi MIUI Developer Mode – https://www.youtube.com/watch?v2AHZH2tfGEU

Step by step tutorial

1. Introduction [00:00]
2.

As an Amazon Associate, I may earn commission on sales from the links below.

The equipment I use

5W charger /"Slow/" – https://amzn.to/2OaUMV8
Fast charger – https://amzn.to/3rtBsC6
microUSB cable – https://amzn.to/38dkpeM
USB-C cable – https://amzn.to/2OqlTvi
TPU Cases – https://amzn.to/38g9b9w
USB-C to 3.5mm dongle – https://amzn.to/3rVt7c3
USB-C to 3.5mm DAC – https://amzn.to/3CyksSJ
NVIDIA Shield TV – https://bit.ly/3KA17RV

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *