Match the exact model, revision and boot layout. Separate preparation, backups, initial installation, upgrades, recovery and return to stock by their evidence. Partial or conflicting evidence remains explicitly identified; this is not a claim of hardware testing.
Hardware record and applicability
| Item | Packaged ToH snapshot |
|---|---|
| Model | Xiaomi AX3000T |
| Hardware revision | RD23, RD03 |
| Processor | MediaTek MT7981BA |
| RAM | 256 MB |
| Flash | 128 MB nand |
| Gigabit ports | 4.0 |
| 2.5G ports | 0 |
| Recorded release | 25.12.6 |
The table describes the packaged ToH snapshot, not a new physical inspection. Total capacity is not writable space. Where a commit and Wiki differ, retain the conflict and check the actual layout. Similar names, SoCs or photographs do not establish compatibility with another revision. Packaged OpenWrt ToH snapshot
Decision sequence before operating
Confirm the exact device and record its stock version, bootloader and partition layout. Then verify the chosen release profile, image type, source and checksum. Export backups to a computer, distinguishing settings, boot regions, calibration, individual identity and user data. If a complete backup or stock-return procedure is absent from the evidence, do not invent commands. Stop until mandatory preparation is complete.
Follow only the installation branch matching the current conditions and verify each result. Temporary initramfs, persistent installation, ordinary upgrades and layout conversion are different stages. An OpenWrt prompt does not prove that all required writes are complete. Stop after a failed write, identity mismatch or unresolved conflict; do not force an operation past validation.
Applicability and risk
For Xiaomi AX3000T RD03 (China) and RD23 (international) only. RD03v2 has different Qualcomm hardware and is not officially supported. Stock firmware is region-locked; check the region and version before selecting an SSH method or image. The wiki recommends 25.12 and matching NAND and switch support.
Every concrete command example below is restricted to a verified RD03 China model running stock firmware 1.0.47 with the identical individually verified partition layout. Do not use these examples for RD23 or any other stock firmware version. For RD23, separately verify the wiki’s region-specific firmware, access method, partitions and boot conditions; stop if they do not match or cannot be verified.
Preparation and backup
Check the actual /proc/mtd, /proc/cmdline and boot layout. The wiki and initial commit require backups of stock BL2, Nvram, Bdata, Factory, FIP, ubi and KF; transfer and verify them on a computer. MTD numbers must not be copied across firmware layouts.
These commands apply only to the stock 1.0.47 partition layout in the initial support commit. First run cat /proc/mtd and cat /proc/cmdline and verify each device number against its partition name. Stop if any differs, a backup fails, or files cannot be exported safely; never assume other firmware layouts match. Transfer every backup to a computer and verify integrity and device-specific recoverability.
The commit example below is not a complete backup. The firmware=0 branch erases /dev/mtd9, but the example backs up only the UBI on /dev/mtd8. Before writing, use the actual partition table and selected branch to separately back up and verify every partition that will be overwritten, including mtd9 where applicable, and confirm a recovery method. Stop if this cannot be established; do not guess additional backup commands.
nanddump -f /tmp/BL2.bin /dev/mtd1
nanddump -f /tmp/Nvram.bin /dev/mtd2
nanddump -f /tmp/Bdata.bin /dev/mtd3
nanddump -f /tmp/Factory.bin /dev/mtd4
nanddump -f /tmp/FIP.bin /dev/mtd5
nanddump -f /tmp/ubi.bin /dev/mtd8
nanddump -f /tmp/KF.bin /dev/mtd12
Initial installation and upgrade
Stock SSH access depends on firmware version. The wiki API method may remove the root password; secure the device immediately afterwards. For stock-bootloader installation the wiki and commit start a temporary system with initramfs-factory.ubi and then install the appropriate squashfs-sysupgrade.bin. They select different partitions for firmware=0 versus 1. Writing erases data; verify actual partition mapping and images before following the sources.
The following is the initial support commit’s stock-bootloader procedure, applicable only after confirming the stock version, actual MTD layout, backups, and an unambiguous firmware value in cat /proc/cmdline. Place the device- and release-matched openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi in /tmp first. Select only the branch matching the observed value; stop if any condition does not match.
firmware=0
ubiformat /dev/mtd9 -y -f /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi
nvram set boot_wait=on
nvram set uart_en=1
nvram set flag_boot_rootfs=1
nvram set flag_last_success=1
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram commit
reboot
firmware=1
ubiformat /dev/mtd8 -y -f /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi
nvram set boot_wait=on
nvram set uart_en=1
nvram set flag_boot_rootfs=0
nvram set flag_last_success=0
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram commit
reboot
After temporary OpenWrt boots, place the same-release image openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin, matching this device and stock-bootloader layout, in /tmp. The initial commit uses the command below; -n discards configuration. Confirm backups, image and checksum first.
sysupgrade -n /tmp/openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade.bin
Recovery and return to stock
The two bootloader layouts are not interchangeable: returning from OpenWrt U-Boot requires restoring stock BL2, FIP and UBI backups, whereas the stock bootloader has a separate UBI restore path. The stock-bootloader UBI partition number differs between the wiki and initial commit; do not blindly use either number. Stop until the actual mapping is confirmed.
Still to verify
Confirm stock version, hardware components, complete backup, current bootloader and partition numbers, and an available recovery method; do not copy generic TFTP templates or force sysupgrade.
Start a server on the computer if the router requests a file. If the bootloader waits for an upload, use a client in binary mode. Windows: start Tftpd64 or upload · macOS: start dnsmasq or upload · Read RRQ, WRQ and timeout logs
Later fixes and release checks
A later commit fixes boot-variable errors that can soft-brick at least the international RD23. A separate Winbond NAND fix addresses an NMBM mismatch on W25N01KVZEIR. Verify the actual chip and that the selected release contains applicable fixes; do not apply RD03 variable commands to RD23.
Sources
- OpenWrt support commit
- OpenWrt Wiki (CC BY-SA 4.0)
Post-installation checks and maintenance record
After reboot, check the reported device, software version, storage layout and required wired ports before testing DNS, IPv6, wireless and actual applications. Set an administrator password and preserve wired management access. Test restart recovery and record cabling, management addresses, versions and changes. Stock, migration and rescue environments do not establish universal post-installation addresses or credentials.
Before later upgrades, recheck the profile, current layout, release notes and configuration-retention conditions. Treat stable and SNAPSHOT separately. A configuration backup is not a full partition backup; recovering OpenWrt and restoring OEM firmware are different tasks. When evidence for stock restoration, checksums or rescue prerequisites is incomplete, keep that limitation visible rather than promising a button or arbitrary OEM file will work.
Source dates, attribution and verification boundary
Support commits and subsequent corrections were read from the local OpenWrt repository; reader links do not mean GitHub was queried. Wiki evidence retains its recorded check date. The editorial date is not verification of current binaries, every stock version or physical installation. Adapted Wiki material credits OpenWrt Wiki contributors under CC BY-SA 4.0; original ToH provenance is retained separately. CC BY-SA 4.0

Original image source — OpenWrt ToH picture reference; original bytes; rights retained by source
Comments