Skip to content

Phone not showing up in adb devices? Fixes for unauthorized, offline and missing phones

November 28, 202611 min read

In short

A phone missing from adb devices usually has USB debugging off, a cable that only charges, the wrong USB mode or, on Windows, no driver. A phone listed as unauthorized is waiting for you to accept the computer on its screen, and one listed as offline needs reconnecting or an adb server restart. Phones that keep dropping off a hub need a sound cable, a powered port and a computer that never sleeps.

You can almost always bring a missing phone back, and the word ADB prints next to its serial tells you where to look. When ADB lists a device as unauthorized, the phone has seen the computer but nobody has said yes on the phone's own screen. When it says offline, the link exists but has stalled, so reconnect it or restart the server. When the phone is not listed at all, suspect USB debugging, the cable, the USB mode and, on Windows, the driver, roughly in that order.

This fix list is written for a desk of many phones and ends with a checklist. It is published by Phemya, desktop software for Mac and Windows that runs many real Android phones from one computer through USB debugging, the connection every ADB tool uses.

First, read what adb devices reports

Open Terminal on a Mac, or PowerShell on Windows, and list the phones. The -l flag adds each phone's product and model name.

adb devices -l
List of devices attached
R58N12ABCDE    device         product:xxxx model:xxxx device:xxxx transport_id:1
R58N12FGHIJ    unauthorized   transport_id:2
R58N12KLMNO    offline        transport_id:3
What adb devices showsWhat it meansWhere to go
deviceConnected, trusted and readyNothing to fix
unauthorizedThe phone sees the computer but has not accepted its keyThe prompt fixes below
offlineA connection exists, but ADB gets no answerThe offline fixes below
authorizing or connectingThe two sides are still talkingWait a few seconds and run it again
Not listed at allThe computer sees no ADB connection from that phoneThe missing-phone fixes below

How to fix an adb device unauthorized state

Every Android phone asks before it trusts a computer, and the question only appears on a phone that is awake and past its lock screen. Work down this list and run adb devices after each step.

  1. Wake the phone and get past the lock screen. Look for the "Allow USB debugging?" prompt, check "Always allow from this computer" and tap Allow. Left unchecked, the phone asks again the next time it connects.
  2. No prompt? Replug the cable. Unplug the phone, wait five seconds, plug it back in and watch its screen.
  3. Still nothing? Toggle USB debugging. In Developer options, turn USB debugging off and on again, then replug.
  4. Clear the phone's trusted computers. In Developer options, tap Revoke USB debugging authorizations, confirm, replug and accept the new prompt. The phone forgets every computer it trusted, so do this only on the phone with the problem.
  5. Reset the computer's key, as a last resort. If phones stay unauthorized and no prompt ever appears, the key files ADB keeps on the computer may be damaged. Stop the server, move the two files aside and start it again. ADB makes a new key, and every phone asks once more.

On a Mac:

adb kill-server
mv ~/.android/adbkey ~/.android/adbkey.old
mv ~/.android/adbkey.pub ~/.android/adbkey.pub.old
adb start-server

On Windows, in PowerShell:

adb kill-server
Rename-Item "$env:USERPROFILE\.android\adbkey" adbkey.old
Rename-Item "$env:USERPROFILE\.android\adbkey.pub" adbkey.pub.old
adb start-server

With 30 phones on the desk, step 5 means 30 prompts, so keep it for when the cheaper steps fail.

Phones that ask again after a week

From Android 11, a phone forgets a computer that has not reconnected for seven days, so a spare that sat in a drawer will ask again. You can switch this off with Disable adb authorization timeout in Developer options.

How to fix a phone listed as offline

offline usually means the connection started and then stalled, often after a restart, an update or a quick replug. Try these in order:

  1. Ask ADB to reconnect it. adb reconnect offline resets every phone that is offline or unauthorized and makes it connect again.
  2. Replug, then try another port. A tired port or cable can connect and then stall.
  3. Restart the adb server. This drops every phone for a few seconds, so warn your teammates first.
  4. Restart the phone.
  5. Update ADB. An old copy can show newer phones as offline. Run adb version and install the current SDK Platform Tools from Google if yours is old.
adb reconnect offline
adb kill-server
adb start-server
adb devices

Two copies of ADB fighting each other

Many tools ship their own copy of ADB. When two different versions run on one computer, each restarts the other's server, and phones flicker between offline and missing. The giveaway is a line like this when you run any command:

