Connecting a Xiaomi smartphone to a computer wirelessly opens up a lot of possibilities: from fast file transfer without cables to debugging applications via Wi-Fi ADB. However, many users face difficulties - the device is not visible on the network, the transfer speed leaves much to be desired, then the device is not visible on the network. MIUI This article will discuss all the current ways Xiaomi connects (including Redmi, POCO, Black Shark) with PC over Wi-Fi, as well as typical errors and their solutions.
The contrast with wired connection is obvious: there is no need to look for a cable, worry about the connector. USB-C Or you can limit it to the length of the wire, but the wireless connection requires you to configure both devices correctly, and there are pitfalls here. MIUI 14 Xiaomi by default blocks access to the file system over the local network through the protocol SMB, If you don't include a special option in the developer settings, this and other nuances, then you can go on.
If you just need to copy photos or documents, standard Windows or macOS tools are enough, but for debugging applications or remote screen control, you will need additional programs like Scrcpy or Vysor. We will look at both scenarios, as well as alternative methods for users who donโt work. FTP or ADB over Wi-Fi.
1. Preparation of Xiaomi smartphone for wireless connection
Before you connect devices, make sure your Xiaomi is ready for it.
- ๐ฑ Version. MIUI: 12 or newer (old firmware may not have the right options).
- ๐ Updates: Check the relevance of the software in Settings โ The phone. โ Updating the system.
- ๐ Battery charge: not less than 30% (when transferring large files, energy consumption increases).
- ๐ถ Wi-Fi: Smartphone and PC should be on the same network (2.4 GHz or 5 GHz โ not important, but 5 GHz gives less delays).
The most important step is to activate the developer mode and enable debugging by USB (Yes, even for Wi-Fi! Without it, many ways just won't work:
- Open the Settings. โ The phone.
- Tap 7 times on the MIUI version (you will receive a notification "You became a developer").
- Back to Settings โ Additionally. โ For developers.
- Turn on the switches: ๐ง Debugging by USB ๐ Debugging by Wi-Fi (if any) ๐ซ Factory unlocking OEM (optionally, for ADB)
โ ๏ธ Note: After activation of debugging USB You'll see a security alert on your smartphone screen. That's okay -- just confirm the permission when you first connect to your PC.
If you plan to use it FTP-server SMB For file transfer, also include:
- ๐ Local Network in Settings โ Connections โ File transfer (on some firmwares the option is hidden).
- ๐ Allow access to files over the network in security settings.
2. Method 1: Transfer of files by FTP (built-in Xiaomi server)
The easiest method to share photos, videos and documents is built-in FTP-server MIUI. It does not require installation of additional programs on the PC, but only works on the local network.
How to turn it on FTP Xiaomi:
- Connect your smartphone and PC to a single Wi-Fi network.
- Open Explorer (or Files) on your phone.
- Slip on three dots in the upper right corner โ FTP.
- Press Launch Server.
The screen will appear address for connection in format ftp://192.168.x.x:xxxx. Enter it into the address bar of Windows Explorer (or Finder on macOS) and press Enter. The first connection may require login/password input โ by default this is the default:
- ๐ค Login: anonymous (or leave the field empty)
- ๐ Password: mi or xiaomi
โ ๏ธ Attention: FTP-Xiaomi server automatically shuts down after 5 minutes without activity. To avoid this, before you start transferring files, tap on the gear icon in the window. FTP and select Don't turn off.
Limitations of the method:
- โ Low transmission speed (maximum) 10-15 MB/s even on Wi-Fi 5 GHz).
- โ No encryption โ the data is transmitted in an open form.
- โ It does not work on some firmware (for example, the global version). POCO F5 may not support FTP).
Connected to a single Wi-Fi network|FTP-server launched on a smartphone|Address entered without errors (check colons and slashes)|Antivirus on PC does not block the connection-->
3. Method 2: ADB Wi-Fi (for developers and advanced users)
ADB (Android Debug Bridge is a tool for debugging Android devices, but it can also be used for wireless file transfer, application installation, or smartphone management from a PC.
Step 1: Install ADB on your computer
- ๐ฅ๏ธ For Windows: download Googleโs Platform Tools and unpack it into any folder (e.g, C:\adb).
- ๐ For macOS/Linux: Install via package manager: brew install android-platform-tools # macOS sudo apt install adb fastboot # Linux (Debian/Ubuntu)
Step 2: Connecting Xiaomi to the USB (once)
Yes, you need a cable first! That's the Android security requirement.
- Connect your smartphone to your PC via USB.
- Enable File Transfer (not โChargingโ).
- Open the command line (Win) + R โ cmd) and execute: adb devices Your serial number device should appear.
- Translate. ADB In wireless mode: adb tcpip 5555
- Turn it off. USB-cable.
Step 3: Connecting to Wi-Fi
Now connect to the device over the network:
- Find out. IP-Smartphone address in Settings โ Wi-Fi โ [your network] โ IP-address.
- In the command line, do: adb connect 192.168.x.x:5555 (substitute 192.168.x.x real IP).
- Check the connection: Adb devices should display a device marked device.
What can be done through Wi-Fi ADB:
- ๐ Copy files: adb pull /sdcard/DCIM/. # Download photos to the current adb push folder file.apk /sdcard/Download/ # load up APK phone-on
- ๐ฑ Screen control (Scrcpy required): Scrcpy --tcpip=192.168.x.x:5555
- ๐ง Install applications: adb install app.apk
โ ๏ธ Note: Some Xiaomi models (e.g. Redmi Note) 12 Pro+) post-reset 5555 It's resetting to avoid reconnecting to the USB, Use the command: adb -s 192.168.x.x:5555 tcpip 5555
๐ก
If ADB not seeing the device, try disabling the Windows firewall or temporarily add an exception to the adb.exe file.
Method 3: Remote Screen Control (Scrcpy, Vysor)
If you need to not only transfer files, but also control your smartphone from your computer (for example, to stream games or display a screen), use programs like Scrcpy or Vysor. ADB.
Instructions for Scrcpy (free, no lags):
- Install Scrcpy and connect your smartphone over Wi-Fi ADB (see method 2).
- Run Scrcpy with an indication IP: scrcpy --tcpip=192.168.x.x:5555
- The display mirror will appear on the PC screen of Xiaomi. Use the mouse and keyboard to control.
The benefits of Scrcpy:
- ๐ฎ Minimum delays (up to) 30-50 ms on Wi-Fi 5 GHz).
- ๐ฑ๏ธ Keyboard support (you can play Genshin Impact or Call of Duty Mobile from PC).
- ๐ Screen recording in high quality.
Alternative: Vysor (simple but with limitations):
- ๐น Free version imposes watermark and limits permission.
- ๐น Requires installation of the Vysor application on a smartphone.
- ๐น Suitable for basic tasks (view notifications, respond to messages).
| Parameter | Scrcpy | Vysor |
|---|---|---|
| Cost | Free of charge. | Free and conditional (restrictions) |
| Delayed input | 30-50 ms. | 100-200 ms. |
| Keyboard support | Yes (including the hot keys) | Partially (Basic Commands Only) |
| Root is required. | No. | No. |
| It works without USB. | Yes (after setting up) ADB) | Yes, but we need a setup. APK) |
๐ก
Scrcpy is the best choice for gamers and developers due to minimal delays and open source. Vysor is suitable for simple tasks if you do not want to mess with the game. ADB.
5. Method 4: Cloud Services (Mi Cloud, Google Drive, Telegram)
If your local area network is not available (for example, you are in different countries) or Wi-Fi is unstable, use cloud storage. This is a universal method, but depends on the speed of the Internet and the amount of free space.
Options:
- โ๏ธ Mi Cloud: ๐น 5GB free (expands to 100GB for 100GB)โฝ/month). ๐น Automatic synchronization of photos and contacts. ๐น Access from PC: i.mi.com.
- ๐ Google Drive: ๐น 15GB free (shared with Gmail and Photos). ๐น Integration from Google Files to Android.
- ๐ Telegram: ๐น Send files up to 2GB to your Save Messages". ๐น There are no speed limits (unlike clouds).
How to upload files to Mi Cloud with Xiaomi:
- Open the Mi Cloud app (or Settings) โ Xiaomi account โ Mi Cloud).
- Select Photos, Files or another section.
- Select the files and download the files.
- On PC, log in to i.mi.com and download them.
โ ๏ธ Note: When downloading large files (>1 GB) in Mi Cloud over mobile Internet can trigger traffic restriction. Use Wi-Fi or monitor megabyte consumption.
How to speed up the download in Google Drive with Xiaomi?
Method 5: Local area network (SMB, DLNA)
For experienced users who want to configure permanent access to Xiaomi files from a PC (like a network drive), the protocol will suit. SMB (Windows or DLNA (multimedia).
Setting up SMB Xiaomi:
- Install a file manager with support SMB, Solid Explorer, for example.
- Open the net. โ Local area network โ Settings SMB.
- Turn on the server. SMB and ask: ๐ค User name (e.g., Xiaomi) ๐ Password (remember it!) ๐ Access folder (for example, Download)
Conductor
Network
\\192.168.x.x\
Limitations SMB Xiaomi:
- โ It does not work on all the firmware (on the POCO X5 Pro may need to be manually enabled in Developer Settings).
- โ Speed is lower than the speed. USB 3.0, but more stable FTP.
- โ Some antiviruses (such as Avast) are blocked. SMB-linkage.
DLNA multimedia streaming:
If you want to stream video or music from Xiaomi on PC:
- Install on the smartphone BubbleUPnP.
- Turn it on. DLNA-server.
- On PC, open a player with support DLNA (for example, VLC Windows Media Player and select your smartphone as the source.
7.Solving Problems: Xiaomi Doesn't Connect to PC over Wi-Fi
If none of these methods work, check out these points:
Problem 1: The device is not visible on the network
- ๐ Make sure your smartphone and PC are on the same subnet (for example, both are connected to the router, not to different access points).
- ๐ Restart your router โ sometimes DHCP-server forgets to give away IP-address.
- ๐ฑ Enable Network Visibility in Settings โ Connections โ File transfer.
Problem 2: ADB not connected by Wi-Fi
- ๐ง Check that port. 5555 Not busy (execute netstat) -ano | findstr 5555 into CMD).
- ๐ก๏ธ Turn off the firewall or add an exception to adb.exe.
- ๐ Make sure that in the settings โ For developers, the option of debugging over Wi-Fi is included (it is hidden on some firmwares).
Problem 3: Low file transfer speed
- ๐ถ Switch to 5GHz Wi-Fi (if the router supports).
- ๐ก Check network load (disable torrents, streaming on other devices).
- ๐ Use it. FTP-Multithreading client (e.g. FileZilla).
Problem 4: Mi Cloud doesnโt sync files
- โ๏ธ Check if the cloud is running out (Settings) โ Mi Cloud โ Warehouse).
- ๐ Update the Mi Cloud app on Google Play.
- ๐ต Enable Auto Sync in your account settings.
| Mistake. | Possible cause | Decision |
|---|---|---|
| adb: unable to connect to 192.168.x.x:5555 | Port closed by firewall or not launched ADB-server | Perform adb kill-server, then adb connect again |
| FTP- server is disabled via 5 minutes | Timeout by default MIUI | In the settings FTP On the phone, select Do not turn off |
| \\192.168.x.x\ not available | SMB-The server is not running or blocked by antivirus | Check Solid Explorer settings and turn off network protection |
| Mi Cloud does not upload files >1GB | Limiting mobile traffic | Connect to Wi-Fi or download via browser to PC |
๐ก
After the update MIUI stopped working FTP or ADB, Try resetting your network settings: Settings โ Connections โ Resetting Wi-Fi, mobile network and Bluetooth settings will remove saved networks, but often solve connection problems.
8. Alternative programs for wireless connection
If standard methods do not suit, try specialized applications:
1. AirDroid (Universal Tool)
- ๐น File transfer, SMS, notice.
- ๐น Remote screen control (with delay) ~100 ms).
- ๐น Free version is limited to 200 MB/month.
2. Snapdrop (direct transmission over Wi-Fi)
- ๐น Works through the browser (no applications required).
- ๐น Open snapdrop.net on both devices.
- ๐น Speed depends on the router (up to 50 MB / s on Wi-Fi 6).
3. LocalSend (private alternative to AirDrop)
- ๐น Open source (no tracking).
- ๐น Works over a local network or the Internet (with encryption).
- ๐น Download: GitHub.
Comparison of alternatives:
| Annex | Speed. | Remote control | Encryption |
|---|---|---|---|
| AirDroid | Average (10-20 MB/s) | Yeah (delayed) | Yes (in the premium version) |
| Snapdrop | High (up to 50 MB/s) | No. | No. |
| LocalSend | Tall (30-40 MB/s) | No. | Yes (AES-256) |
| Scrcpy | N/D | Yeah (minimal lags) | No (local area network only) |