How to turn it on FTP Xiaomi: A Complete Guide to File Access

Transfer files between Xiaomi smartphone and computer via FTP β€” One of the most convenient ways to share data without using cloud services or USB-Unlike the standard cable connection. MTP (which often slows down or does not work on some OS), FTP Allows you to access the file system of the device directly through Windows Explorer, macOS or any other FTP-A client like FileZilla, but in the latest versions. MIUI function FTP It is hidden deep in the settings, and on some models it is not at all in the standard interface.

In this article, we will discuss all possible ways to include FTP on smartphones Xiaomi, Redmi and POCO β€” From the official built-in function to alternative methods using third-party applications, you will learn how to configure access over the LAN, which ports to use, how to solve typical connection errors (for example, you will learn how to configure access over the LAN), which ports to use, and how to solve common connection errors, 530 Login incorrect or Connection timed out, and how to ensure the security of data transmission. MIUI 12/13/14, where the activation algorithm FTP changed.

What is it? FTP Why do you need it on Xiaomi?

FTP (File Transfer Protocol is a network protocol designed to transfer files between devices on a local network or over the Internet. FTP-server:

  • πŸ“ Access your smartphone files directly through your PC Explorer as if you were a regular folder.
  • ⚑ Transfer large files (video, backups, firmware images) without size restrictions.
  • πŸ”„ Manage files remotely: copy, move, delete, rename.
  • πŸ›‘οΈ Avoiding problems with MTP (For example, when Windows does not see the phone or gives drivers error).

Main advantage FTP In the case of alternatives like AirDroid or Mi Drop, there's no reliance on cloud servers and no limits on how much data you can transfer, and all files are transferred directly between your devices, which speeds up the process and increases privacy, but there are also disadvantages: requires a connection to one Wi-Fi network, and without additional settings, the connection is not encrypted (logins / passwords are transmitted in plain text).

Xiaomi. FTP implemented through a built-in server in MIUI, But its functionality depends on the firmware version. MIUI 14 for the global version, the configuration interface is simplified, and on Chinese firmware (China) ROM) There may be additional options. FTP You can always use third-party applications like Solid Explorer or FX File Explorer that supports local startup FTP-server.

πŸ“Š What file transfer method do you use more often?
USB-cable
FTP/Wi-Fi
Cloud services (Google Drive, Mi Cloud)
Messengers (Telegram, WhatsApp)

Verification of support FTP on your Xiaomi model

Before trying to turn on FTP, Make sure your Xiaomi model supports this feature at the firmware level. FTP-The server is available on most devices MIUI 8 and newer, but there are exceptions:

Model/SeriesSupport for built-in FTPNotes
Xiaomi 11/12/13 (modifications)βœ… Yes.Global firmware may be hidden in "Additional settings"
Redmi Note 10/11/12βœ… Yes.China. ROM free-limited
POCO F3/F4/F5βœ… Yes.May require activation through..hidden_settings
Xiaomi Mi A1/A2/A3 (Android One)❌ No.Use third-party. FTP-servers from Google Play
Devices on MIUI 14+ (2023–2026)⚠️ Partially.The function can be removed – check manually

To check for availability FTP on your phone:

  1. Open the Settings. β†’ About the phone and 5-7 times tap on the version MIUI, activate the developer mode.
  2. Go back to the main settings menu and find a new section for developers.
  3. Scroll down and look for an option. FTP-server.

If you don’t have an option, don’t worry: in the following sections, we’ll look at alternative methods) FTP It can be disabled by default for security reasons, and then manual activation through the ADB (below).

πŸ’‘

If you POCO or Redmi with custom firmware, try entering the code ##387## in the dial, this will open a hidden test menu, where sometimes there are options to enable. FTP.

Official method: incorporation FTP via settings MIUI

If your device supports built-in FTP, You can activate it in a few steps. MIUI 12–14 (Global/Chinese version).

Connect your phone and computer to the same Wi-Fi network|Open the developer settings (if not already activated)|Make sure the phone has enough charge (minimum 30%)|Remember. IP-Phone address (will be required to connect)-->

Step-by-step:

  1. Go to Settings. β†’ Additionally. β†’ For developers (if there is no partition, activate it as described above).
  2. Find the option. FTP-server (or local server) FTP) and tap her.
  3. Activate the switch Turn on FTP. The system can request confirmation via password/fingerprint.
  4. Set a username and password (the default is often anonymous without a password, but it’s not secure!).
  5. Pay attention to the line. FTP-The address is your local address. IP format ftp://192.168.x.x:2121. Remember it or copy it.
  6. Click Start – the server will be active until you manually stop it or turn off the phone.