adb server version (41) doesn't match this client (39); killing...

Find every copy with which -a adb on a Mac or where.exe adb on Windows, keep one current copy, and run one ADB tool at a time. If you use scrcpy for close work on one phone, close it before starting anything else that talks to the phones. Running many phones with scrcpy covers that tool.

Why your phone is not showing up in adb devices at all

USB debugging is off

On Samsung Galaxy phones, open Settings, About phone, Software information, and tap Build number seven times. Then open Developer options and turn on USB debugging. Google's developer options guide shows where the same settings live on other phones. A factory reset turns it off, so check it first on a phone that used to work.

Newer Samsung Galaxy phones also have Auto Blocker, under Security and privacy in Settings, which stops computers and chargers sending commands over USB. If USB debugging will not switch on, or the phone never asks to trust the computer, check whether it is on, and decide deliberately before turning off a protection against malicious chargers.

The cable only charges

Charge-only cables look exactly like data cables. If a phone charges but never appears, swap in a cable you know carries data, and toss the charge-only one. The cable rules for a whole desk are in how many phones one computer can run.

The phone is in the wrong USB mode

When you plug a phone in, Android offers USB modes in the notification shade. Samsung Galaxy phones call them Transferring files, Transferring images and Charging phone only, and other phones say File transfer, PTP and No data transfer. ADB usually works in any mode, but some phones only appear in file transfer, so switch to it when a phone stays missing. To make a mode stick, set Default USB configuration in Developer options.

Windows has no driver for the phone

A Mac needs no driver. Windows often does. Open Device Manager with the phone plugged in, and if the phone sits under Other devices with a yellow warning sign, install the maker's driver.

  • Samsung Galaxy phones: the Samsung Android USB Driver for Windows, from Samsung's developer site.
  • Google Pixel phones: the Google USB Driver, from the SDK Manager in Android Studio or Google's developer site.
  • Other phones: the maker's support pages, which Google lists on its OEM USB drivers page.

Then replug the phone and accept the prompt. If Device Manager still shows a warning, right-click the phone, choose Update driver, then Browse my computer for drivers, and point it at the driver's folder.

A Mac laptop is waiting for permission

Mac laptops with Apple silicon ask before a new USB accessory may connect. If Don't Allow was chosen, the phone never reaches ADB. Replug it and allow it, or change the choice under Allow accessories to connect in System Settings, Privacy & Security.

How to stop phones dropping off a hub

Phones that appear and vanish usually have a hardware problem, and the pattern tells you which.

The patternThe likely causeThe fix
One phone drops, again and againIts cable, its hub port or its own charging portNew cable first, then another port, then check the phone's port for lint
Every phone on one hub drops togetherThe hub's power adapter or its upstream cableCheck the adapter is in and big enough, then swap the upstream cable
Phones drop when you send a big file to many at onceToo many phones on one USB controllerSpread hubs across controllers, about ten phones each as a rule of thumb
Every phone drops at the same momentThe computer slept, or another tool restarted ADBFix the sleep settings and run one ADB tool at a time
Drops on hot afternoonsHeat in the hub, its adapter or the phonesGive them air and check temperatures every morning

Give every phone its own powered hub port, on a hub whose adapter can charge all its phones at once, and plug each hub straight into the computer rather than into another hub. Per-port switches let you restart one phone's connection without touching its neighbors.

Sleep settings on the computer

When the computer sleeps, every phone drops. Set it never to sleep while it runs the phones.

  • Windows 11: in Settings, System, Power & battery (Power on a desktop), set the plugged-in sleep time to Never. Then, in Control Panel, Power Options, open your plan's advanced settings and set USB selective suspend to Disabled where your plan shows it.
  • Mac laptops: in System Settings, Battery, Options, turn on Prevent automatic sleeping on power adapter when the display is off.
  • Mac desktops: in System Settings, Energy, turn on Prevent automatic sleeping when the display is off.

A phone's own screen turning off does not end its ADB connection, so there is no need to keep screens awake.

The missing-phone checklist

