Skip to content

Latest commit

ย 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšก WirelessADB

  โ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—     โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—     โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— 
  โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•    โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—
  โ–ˆโ–ˆโ•‘ โ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•  โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•”โ•โ•โ•  โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—
  โ•šโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
   โ•šโ•โ•โ•โ•šโ•โ•โ• โ•šโ•โ•โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•    โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ• 

The Next-Gen Wireless Android Debugging, Telemetry & Device Management Suite

Cut the cables. Stay secure. Debug at lightspeed. ๐Ÿš€๐Ÿ”ฅ

GitHub Stars License: MIT Python: 3.7+ Platform Zero-Dependency Version: v4.0.0

Key Features โ€ข Quick Install โ€ข Interactive TUI โ€ข Architecture โ€ข Command Reference โ€ข Guides


๐Ÿ’ก Why WirelessADB?

Vanilla adb tcpip 5555 is painful, slow, and insecure:

  • ๐Ÿ’€ Fixed Port 5555: A massive neon sign for LAN port scanners and malware.
  • ๐Ÿ”Œ Tethered Hell: Endless plugging/unplugging cables just to fetch your IP.
  • ๐Ÿ‘ป Ghost Disconnects: Wi-Fi blips kill your session with zero auto-recovery.
  • ๐Ÿ’ค Zero Telemetry: No clue about battery percentage, network latency, or link speed.
  • ๐ŸŒ Fragmented Workflow: Separate ad-hoc commands for screenshots, screen recording, file transfers, and app debugging.

๐Ÿ”ฅ Enter WirelessADB v4.0

WirelessADB transforms ADB into a high-octane, interactive developer console. It automates random high-port negotiation (30000โ€“50000), enables Android 11+ zero-wire Wi-Fi pairing, captures HD screenshots & screen records, pushes/pulls files, streams live logcat, monitors real-time telemetry, launches 60 FPS scrcpy mirroring in 1 keystroke, and auto-heals dropped connections in the background.


โšก Comparison: Vanilla ADB vs WirelessADB

Feature ๐Ÿšซ Vanilla adb โšก WirelessADB Suite v4.0
Port Security Hardcoded 5555 (Known CVE target) Dynamic High-Port (30000โ€“50000) ๐Ÿ›ก๏ธ
Android 11+ Zero-Cable Pairing Manual multi-step PIN CLI One-Step Guided Wizard (pair) ๐Ÿ“ฑ
Interactive Terminal Menu โŒ None Full Cyberpunk TUI Dashboard (menu) ๐ŸŽจ
Auto-Reconnect Watcher โŒ Manual retry Background Daemon Auto-Heal (watch) ๐Ÿ”„
Device Screenshot Capture Complex raw pipe syntax One-Click Instant PNG (screenshot) ๐Ÿ“ธ
Screen Video Recording Manual timeout flags & pulling Automated Screen Record (record) ๐ŸŽฅ
Fast File Transfer Verbose paths Streamlined Push & Pull (push/pull) ๐Ÿ“‚
App Management Raw pm shell syntax Categorized Package Lister (apps) ๐Ÿ“ฑ
Live Logcat Streaming Unfiltered dump Filtered Real-time Logcat (logcat) ๐Ÿ“‹
Live Battery & Thermal Meters โŒ None Real-time % / State / Temp HUD ๐Ÿ”‹
Network Latency & Signal RSSI โŒ None Live Ping (ms) & Subnet Guard ๐Ÿ“ถ
One-Click Screen Mirror โŒ Manual scrcpy flags Optimized 60 FPS Screen Mirror (mirror) ๐Ÿ–ฅ๏ธ
Device Aliases & Favorites โŒ None Named Device Profiles (favorites) โญ
Device Reboot Manager Raw flags Interactive Bootloader / Recovery (reboot) ๐Ÿ”„
Zero Dependencies N/A 100% Pure Python Standard Library ๐Ÿ“ฆ

๐Ÿš€ One-Line Install

๐ŸชŸ Windows (PowerShell โ€” Recommended)

