How to Set Up NFS on Xiaomi 10S: A Complete Guide to Solving Typical Problems

Network File System (NFS) allows you to turn your Xiaomi 10S into a full-fledged client for working with remote files โ€” whether it is a home NAS, server or corporate storage. However, standard MIUI tools do not support NFS out of the box, which forces users to look for workarounds. In this article, we will discuss three working methods of configuration: through client applications, manual mounting via Termux and using Magisk modules for system integration.

Features of Xiaomi 10S (The thyme model based on Qualcomm Snapdragon 870 is based on the limitations of the Android kernel, which block native support. NFS This means that even with root rights, youโ€™ll need an additional kNFSd module or patch for init.rc to make the system recognize the user. NFS-So we tested all the balls as local disks. MIUI 14.0.6 (Android 13) and highlighted the pros/cons of each approach.

1. Device Preparation: What to Do Before Setting Up NFS

Before you start mounting a network drive, make sure your Xiaomi 10S meets the minimum requirements:

  • ๐Ÿ“ฑ Version. MIUI: 12.5+ (On older firmware, there may be problems with access rights).
  • ๐Ÿ”Œ Network Connection: 5GHz stable Wi-Fi or Ethernet adapter (recommended for NAS).
  • ๐Ÿ”’ Unlocked bootloader: Mandatory for methods with Magisk or Termux root.
  • ๐Ÿ“ NFS-server: check that the server is allowed to export to your subnet (rw,sync setting,no_subtree_check into /etc/exports).

If you plan to use Termux, install it from F-Droid - the version from Google Play is outdated and does not support the necessary packages.

ping your nfs_ server


nmap -p 2049 your nfs_ server

โš ๏ธ Note: On some firmware Xiaomi blocks ICMP-If the server is not responding, temporarily turn off Termux power saving mode in the battery settings.

๐Ÿ“Š What method of setting NFS you prefer?
Through a client application
Manual mounting in Termux
Magisk modules
I haven't decided yet.

Method 1: Client applications for NFS (without root)

The easiest way to connect to NFS-And the other thing is, you can use third-party clients from Google Play, which don't require root rights, but they have speed and functionality restrictions:

AnnexSupport for NFS v3/v4Auto-mountingLimitations
NFS Managerv3, v4 (partially)Yes (paid)No simlink support, slow work with large files
Total Commander + Pluginv3No.Only reading files, no recording
FX File Explorerv3, v4Yes.Paid version for recording, bugs with Cyrillic alphabet in the ways

To set up in NFS Manager:

  1. Open the app and click + โ†’ Add NFS Share.
  2. Enter server data: ๐Ÿ“Œ Server: IP or hostname (for example, 192.168.1.100) ๐Ÿ“‚ Export Path: The path to the ball (e.g, /mnt/nas/shares) ๐Ÿ”‘ Mount Options: rw,soft,intr,tcp,vers=3

Mount

โš ๏ธ Note: Client applications are being installed NFS This means that the files will not be visible to other programs (for example, a gallery or a video player) without additional manipulation of the simlinks.

Successfully connected to the ball.|Files are displayed in the appendix|Checked speed of reading / writing|A test file was created on the server-->

Method 2: Manual mounting via Termux (with root)

For power users, Termux offers the flexibility to configure NFS with full control over mounting options, a method that requires root rights and basic knowledge of working with Linux commands.

Steps to set up:

  1. Install Termux and update packages: pkg update & & pkg upgrade pkg install root-repo
  2. Install utilities for working with NFS: pkg install nfs-utils
  3. Create a mount point and connect the ball: mkdir ~/nfs_share su mount -t nfs -o rw,soft,intr,tcp,vers=3 192.168.1.100:/mnt/nas/shares ~/nfs_share

To mount it automatically when downloading, add a line to the /data/adb/post-fs-data.d/nfs_mount.sh:

#!/system/bin/sh


mount -t nfs -o rw,soft,intr,tcp,vers=3 192.168.1.100:/mnt/nas/shares /data/media/0/nfs_share

โš ๏ธ Attention: When using vers=4 There is an error on some servers RPC: Program not registered. In this case, force version 3 in the mounting settings.

ln -s /data/media/0/nfs_share /sdcard/NFS_Share

This will make the ball visible to all applications.-->

Method 3: System integration through Magisk (for advanced)

To fully support NFS at the kernel level, you will need to install the kNFSd module via Magisk, which provides maximum speed and stability, but requires an unlocked bootloader and a Magisk v26+ installed.

Instructions:

  1. Download the kNFSd module (ARM64 version).
  2. Install it through Magisk Manager (Modules section).
  3. Reset the device.
  4. Check the loading of the module: su lsmod | grep nfs The nfs, sunrpc and lockd modules must be displayed.

โ“ How to set up NFS Xiaomi 10S with custom firmware (for example, LineageOS)?
On custom firmware (for example, LineageOS) 20) NFS It's just enough: Make sure the kernel has modules. CONFIG_NFS_FS and CONFIG_NFS_V3. Edit /etc/fstab Or you can use mount manually. Use init.d scripts to auto-mount. LineageOS also runs standard. NFS Manager without root.
โ“ Can I use it? NFS Backup data from the phone?
Technically yes, but it is not recommended for several reasons: NFS It doesn't support incremental copying out of the box. If you break the connection, you can lose data. You can use specialized solutions like Syncthing or rsync (via Termux). If you do, mount the ball in rw mode and use tar to archive: tar. -czvf /mnt/nfs_share/backup_$(date +%Y%m%d).tar.gz /sdcard/DCIM
โ“ Why is the video NFS-The balls are slowing down on Xiaomi 10S?
The problem is usually buffering. Try: Increase the cache size: add rsize=65536,wsize=65536 to the mount option; use a player that supports network caching (for example, VLC or MX Player); recode the video to a lighter format (for example, H.264 instead of H.265); connect via cable (Ethernet adapter).