If your Android phone is not detecting USB devices or your computer cannot see your phone's files over USB, the most common fix is switching from "Charging only" to "File Transfer" (MTP) mode in the USB notification. If no notification appears, the cable is likely charging-only (no data wires) and needs to be replaced with a data-capable cable. For USB OTG accessories like flash drives and external hard drives, ensure OTG is supported and enabled on your device.
Two Different USB Problems
This guide covers two related but different scenarios:
- Phone → Computer: Your computer does not see your phone's files when connected via USB
- USB Device → Phone: Your phone does not detect a USB drive, keyboard, or other accessory connected via OTG adapter
Both share some common troubleshooting (cables, ports, restarts) but have different root causes and solutions.
Problem 1: Computer Cannot See Phone Files (MTP)
How USB File Transfer Works on Android
When you connect your Android phone to a computer via USB, the phone can operate in several modes:
- Charging only: Default — no data connection, just power
- File Transfer (MTP): Media Transfer Protocol — computer can browse phone files
- Photo Transfer (PTP): Picture Transfer Protocol — limited to photos (used by cameras)
- MIDI: For musical instruments
- USB tethering: Shares phone's internet with computer
By default, Android uses Charging only for security (prevents unauthorized file access if your phone is connected to an unknown computer). You must manually select File Transfer.
Fix: Enable MTP/File Transfer Mode
- Connect your phone to the computer with a USB cable
- Unlock your phone (some phones hide USB options when locked)
- Pull down the notification shade
- Look for a notification like:
- "Charging this device via USB"
- "USB connected"
- "Android System — USB"
- Tap the notification
- Select File Transfer or MTP
- Your phone's storage should now appear on the computer
If No USB Notification Appears
If you connect the cable and get no notification at all:
The cable is charging-only: This is the #1 cause. Many cables bundled with cheap chargers have only power wires — no data pins. Solutions:
- Use the cable that came with your phone (original cables always have data)
- Try a different cable — look for one explicitly labeled "data cable" or "sync cable"
- USB-C cables from reputable brands (Anker, Samsung, Google) always include data
Test the cable: Connect to a computer and see if the computer makes the "device connected" sound. If the computer also shows nothing, the cable definitely lacks data wires.
USB port issue: Try a different USB port on the computer (front ports sometimes have weaker connections — use rear ports directly on the motherboard).
Windows Driver Issues
Windows sometimes fails to install the correct driver for Android phones:
- Open Device Manager (right-click Start → Device Manager)
- Look under "Portable Devices" or "Other devices" for your phone (may show a yellow warning icon)
- Right-click → Update driver → Search automatically for drivers
- If that fails, try:
- Uninstall the device from Device Manager → disconnect and reconnect
- Install your phone manufacturer's USB driver (Samsung: Smart Switch, Google: Google USB Driver, others: OEM website)
- Some phones require enabling USB debugging in Developer Options for the driver to install correctly
macOS Connection
macOS requires different handling:
- Modern macOS does not natively browse MTP devices in Finder
- Install Android File Transfer (official Google tool) or better alternatives like OpenMFT
- After installing, connect phone in File Transfer mode → the app opens automatically showing phone contents
- If it says "Could not connect": unlock phone, ensure MTP is selected, try a different cable
Linux Connection
Linux generally handles MTP well:
- Most desktop environments (GNOME, KDE) auto-mount MTP devices
- If not appearing: ensure
libmtpandgvfs-mtppackages are installed - Some distros need
jmtpfsfor reliable MTP support - Try:
sudo apt install libmtp-runtime gvfs-backends
Problem 2: Phone Not Detecting USB Accessories (OTG)
USB OTG Requirements
For USB drives, keyboards, mice, and other accessories to work with your phone:
- Phone must support USB OTG: Most phones from 2015+ support it, but some budget models may not
- Correct adapter: You need a USB OTG adapter (USB-A female to USB-C male, or micro-USB OTG cable)
- Compatible filesystem: USB drives must be formatted as FAT32, exFAT, or NTFS (ext4 may not work without root)
- Sufficient power: Some devices need more power than the phone supplies
Checking OTG Support
- Settings check: Some phones have Settings → Connected devices → USB → OTG toggle (must be enabled)
- Manufacturer specs: Check your phone's specification page for "USB OTG: Yes/No"
- Quick test: Connect a USB keyboard via OTG — if it works, OTG is supported. Keyboards need very little power, so they are a reliable test device
Fix: USB Drive Not Detected via OTG
- Check the adapter: Ensure it is specifically a USB OTG adapter (has the OTG pin configuration). Regular USB cables/adapters do not work for OTG.
- Enable OTG (some phones): Settings → Connected devices → USB OTG → toggle ON. Some manufacturers disable it by default.
- Try different adapter: Cheap OTG adapters are unreliable — try a name-brand adapter
- Format the drive: If the drive uses an unsupported filesystem (like HFS+ from Mac), reformat it as exFAT on a computer first
- Power issue: If the drive spins up but is not detected, it needs more power:
- Use a powered USB hub between the OTG adapter and the drive
- Use a USB drive that does not require external power (flash drives are fine; 2.5" drives sometimes need a hub; 3.5" drives always need external power)
- Restart phone: Disconnect the drive, restart the phone, then reconnect
Accessing USB Drives with AnExplorer
Once your phone detects the USB drive:
- A notification appears: "USB drive connected" or similar
- Open AnExplorer — the USB drive appears in the sidebar as a storage option
- Browse, copy, move, and manage files on the USB drive like any other storage
- Safely eject before removing: Settings → Storage → USB drive → Eject (or use the notification's Eject button)
Troubleshooting Both Scenarios
Universal Fixes
- Restart your phone: Clears USB subsystem state and reinitializes connections
- Clean the USB port: Lint, dust, and debris accumulate in USB-C ports — use compressed air or a wooden toothpick gently
- Try multiple cables: Cables degrade over time — internal wire breakage is common
- Check for moisture: If the phone was recently wet, the USB port may still detect moisture and refuse connections (Samsung shows "Moisture detected" warning)
- Disable developer options USB settings: If you have USB debugging enabled with specific configurations, it can interfere — try disabling USB debugging temporarily
Advanced Troubleshooting
Check USB mode in Developer Options:
- Enable Developer Options (Settings → About → tap Build Number 7 times)
- Settings → Developer Options → Default USB configuration
- Set to "File Transfer" to make MTP the default when connected
ADB detection test (advanced):
- Install ADB on your computer
- Enable USB debugging on the phone
- Connect and run
adb devices - If your phone appears: the cable and connection work fine — the issue is MTP-specific
- If nothing appears: cable/driver/port issue
USB debugging for stubborn connections: Some phones only appear to computers after enabling USB debugging:
- Enable Developer Options
- Enable USB debugging
- Connect to computer
- Accept the RSA key fingerprint prompt on your phone
- The phone should now also offer MTP mode
Alternatives to USB Cable Transfer
If USB continues to be problematic, use wireless alternatives:
| Method | Speed | Setup Difficulty |
|---|---|---|
| Connect (HTTP) | 20-50 MB/s | Easy — open URL in browser |
| SMB to NAS | 30-80 MB/s | Medium — need NAS |
| Cloud storage | Depends on internet | Easy — install cloud app |
| Bluetooth | 1-3 MB/s | Easy but very slow |
AnExplorer's Connect is often faster and more reliable than USB MTP for quick file transfers. Start the server on your phone, open the URL on your computer, and drag-and-drop files through the browser.
Related Guides
- USB OTG Not Working — dedicated OTG troubleshooting
- Android Not Connecting to PC — PC-specific connection issues
- Access Files from Browser — wireless alternative via Connect
- Slow File Transfer — optimize transfer speeds