You can now connect from your computer:

  • πŸ–₯️ On Windows: Open Explorer, enter in the address bar ftp://192.168.x.x:2121 (substitute IP) and press Enter.
  • 🍎 On macOS: Use Finder β†’ Connect to the server (combination Cmd)+K).
  • 🐧 On Linux: FTP in the terminal 192.168.x.x 2121 or use Nautilus/Dolphin.

When the first connection is made, the system may issue an unsafe connection warning, which is normal because it is not safe to connect. MIUI By default, it does not use encryption (FTPS). If you need protection, read the section on setting up SFTP below.

What to do if FTP does not start?
If the server is not activated after clicking "Start", check: 1. Firewall / antivirus on the phone (turn off temporarily). 2. Access rights - sometimes MIUI block FTP 3. Port 2121 – it may be occupied by another process (try changing the port manually through the port). ADB). 4. Energy saving mode - add FTP Exceptions (Settings) β†’ Battery β†’ Optimizing the battery).

Alternative methods: FTP via third-party applications

If built-in FTP Xiaomi is missing or unstable on your model, you can use third-party file managers with built-in FTP-The advantages of this method:

  • πŸ”§ More settings (port change, encryption, anonymous access).
  • πŸ“± It works on any firmware, including Android One.
  • πŸ”’ Support SFTP/FTPS secure transmission.

Best Apps to Launch FTP Xiaomi:

AnnexReferenceFeatures
Solid ExplorerGoogle PlayBuilt-in FTP/SFTP-server, support for WebDAV, two-panel mode
FX File ExplorerGoogle PlayFree. FTP-server, no advertising, no support ZIP-archive
MiXplorerXDA DevelopersAdvanced settings, work without root, support SMB

Let’s look at the example of Solid Explorer:

  1. Install the application and open it.
  2. Slip along three horizontal lines (menu) β†’ FTP-server.
  3. Click Launch – the address to connect will appear (for example, ftp://192.168.1.100:2221).
  4. If necessary, change the port (by default 2221) or enable authentication.
  5. Use the same instructions for accessing from the PC as for the built-in FTP.

If you need an encrypted connection (recommended for sensitive data transfer), in Solid Explorer or FX File Explorer Select the Protocol SFTP instead FTP. For that:

  1. In the server settings, enable the Use option. SFTP.
  2. Specify the path to the private key (can be generated in the application).
  3. On PC, connect via a client like WinSCP or FileZilla by selecting the protocol. SFTP.

πŸ’‘

sidenia FTP-servers are often more stable than the built-in server, but consume more battery!

Addressing common mistakes FTP Xiaomi

Even after the right setup FTP You can have connection errors. Let's look at the most common problems and their solutions:

1. Error 530 Login incorrect

Reasons:

  • πŸ”‘ Incorrect login/password (check register!).
  • 🚫 FTP-The server requires authentication, but you try to connect as anonymous.
  • πŸ”„ Password reset after reset (characteristically for MIUI 13+).

Decision:

  1. Reset it. FTP-phone-side.
  2. Make sure you enter the same data as you did when setting up.
  3. If the password is not accepted, reset it in the settings. FTP and ask for a new one.

2. Connection timed out error

Reasons:

  • 🌐 Phone and PC connected to different Wi-Fi networks.
  • πŸ”Œ Firewall on phone or router blocks port 2121.
  • πŸ“΅ FTP-server not running (check the notification in the curtain).

Decision:

  1. Make sure both devices are on the same network (check out the link). IP through settings β†’ Wi-Fi).
  2. Turn off the firewall on your phone (Settings) β†’ Annexes β†’ Permit management β†’ firewall).
  3. Try changing the port. FTP 2021 or 2221 (in server settings).

3. FTP It is connected, but the files are not displayed.

Reasons:

  • πŸ“‚ No permission to access folders (characteristically for MIUI restrictively).
  • πŸ” In the settings FTP root-catalog.
  • πŸ“± The phone has power saving mode that "sleeps down" FTP.

Decision:

  1. In the settings FTP Check the path to the root directory (should be) /storage/emulated/0/).
  2. Add an appendix FTP Except for battery optimization.
  3. Try connecting via another client (e.g. FileZilla instead of Windows Explorer).

πŸ’‘

If FTP It is not stable, try to connect through ES Conductor (even if the server is running on the phone) This method often bypasses the limitations of the system. MIUI.

Security: How to Protect FTP-Xiaomi connection

