USB is faster and charges the phone. Wi-Fi is easier to route. Here is how to choose, and how to fix the usual connection problems.
Use USB for a permanent desk panel. It has lower latency, it charges the phone, and it does not depend on the Wi-Fi network. Use Wi-Fi when the phone is mounted away from the PC, when a cable is impractical, or when you want to move the phone around the room.
Pros: the lowest latency for buttons and macros, continuous charging, no network configuration, and a connection that survives Wi-Fi changes. Cons: a cable across the desk, USB debugging must stay enabled, and some cables are charge-only.
To set it up, enable Developer options → USB debugging on the phone, connect a data cable, and accept the authorisation prompt. The agent uses adb reverse to reach a loopback port, so the traffic stays on the cable. If the phone is not detected, try another cable before changing any settings; charge-only cables are the most common cause.
Pros: no cable, easier placement, and the phone can move around the room. Cons: slightly higher latency, battery drain, and dependence on the access point. Pairing uses a QR code and a pinned HTTPS connection on port 8766; you do not need developer options for Wi-Fi-only use.
For a permanent panel, keep the phone on power, use 5 GHz where possible, disable battery optimisation for the PhoneBox app, and make sure the phone and PC are on the same network. If you use VLANs or guest Wi-Fi, allow the phone to reach the PC’s port.
| USB | Wi-Fi | |
|---|---|---|
| Latency | Lowest | Low to medium, depends on the network |
| Charging | Yes | No; use a charger |
| Cable | Data cable required | None |
| Developer options | USB debugging required | Not required for Wi-Fi-only pairing |
| Network dependence | None | Same LAN; 5 GHz recommended |
| Best for | Permanent desk panel, control deck | Wall panel, portable setup, difficult cable runs |