Have you ever faced a situation where your Xiaomi smartphone stubbornly clings to a weak Wi-Fi signal instead of switching to a more stable network? Or the Mi Router gives priority to devices that do not currently need high speed? Wi-Fi prioritization is a key feature that allows you to manage which network or device will have an advantage when connecting. In this article, we will examine all the nuances of setting priorities on Xiaomi smartphones and routers, and also explain how to avoid the typical errors that lead to slow Internet.
The manufacturer doesnโt always emphasize this feature in official instructions, but setting the prioritization right can significantly improve the user experience. For example, you can get the phone to automatically connect to 5 GHz instead of a congested 2.4 GHz network, or configure the router to give maximum speed to your work laptop, rather than a smartphone that just downloads updates in the background. Next, weโll look at all the available methods โ from basic settings in the phone menu to advanced features of MIUI firmware and Xiaomi routers.
What is Wi-Fi Prioritization and Why You Need It
Wi-Fi prioritization is a mechanism that determines which network or device will have an advantage in allocating connectivity resources. At the smartphone level, this means choosing between available networks (e.g., the network, Home_5G vs Home_2.4G), a at the router level - the distribution of bandwidth between connected gadgets.
Why would you do that?
- ๐ถ Connection stability: automatically connect to the network with the best signal, avoiding breaks.
- โก Maximum speed: prioritize devices that need high bandwidth (e.g. streaming) 4K or online gaming).
- ๐ Saving charge: the smartphone will not constantly scan and reconnect to weak networks, which reduces battery consumption.
- ๐ฎ Game mode: on Xiaomi routers, you can prioritize for the console or PC to reduce ping.
Without the right setup, you may find yourself stuck on a weak 2.4 GHz network, even though there is a powerful 5 GHz nearby, or when the router evenly divides the speed between all devices, instead of giving the maximum to the one that really needs it.
Prioritizing Wi-Fi on Xiaomi smartphones (MIUI 12โ14)
Since MIUI 12, Xiaomi has added tools to manage network priorities, but these are hidden in the depth of settings. Consider two main ways: manual network selection and automatic prioritization.
To manually prioritize the network:
- Open the Settings. โ Wi-Fi.
- Click on the current network name and select Network Management.
- Enable Auto Connection for Priority Network (e.g, Home_5G).
- For other networks, turn off Automatic Connection or set Low Priority (if available).
Automatic Prioritization (not available on all models):
- ๐ Go to Settings. โ Wi-Fi โ Additionally. โ Network priority.
- ๐ Select Auto Selection or Priority 5 GHz (recommended for modern smartphones).
- โ ๏ธ On some firmware, this option may be called Intelligent Switching.
Go to Settings. โ Wi-Fi|Disable automatic connection for unnecessary networks|Enable priority for 5 GHz (if available)|Reboot your smartphone to apply changes-->
Important: If your smartphone does not support 5 GHz, the prioritization option will not be available. You can check support in the model specifications or through the WiFi Analyzer application.
โ ๏ธ Attention: On devices with MIUI For the global market (e.g. Redmi Note 12 Pro)+ 5G) The prioritization option may not be available due to the limitations of regional firmware, and installation will help. EU-rum ADB-team.
Prioritizing devices on Xiaomi routers (Mi Router, AX3600, AX6000)
Xiaomi routers (e.g. Mi Router 4A Gigabit, AX3600, AX6000) allow you to prioritize connected devices through QoS (Quality of Service) feature, which is especially useful if you have a lot of gadgets competing for bandwidth.
How to set up QoS:
- Open the Mi WiFi application (or the routerโs web interface at 192.168.31.1).
- Go to the QoS section. โ QoS settings.
- Enable the function and select the mode: ๐ฎ Game mode is a priority for consoles and PC. ๐บ Multimedia mode is a priority for streaming (Netflix, YouTube). ๐ฅ๏ธ Manual mode - independent choice of devices.
Manual mode
1C:3E:84:XX:XX:XX
For advanced users, settings are available via SSH (requires the developer to be enabled in the router firmware). For example, to manually prioritize a device, you can use the command:
iptables -t mangle -A QoS -m mac --mac-source 1C:3E:84:XX:XX:XX -j CLASSIFY --set-class 1:1| QoS mode | Priority devices | Perfect use |
|---|---|---|
| Playing | PC, PlayStation, Xbox | Online gaming (ping reduction) |
| Multimedia. | Smart TVs, media players | 4K/8K streaming video |
| Hand-held | Any (by) MAC-address) | Flexible adjustment for specific tasks |
| Automatic. | All connected. | Balancing the load |
๐ก
If the speed has not changed after setting up QoS, try restarting the router and check if the antivirus or VPN is blocking traffic on priority devices.
Problems with Wi-Fi Prioritization and Solutions
Even after you set it up properly, you may encounter problems, and here are the most common scenarios and ways to solve them:
- ๐ The smartphone doesn't switch to 5 GHz: Check if your device supports 5 GHz (e.g. Redmi) 9A works only 2.4 Make sure that the router settings have mode enabled. 802.11a/n/ac (for 5 Update the router's firmware through Settings โ Update of the PO.
- โก QoS does not work on the router: Disconnect IPv6 In router settings (sometimes conflicting with QoS), reset the router to factory settings and reset the QoS. Check if the number of connected devices is above the limit (e.g. Mi Router). 4C stable โค30 devices).
- ๐ต Permanent connection breaks: Change the Wi-Fi channel in router settings (e.g., from Auto to Channel 36 for 5 GHz). Disable Smart Switch in smartphone settings if it leads to frequent reconnections.
โ ๏ธ Note: If you are using Xiaomi Mesh system (e.g. Mi Mesh Router) AX3000), Prioritization works differently, because devices automatically connect to the node with the best signal. You can't manually prioritize the node, but you can disable weak nodes in the Mi Home app.
How to check if your Xiaomi supports 5 GHz?
Hidden Prioritization Functions in MIUI (for Advanced)
MIUI has hidden options that are not dokumented in official guides, such as forcibly disabling scanning for weak networks or prioritizing through ADB.
To disable automatic connection to weak networks:
- Activate Developer Mode (click 7 times on the MIUI version in your phone settings).
- Turn on USB debugging and connect the phone to the PC.
- Adb shell settings put global settings wifi_networks_available_notification_on 0 This will disable notifications about weak networks and reduce unnecessary connections.
For compulsory priority 5 GHz (requires root):
su
settings put global wifi_frequency_band 5Warning: These methods can cause Wi-Fi to be unstable if used incorrectly, and it is recommended to back up settings before experimenting.
๐ก
Using ADB and root access to set up Wi-Fi can invalidate warranty and cause crashes. Use these methods only if you are confident in your actions.
Prioritizing Wi-Fi on Xiaomi devices with alternative firmware
If you use custom firmware (like LineageOS, Pixel Experience or Xiaomi.EU), the prioritization mechanism may be different, and in most cases it is more flexible than stock MIUI.
For example, Xiaomi.EU is available:
- ๐ง Advanced Wi-Fi settings: choice between 2.4 GHz, 5 GHz and 6 GHz (on supported models).
- ๐ Signal strength graph: Real-time signal strength mapping for each network.
- ๐ Fast Transition: Fast Transition option (802.11r) for smooth roaming between access points.
To set up:
- Go to Settings โ System โ Additional โ Developer Settings โ Network.
- Enable Aggressive Wi-Fi roaming (accelerates switching between networks).
- In Network Priority, select your preferred range.
On LineageOS and others AOSP-Firmware prioritization is configured through the file /data/misc/wifi/WifiConfigStore.xml (For example, to prioritize the network. Home_5G, find a line:
<string name="Home_5G_Priority">1</string>Change the value to 3 (maximum priority).
How to check if prioritization works
To make sure your prioritization settings are working correctly, follow the following steps:
- For smartphones: Open Settings โ Wi-Fi and see which network your phone is connected to. Use the WiFi SweetSpots app to analyze signal strength. Turn off the priority network manually, the phone must automatically connect to the next priority.
For routers:
- Run a speed test on a high-priority device (e.g., via Speedtest).
- Compare results with a device without priority while loading simultaneously (for example, downloading a file on both gadgets).
- Check the QoS log in the router web interface (192.168.31.1 โ Logs).
If prioritization does not work:
- ๐ Reboot the router and smartphone.
- ๐ฑ On your smartphone, clear the Settings app cache (Settings) โ Annexes โ Application management โ Settings โ Clear the cache).
- ๐ On the router, reset your QoS settings and configure again.
๐ก
If after all the manipulations the smartphone persistently connects to a weak network, try to โforgetโ all networks (Settings โ Wi-Fi โ Additional โ Forget networks) and connect again, starting with the priority one.