Jitsumi logo Jitsumi

Android 17 Wireless Debugging: Audit Paired PCs and Trusted Wi-Fi Networks

Android 17's ADB Wi-Fi 2.0 can reconnect a paired workstation on a trusted access point. Learn how to inspect mDNS, audit saved PCs and remove stale trust without mistaking an active connection for a saved pairing.

A phone, a Wi-Fi symbol and a laptop in a row, standing for an Android phone paired with a PC over a trusted wireless network.

TL;DR

  • ADB Wi-Fi 2.0 needs both a paired workstation and a trusted wireless-debugging access point.
  • ADB 37.0.0 or later is required on the workstation; use a current stable Platform Tools release.
  • adb devices -l shows active connections, not every saved pairing.
  • Forget old workstations on the phone and revoke trust separately; disable Wireless debugging when you do not need it.

If your Android phone keeps reappearing in adb devices when you return to your home or office Wi-Fi, the important question is not just whether Wireless debugging is switched on. On Android 17, ADB Wi-Fi 2.0 can reconnect a workstation you paired earlier when the phone joins a wireless-debugging network you marked Always allow on this network.

That behaviour depends on two separate trust decisions: the phone must still recognise the workstation, and the network must be trusted for wireless debugging. To remove an old PC, open Developer options → Wireless debugging → Paired devices, select the workstation and choose Forget. If you no longer recognise any of the entries, use Revoke adb debugging authorizations to clear all previously paired workstations. Then switch Wireless debugging off if you do not need it.

Running adb kill-server on the PC is not a substitute. It stops the workstation's ADB server; it does not erase the phone's saved pairing.

Version note: checked 9 November 2026 (Singapore time). Android and Android SDK Platform Tools are versioned separately, so check the ADB binary on the workstation instead of assuming a phone update also updated ADB.

What Android 17 changed

Wireless debugging itself is older. Android 11 and later support pairing a phone with a workstation over Wi-Fi. Android 17, together with ADB 37.0.0, adds ADB Wi-Fi 2.0: a paired workstation can reconnect automatically when the phone joins a wireless-debugging network that the user has marked as trusted.

The initial pairing still matters. Google's Android Debug Bridge guide says you pair with a QR code or pairing code, and that the device stays paired until you explicitly forget the workstation or revoke ADB debugging authorizations on the phone. The trusted-network choice changes when that saved pairing can reconnect; it does not remove the need to pair the workstation.

The version boundary is worth checking:

  • Android 11–16: wireless debugging is available on phones, but the Android 17 Wi-Fi 2.0 auto-reconnect behaviour is not supported.
  • Android 17 or later: ADB Wi-Fi 2.0 is available on supported builds. Confirm the device advertises mDNS service version 2.0 or higher rather than inferring support from the OS label alone.
  • ADB 37.0.0 or later: required on the workstation for the new workflow. Google's release notes list 37.0.1 (July 2026) as a stable release and 37.0.2 (November 2026) as Canary. For routine use, install the latest stable Platform Tools through Android Studio's SDK Manager rather than switching to a Canary build just to inspect pairings. See the SDK Platform-Tools release notes.

ADB Wi-Fi 2.0 is not an open remote shell for everyone on the same network. A workstation still needs to be paired. The trusted network is an additional condition for automatic reconnection, not a replacement for the workstation's identity.

Two trust records, not one

It helps to separate the two decisions:

  1. Workstation identity: the phone has accepted a public key from a particular ADB host. The first connection requires the user to approve the computer's debugging key or complete the wireless pairing flow.
  2. Network context: the phone has been told to always allow wireless debugging on a particular Wi-Fi network. When the phone returns to that network, ADB Wi-Fi 2.0 can reconnect a workstation that is already paired.

An Android Open Source Project source snapshot from the Android 16 QPR2 branch shows the separation in code: AdbAuthorizationStore.java persists trusted ADB public keys separately from trusted Wi-Fi access points, and stores the latter by BSSID. Treat this as implementation evidence, not a guarantee that every phone maker exposes identical menus or that a multi-access-point network behaves identically. If you use a mesh or office WLAN, do not assume the SSID alone describes the trust boundary; check the phone's prompt and saved network list.

A mobile-friendly diagram showing two independent ADB Wi-Fi 2.0 checks: a paired PC with its host key saved, and a trusted Wi-Fi access point; both must pass on the Android phone for automatic reconnection.

*Wireless ADB 2.0 uses separate workstation and network trust decisions. Being on the same Wi-Fi network does not authorise every computer.*

A shared office, hotel or guest network is a poor place to enable Always allow. Keep wireless debugging on a private network you control, and pair only workstations you recognise.

Check what is connected before changing anything

Use the inspection commands below from the workstation that has the Android SDK Platform Tools installed. They do not install an app or change the phone's pairing list.

adb --version
adb server-status
adb devices -l
adb mdns track-services --proto-text

What each command tells you:

  • adb --version identifies the ADB binary that your terminal is running. If you have Android Studio and a separate Platform Tools installation, make sure you know which copy is on your PATH.
  • adb server-status reports the workstation-side server version and mDNS status. For ADB Wi-Fi 2.0, the Android guide asks for version 37.0.0 or later and mdns_enabled: true.
  • adb devices -l lists devices currently connected to that ADB server. It is a live-connection check, not a list of every workstation the phone remembers.
  • adb mdns track-services --proto-text watches for ADB services advertised on the local network. The output can include the device model, address, port and mdns_service_version. Press Ctrl+C to stop the monitor.

