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.
- USB Driver for your Device or Universal ADB Driver
- Platform-Tools or ADB & Fastboot++
- Termux or Terminal Emulator for Android
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 AddressNote: Make sure your Device and your Computer are on the same Network
- Connect the Device to the Host Computer with a USB Cable
- Type the following Command to listen for a TCP/IP Connection on a Port (default 5555):
adb tcpip <port>
Switches to TCP/IP Mode
- Disconnect the USB Cable from the Device
- Type: adb connect
<ip address>:<port>
adb tcpip 5555
adb connect 192.168.0.101:5555
adb usb
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
setprop service.adb.tcp.port 5555
In a Command Line on the Computer, type:
adb connect 192.168.1.2:5555
setprop service.adb.tcp.port -1
stop adbd