NFS on Xiaomi Poco X3 Pro: full instructions for setting up network storage

Xiaomi Poco X3 Pro is a powerful smartphone with a Snapdragon 860 processor, but even its 128/256 GB of internal memory may not be enough to store large files. The solution is to connect network storage using the NFS (Network File System) protocol, which allows you to mount remote folders as local drives, saving space on the device and providing access to files from other gadgets.

Unlike SMB or FTP, NFS offers faster data transfer speeds and less CPU load, which is critical for the Poco X3 Pro when working with media files or backups. However, the setup requires root rights or the use of Termux, which is what the manual will talk about.

Important: NFS is not supported out of the box by Android. It will require custom software (like LineageOS) or manual client installation, and we will look at both options, as well as a breakdown of common errors such as mount: permission denied or rpcbind failure.

What is NFS and why you need it on your smartphone

NFS (Network File System) is a file access protocol developed by Sun Microsystems in 1984 that allows remote directories to be mounted as local, providing transparent access to data. For Xiaomi Poco X3 Pro, this means:

  • ๐Ÿ“ Memory extension: files are stored on the server (PC, NAS, router, but opens as if on a local drive.
  • โšก High speed: NFS Optimized for local networks, overtaking SMB/FTP when working with small files.
  • ๐Ÿ”„ Synchronization: Changes to the server are immediately reflected on the smartphone (and vice versa).
  • ๐Ÿ›ก๏ธ Security: Supports authorization by IP, Export only for certain devices.

Where will this be useful?

  • ๐ŸŽฌ Storage of films/series for NAS and look through VLC or Kodi without downloading the phone.
  • ๐Ÿ“ฑ Backup of photos/contacts to the server in the background.
  • ๐ŸŽฎ Starting emulators (e.g, PPSSPP) s ROM-file-stacked.
  • ๐Ÿ’ป Development: Access to projects on a remote server via Termux.

The NFS wins over the alternatives:

ProtocolSpeed.CPU loadingSetting upAndroid support
NFSโญโญโญโญโญLow.Difficult.Requires root/Termux
SMB (Samba)โญโญโญMediumSimple.I got it in MIUI.
FTPโญโญTall.Simple.I got it in MIUI.
WebDAVโญโญโญMediumMediumRequires an appendix

โš ๏ธ Attention: NFS It sends data in an open form. Use it to protect traffic. VPN or tune in NFS over TLS (requires additional core modules).

Requirements and preparation of the device

Before setting up the NFS on the Poco X3 Pro, check:

Make sure that MIUI is at least 12.5 (for compatibility with Termux)

Enable USB Debugging in Settings โ†’ About Phone โ†’ MIUI Version (7 times press)

Install Magisk (if you plan to use root)

Download Termux from F-Droid (proot-distro version)

Connect your smartphone and server to the same network (Wi-Fi or Ethernet via the same network) USB-adapter)

-->

For work. NFS-Android customers have two ways:

  1. Root rights: Full support through kernel modules (recommended for stability).
  2. No root: via Termux with Linux environment emulation (limited functionality).

Minimum server requirements (PC/NAS):

  • ๐Ÿ–ฅ๏ธ OS: Linux (Ubuntu/Debian), Windows 10/11 (s WSL2) or Synology/QNAP.
  • ๐Ÿ“ถ Network Connection: Gigabit router (for speed) >100 Mbps).
  • ๐Ÿ’พ Free space: from 50 GB (depending on tasks).

โš ๏ธ Attention: On Poco X3 Pro with firmware MIUI Global may be blocked mounting NFS Because of SELinux, the solution is to switch to Permissive mode).

With root rights.|Through Termux without root|Not yet.|Another option-->

Setting up NFS-server NAS

To test, connect a folder from a PC running Ubuntu 22.04. If you have Windows, use it. WSL2 with the Ubuntu distribution or set up NFS-Windows server (e.g. hanewin) NFS).

Steps for Linux Server:

  1. Install NFS: sudo apt update & & sudo apt install nfs-kernel-server
  2. Create an exportable folder and assign rights: sudo mkdir -p /mnt/nfs_share sudo chown nobody:nogroup /mnt/nfs_share sudo chmod 777 /mnt/nfs_share
  3. Set up export in /etc/exports: sudo nano /etc/exports Add a line (replace) 192.168.1.0/24 subnet): /mnt/nfs_share 192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash)
  4. Apply changes and restart the server: sudo exportfs -a sudo systemctl restart nfs-kernel-server

To check exports, do:

sudo exportfs -v

If you use Synology NAS:

  1. Open Control Panel โ†’ File service โ†’ Win/Mac/NFS.
  2. Enable NFS and add a rule for the folder.
  3. Indicate. IP-Poco address X3 Pro in the Privilege field.

net.core.rmem_default=262144

net.core.wmem_default=262144

sudo sysctl -p

Installation NFS-POCO X3 Pro root

If your smartphone has an unlocked bootloader and Magisk is installed, follow the instructions:

  1. Install the module. NFS Utilities via Magisk: Download the module NFS (zip file. Go to Magisk โ†’ Modules. โ†’ Install it from storage. Select the downloaded file and restart the device.
su


mount | grep nfs

If the command is executed without errors, the module is installed correctly.

su


mkdir /sdcard/nfs_mount




mount -t nfs 192.168.1.100:/mnt/nfs_share /sdcard/nfs_mount -o rw,soft,timeo=5,retrans=3

Where:

  • 192.168.1.100 - IP server;
  • /mnt/nfs_share โ€” exportable;
  • /sdcard/nfs_mount โ€” phone-mount.

Limitations of the method:

  • ๐Ÿข Speed is limited by emulation (maximum) ~30 MB/s).
  • ๐Ÿ“‚ Files are only available inside Termux.
  • ๐Ÿ”„ There is no automatic mounting when restarting.