For a supported Android 17 device, the ADB guide says to look for mdns_service_version: "2.0" or higher in the mDNS service output. That confirms the device is advertising the newer service. It does not tell you which workstations are saved as paired; inspect Paired devices on the phone for that.

Check

What it tells you

What it does not prove

adb devices -l

Which devices are connected to this workstation's ADB server now.

That no old workstation remains paired on the phone.

adb mdns track-services --proto-text

Which ADB services are being advertised on the local network.

A complete inventory of authorised host keys.

Paired devices on the phone

Which workstation pairings the phone currently remembers.

That a listed workstation is still in your possession or under your control.

Always allow on this network

Whether this Wi-Fi network is trusted for wireless debugging.

That every computer on that network is authorised to use ADB.

If the mDNS output is empty, the network may block local discovery or multicast traffic. That is not proof that the phone has no saved pairings. Do not open old ADB ports or weaken router isolation just to make discovery work; use the phone's own pairing list to review and revoke trust.

A documentation mismatch to avoid

The current ADB troubleshooting page still contains a note about setting ADB_MDNS_OPENSCREEN=0 when the reported mDNS backend is not LIBADBMDNS. However, the Platform Tools 37.0.1 release notes say the openscreen backend was removed and that ADB_MDNS_OPENSCREEN no longer has any effect. On 37.0.1 or later, update Platform Tools first and follow the current release notes rather than copying that older workaround.

Forget one workstation or revoke them all

Do this on the phone, because the phone stores the authorisation records.

Remove one workstation

  1. Unlock the phone and open Settings.
  2. Open System → Developer options → Wireless debugging. The exact path and wording can vary by manufacturer; searching Settings for “Wireless debugging” is a useful shortcut.
  3. Open Paired devices.
  4. Find the workstation you no longer use. Check its name carefully, then tap it and choose Forget.
  5. Repeat for any other old or unfamiliar workstation.

This is the targeted choice when a laptop was replaced, a temporary development machine is no longer trusted, or you simply want to remove one entry without re-pairing every device you still use.

Clear every ADB authorisation

If a workstation is missing, you cannot identify an entry, or you want to start again from a clean list, choose Revoke adb debugging authorizations in Developer options. Google's ADB guide describes this as unpairing the selected workstation and all other previously paired workstations.

This is broader than forgetting one host. Your own development PC will need to be paired and approved again before it can use ADB. That is inconvenient, but it is the safer recovery route when you cannot tell which saved host should remain trusted.

Turn debugging off when you are finished

After removing the pairings you do not need:

  • Switch Wireless debugging off.
  • Switch USB debugging off as well if you do not use wired ADB.
  • Keep the phone's ordinary screen lock enabled.

USB debugging and Wireless debugging are separate controls. Turning one off should not be treated as proof that the other is off. Also, simply switching Wireless debugging off stops the service for now; use Forget or Revoke adb debugging authorizations when you want to remove saved trust.

If the phone still reconnects

Work through the checks in this order:

  1. Check the phone's Paired devices list again. If the old workstation is still listed, it was not forgotten. Remove it from the phone rather than repeatedly restarting ADB on the PC.
  2. Check which ADB binary is running. On Windows, where adb shows matching executables on PATH. On macOS or Linux, which -a adb lists the copies the shell can find. Android Studio may also manage its own Platform Tools installation.
  3. Stop and restart the workstation-side server only after the phone-side review. adb kill-server followed by a later ADB command starts a fresh host server, which can help clear a stale local session. It does not revoke a phone-side pairing.
  4. Treat an empty mDNS result as a discovery issue, not a trust audit. Guest Wi-Fi, client isolation and network policy can block discovery even while the phone still remembers a workstation.

Avoid the older adb tcpip 5555 workflow as a shortcut for modern Android wireless debugging. Google's guide labels the initial-USB TCP/IP procedure as the legacy option for Android 10 and lower. On supported modern phones, use the built-in Wireless debugging pairing flow and remove trust from the phone when you are finished.

Before you hand over or retire the phone

A phone that has been used for app development may remember more than one workstation. Before selling it, lending it for an extended period or handing it to another person, review the paired-device list, revoke ADB authorisations, and make sure both USB and Wireless debugging are off.

Remember what revocation cannot do: it prevents a saved host from using that authorisation in the future. It cannot undo commands that were already run or recover files that were already copied from the phone. If you suspect an unknown workstation was used, treat that as a possible device-access incident and review the phone for changes rather than assuming that revoking the key reverses past activity.

If you are preparing to wipe or replace the phone, ADB cleanup is only one part of the handover. Transfer and test your authenticator accounts before retiring the old device so you do not lock yourself out of them.

Questions readers often ask

Does turning off Wireless debugging delete paired workstations?

No. Turning it off stops wireless debugging from being used at that moment. To remove a saved workstation, choose Forget under Paired devices or use Revoke adb debugging authorizations to clear all previously paired workstations.

Can every computer on my Wi-Fi connect to ADB Wi-Fi 2.0?

No. A trusted network allows the phone to reconnect automatically to a workstation that was paired already. A new workstation still has to complete the pairing and authorisation flow.

Does adb kill-server revoke a workstation?

No. It stops the ADB server process on the development computer. The phone-side pairing remains until you forget that workstation or revoke ADB debugging authorisations on the phone.

Primary references

Subscribe

All the new articles in one Monday digest. Unsubscribe with one click.

Share this post

Newsletter

The Monday edit from Jitsumi

All the new articles, in one Monday email. Leave with one click whenever you like.