Connecting a Xiaomi phone to a computer with a USB cable is one of the simplest ways to copy photos, videos, documents, music, and other files․ The connection does not normally require an internet connection, a Xiaomi account, or special software․ In most cases, you only need a cable that supports data transfer, an unlocked phone, and a few taps to select the correct USB mode․
The exact wording of menus can vary slightly between Xiaomi models and software versions, including MIUI and HyperOS․ The general process is the same: connect the phone, choose File transfer on the phone, then open the device in your computer’s file manager․
Before you begin
- Use a data-capable USB cable․ Some cables are made only for charging and will not let the computer browse the phone․ If the phone charges but does not appear on the computer, try the cable that came with the phone or another cable known to transfer data․
- Check the computer’s USB port․ Connect directly to a working port rather than through a hub or monitor, at least for the first attempt․
- Unlock the phone․ Keep it unlocked while you choose the connection mode and, if necessary, approve access to its data․
- Make sure there is enough space on the computer․ Large video folders can take up several gigabytes․
Transfer files to a Windows computer
- Connect the Xiaomi phone to the computer․ Plug the USB-C or other matching connector into the phone and the USB end into the computer․ If a prompt appears on the phone asking whether to allow access to data, tap Allow․
- Open the USB notification․ Swipe down from the top of the phone screen to open the notification shade․ Look for a notification such as Charging this device via USB, USB preferences, or Android System․ Tap it․ On some versions, you may need to swipe down a second time to see the full notification panel․
- Select the transfer mode․ In the USB settings, choose File transfer, Transfer files, or Android Auto/File transfer, depending on the wording shown․ Do not leave the phone in No data transfer or charging-only mode․
- Open File Explorer on Windows․ Press Windows key + E, or open File Explorer from the taskbar․ Select This PC in the left-hand panel․ Your phone should appear under a name such as Xiaomi, Redmi, or POCO․
- Browse the phone’s storage․ Double-click the device and open Internal shared storage or a similarly named folder․ If your model has a microSD card, it may appear as a separate storage location․
- Copy the files․ Select the files or folders you want, press Ctrl + C, open a destination folder on the computer, and press Ctrl + V․ You can also drag selected items to a folder on the computer․
For a first transfer, copying is safer than cutting and pasting: the originals remain on the phone until you have checked the copies on the computer․ Photos are commonly stored in DCIM/Camera; screenshots are often in Pictures/Screenshots; downloaded files are usually in Download; and recordings may be under Recordings or a folder created by the relevant app․ Folder names can differ depending on your phone, Android version, and apps․
Choose photos or files by type
You do not have to copy the entire phone․ Open a folder, select only the items you need, and transfer them to a suitable folder on the computer․ To select multiple individual items, hold Ctrl while clicking them․ To select a continuous group, click the first item, hold Shift, and click the last․ You can also use Ctrl + A to select everything in the current folder․
If you only need images and the phone offers Photo transfer (PTP), that mode may show the phone as a camera․ However, File transfer is generally more flexible because it lets you browse folders and copy many kinds of files, not just pictures․
Transfer files to a Mac
Connect and unlock the phone, then select File transfer in the USB notification as described above․ macOS may not display an Android phone in Finder in the same way it displays an iPhone or USB drive․ If the phone does not appear in Finder, use a reputable Android-compatible MTP file-transfer application for macOS, following that application’s installation instructions․ Once connected through the app, browse the phone’s internal storage and copy files to a folder on the Mac․
Use software from a source you trust, and check that it supports your version of macOS and Android․ Avoid installing several file-transfer utilities at once; they can conflict․ If an application cannot detect the phone, reconnect the cable, unlock the screen, and confirm that File transfer is still selected․
Transfer files to a Linux computer
Many Linux desktop environments can open an Android phone through MTP using the built-in file manager․ Connect the phone, unlock it, select File transfer, and look for the device in the file manager’s sidebar․ Open it, browse the storage, and copy files to a folder on the computer․ If it does not show up, try another USB port and check whether your Linux installation has MTP support enabled․
Where to find common files
- Camera photos and videos: usually Internal shared storage/DCIM/Camera․
- Screenshots: often Pictures/Screenshots or a similarly named folder․
- Downloads: usually the Download folder․
- Music and documents: may be in folders named Music, Documents, or in the app’s own folder․
- Messaging-app media: may be in an app-specific folder, and its location can change between app versions․
If you cannot find a file, use the phone’s Files app to locate it first․ Check the file’s details or location, then look for the corresponding folder while browsing the phone from the computer․ Some apps keep information in protected folders that are not accessible through ordinary USB browsing․ In that case, use the app’s own export or save function to place a copy in a user-accessible folder, such as Download․
If the phone is not detected
Try these checks in order․ They resolve most connection problems without changing advanced settings:
- Unlock the phone and select File transfer again․ The phone may default to charging only, even when the cable is connected․ Open the USB notification and choose the transfer option manually․
- Try another cable․ A charging-only or damaged cable is one of the most common causes․ A cable can charge normally and still have faulty or missing data connections․
- Change the USB port․ Connect directly to a different port on the computer․ Avoid adapters and hubs while troubleshooting․
- Reconnect both ends․ Unplug the cable, wait a few seconds, reconnect it, and keep the screen unlocked․ If prompted, allow access․
- Restart the devices․ Restart the phone and computer, then connect again and select File transfer․
- Check the computer’s device list․ On Windows, open Device Manager and look for an Android, portable, or unknown device with a warning icon․ Updating Windows or reinstalling the device entry may help․ Use driver updates supplied through Windows or a trusted manufacturer source rather than downloading drivers from unfamiliar sites․
- Try another computer․ If the phone works elsewhere, the issue is likely related to the original computer, its port, drivers, or MTP support․ If it fails everywhere with several known data cables, the phone’s port may need inspection․
USB debugging is not normally required for a standard file transfer․ Do not enable developer options or install ADB tools just to copy ordinary photos and documents; those steps add complexity and are intended for different tasks․
If copying is slow or fails
Large videos and many small files can take a while, especially through an older USB port or a low-quality cable․ Keep the phone awake, avoid moving the cable, and transfer a few folders at a time․ If a copy stops, note which files completed and retry the remaining items․ Make sure the computer has enough free space and that the phone is not disconnecting because its connector is loose․
For an important backup, open several copied files on the computer before deleting anything from the phone․ Check that photos display, videos play, and documents open․ If filenames are duplicated, copy folders into clearly named destinations rather than overwriting files without checking․
Safely finish the transfer
When copying is complete, wait for any progress window to finish and close open folders for the phone․ You can then unplug the cable․ If the computer offers an option to eject or safely remove the portable device, use it before disconnecting․ Do not unplug during an active transfer, because an incomplete file may be damaged or missing․
Quick checklist
- Use a USB cable that supports data․
- Unlock the Xiaomi phone and approve any access prompt․
- Choose File transfer in the USB notification․
- Open the phone in the computer’s file manager․
- Copy files to the computer and verify them before removing the originals․
In short, the key step is selecting File transfer rather than leaving the phone in charging-only mode․ Once the computer recognizes the Xiaomi device, you can browse its accessible storage and copy the files you need using the computer’s usual file-management tools․




9 Comments. Оставить новый
This guide is easy to follow and sets realistic expectations about differences between phone software versions.
A straightforward guide for anyone who just wants to copy files without installing extra software.
The advice to connect directly to the computer instead of using a hub is simple but genuinely helpful.
I like that it explains the USB notification step, which can be easy to miss when the phone is connected.
Clear, practical instructions. I appreciate that the article notes menu names may differ between MIUI and HyperOS.
The preparation checklist makes the process feel less frustrating. Checking the cable first can save a lot of time.
Helpful overview, especially for people who are used to charging their phone but have not transferred files over USB before.
The troubleshooting tips about trying another USB port and keeping the phone unlocked are useful additions.
The reminder to use a data-capable cable is especially helpful. It explains why a phone might charge without appearing on the computer.