easyadb-0.1.0 is not a library.
easyadb
Pair an Android device for wireless ADB by scanning a QR code in your terminal.
easyadb shows a pairing QR, waits for the phone to scan it, then runs adb pair and adb connect and checks that the device is online.
Requirements
- Android 11+ with Developer options and Wireless debugging
- Phone and computer on the same network
- Platform-Tools with
adbonPATH(or pass--adb <path>/ setEASYADB_ADB)
Install
Usage
On the phone, go to Developer options → Wireless debugging → Pair device with QR code and scan the terminal. The QR expires after three minutes.
| Key | Action |
|---|---|
r |
New QR |
↑/↓, k/j |
Select a nearby device |
Enter |
Connect the selected (already paired) device |
? |
Help |
q, Ctrl+C |
Quit |
If mDNS discovery is blocked on your network, pair with a code instead:
The pairing port is shown in the pairing-code dialog; the connection port is on the Wireless debugging page. They differ.
Other commands:
Notes
- Cryptography and host-key storage are handled by
adb. Pairing secrets are passed over stdin and are not stored. - Only the device that scanned the current QR is connected automatically.
- QR expiry does not revoke an existing pairing. Remove it on the phone under Wireless debugging → Paired devices.
License
MIT