Skip to main content

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+
  • adb installed 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:

  1. Open Settings > Developer Options > Wireless Debugging.
  2. Tap Pair device with QR code.
  3. 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

adb_connect_qr-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adb_connect_qr-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for adb_connect_qr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ac50ef2b008759535c2004e41590fb03719fefda903a629c43fd2d22b8ffa0e6
MD5 195d456a19220b0c5abac5ce23873499
BLAKE2b-256 4df5d67268fa2073c2d5af759c8dc4830e0823d1b84ae0cf108aaa0ef0e7dd56

See more details on using hashes here.

Provenance

The following attestation bundles were made for adb_connect_qr-0.1.1.tar.gz:

Publisher: publish.yml on adamoutler/adb-connect-qr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for adb_connect_qr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9043c6edf3b247072b3298fcf18bde5b9760f5e64b7e04b86ebe64f89388c730
MD5 f1f2ecdeb5692ab9ef4f416ac00128f8
BLAKE2b-256 fb875c049a9e392247999a9d1d4bd1971f81f81943df65f863f5daf1527fbb2a

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page