Your Android phone connects to your computer through a USB-C hub. You can browse photos, transfer files, and charge the device without problems.
But when you run adb devices, the phone appears as unauthorized.
Why does file transfer work while USB debugging fails?
The answer is that Android file transfer and ADB debugging use different authorization mechanisms. A working USB data connection does not automatically mean your computer has permission to execute debugging commands.
Before replacing your USB-C hub, check the ADB connection status and Android's RSA debugging authorization.
Start With the ADB Status, Not the USB-C Hub
Open a terminal or command prompt on your computer and run:
adb devices
You may see:
List of devices attached
R58M123456A unauthorized
This means ADB has identified the connected device, but the debugging connection has not been authorized.
Compare the possible results:
| ADB Status | What It Means | What to Check |
|---|---|---|
device |
ADB connection is authorized and available | Ready for debugging |
unauthorized |
Debugging authorization is missing or incomplete | RSA authorization |
offline |
ADB connection is not responding normally | ADB server and connection |
| No device listed | ADB cannot currently see the phone | Cable, USB port, debugging settings or drivers |
If your phone shows unauthorized, start with authorization—not USB bandwidth or file transfer speed.
Why File Transfer Can Work While ADB Is Unauthorized
When an Android phone connects to a computer, different USB functions may become available.
For example:
-
MTP (Media Transfer Protocol): Allows supported file transfers.
-
ADB (Android Debug Bridge): Allows authorized debugging and development commands.
-
USB charging: Supplies power without necessarily requiring a data connection.
MTP working correctly confirms that a usable USB data path exists, but it does not prove that ADB has permission to access the phone.
Google explains that Android USB debugging authorization uses an RSA security prompt to protect devices from unauthorized debugging access.
Until the phone owner approves the connected computer, ADB commands remain restricted.
If your phone cannot transfer files at all, troubleshoot Android phone file transfer through a USB-C hub before investigating ADB authorization.
Restore Android USB Debugging Authorization
For an ADB unauthorized error, the most useful action is to refresh the phone's debugging permissions.
Step 1: Unlock Your Android Phone
Keep the phone unlocked and its screen active.
The RSA authorization prompt may require interaction on the phone, so you may miss it if the screen remains locked.
Step 2: Confirm USB Debugging Is Enabled
On your Android phone:
-
Open Settings.
-
Find Developer options.
-
Locate USB debugging.
-
Make sure it is enabled.
The exact menu location varies by Android manufacturer.
If Developer options are hidden, you may need to enable them through your phone's About Phone settings.
Step 3: Revoke Previous USB Debugging Authorizations
If the device remains unauthorized:
-
Disconnect the USB cable.
-
Open Developer options.
-
Select Revoke USB debugging authorizations.
-
Confirm the action.
-
Reconnect the phone to your computer.
Google's official troubleshooting instructions recommend revoking USB debugging authorizations when a connected Android device remains unauthorized.
Step 4: Accept the RSA Fingerprint Prompt
After reconnecting, your phone should display an authorization request similar to:
Allow USB debugging?
The dialog may show an RSA key fingerprint for the connected computer.
Tap Allow only if you recognize and trust that computer.
Then run:
adb devices
A successful connection should show:
List of devices attached
R58M123456A device
The change from unauthorized to device indicates that the debugging connection is now authorized.
What If the Authorization Popup Never Appears?
Sometimes the phone remains unauthorized even after reconnecting.
Instead of changing several settings at once, check the ADB service first.
Restart the ADB Server
Run these commands:
adb kill-server
adb start-server
adb devices
This restarts the computer's ADB server and triggers another device check.
Keep your phone unlocked and watch for the RSA authorization prompt.
Check Your ADB Installation
If the problem continues:
-
Update Android SDK Platform-Tools through the official Android development tools.
-
Confirm USB debugging is enabled.
-
Check for another application using a different ADB installation.
-
On Windows, verify that the appropriate Android USB debugging driver is installed when required.
If the device shows device after restarting ADB, test your debugging workflow again.
If it remains unauthorized, repeat the authorization reset with the phone unlocked.
Is the USB-C Hub Actually Causing the Problem?
If the RSA authorization process works when the phone is connected directly but not through a USB-C hub, the connection path deserves attention.
Compare these setups:
Direct Connection
Android Phone → USB Data Cable → Computer
Hub Connection
Android Phone → USB Data Cable → USB-C Hub → Computer
Run adb devices in both configurations.
| Test Result | What It Suggests |
|---|---|
| Unauthorized in both setups | Focus on RSA authorization and ADB configuration |
| Authorized directly but not through the hub | Investigate the hub connection path |
| Phone disappears intermittently | Check cable, power and USB stability |
| File transfer also stops working | Investigate USB data connectivity |
If the phone repeatedly disappears, USB-C hub disconnection problems may be relevant.
Also, make sure the phone is connected to a real USB data port rather than a charging-only PD input.
Some users mistake USB-C ports with Power Delivery for full-function data connections. A USB-C hub PD port that only charges without transferring data may simply be functioning as designed.
However, if file transfer already works reliably, a charging-only port is unlikely to explain the unauthorized status.
Build a Cleaner Android Debugging Workspace
Android development does not always require a complex docking station. The ideal connection depends on whether you are testing one phone or managing several devices.
For Single-Device Debugging
If your laptop only has USB-C ports but your Android data cable uses USB-A, a USB-C to USB-A 3.0 adapter for data transfer, such as the LENTION C3s, offers a straightforward connection.
The C3s supports USB 3.0 data transfer up to 5Gbps and is available in a three-pack.
Using a simple adapter can help remove the additional ports and functions of a larger hub from your troubleshooting setup.
For Multi-Device Development Desks
Developers who regularly connect multiple USB accessories may prefer a multiport USB-C hub with USB-C data and PD charging, such as the LENTION C37-1M.
It provides:
-
Two USB-A 3.0 ports with up to 5Gbps data transfer
-
One USB-C data port supporting up to 5Gbps
-
A separate USB-C PD port supporting up to 60W pass-through
-
A 3.3-foot host cable for flexible desk placement
The separate data and charging connections make it easier to organize a laptop, Android testing device, and everyday peripherals.
Important: Neither adapter nor hub can override Android's RSA security authorization. Hardware changes are worth considering only when testing identifies an actual connection-path problem.
FAQ
Why does ADB show unauthorized when file transfer works?
Because MTP file transfer and ADB debugging require different permissions. Your USB data connection may function normally while Android is still waiting for you to approve the computer's RSA debugging key.
How do I fix ADB unauthorized without replacing my USB-C hub?
Unlock your phone, enable USB debugging, revoke previous debugging authorizations, reconnect the cable, and accept the RSA prompt. Restarting the ADB server may also help.
Why is the USB debugging authorization popup not showing?
The phone may be locked, USB debugging may be disabled, or the existing authorization state may need to be reset. Revoke USB debugging authorizations and reconnect the phone while its screen is unlocked.
Can a USB-C hub cause ADB unauthorized?
A hub can contribute to unstable device connections, but unauthorized specifically indicates an incomplete ADB authorization state. Resolve the RSA permission issue first, then compare direct and hub connections if necessary.
Final Takeaway
When ADB shows unauthorized through a USB-C hub while Android file transfer works, do not immediately blame the hub.
Start by checking the device's authorization status:
ADB Status → USB Debugging → RSA Authorization → ADB Server → Connection Path
If the phone changes from unauthorized to device, debugging access has been restored.
If authorization only fails through the hub, investigate the USB data port, cable, and connection stability.
The key takeaway is simple:
A working USB connection allows data transfer, but Android debugging still requires explicit authorization.