Connection NFS Xiaomi Poco X3 Pro: from server settings to folder mounting

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):

CriteriaNFSSMBFTP/WebDAV
Transmission speedโญโญโญโญโญโญโญโญโญโญ
Support for AndroidRequires manual adjustmentBuilt-in (via annexes)Built-in.
Delay (latency)Low.MediumTall.
SecurityDepends on the version (NFSv4 support)SMB3 supportFTP โ€” 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:

  1. Install NFS-server (for example, through the Control Panel) โ†’ Programmes and components โ†’ Enabling or disabling Windows components โ†’ Server for NFS).
  2. 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)).
  3. 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:

  1. Install Termux from F-Droid (the version from Google Play is outdated and doesnโ€™t support all commands).
  2. Update packages and install nfs-utils: pkg update && pkg upgrade pkg install nfs-utils
  3. Create a folder for mounting (for example, ~/nfs_share): mkdir ~/nfs_share
  4. 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_share

Team 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:

  1. Install Termux and update packages (as in the previous method).
  2. Install nfs-utils and tsu (to run root commands): pkg install nfs-utils tsu
  3. Create a folder to mount in the system partition (for example, /mnt/nfs_share): tsu mkdir /mnt/nfs_share
  4. 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
  5. 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 0

Important: 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?
If after improper mounting, the smartphone stopped responding to commands, perform a forced disconnection through ADB: 1. Connect your phone to your PC. 2. The command is: adb shell su umount -f /mnt/nfs_share If this doesnโ€™t help, restart the device in Safe Mode (hold the power button). โ†’ long tap on "Switch off" โ†’ "Restarting in Safe Mode").

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:

AnnexNeed root?PlusesCons
NFS ManagerNo.Simple interface, support NFSv3/v4Paid version for advanced functions
Root Explorer + NFS PluginYes.Integration with the file managerMagisk requires, the plugin is purchased separately
Total Commander + LAN PluginNo.Free, support. SMB and NFSNo automatic mounting

Example of settings in NFS Manager:

  1. Download the app from Google Play.
  2. Add a new server: specify IP, The path to the folder and the protocol version (usually) NFSv3).
  3. 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_share

Common mistakes and their solutions:

Mistake.Reason.Decision
mount: Operation not permittedInsufficient permissions or the server blocks the connectionCheck the export rules on the server (/etc/exports) and folder rights (chmod) 777)
mount: Connection timed outThe server is unavailable or blocked by a firewallCheck ping to server and router settings (open port 2049)
mount: Protocol not supportedUnsupported version NFSSpecify the version clearly: -o nfsvers=3 or -o nfsvers=4
The installation was successful, but the folder is empty.Incorrect access rights on the serverOn 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_share

Make it executable:

chmod 755 /data/local/userinit.d/nfs_mount.sh

Setting 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_share

To 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 autofs

Create a configuration file /data/local/autofs.conf:

/mnt/nfs_share 192.168.1.100:/ path -fstype=nfs,soft,tcp,nolock

Start the service:

autofs /data/local/autofs.conf
How to check supported versions NFS server-side?
Run the command on the server: rpcinfo -p | grep nfs Or for NFSv4: cat /proc/fs/nfsd/versions Nana Synology/QNAP Information about supported versions is usually listed in the control panel in the section NFS.

FAQ: Frequent questions about NFS on Poco X3 Pro

Can I connect NFS without root and Termux?
Yeah, with apps like, NFS Manager or Total Commander with a plugin LAN Plugin. However, these solutions do not allow you to mount folders as system drives - access to files will only be through the application itself.
Why is the resetting resetting?
Android does not save custom mounting after rebooting. To fix this, add a mount command to the /etc/fstab (requires root or use script in init.d/Magisk.
NFS It's slow on Wi-Fi. How to speed up?
Try the following steps: Connect to a 5GHz network (less loaded than 2.4GHz). Increase the block size: rsize=32768,wsize=32768. Use it. TCP instead UDP. If the router supports, enable QoS and prioritize traffic NFS.
Can I connect to the NFS via mobile Internet (4G/5G)?
Technically yes, but it is highly discouraged: ๐Ÿ“ก Mobile Internet has high latency, which will lead to permanent connection breaks. ๐Ÿ”’ Traffic. NFS It is not encrypted (use it). VPN or NFSv4 + Kerberos). ๐Ÿ’ฐ Traffic consumption will be high (NFS It is not optimized for slow channels. SFTP remotely.
How to repair NFS-folder if the system does not respond?
If the standard umount command doesnโ€™t work, try: umount -f /If that doesn't work, reboot your smartphone. ADB: adb shell su umount -l /Path/to/Folder Option -l (lazy unmount) postpones shutdown until resources are released.