How to flash Xiaomi communication module: Wi-Fi, Bluetooth and NFC without errors

Introduction: Why to sew the communication module in Xiaomi devices

Communication modules in Xiaomi devices are the β€œnervous system” of gadgets responsible for Wi-Fi, Bluetooth, NFC even GPS Over time, the firmware can become obsolete, leading to problems such as sudden connection breaks, low data rates or complete inoperability of the module. For example, owners of the Redmi Note 10 Pro often face a β€œblue screen of death” when connecting to the Internet. 5G-Network due to outdated Qualcomm module driver WCN6750.

The firmware of the communication module is not just a software update, but a chip-level firmware replacement, which requires caution. Unlike a regular Android update, a bug can lead to a build-up (a complete loss of functionality), but a properly executed procedure solves 80% of connection problems, including rare bugs such as the inability to connect to WPA3-Enterprise-encrypted networks.

In this article, we will discuss:

  • πŸ” How to determine if a communication module needs firmware (symptoms and diagnostics)
  • πŸ“₯ Where to download official and custom firmware for Xiaomi, POCO redmi
  • πŸ› οΈ Step-by-step instructions for smartphones, routers and smart watches
  • ⚠️ Typical errors and how to avoid them (including recovery from a crash)

πŸ“Š What communication module in your Xiaomi device is unstable?
Wi-Fi
Bluetooth
NFC
GPS
It's working fine.

Symptoms of a faulty communication module: when you need firmware

Before you start firmware, make sure that the problem is in the module, not in the Android settings or hardware defect.

  • πŸ“Ά Wi-Fi is connected, but the speed is below 10 Mbps (at a tariff of 100).+ Mbps) or often breaks. For example, Xiaomi 12T It can β€œlose” the network when switching between 2.4 GHz and 5 GHz bands.
  • πŸ”΅ Bluetooth does not find devices more than 1 meter away or emits a β€œfailed to connect” error when transferring files.
  • πŸ“± NFC It doesn't work the first time (it takes several attempts to pay or read tags). POCO F4 GT post-update MIUI 14.
  • 🌍 GPS determines the location with an error of more than 50 meters or β€œjumps” on the map (relevant to the Redmi Note 11 Pro)+ 5G Broadcom-module BCM47755).

If the symptoms coincide, make a diagnosis:

  1. Check the module in Safe Mode (without third-party applications).
  2. Reset network settings to Settings β†’ System β†’ Settings Reset β†’ Reset settings Wi-Fi, mobile network and Bluetooth.
  3. Install alternative software like WiFi Analyzer or GPS Status for testing.

⚠️ Note: If the problem remains after resetting, and in Settings β†’ The phone. β†’ Version. MIUI hanging old firmware module (for example, WCNSS_qcom_cfg.ini from 2021 year - update required.

How to check the firmware version of the communication module?
Open the EngineerMode app (login code: ##4636###), go to the WiFi information tab or Bluetooth. The Firmware version will show the current version. Compare it to the latest releases on xiaomifirmwareupdater.com.

Where to download firmware for the Xiaomi communication module

Xiaomi’s official firmware is not distributed separately from the general MIUI package, but can be extracted from full firmware or found on specialized resources.

SourceType of firmwareSupported devicesReference
Official MIUI ArchivesStock (original)All models Xiaomi/Redmi/POCOc.mi.com
Xiaomi Firmware UpdaterStock and modifiedSmartphones, tablets, routersxiaomifirmwareupdater.com
4PDA (Firmware Section)Castomic (repackaged)Popular models (for example, Redmi Note 12 Pro+)4pda.to
GitHub (Developer Repositories)Experimental (for enthusiasts)Devices with unlocked loadergithub.com (search by model)

For Xiaomi routers (such as Mi Router 4A Gigabit), the Wi-Fi firmware module is stitched into a shared.bin file. These can only be updated through the router's web interface in the Advanced β†’ Firmware Upgrade section.

⚠️ Attention: Firmware with 4PDA Often contain unofficial modifications that may conflict with the original software. Use them only if the stock version does not solve the problem and you are ready for possible blocking. IMEI (It is important to use models with Qualcomm Snapdragon).

πŸ’‘

Before downloading the firmware, check its hash amount (MD5 or SHA-256) on the source site, which will protect against fake files that may contain malicious code.

Preparation of the device for the firmware of the communication module

Incorrect preparation is the main cause of failure.

Charge the device to a minimum of 60%|Download firmware for a specific model (e.g. Redmi) K50 Pro β‰  POCO F4)|Install Qualcomm QDLoader or MediaTek Preloader drivers on PC|Disable the antivirus (it can block tools like the Mi Flash Tool)|Make a data backup through Mi PC suite TWRP

-->

For smartphones on Qualcomm (most flagships Xiaomi) additionally require:

  • πŸ”§ Unlock the bootloader through the Mi Unlock Tool (the process takes up to 72 hours for new accounts).
  • πŸ“± Turn on OEM Unlock and USB Debugging in Settings β†’ For developers.
  • πŸ–₯️ Install the Mi Flash Tool (for firmware through the EDL-Mode) or QFil (for manual downloading of.mbn files).

For MediaTek devices (e.g. Redmi 10C), use the SP Flash Tool and the scatter.txt firmware. Please note: the communication module firmware here often comes in a package with modem.img - do not delete this file!

πŸ’‘

Firmware communication module on devices with MediaTek requires mandatory flashing the entire modem partition. Partial update will lead to loss of network!

Step-by-step: firmware module Wi-Fi/Bluetooth

Consider the universal method for Xiaomi smartphones on Qualcomm (relevant to Xiaomi 13 Ultra, POCO X5 Pro, etc.). For other chipsets, the steps will be different.

  1. Download the firmware in.tgz format from xiaomifirmwareupdater.com and unpack it.
  2. Go to the file folder and find NON-HLOS.bin, which is the firmware of the communication module.
  3. Connect your phone to your PC in Fastboot mode (press Power + Vol Down when the device is off).
  4. Open the command line in the firmware folder and execute: fastboot flash modem NON-HLOS.bin fastboot reboot

Method 2: Through TWRP (for custom firmware)

  1. Download firmware-update.zip with the module firmware (e.g., from the developer yshalsager to 4PDA).
  2. Download to TWRP (Press Power + Vol Up).
  3. Install your zip file via Install β†’ Select Storage β†’ MicroSD/OTG.
  4. After installation, run the Wipe β†’ Advanced Wipe β†’ Dalvik/ART Cache.

For Xiaomi routers, the process is simpler:

  1. Download the firmware from the official website.
  2. Go to the router web interface (192.168.31.1) and select System Tools β†’ Firmware Upgrade.
  3. Download the.bin file and wait for the reboot (don’t turn off the power!).

⚠️ Note: If Wi-Fi (or vice versa) stopped working after the Bluetooth module firmware was installed, then you used firmware from another revision of the chip. 5G module-produced WCN6750 and WCN6855 β€” their firmware is incompatible!

Firmware module NFC and GPS: features

NFC and GPS are less common, but sometimes necessary, such as after a motherboard replacement or factory reset.

  • πŸ“Œ NFC Xiaomi is tied to a Secure Element, and its firmware requires an unlocked bootloader and special commands: fastboot flash nfc NfcNci.bin fastboot erase config fastboot reboot Without erase config command, the module may not be initialized!
  • πŸ“ GPS It is stitched together with modem (file) NON-HLOS.bin). After the update GPS Do not catch satellites, check the settings in EngineerMode: ##1472365## β†’ GPS β†’ Cold Start

