LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

adb-connect

wireless Android device connector

TLDR

Connect to a device over Wi-Fi
$ adb connect [192.168.1.100]:5555
copy
Connect using default port (5555)
$ adb connect [192.168.1.100]
copy
Connect to emulator
$ adb connect [localhost]:5554
copy

SYNOPSIS

adb connect host[:port]

DESCRIPTION

adb connect establishes a TCP/IP connection to an Android device for wireless debugging. Once connected, you can use all adb commands over the network instead of USB.Before connecting wirelessly, the device typically needs to be configured via USB first using adb tcpip 5555 to enable TCP/IP mode. Android 11+ supports direct wireless pairing without initial USB connection.

PARAMETERS

host

IP address or hostname of the Android device
port
TCP port number (default: 5555)

INSTALL

sudo apt install adb
copy
sudo dnf install android-tools
copy
sudo pacman -S android-tools
copy
sudo apk add android-tools-adb
copy
sudo zypper install android-tools
copy
nix profile install nixpkgs#android-tools
copy

CAVEATS

Both computer and device must be on the same network. The device reverts to USB mode after reboot, requiring reconfiguration. Wireless connections are less secure than USB; use only on trusted networks. Connection may be slow compared to USB.

HISTORY

Wireless ADB debugging has been available since early Android versions but required initial USB setup. Android 11 (released 2020) introduced wireless debugging with pairing codes, eliminating the USB requirement.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid