Xiaomi Poco X3 Pro โ a powerful smartphone with support for advanced networking functions, including working with the protocol NFS (Network File System: This protocol allows you to mount remote folders as local drives, which is convenient for accessing files on the Internet. NAS-Server, home PC, or even cloud-based storage NFS. However, standard Android settings do not include built-in support. NFS, Therefore, users have to use the workarounds.
In this guide, we will discuss three main ways to connect. NFS Poco X3 Pro: through the root terminal, through client applications, and through Magisk modules, you'll also learn how to configure the server. NFS On the PC or router side, what errors can occur during mounting and how to fix them. Particular attention will be paid to optimizing data transfer speeds - this is critical for comfortable work with large files (for example, video in resolution). 4K disk-image).
If you have never worked with NFS, Don't worry, the manual is customized for beginners, we avoid complex terminology and give step-by-step steps with explanations. For experienced users, at the end of the article there is a section with advanced settings, including fine-tuning mounting parameters and solving rare errors.
1.What is NFS and why you need it on a smartphone
Protocol NFS (Network File System was developed by Sun Microsystems in 1984 to allow files to be accessed over a network as if they were stored locally. SMB (used in Windows) or AFP (macOS), NFS Optimized for Unix-like systems, including Android, and provides faster data transfer speeds when set up correctly.
At Xiaomi Poco. X3 Pro NFS It may be useful in the following scenarios:
- ๐ Access to files on NAS (Synology, QNAP, TrueNAS) without using proprietary applications.
- ๐ฎ Storage of games and emulators on a network drive (for example, for RetroArch or PPSSPP).
- ๐น High-resolution streaming video without buffering (if the network is set to 1 Gbps).
- ๐ง Backup of photos and documents to the home server.
- ๐ป Working with remote projects (e.g. code in the VS Code through Termux).
Main advantages NFS before alternatives (SMB, FTP, WebDAV):
| Criteria | NFS | SMB | FTP/WebDAV |
|---|---|---|---|
| Transmission speed | โญโญโญโญโญ | โญโญโญ | โญโญ |
| Support for Android | Requires manual adjustment | Built-in (via annexes) | Built-in. |
| Delay (latency) | Low. | Medium | Tall. |
| Security | Depends on the version (NFSv4 support) | SMB3 support | FTP โ Unsafe, WebDAV โ Depends on the settings |
โ ๏ธ Attention: NFS It does not encrypt traffic by default (unlike the default traffic code). SFTP or SMB3). If you connect to the server via an open network (for example, in a cafe), use the VPN or tune in NFSv4 Kerberos-supported.
2.Preparation: What it takes to connect NFS
Before you start setting up, make sure you have everything you need:
Is it installed on the smartphone Magisk (for root methods)
Is there access to the server? NFS (NAS, PC Linux/Windows + NFS-server)
Smartphone and server connected to the same network (preferably via cable or Wi-Fi) 5/6)
Is the router turned off firewall blocking ports NFS (usually 2049/TCP)
Whether the necessary applications are downloaded (Termux, NFS Manager or Root Explorer)
-->
If you are planning to connect to NAS-device (e.g., Synology) DS220+ or QNAP TS-251), check:
- ๐ Is the service on? NFS control panel NAS (usually in the file server section โ NFS).
- ๐ Are the correct permissions for the folder (e.g., rw) given,no_root_squash full access).
- ๐ The server and smartphone are in the same subnet (for example, the server and the smartphone are in the same subnet, 192.168.1.x).
To connect to a Windows computer, you will need:
- Install NFS-server (for example, through the Control Panel) โ Programmes and components โ Enabling or disabling Windows components โ Server for NFS).
- Set up the export of folders in the file C:\Windows\System32\drivers\etc\exports (line-piece: C:\SharedFolder 192.168.1.0/24(rw,no_root_squash)).
- Reset the service NFS Nfsd Restart Team in PowerShell (with Administrator Rights).
โ ๏ธ Attention: On Windows 10/11 Home built-in NFS-You'll either need to upgrade to Pro or use third-party solutions like haneWIN. NFS Server (paid) or WinNFSd (free but limited).
NAS (Synology, QNAP, etc.)
Linux computer (Ubuntu, Debian, etc.)
Windows computer
Router with support NFS (Asus, Keenetic, et al.)
Another option-->
Method 1: Connection NFS via Termux (without root)
If you donโt have root rights, you want to try. NFS, You can use the Termux terminal with the installed nfs-utils package. This method does not require modification of the system, but has limitations: the mounted folder will only be available inside Termux.
Steps to set up:
- Install Termux from F-Droid (the version from Google Play is outdated and doesnโt support all commands).
- Update packages and install nfs-utils: pkg update && pkg upgrade pkg install nfs-utils
- Create a folder for mounting (for example, ~/nfs_share): mkdir ~/nfs_share
- Connect to NFS-server (replace) IP_SERVER and /path / to / folder on your own: mount -t nfs -o soft,udp,nolock IP_SERVER:/path/to/folder ~/nfs_share
Example of a command to mount a folder with NAS Synology:
mount -t nfs -o soft,tcp,nolock,rsize=8192,wsize=8192 192.168.1.100:/volume1/Share ~/nfs_shareTeam parameters:
- soft โ breaks the connection in case of error (prevents hanging).
- Tcp - uses the protocol TCP (more securely UDP).
- nolock โ disables file locking (may be required for compatibility)
- rsize/wsize=8192 โ Read/write block size (increases speed).
โ ๏ธ Warning: After the smartphone is restarted, the mounting will reset. To avoid this, add a command to the file. ~/.bashrc or use Termux:Boot to automatically execute when you start.
๐ก
If the mounting is not working, check if the port is open. 2049 on the server by the telnet command IP_SERVICE 2049 (In Termux, install the telnet package).
Method 2: Connection NFS with root rights (full installation)
If it's your Poco X3 Pro installed by Magisk, you can install NFS-folders are like system drives, which will give access to them from any file manager (for example, MiXplorer or Solid Explorer).
Instructions:
- Install Termux and update packages (as in the previous method).
- Install nfs-utils and tsu (to run root commands): pkg install nfs-utils tsu
- Create a folder to mount in the system partition (for example, /mnt/nfs_share): tsu mkdir /mnt/nfs_share
- Mount the folder from the server: mount -t nfs -o soft,tcp,nolock,rsize=8192,wsize=8192 192.168.1.100:/path /mnt/nfs_share
- Check the result with the command: df -h | grep nfs If the folder is displayed - mounting was successful.
To keep the mounting after the reboot, add a line to /etc/fstab:
192.168.1.100:/path/to/folder /mnt/nfs_share nfs soft,tcp,nolock,rsize=8192,wsize=8192 0 0Important: editing /etc/fstab This can cause the system to not boot if you make an error!
How to unmount the folder if the system is frozen?
5. Method 3: Use client applications (without root and Termux)
If you don't want to mess around with the terminal, you can use specialized applications, which are easier to set up, but may have speed or functionality limitations.
Top.-3 application NFS Android:
| Annex | Need root? | Pluses | Cons |
|---|---|---|---|
| NFS Manager | No. | Simple interface, support NFSv3/v4 | Paid version for advanced functions |
| Root Explorer + NFS Plugin | Yes. | Integration with the file manager | Magisk requires, the plugin is purchased separately |
| Total Commander + LAN Plugin | No. | Free, support. SMB and NFS | No automatic mounting |
Example of settings in NFS Manager:
- Download the app from Google Play.
- Add a new server: specify IP, The path to the folder and the protocol version (usually) NFSv3).
- In the mounting settings, select the options: ๐ Soft mount โ for automatic connection break in case of errors. ๐ถ TCP โ For stability (the default can be UDP). ๐ No lock โ if the server does not support file locking.
Mount
โ ๏ธ Note: apps without root may not display mounted folders in standard file managers. Use the built-in browser or Total Commander to access files.
6. Speed optimization and error solving
NFS It can be slow because of a network or server setting that's not right:
Mounting parameters for maximum speed:
- ๐ Increase the block size: rsize=32768,wsize=32768 (maximum 65,536, but can cause errors on weak servers).
- ๐ Use tcp instead of udp (more reliable, especially on Wi-Fi networks).
- ๐ก Turn off atime (last access time): noatime.
- ๐ If the server supports, turn on NFSv4 encrypted: sec=krb5p.
Example of an optimized team:
mount -t nfs -o soft,tcp,noatime,nodiratime,rsize=32768,wsize=32768,intr 192.168.1.100:/path /mnt/nfs_shareCommon mistakes and their solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| mount: Operation not permitted | Insufficient permissions or the server blocks the connection | Check the export rules on the server (/etc/exports) and folder rights (chmod) 777) |
| mount: Connection timed out | The server is unavailable or blocked by a firewall | Check ping to server and router settings (open port 2049) |
| mount: Protocol not supported | Unsupported version NFS | Specify the version clearly: -o nfsvers=3 or -o nfsvers=4 |
| The installation was successful, but the folder is empty. | Incorrect access rights on the server | On the server, run chmod -R 777 /path/to/folder (temporary for the test) |
๐ก
If the transfer speed is low, first check the network: connect the smartphone to the router via cable (via the cable). USB-ETH Adapter or use Wi-Fi 5/6 frequency-wise 5 GHz.
7. Advanced settings (for power users)
If you want to make the most of it NFS, Pay attention to these subtleties:
Automatic mounting via init.d:
Create a script. /data/local/userinit.d/nfs_mount.sh (Init.d support is required in the kernel or Magisk module):
#!/system/bin/sh
sleep 30
mount -t nfs -o soft,tcp,nolock,rsize=32768,wsize=32768192.168.1.100:/ path /mnt/nfs_shareMake it executable:
chmod 755 /data/local/userinit.d/nfs_mount.shSetting up NFSv4 coded:
If the server is supported NFSv4 with Kerberos, specify in the mounting options:
mount -t nfs4 -o sec=krb5p 192.168.1.100:/ path /mnt/nfs_shareTo do this, you need to pre-configure Kerberos on the server and smartphone (which is beyond the scope of this article).
Use of autofs for on-demand mounting:
Install autofs in Termux:
pkg install autofsCreate a configuration file /data/local/autofs.conf:
/mnt/nfs_share 192.168.1.100:/ path -fstype=nfs,soft,tcp,nolockStart the service:
autofs /data/local/autofs.conf