The NFS (Network File System) protocol allows Xiaomi devices β whether smartphone, tablet or TV set-top box β to access files on network storage as if they were on a local drive, which is convenient for streaming NAS movies, backing up or working with large files without taking up the deviceβs memory, but the default feature is disabled: it needs to be activated manually, and on some firmware, it also unlocks hidden settings.
In this article, you will find step-by-step instructions for different types of Xiaomi devices, including solutions to common problems (such as connection errors or the absence of an NFS item from the menu).
β οΈ Important: Setup NFS It requires super-user rights on smartphones or activation of developer mode on TV set-top boxes.
What is NFS and why is it needed by Xiaomi?
NFS is a network protocol developed by Sun Microsystems in 1984 for remote file system access, and on Xiaomi devices it allows:
- π¬ Stream movies in 4K HDR s NAS-servers without buffering (if the network supports 1 Gbps).
- π Work with files on a remote server as with local ones (edit, delete, move).
- π Automatically synchronize backups between devices.
- π₯οΈ Connect network folders as a disk in a file manager (e.g., in Mi File Explorer).
Compared to alternatives (SMB, FTP, WebDAV), NFS benefits in speed and stability, especially when working with large files.
- NFS-server (e.g., Synology) NAS, QNAP Linux PC with configured nfs-kernel-server).
- Local area network with IPv4 support (NFS does not work over the Internet without VPN).
- Read/write rights for the connected folder.
β οΈ Note: On smartphones Xiaomi with MIUI protocol NFS It is blocked by default due to security restrictions and requires root rights or workarounds (see section below).
Preparing Xiaomi Device for NFS
Before setting up, check:
The device is connected to the same network as the NFS-server|Export of folder is configured on the server (file) /etc/exports)|Xiaomi has a developer mode enabled|File Manager with Support NFS (for example, FX File Explorer)|Unplugged. VPN Proxies that can block local traffic-->
If you are using a Xiaomi TV Box (such as the Mi Box S or Mi Box 4K), activate the developer mode:
- Go to Settings. β About the device.
- Press 7 times on the MIUI version (or Android TV version).
- Go back to the main settings menu and open a new section for developers.
- Enable USB Debugging and Network Debugging.
On smartphones (Redmi Note 12, POCO X5, Xiaomi 13, etc.) additionally require:
- π Unlock the bootloader through the official Xiaomi tool.
- π± Install custom restoration (TWRP) Get root rights (for example, through Magisk).
Smartphone (MIUI)|TV set-top box (Android) TV)|Tablet (Pad 6 et al.)|Other-->
How to turn on NFS on Xiaomi smartphones (MIUI)
The standard file manager Mi File Explorer does not support NFS. You will need a third-party application, such as:
- π FX File Explorer (paid version with module) FX Connect).
- π Solid Explorer (requires a plugin) NFS Plugin).
- π οΈ Root Explorer (only for rooted devices).
Instructions for FX File Explorer:
- Install the app from Google Play.
- Open the side menu and select Add Storage β Add Network Storage.
- Select NFS and enter server data: Server: 192.168.1.100 (IP of your NAS) Port: 2049 (default) Exportable folder: /mnt/nas/shares/movies Username: (if authentication is required)
- Press Connect and wait for the mounting.
β οΈ Note: If the connection fails, check:
- π The server is allowed access to IP Your smartphone (check the file) /etc/exports).
- π Turn off the firewall on the router for local traffic.
- π΅ Make sure your smartphone is not running traffic saving mode (it can block the device). NFS).
π‘
If NFS doesnβt work on MIUI 14, try retracing to MIUI 13 or using an alternative protocol called SMB (also known as FX File Explorer).
NFS on Xiaomi TV Box: step-by-step customization
Xiaomi TV set-top boxes (such as the Mi Box S or Mi TV Stick 4K) support NFS out of the box, but the option is hidden.
- Install the File Commander or X-plore File Manager app from Google Play.
- Open the application settings and find the Network Storage section.
- Select Add Add. NFS and type: Server name: 192.168.1.100 The way to the folder: /mnt/nas/videos Name for display: NAS_Films
- Save the settings and reboot the console.
On Android TV 12+ consoles (such as Xiaomi TV Box 4S Max), NFS may not automatically mount, in which case use the ADB command to force the connection:
adb shell mount -t nfs -o nolock 192.168.1.100:/mnt/nas/shares /storage/emulated/0/Download/NASTo keep the mounting after the reboot, add the command to the script init.d (root required).
How to check if NFS is connected to a TV set-top box?
Solving NFS problems on Xiaomi
If the NFS is not working, use the diagnostic table:
| Symptoms. | Possible cause | Decision |
|---|---|---|
| Error "Permission denied" | Insufficient rights on the server | Check chmod and chown for exported folder |
| NFS is not installed after restarting | There's no autoloading. | Add the mount command to init.d or cron |
| Slow transmission speed | NFSv3 is used instead of NFSv4. | Update the protocol on the server and client |
| App doesn't see NFS | There is no support in the file manager | Install FX File Explorer or Solid Explorer |
For smartphones with MIUI, a common problem is locking NFS at the kernel level.
- π§ Install a custom core with support NFS (For example, FrancoKernel for POCO F3).
- π² Use an alternative, WebDAV or SSHFS (via Termux).
π‘
If NFS is only for streaming video, consider Plex or Jellyfin β they bypass the limitations of MIUI and work without root.
NFS Alternatives for Xiaomi: When the Standard Way Doesn't Work
If you canβt turn on NFS, use one of these methods:
- π₯οΈ SMB (Samba: Works on all Xiaomi devices without root.Use the Mi File Explorer app β Network β Samba.
- π WebDAV: Supported by Solid Explorer and FX File Explorer requires server configuration (Apache or Nginx).
- π FTP: Simple but insecure protocol. Use encryption. FTPS or SFTP.
- βοΈ Cloud services: Xiaomi Cloud, Google Drive or Nextcloud with automatic synchronization.
For set-top boxes, the best alternative is Kodi with an NFS or SMB plugin. Install it from Google Play and configure the media source:
- Open Kodi β Files β Add files.
- Select the Protocol β NFS (or Windows (SMB)).
- Enter the path to the server (e.g., nfs://192.168.1.100/mnt/nas/movies).
- Please provide a username/password (if required) and save it.
Security with NFS on Xiaomi
The NFS transmits data in plain form, making it vulnerable to interception, to protect the connection:
- π Set up. NFSv4 coded (krb5 or krb5i).
- π‘οΈ Restrict access to the server by IP file-wise /etc/exports: /mnt/nas/shares 192.168.1.0/24(rw,sync,no_subtree_check)
- π Use it. VPN (For example, WireGuard for remote access.
- π Update your firmware regularly NAS and client devices.
β οΈ Note: On smartphones with MIUI Some applications (such as a gallery) may not see files mounted on the NFS, Because of the limitations of Scoped Storage, in which case, copy the files to local storage or use Kodi to view the files.