Connecting a smartphone to a computer often turns into a test of strength, especially when, after connecting with a cable, the device only begins to charge, ignoring any attempts to access the internal memory. This situation is familiar to many users who expect the drive to instantly appear in My Computer, but instead are faced with silence from the operating system. The problem lies not in a malfunction of the cable or port, but in the security settings Android, which by default block unauthorized access to files.

Modern versions of Google mobile OS prioritize the protection of user data, so the “Charge Only” mode is standard with any new connection. To change this behavior and allow access to photos, documents or music, you must manually switch the connection protocol. In this article, we will analyze in detail all the stages of setup, from simple actions in the notification shade to deep system settings for advanced users.

Understanding how the interaction between your phone and PC works will help you avoid errors and data loss in the future. We will look at various scenarios, including working with legacy devices and using developer tools for specific tasks.

Basic settings for connecting via the notification shade

The fastest and most common way to enable file sharing is to use the notification panel, which appears immediately after the devices are physically connected. As soon as you insert the USB cable into the connector of your smartphone and computer, the system will automatically detect the connection and issue an appropriate alert. If your phone screen is locked, unlock it to see a system message about the connection status.

Swipe down from the top edge of the screen to open the notification panel completely. Look for a line with text like “USB Charging” or “USB Connection.” Tap this notification once to reveal more options, or hold your finger to access the USB settings menu. You will see a list of available interface operating modes.

In the menu that opens, you need to select the item File transfer or MTP (Media Transfer Protocol). It is this mode that allows the computer to see the internal storage and SD card as a removable drive. After selection, the system may request confirmation of the action on the phone screen - click “Allow” or “OK” to complete the procedure.

💡

If the connection notification does not appear automatically, try pulling out and inserting the cable again, making sure that it is inserted until it clicks.

⚠️ Attention: Some smartphone manufacturers, for example Xiaomi or Huawei, can hide the USB mode selection menu in the depths of the settings if the standard notification does not work. In this case, you will need to manually search in the “For Developers” menu.

Using the “For Developers” menu

If the standard method through the curtain does not work or there is no mode selection item, you need to activate the hidden engineering menu. This is a universal method that works on the vast majority of devices running Android, regardless of the shell version. First you need to unlock access to advanced system settings.

Go to the main phone settings and find the section About phone or Device information. Inside this locate section is the “Build Number” item. Make 7 quick clicks on this item. The system will start counting down your presses and tell you how much time is left until developer mode is activated, after which the message “You have become a developer” will appear.

Now return to the main settings menu. Depending on the smartphone model, a new section may appear at the very bottom of the list or inside the “System” / “Advanced” subsection. Find the item For developers and enter it. Scroll down to the Debugging or Networking sections. We are interested in the parameter Default USB configuration.

  • 🔧 Select mode MTP (File transfer) for standard data exchange with a PC.
  • 💾 Select mode PTP (Image transfer), if the computer does not see the phone as a disk, but you need to upload the photo.
  • ⚡ Select the mode RNDIS (USB Ethernet), if you need to distribute the Internet from the phone to the computer via a cable.

After selecting the desired configuration, disconnect the cable and connect it again. The phone should now automatically switch to data mode without any questions asked. Please note that a factory reset may return this value to Charge Only.

📊 Which USB mode do you use most often?
Charge Only
File Transfer (MTP)
Photo Transfer (PTP)
USB debugging

Setting up USB debugging for advanced tasks

For users who require not just copying files, but deep interaction with the system, for example, installing applications via ADB or removing logs, debugging must be activated. This function opens up a wide range of possibilities for controlling the device from a computer, but requires caution when using it.

Once in the menu For developers, find the switch USB debugging. Activate it by sliding the slider to the right. The system will issue a stern warning that in this mode the device becomes vulnerable to attacks when connecting to unknown computers. Confirm the action by clicking “OK” in the dialog box.

When you first connect to a new computer with debugging enabled, a request to confirm the RSA key fingerprint will appear on the smartphone screen. Be sure to check the code if it is displayed and click Always allow for this computer. Without this confirmation, commands from the PC will be blocked and you will see the message “Device unauthorized” in the terminal.

adb devices

List of devices attached

XXXXXXXXX unauthorized

If the device status is displayed as unauthorized, check the phone screen and allow access. Also make sure that the correct drivers for your device model are installed on your computer. For some brands, such as Sony or Motorola, drivers may be installed separately from the standard Android SDK.