Standard. FTP-The protocol transmits data, including logins and passwords, in an open form, which means that any user on your local network (or hacker, if you're connected to public Wi-Fi) can intercept traffic to secure file transfers:

  • πŸ” Use it. SFTP/FTPS instead FTP (available in third-party applications).
  • πŸ›‘οΈ Enable authentication – never leave FTP anonymously.
  • πŸ”„ Change your password after each session (or use complex combinations).
  • 🌐 Turn it off. FTP After the transfer of files.
  • πŸ“΅ Don't connect to me. FTP via public networks (cafes, airports).

For maximum protection, set up SFTP (SSH File Transfer Protocol via Solid Explorer or Termux:

  1. Install Termux from F-Droid.
  2. Follow the commands: pkg update & pkg upgrade pkg install openssh sshd
  3. Connect to your PC via WinSCP or FileZilla by specifying the protocol SFTP, IP port 22.

If you want to transfer files over the Internet (not only on the local network), use ZeroTier or Tailscale to create a secure file. VPN-tunnel, and then connect to the FTP It's more complicated, but it guarantees privacy.

How to know if yours is yours FTP was hacked?
Signs of compromise: - Unknown files in phone folders. - Sharp increase in network traffic (check in Settings) β†’ Traffic. - Outsiders IP-Addresses in connection logs (if you keep a log). - Inability to connect to your log FTP (password changed).

FTP through ADB: power-user

If built-in FTP On your model, Xiaomi is disabled at the firmware level, it can be activated via ADB (Android Debug Bridge: This method requires a PC and basic command line knowledge.

Step-by-step:

  1. Install. ADB-computer-driver.
  2. On the phone, turn on the debugging. USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 taps β†’ For developers β†’ Debugging by USB).
  3. Connect your phone to the PC by USB and in the terminal, execute: adb devices (must display your device).
  4. Activate. FTP The team: Adb shell am start -n com.android.fileexplorer/.ftp.FtpService
  5. If the command fails, try an alternative method: adb shell settings put global. ftp_enabled 1 adb shell am broadcast -a android.intent.action.FTP_SERVER_STARTED

After completing the commands, check the notifications on the phone - a launch message should appear. FTP-If nothing happens, your firmware is blocking. FTP at the kernel level, and only the option with third-party applications remains.

For POCO Some Redmi models may require an additional command to unlock hidden settings:

adb shell am start -n com.miui.hidden_settings/.MainActivity

After that, the Hidden Settings section will appear in the settings, where you can manually enable it. FTP.

πŸ’‘

Use of the ADB activate FTP β€” If you're not sure what you're doing, you should use third-party filers to keep the system running smoothly.

FAQ: Answers to Frequent Questions

Can I include? FTP Xiaomi without Wi-Fi (via mobile Internet)?
Technically, yes, but it's extremely unsafe. It's like, "Enable the hotspot on your phone. Connect your PC to that hotspot. Run it." FTP-phone-side. ⚠️ Attention: Yours FTP It will be accessible to anyone who connects to your access point. Use only for temporary file transfers and be sure to turn off the server after use.
Why? FTP Xiaomi is running slowly?
The speed of transmission depends on: πŸ“Ά Wi-Fi signal quality (click closer to the router or use it) 5 GHz). πŸ“± Phone loads (close the background applications). πŸ–₯️ PC performance (check antivirus – it can scan transferred files). πŸ”Œ Router settings (Qos, speed limit for local devices). For acceleration: Use wired connection (USB-debugging + Adb portforward. disable encryption (if speed is critical, but it will reduce security (ZIP/RAR brake FTP).
How to transfer files from Xiaomi to Mac via FTP?
On macOS connection FTP It is done via Finder: Open Finder and press Cmd + K. Enter the address field ftp://192.168.x.x:2121 (substitute IP). Enter your login/password (if required) and click Connect. If Finder doesn't connect: Try using Cyberduck or Transmit. Make sure your phone has File Transfer Mode enabled (some versions of macOS require you to use it).
Can I use it? FTP for Xiaomi backup?
Yes, but with reservations: βœ… Suitable for: copying photos, videos, music, documents. ❌ Not suitable for: Application backup (.apk), SMS, call, system settings (use Mi Cloud or Swift Backup for this). FTP folder: /storage/emulated/0/DCIM /storage/emulated/0/Download /storage/emulated/0/Pictures For backup applications, use Titanium Backup (requires root) or adb backup.
How to turn off FTP Xiaomi, if you don't need it?
Stop it. FTP-server: For built-in FTP: Go to Settings. β†’ For developers β†’ FTP-server and click Stop. For third-party applications: close the file manager or turn off the server in its settings. FTP Starts by yourself: run the command: adb shell settings put global ftp_enabled 0 ⚠️ Attention: If you have used ADB activate FTP, After the server is disabled, it may be necessary to restart the phone for the changes to take effect.