# Adb Wireless

> Connect to an Android phone via wireless ADB over Wi-Fi

- Skill: `archibate/adb-wireless` (Agent Skill)
- Install (CLI): `npx skillmds@latest add archibate/adb-wireless`
- Raw SKILL.md: https://api.skillmd.com/api/skills/archibate/adb-wireless/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: archibate (https://skillmd.com/u/archibate)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/archibate/adb-wireless

---


# Wireless ADB Setup

Connect to an Android phone via ADB over Wi-Fi, eliminating the need for a USB cable after initial setup.

## Goal

Establish a working wireless ADB connection. Success: `adb devices` shows a connection with an IP:port entry.

## Steps

### 1. Check existing connections

Run `adb devices` and inspect the output:

- If a wireless connection (IP:port) is already listed → inform the user nothing needs to be done, skill is complete.
- If a USB device is listed → proceed to step 2.
- If no device is listed → ask the user to plug in a USB cable. Wireless setup requires an initial USB connection.

### 2. Query the phone's IP address

Run:
```
adb shell sh -c "ip a | grep 192.168"
```
Parse the output to extract the phone's IP (e.g. `192.168.71.6` from `inet 192.168.71.6/24 ...`).

**Artifacts**: The phone's Wi-Fi IP address.

### 3. Enable TCP/IP mode and connect

Run these two commands:
```
adb tcpip 5555
adb connect <phone_ip>
```
Replace `<phone_ip>` with the IP from step 2.

### 4. Verify and inform

Run `adb devices` to confirm the wireless connection appears. Tell the user they can now disconnect the USB cable and use `adb shell` to connect over Wi-Fi.