For smart watches Xiaomi Mi Band 7 Pro or Xiaomi Watch S3, the firmware of the Bluetooth module is performed through the proprietary software Mi Fitness or Zepp Life. Manual update is possible only through ADB using commands:

adb shell am start -n com.xiaomi.watch/.update.UpdateActivity

πŸ’‘

NFC firmware on Google Pay devices (such as Xiaomi 13T Pro) requires re-assignment of bank cards due to a Secure Element reset.

Typical errors and their solutions

Even if you follow the instructions, you can have problems, and here are the most common ways to fix them:

Mistake.Reason.Decision
FAILED (remote:'Flashing is not allowed in Lock State')bootloader lockedUnlock it through the Mi Unlock Tool (Mi Account binding required)
Wi-Fi is turned on but does not find a networkIncompatible version WCNSS_qcom_cfg.iniSweep the module back with the correct firmware version for your chip revision
E:Unknown command [flash:modem] in TWRPAn outdated version of TWRPUpdate TWRP to 3.7.0 or later
Bluetooth works, but there is no sound in the headphonesResetting Bluetooth Stack settingsRun in EngineerMode: ##232338## β†’ Bluetooth β†’ Reset

If the device stopped turning on after firmware (the so-called β€œbrick”), try to recover through the device. EDL-regime:

  1. Turn off the battery for 10 minutes (if removable).
  2. Connect your phone to your PC with the Vol Up + Vol Down button pressed.
  3. In the Mi Flash Tool, select the Clean All and Lock option and flash the full stock firmware.

⚠️ Note: If after the module has been installed GPS The device stopped determining the location even after a cold start, check the integrity of the antenna. 12S Ultra it often departs when disassembling the body.

FAQ: Frequent questions about the firmware of Xiaomi communication modules

Can I flash the communication module without unlocking the bootloader?
No, most Xiaomi devices require unlocking, except for routers and some smart gadgets (such as the Mi Band), where the update is through proprietary software. On smartphones without unlocking, you will get the Flashing error is not allowed.
How do I know which communication chip is installed in my Xiaomi?
Install the DevCheck or AIDA64 app and check the Hardware β†’ Wi-Fi/Bluetooth section. For example, POCO F5 uses Qualcomm FastConnect 6900, and the Redmi A2+ uses MediaTek MT6762G. Also, the chip model is listed on the sticker under the battery (if you disassemble the device).
What if IMEI disappeared after the firmware?
This is a typical problem when you run a communication module firmware on Qualcomm devices. You can restore IMEI via EngineerMode: Enter ##4636## β†’ Information β†’ IMEI SV. If the fields are empty, use QCN Rebuilder or Maui META to rewrite. Important: This requires a backup of the original nvram or a box from the phone with an IMEI sticker.
Can I roll back the communication module firmware to the old version?
Technically, yes, but it is fraught with conflicts with the current version of MIUI. For example, if you roll back the Wi-Fi firmware on Xiaomi 13 from MIUI 15 to the version from MIUI 14, the module may stop recognizing 6 GHz networks.
Do I need to flash the communication module after replacing the motherboard?
When you change the board (even with a similar model), the Wi-Fi, Bluetooth and IMEI modules are tied to the original chip. Without the firmware, you will get bugs like "Invalid IMEI" or no network. Use full firmware through the Mi Flash Tool with the Clean All option.