adb pair <ip>:<port> [pairing_code]
Pair wireless debugging (Android 11+)
Pairs a computer with an Android 11+ device using TLS authentication and a 6-digit one-time pairing code from Developer Options.
adb pair <host>:<port> [code]This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:
<host>Device IP Address or HostnameThe local Wi-Fi IPv4 address or hostname assigned to the Android device on your local network.
adb connect 192.168.1.105:5555<port>Network Port NumberThe TCP network port number used for ADB daemon communication over Wi-Fi or USB forwarding.
adb tcpip 5555 (or: adb connect 192.168.1.50:5555)[code]CODE ParameterReplace this placeholder with your specific code value.
adb pair <host>:<port> your-code<ip>IP ParameterReplace this placeholder with your specific ip value.
adb pair <host>:<port> [code][pairing_code]PAIRING CODE ParameterReplace this placeholder with your specific pairing code value.
adb pair <host>:<port> [code]adb pair 192.168.1.105:37129 849201adb pair 192.168.1.105:41255| Flag / Parameter | Description |
|---|---|
| [code] | 6-digit Wi-Fi pairing code displayed on Android screen. Prompts if omitted. |
- Android 11 or higher
- Wireless debugging enabled
- Same local network
adb pair <ip>:<port> [pairing_code]?Submit a correction or request additional examples on GitHub.
Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.