A Python CLI tool for pairing Android 11+ wireless debugging using QR codes
Project description
adb-connect-qr
Easy connection for wireless adb.
Example Session
$ adb-connect-qr
Starting ADB QR Code Pairing...
Scan this QR code in Android > Developer Options > Wireless Debugging > Pair device with QR code
Service Name: adb-cli-faXn2w
Password: Qp3hUJ
█▀▀▀▀▀█ █ ▄▀███ ▄▀▀█ █▀▀▀▀▀█
█ ███ █ ▄█▀▀ █▀▀▀ ▀ ▀ █ ███ █
█ ▀▀▀ █ ▀█▄▀ ▀ ▀█▄ █ ▀▀▀ █
▀▀▀▀▀▀▀ █▄▀▄▀ ▀ █▄▀ ▀ ▀▀▀▀▀▀▀
█ ██ ▀▀▀ ▄█ ██ ▄▄██▄ █ ▄▀▄█▀
▄▀▄▄▀▀▀▀▄ █▄▄▀ ▄ ▀▄ ▀ ▀█▀▀
▄▄▀▄▄▀▀▄▀▀█▄ █▄▄███ ▄▀▀▀▀
█ ▀▀▀▀▄ ▄▄▄█▀▄ ▀▄▀▄ ▀▀▀█▀▀▀
▀█▄▀█▀█▄ ▀ █▄█ █▀█▀ ▀▀▀ █
▀ ▄ ██▀█ ▄█▀▀██▀ █▄▄█ ▄ ▄▄▄
▀▀▀ ▀▀ █ █▀▀▀▀ ▄█ ▀█▀▀▀█ █▀▀
█▀▀▀▀▀█ ███ ▄█ █ ▄▀█ ▀ █ ▀
█ ███ █ ▄█▀▄ ▀█▄▄▄██▀█▀ ▄ ▄
█ ▀▀▀ █ ▀▀██ ▀▄ ▀ ▄ █▄ ▀▄▄ ▄▀
▀▀▀▀▀▀▀ ▀ ▀▀ ▀▀▀▀ ▀ ▀ ▀▀
Waiting for device to scan QR code (timeout 60s)...
Device found at 192.168.1.39:37479. Initiating pairing...
Running: adb pair 192.168.1.39:37479 Qp3hUJ
Successfully paired to 192.168.1.39:37479 [guid=adb-57161FDCG001PE-HgzRvA]
Pairing successful! Waiting for connection service...
Running: adb connect 192.168.1.39:42865
connected to 192.168.1.39:42865
Successfully paired and connected!
Setup Instructions
Prerequisites
- Python 3.8+
adbinstalled and available on your system PATH.
Installation
You can install this tool directly from PyPI:
pip install adb-connect-qr
Usage
Simply run the command in your terminal:
adb-connect-qr
Then go to your Android device:
- Open Settings > Developer Options > Wireless Debugging.
- Tap Pair device with QR code.
- Scan the QR code displayed in your terminal.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adb_connect_qr-0.1.1.tar.gz.
File metadata
- Download URL: adb_connect_qr-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac50ef2b008759535c2004e41590fb03719fefda903a629c43fd2d22b8ffa0e6
|
|
| MD5 |
195d456a19220b0c5abac5ce23873499
|
|
| BLAKE2b-256 |
4df5d67268fa2073c2d5af759c8dc4830e0823d1b84ae0cf108aaa0ef0e7dd56
|
Provenance
The following attestation bundles were made for adb_connect_qr-0.1.1.tar.gz:
Publisher:
publish.yml on adamoutler/adb-connect-qr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adb_connect_qr-0.1.1.tar.gz -
Subject digest:
ac50ef2b008759535c2004e41590fb03719fefda903a629c43fd2d22b8ffa0e6 - Sigstore transparency entry: 1247893880
- Sigstore integration time:
-
Permalink:
adamoutler/adb-connect-qr@9901bc14e38ae3a3e21414cace201fcc1a7292a6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/adamoutler
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9901bc14e38ae3a3e21414cace201fcc1a7292a6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file adb_connect_qr-0.1.1-py3-none-any.whl.
File metadata
- Download URL: adb_connect_qr-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9043c6edf3b247072b3298fcf18bde5b9760f5e64b7e04b86ebe64f89388c730
|
|
| MD5 |
f1f2ecdeb5692ab9ef4f416ac00128f8
|
|
| BLAKE2b-256 |
fb875c049a9e392247999a9d1d4bd1971f81f81943df65f863f5daf1527fbb2a
|
Provenance
The following attestation bundles were made for adb_connect_qr-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on adamoutler/adb-connect-qr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adb_connect_qr-0.1.1-py3-none-any.whl -
Subject digest:
9043c6edf3b247072b3298fcf18bde5b9760f5e64b7e04b86ebe64f89388c730 - Sigstore transparency entry: 1247894018
- Sigstore integration time:
-
Permalink:
adamoutler/adb-connect-qr@9901bc14e38ae3a3e21414cace201fcc1a7292a6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/adamoutler
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@9901bc14e38ae3a3e21414cace201fcc1a7292a6 -
Trigger Event:
release
-
Statement type: