Device and hardware applicability
Xiaomi WR30U · China Unicom
This article belongs to this device record. Match the label, hardware revision and storage configuration before selecting firmware or following a procedure. Procedures for other configurations require a separate applicability check.
Reported hardware specifications
Specifications retain their source scope. The same chip or wireless class does not establish identical firmware, partitions or installation steps.
Installation and recovery information
Scope and preparation
For Xiaomi WR30U (the source record says China Unicom). Verify model, stock version, label and actual layout. The commit refers to a forum for SSH access but does not contain an independently verifiable complete access procedure. Use wired Ethernet, stable power and release-matched images; keep stable and SNAPSHOT separate.
Backup and critical limitation
The support commit lists BL2, Nvram, Bdata, Factory, FIP, ubi, ubi1 and KF, but its backup commands omit ubi1 even though some later branches format it. This is not a complete backup. Verify /proc/mtd, the active boot slot, valid backups of every potentially modified partition and an actionable recovery path; stop if any is missing. Do not copy the example blindly or guess device numbers.
If firmware= and mtd= disagree, contain conflicting values, or the active slot cannot be proven, stop immediately; never guess the target from either indicator alone. Independently verify restorable backups of ubi1 and every other partition that may be rewritten.
Initial installation and upgrade
The commit branches on firmware=0/mtd=ubi or firmware=1/mtd=ubi1 in /proc/cmdline, changes boot variables and writes stock-initramfs-factory.ubi to the other slot, reboots to RAM and then flashes the stock-layout stock-squashfs-sysupgrade.bin. This depends on the matching stock layout and version. Images for different layouts and bootloaders are not interchangeable. Do not change boot variables or format a partition until conditions are verified.
The commit also describes the ubootmod layout, which replaces the bootloader and changes partitions and carries greater risk. A later official commit removed the NMBM-specific layout for third-party U-Boot; do not treat that bootloader or old layout as current official support. Check layout and release compatibility before upgrading.
Recovery and return to stock
The original commit describes separate stock and ubootmod restoration procedures, requiring this device's stock backups and formatting or writing UBI/BL2/FIP. Because the sample misses ubi1 and layouts may change, restoration is not guaranteed. Stop until complete backups, target partitions, matching stock firmware and recovery are verified.
Reference
- mediatek: filogic: add support for Xiaomi WR30U
- mediatek: drop NMBM layout for Xiaomi WR30U
- mediatek: filogic: convert Xiaomi WR30U to fitblk
Match the image to its purpose
OpenWrt ToH · 2026-11-27 · 25.12.6
-
Install field in the hardware table — openwrt-25.12.6-mediatek-filogic-xiaomi_mi-router-wr30u-stock-initramfs-factory.ubi
-
Upgrade field in the hardware table — openwrt-25.12.6-mediatek-filogic-xiaomi_mi-router-wr30u-stock-squashfs-sysupgrade.bin
-
Install field in the hardware table (snapshot) — openwrt-mediatek-filogic-xiaomi_mi-router-wr30u-stock-initramfs-factory.ubi
-
Upgrade field in the hardware table (snapshot) — openwrt-mediatek-filogic-xiaomi_mi-router-wr30u-stock-squashfs-sysupgrade.bin
OpenWrt Table of Hardware
Comments