Friday, 17 March 2017

How to connect android debug bridge over WiFi

Hello Guys,
In this post, we will see how to connect android debug bridge over WiFi. Basically, this method can be used in non-rooted android devices too. We will be needing an USB cable for the first-time setup, then rest all debugging can be done over WiFi. ADB can be used for deploying apps directly from the Android Studio, or we can also use it for flashing ROMs, recoveries, and Kernels.

For Detailed Information, have a look at this video


Procedure:

  1. Download the minimalistic ADB kit from here.
  2. Install it, then check it by typing either one of the bellows in the command prompt.
    adb or fastboot
  3. Connect your mobile to laptop and allow USB Debugging.
  4. In Command prompt, type the bellow set of commands
    adb tcpip 5555
    
    ##To find the mobile ip type:
    adb shell ip -f inet addr show wlan0
    
    ##The ip address will be shown in second line like this:
    ##inet 192.168.1.233/24 brd 192.168.1.255 scope global wlan0
    ##where 192.168.1.233 is the ip address of your mobile.
    
    ##Remove USB cable and type:
    adb connect mobile-ip:5555
    

Now your android mobile is connected in ADB through WiFi.
Enjoyed reading this post, make a little time for sharing the post, with your friends, and help us grow!

0 comments:

Post a Comment