Copy it into your runbook and work in order.

  1. Run adb devices -l and note the state of the phone.
  2. unauthorized: wake the phone, accept the prompt and check "Always allow from this computer".
  3. No prompt: replug, toggle USB debugging, then revoke USB debugging authorizations.
  4. offline: run adb reconnect offline, replug, restart the server, restart the phone.
  5. Not listed: check USB debugging is on, and on Samsung Galaxy phones check Auto Blocker.
  6. Swap the cable for one you know carries data.
  7. Set the USB mode to file transfer.
  8. On Windows, check Device Manager and install the maker's driver.
  9. On a Mac laptop, check the phone was allowed to connect.
  10. Try another hub port, then a port on the computer itself.
  11. Check the hub's adapter and how many phones share that USB controller.
  12. Run adb version, and check that only one copy of ADB is running.
  13. Check the computer's sleep and USB selective suspend settings.
  14. Try the phone on another computer. If it fails there too, the phone or its port is the problem, and replacing a phone and moving its accounts is the next guide.
  15. Write the fault and the fix in your change log.

A morning count of phones against the register catches most of these before they cost anything, and how to manage 50 phones at once sets out that ten-minute check.

How Phemya helps you notice a missing phone

A missing phone does the most damage when nobody notices until a post fails. Phemya checks each phone when it is plugged in and sets it up. After that, every phone's connection shows alongside its battery, temperature and storage, so a phone that has dropped off stands out at a glance rather than at posting time. It fixes the common problems itself and tells you about the rest.

Some fixes still need hands, such as accepting the trust prompt on a new phone or swapping a cable. The phones need USB debugging turned on and Android 10 or newer, and they stay as they came, with no rooting and nothing modified. The software is tested on Samsung Galaxy phones.

Close scrcpy and other ADB tools before you run Phemya, because two different ADB versions can disrupt each other. scrcpy remains the right tool for close work on one phone.

It suits a desk of ten or more phones, where one missing phone means a missed post. One phone on a developer's desk needs nothing more than ADB and the checklist above. The price is $20 a month for 10 phone slots with every feature included, and there are smaller and larger plans. If you would rather nobody on your team dealt with cables and hubs at all, Winning Clips builds and hosts multi-phone setups with brand-new phones and the software included.

The bottom line

Read the state before you touch anything. unauthorized is a prompt waiting on the phone, offline is a stalled link, and a phone that is not listed usually needs USB debugging, a data cable, another USB mode or a Windows driver. A phone that keeps dropping has a cable, power or sleep problem. When the desk grows past what you can count by eye, download Phemya for Mac or Windows and see every phone's connection in one place.

Frequently asked questions

Why does adb devices say unauthorized?

The phone can see the computer but has not been told to trust it. Wake the phone, get past the lock screen and accept the "Allow USB debugging?" prompt with "Always allow from this computer" checked. If no prompt appears, replug the cable, turn USB debugging off and on, or revoke USB debugging authorizations in Developer options and try again.

How do I fix an adb device that shows offline?

Run adb reconnect offline, then check adb devices again. If the phone is still offline, move it to another port, restart the server with adb kill-server and adb start-server, and restart the phone. An old copy of ADB can show newer phones as offline, so update the SDK Platform Tools if the problem keeps returning.

Why is my phone not detected by adb on Windows?

Windows often needs the phone maker's USB driver before ADB can see the phone, while a Mac needs none. Open Device Manager, and if the phone shows a yellow warning, install the driver, such as Samsung's Android USB Driver for Galaxy phones or the Google USB Driver for Pixel phones. Check the cable and the USB mode too, because a charge-only cable hides a phone from any computer.

Why does my phone keep disconnecting from the USB hub?

A worn or charge-only cable is the most common cause, followed by a hub adapter that cannot power every phone at once, too many phones on one USB controller and a computer that goes to sleep. If one phone drops, change its cable. If a whole hub drops, check its adapter, and if every phone drops at once, check the sleep settings and make sure only one ADB tool is running.

Do I have to accept the USB debugging prompt every time?

No, as long as you check "Always allow from this computer" before tapping Allow. From Android 11, a phone forgets a computer that has not reconnected for seven days, and you can switch that off with Disable adb authorization timeout in Developer options. A new computer, a new user account or a reset ADB key brings the prompt back once.

Does Phemya tell you when a phone disconnects?

Phemya shows every phone's connection alongside its battery, temperature and storage, so a phone that has dropped off is easy to spot. It checks each phone when it is plugged in, fixes the common problems itself and tells you about the rest. Physical fixes, such as accepting the trust prompt or replacing a cable, still need a person at the desk.

Phemya

Run all your Android phones from one computer.

Sync a group to one phone, run batch actions, schedule posts and watch every phone's health. 30-day free trial.

What is Phemya?

Keep reading

All articles