iex (irm https://raw.githubusercontent.com/taezeem14/WirelessADB/main/install.ps1)

Or using the pipeline syntax:

irm https://raw.githubusercontent.com/taezeem14/WirelessADB/main/install.ps1 | iex

Or in Command Prompt (CMD):

curl -fsSL https://raw.githubusercontent.com/taezeem14/WirelessADB/main/install_windows.bat -o install.bat && install.bat

๐Ÿง Linux (Bash / Zsh)

curl -fsSL https://raw.githubusercontent.com/taezeem14/WirelessADB/main/install_linux.sh | bash

๐Ÿ macOS (Homebrew / Terminal)

curl -fsSL https://raw.githubusercontent.com/taezeem14/WirelessADB/main/install_macos.sh | bash

๐Ÿ Pip / Pipx

pip install git+https://github.com/taezeem14/WirelessADB.git

๐ŸŽฎ Interactive TUI & CLI Showcase

Launch the interactive control center anytime by simply typing:

wireless-adb
# or using the ultra-fast alias:
wadb
โ•ญโ”€ โšก WIRELESS ADB CONTROL CENTER โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ Status: 1 Wireless | 0 USB                                  โ”‚
โ”‚                                                             โ”‚
โ”‚   [1] โšก Connect USB Device to Wireless (Auto High-Port)     โ”‚
โ”‚   [2] ๐Ÿ“ฑ Pair via Android 11+ Wi-Fi (No Cable Needed)       โ”‚
โ”‚   [3] ๐Ÿ“Š Live Status Dashboard & Latency HUD                โ”‚
โ”‚   [4] ๐Ÿ”„ Quick Reconnect to Last Device                     โ”‚
โ”‚   [5] ๐Ÿ” Deep Device Telemetry (Battery, CPU, Wi-Fi)        โ”‚
โ”‚   [6] ๐Ÿ“ธ Capture Device Screenshot                          โ”‚
โ”‚   [7] ๐ŸŽฅ Record Device Screen Video                         โ”‚
โ”‚   [8] ๐Ÿš€ Launch scrcpy 60FPS Screen Mirror                  โ”‚
โ”‚   [9] ๐Ÿ’ป Open Wireless Terminal Shell                       โ”‚
โ”‚   [A] ๐Ÿ“ฆ Install APK Wireless                               โ”‚
โ”‚   [B] ๐Ÿ“‚ Push / Pull File Transfer                          โ”‚
โ”‚   [C] ๐Ÿ“ฑ List Installed Apps & Packages                     โ”‚
โ”‚   [D] ๐Ÿ“‹ Live Logcat Streamer                               โ”‚
โ”‚   [E] ๐Ÿ“ก Scan Network for ADB Devices                       โ”‚
โ”‚   [F] โญ Manage Device Favorites & Aliases                  โ”‚
โ”‚   [G] ๐Ÿ”„ Reboot Device (System / Bootloader / Recovery)     โ”‚
โ”‚   [H] ๐Ÿฉบ Run Doctor Health Diagnostics                      โ”‚
โ”‚   [0] ๐Ÿ”Œ Disconnect & Clean Up All Sessions                 โ”‚
โ”‚   [q] ๐Ÿšช Quit                                               โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿ—๏ธ System Architecture

graph TD
    subgraph Host ["๐Ÿ’ป Developer Workstation"]
        CLI["โšก WirelessADB Core Engine (CLI/TUI)"]
        CONF[("๐Ÿ“ ~/.wireless_adb/profiles.json")]
        WATCH["๐Ÿ‘๏ธ Watcher Daemon (Auto-Heal & PID Guard)"]
        SCRCPY["๐Ÿš€ scrcpy 60FPS Video Engine"]
        MEDIA["๐Ÿ“ธ Media & File Transfer Layer"]
        ADBC["ADB Client / Server"]
    end

    subgraph Transport ["๐Ÿ›ก๏ธ Security & Transport Layer"]
        USB["๐Ÿ”Œ USB Physical Bridge (Initial Auth)"]
        WIFI["๐Ÿ“ก Wi-Fi 802.11ax / 5GHz (TCP/IP High Port)"]
        MDNS["๐Ÿ” mDNS Zeroconf Discovery"]
    end

    subgraph Target ["๐Ÿ“ฑ Android Target Device"]
        ADBD["adbd (Daemon Service)"]
        PROP["System Telemetry (Battery / WiFi / Thermal)"]
        A11["Android 11+ Pairing Manager"]
        MEDIA_SVC["Screencap & Screenrecord API"]
    end

    CLI -->|Read/Write| CONF
    CLI -->|Manage Sessions| ADBC
    WATCH -->|Heartbeat Ping| ADBC
    CLI -->|Stream Mirror| SCRCPY
    CLI -->|Capture Media| MEDIA
    MEDIA --> ADBC
    
    ADBC -->|Initial Handshake| USB
    ADBC -->|High-Port 30000-50000| WIFI
    ADBC -->|Zero-Wire Pair PIN| MDNS

    USB --> ADBD
    WIFI --> ADBD
    MDNS --> A11
    ADBD --> PROP
    ADBD --> MEDIA_SVC
Loading

๐Ÿ”„ Connection Workflows

1. Standard USB-to-Wireless Auto-Handshake

sequenceDiagram
    autonumber
    actor Dev as ๐Ÿ‘จโ€๐Ÿ’ป Developer
    participant WADB as โšก WirelessADB
    participant Host as ๐Ÿ’ป ADB Host
    participant Phone as ๐Ÿ“ฑ Android Device

    Dev->>WADB: Runs 'wireless-adb connect'
    WADB->>Host: Query USB devices ('adb devices -l')
    Host-->>WADB: Returns Serial & Model Name
    WADB->>Phone: Probe Wi-Fi IP ('ip addr show wlan0')
    Phone-->>WADB: 192.168.1.145
    WADB->>WADB: Verify available port (e.g. 43891)
    WADB->>Phone: 'adb tcpip 43891'
    Phone-->>WADB: TCP/IP Port Opened
    WADB->>Host: 'adb connect 192.168.1.145:43891'
    Host-->>WADB: Handshake Connected!
    WADB->>Dev: ๐ŸŽ‰ "Unplug USB Cable! Device is Wireless"
Loading

2. Android 11+ Zero-Cable Wi-Fi Pairing

sequenceDiagram
    autonumber
    actor Dev as ๐Ÿ‘จโ€๐Ÿ’ป Developer
    participant Phone as ๐Ÿ“ฑ Android (Dev Options)
    participant WADB as โšก WirelessADB

    Dev->>Phone: Enable "Wireless Debugging" -> "Pair with code"
    Phone-->>Dev: Displays 192.168.1.145:37281 & PIN: 849201
    Dev->>WADB: 'wireless-adb pair'
    WADB->>Phone: 'adb pair 192.168.1.145:37281 849201'
    Phone-->>WADB: Handshake authenticated & RSA key stored
    WADB->>Phone: 'adb connect 192.168.1.145:PORT'
    WADB->>Dev: โœจ Zero-Wire Wireless Session Live!
Loading

๐Ÿ“‹ Command Matrix

Command Shorthand Description
wireless-adb wadb Launch full interactive TUI Control Center.
wireless-adb connect wadb connect Switch USB device to secure high-port wireless mode.
wireless-adb pair wadb pair Android 11+ zero-wire Wi-Fi pairing wizard.
wireless-adb status wadb status Live dashboard with latency pings and battery meters.
wireless-adb reconnect wadb reconnect Reconnect instantly to last known device or alias.
wireless-adb screenshot wadb screenshot Capture HD device screenshot (-o <path>).
wireless-adb record wadb record Record screen video (--time <sec> -o <path>).
wireless-adb push <src> <dst> wadb push Push local file or folder to device.
wireless-adb pull <src> [dst] wadb pull Pull file or folder from device to host.
wireless-adb apps wadb apps List installed applications (--system, --filter <kw>).
wireless-adb logcat wadb logcat Stream live device logs (--tag <name>, -o <file>).
wireless-adb reboot wadb reboot Reboot device (--bootloader, --recovery).
wireless-adb favorites wadb favorites Manage device profiles, aliases, and saved targets.
wireless-adb info wadb info Deep device telemetry (RAM, CPU ABI, battery %, WiFi RSSI).
wireless-adb mirror wadb mirror Instant 60 FPS low-latency screen mirror via scrcpy.
wireless-adb shell wadb shell Direct interactive wireless terminal shell.
wireless-adb install <apk> wadb install Wireless fast APK installer.
wireless-adb scan wadb scan Scan local subnet and mDNS for active ADB endpoints.
wireless-adb watch wadb watch Run auto-reconnection daemon for dropped Wi-Fi sessions.
wireless-adb doctor wadb doctor Pre-flight diagnostics (ADB, Python, PATH, permissions).
wireless-adb disconnect wadb disconnect Disconnect all wireless sessions and reset to USB mode.

๐Ÿ”’ Security-First Architecture

Wireless ADB inherently exposes a shell port over your local Wi-Fi. WirelessADB implements defense-in-depth:

 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
  โ”‚               WIRELESSADB SECURITY SHIELD                   โ”‚
  โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
  โ”‚  ๐Ÿ›ก๏ธ Dynamic Port Obfuscation : Random 30000-50000 range      โ”‚
  โ”‚  ๐Ÿ›ก๏ธ Subnet Isolation Guard  : Detects cross-VLAN leaks      โ”‚
  โ”‚  ๐Ÿ›ก๏ธ Zero-Residual Disconnect: Hard TCP reset to USB-only     โ”‚
  โ”‚  ๐Ÿ›ก๏ธ Ephemeral RSA Pairing   : Full Android 11 TLS crypt     โ”‚
  โ”‚  ๐Ÿ›ก๏ธ Singleton PID Lock      : Prevents daemon collisions    โ”‚
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  1. Port Obfuscation: Eliminates default port 5555, preventing automated mass-scanners on coffee shop / office Wi-Fi from detecting your device.
  2. Subnet Verification: Checks host IPv4 and device IPv4 masks to warn if your device is inadvertently exposed to an unexpected subnet or public interface.
  3. Clean Teardown: wireless-adb disconnect resets the phone's daemon back to USB-only mode, closing any listening TCP sockets.

๐Ÿ“š Documentation & Guides


๐Ÿงช Developer Recipes

โš›๏ธ React Native & Expo

# Connect wirelessly, then start Metro bundler
wireless-adb connect
npx react-native run-android

๐Ÿ’™ Flutter

wireless-adb connect
flutter devices
flutter run

๐Ÿ“ฑ Android Studio

Once connected with wireless-adb connect, Android Studio will instantly detect your device in the Running Devices / Target Device dropdown!


๐Ÿค Contributing

Contributions make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/EpicFeature)
  3. Commit your Changes (git commit -m 'feat: Add EpicFeature')
  4. Push to the Branch (git push origin feature/EpicFeature)
  5. Open a Pull Request

๐Ÿ“œ License & Credits

Distributed under the MIT License. See LICENSE for more information.

Crafted with โค๏ธ by Muhammad Taezeem Tariq.
If you like this project, please consider giving it a โญ on GitHub!

About

Wireless ADB For Devices Below Android 11.

Resources

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages