Git Product home page Git Product logo

how-to-set-up-and-use-adb-wirelessly's Introduction

How to set up and use ADB Wirelessly




NFO:

The standard ADB Configuration involves a USB Connection to a physical Device. If you prefer, you can switch over to TCP/IP Mode and connect ADB via WiFi instead.

Requirements:

If you don't know your Device's IP you can:

Click to expand * Check the IP in the WiFi Settings of your Device * Use ADB to discover IP (via USB): 1. Connect the device to the computer via USB 2. In a Command Line, type: ```adb shell ifconfig``` and copy your Device's IP Address

Non-rooted Device:

Note: Make sure your Device and your Computer are on the same Network

  1. Connect the Device to the Host Computer with a USB Cable
  2. Type the following Command to listen for a TCP/IP Connection on a Port (default 5555):
adb tcpip <port>

Switches to TCP/IP Mode

  1. Disconnect the USB Cable from the Device
  2. Type: adb connect <ip address>:<port>

Example:

adb tcpip 5555
adb connect 192.168.0.101:5555

Revert back to USB Debugging use the following Command:

adb usb

Rooted Device:

Note: When you have a rooted Device but don't have Access to a USB Cable

Open a Terminal App on the Device and type:

su
setprop service.adb.tcp.port <tcp port number>
start adbd

Example:

setprop service.adb.tcp.port 5555

In a Command Line on the Computer, type:

adb connect 192.168.1.2:5555

Turn it off:

setprop service.adb.tcp.port -1
stop adbd

how-to-set-up-and-use-adb-wirelessly's People

Contributors

k3v1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vaginessa emtee40

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.