What should I do if the debug prompt does not appear?

If the RSA key request dialog does not pop up, try disabling and re-enabling yourself toggle switch “USB debugging”. Restarting both devices—your phone and your computer—will also help. Sometimes the problem lies in a driver conflict in the Windows Device Manager.

Solving problems with drivers on the computer

Often the problem of lack of data transfer lies not in the phone, but in the computer’s operating system, which cannot correctly identify the connected device. Windows can recognize the phone as an unknown device or charger, ignoring the file system.

Open Device Manager on your computer (press Win+X and select the appropriate item). See if the list includes a "Portable Devices" or "Other Devices" section with a yellow exclamation point. If your phone appears there with an error, right-click on it and select “Update driver.”

Select automatic search for drivers. If Windows doesn't find them on its own, you may need to download specific software from the smartphone manufacturer. For example, Samsung requires the Samsung USB Driver, and for Google Pixel the universal Google USB Driver, available as part of the SDK Platform Tools.

Manufacturer Driver type Where download Features
Samsung Samsung USB Driver Official website Requires installation of Samsung Smart Switch
Xiaomi Universal ADB Driver MIUI website / GitHub Often conflicts with standard Windows drivers
Google Google USB Driver Android SDK Manager Works only with original cables
Huawei HiSuite Driver HiSuite application Installed together with a proprietary utility

After successfully installing the drivers, restart your computer. In most cases, the system begins to correctly detect the device immediately after restarting the Plug and Play service.

💡

Correctly installed drivers are 90% successful when connecting. If the phone is charging but is not visible in the system, the problem is almost always in the PC drivers, and not in the phone settings.

Diagnostics of cable and port hardware faults

Do not discount the physical side of the issue. Even with ideal software settings, a bad cable or dirty port will reduce all efforts to zero. Cables are divided into two main types: those that support only power transmission, and full-fledged data cables.

Cheap cables, often included with cheap electronics or purchased in transitions, may only have two wires inside for power. Visually, they are no different from high-quality analogues, but technically they are not capable of transmitting a data signal. Try replacing the cable with a known good one, for example, from another smartphone or tablet.

Also inspect the connector USB Type-C or Micro-USB on the phone itself. In pockets, lint and dust often accumulate there, which are compressed and prevent the contacts from closing completely. Gently clean the port with a wooden toothpick or plastic spatula, avoiding the use of metal needles, which may short the contacts.

⚠️ Attention: If the USB port is loose and the cable falls out with the slightest movement, the problem may be a physical breakage of the socket. In this case, software settings will not help; you will need to replace the connector at a service center.

Connection features on different versions of Android

The interface and logic for working with USB connections changed with the release of new versions of the operating system. Users of older devices and the latest flagships will have to deal with different nuances in the settings menu.

On versions Android 6.0 and below, the mode selection menu is often hidden in the “Memory” or “Storage” section. There you need to click on the three dots in the corner of the screen and select “USB connection to computer”. On more recent versions, starting from Android 10 and higher, Google unified this process, focusing on the notification in the curtain.

Owners of smartphones with shells such as One UI from Samsung or ColorOS from Oppo may notice additional items. For example, the “Android Auto” mode or specific synchronization modes with proprietary software. If your goal is to simply copy files, ignore these options and choose classic MTP.

☑️ Checklist for a successful connection

Done: 0 / 5

Frequently asked questions (FAQ)

Why does the computer see the phone, but not open folders?

Most likely, on your phone screen there is a request for permission to access data that you missed. Unlock the screen and tap Allow. Also check if the “Charge Only” mode is enabled.

Is it possible to transfer files via USB if the phone screen is broken?

If USB debugging is enabled and you have previously confirmed access to this computer, then yes. Otherwise, without the ability to click “Allow” on the screen, you will not be able to transfer data using the standard method.

What is PTP mode and when to use it?

PTP (Picture Transfer Protocol) emulates the connection of a digital camera. Use it if MTP mode does not work and you need to copy photos urgently. The computer will see the phone as a camera.

Why is file transfer very slow?

Check if the phone is connected to a USB 2.0 (black) port instead of a USB 3.0 (blue) port. Also, the speed may drop due to a large number of small files or a faulty cable.

How to make data transfer the default mode?

This is configured in the “For Developers” menu in the “Default USB Configuration” item. Select “File transfer” there, and the phone will always offer this mode when connected.