Adding OpenWrt support for Xiaomi AX6000

Hangs on the wall very easily with two screws.

1 Like

Order was just placed.
Now i have to wait.

is anyone working on bringing openwrt to this router?

I would like to help with something

Please read just a few posts up

1 Like

I have this router since 2021 and I am beginning to regret having changed my previous router WRT32B for this one and it seems that it is giving a lot of difficulties, it doesn't even let me open the ports correctly, I had to connect my PC to the ISP router to do this, I don't know what you think, I'm losing hope that Openwrt can be installed without problem's

Just wondering, I've seen this:

Ipq5018 support was added to mainline. Go nuts

(source - Adding OpenWrt support for TP-Link RE700X, IPQ5018 - #14 by ct25)
Is this in any way related to us AX6000 users?


Would like to leave this info here briefly to save people from problems:


I not expirienced OpenWRT user, just beginer.
Busy with ax6000 router chinese firmware. Manage to root and SSH using Java scripts from ax9000 instruction on firmware version MiWiFi 稳定版 1.0.55

get this output over SSH:

`login as: root
root@'s password:

BusyBox v1.25.1 (2021-03-22 07:37:40 UTC) built-in shell (ash)

       Welcome to XiaoQiang!
root@XiaoQiang:~# nvram get flag_boot_rootfs
root@XiaoQiang:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "0:SBL1"
mtd1: 00080000 00020000 "0:MIBIB"
mtd2: 00040000 00020000 "0:BOOTCONFIG"
mtd3: 00040000 00020000 "0:BOOTCONFIG1"
mtd4: 00100000 00020000 "0:QSEE"
mtd5: 00100000 00020000 "0:QSEE_1"
mtd6: 00040000 00020000 "0:DEVCFG"
mtd7: 00040000 00020000 "0:DEVCFG_1"
mtd8: 00040000 00020000 "0:CDT"
mtd9: 00040000 00020000 "0:CDT_1"
mtd10: 00080000 00020000 "0:APPSBLENV"
mtd11: 00140000 00020000 "0:APPSBL"
mtd12: 00140000 00020000 "0:APPSBL_1"
mtd13: 00100000 00020000 "0:ART"
mtd14: 00080000 00020000 "0:TRAINING"
mtd15: 00080000 00020000 "bdata"
mtd16: 00080000 00020000 "crash"
mtd17: 00080000 00020000 "crash_syslog"
mtd18: 02400000 00020000 "rootfs"
mtd19: 02400000 00020000 "rootfs_1"
mtd20: 01f00000 00020000 "overlay"
mtd21: 00080000 00020000 "rsvd0"
mtd22: 003c1000 0001f000 "kernel"
mtd23: 015cc000 0001f000 "ubi_rootfs"
mtd24: 01b20000 0001f000 "data"

For now look like snapshot for IPAQ 5018 not exists on openwrt.
If I can try to do it myself? Can someone help me with instruction or explain how to proceed?

This output show me that old shapshot used in original firmware:

`root@XiaoQiang:~# opkg update

Updated list of available packages in /var/opkg-lists/openwrt_base
Signature check passed.
Updated list of available packages in /var/opkg-lists/openwrt_packages
Signature check passed.
Updated list of available packages in /var/opkg-lists/openwrt_routing

Collected errors:
 * opkg_download: Failed to download, wget returned 1.`

Just want to update for new shapshot and default LUCI interface.
Main reason that original firmware DHCP not working properly and I have problem with home network IP assigment.

Kind regards,


Hi Jianpeng, can share you sources.. want to try on xiaomi ax3000 ipq5018+ qcn6122

Hello, can somebody confirm that WAN is 2,5GbE and not 1GbE and it is working correctly with openwrt firmware?


How are we doing with it? What’s blocking us? Any hope for enabling 6GHz?

This device does not support 6GHz. 6GHz is not available for use in China, where this one originates.

Maybe it's not particularly news, but I just noticed that Xiaomi Redmi Router AX6000 (both "stock layout" and "OpenWrt U-Boot layout") have appeared in Firmware Selector for 23.05.0 release candidate builds (rc1-rc3). I take this as a good sign?..

Not really, Xiaomi AX6000 and Redmi AX6000 are different devices.
This topic is about the Xiaomi Aiot AX6000 router.

1 Like

@slh @robimarko wdyt about this repo:

Looks like running openwrt on ipq50** is possible even with 5.15 kernel (not qsdk)

Yes, with recent upstream work it's mostly possible to run on IPQ50xx.

NAND and SPI-NAND support depend on major hacks though.

That’s where I’m stuck now with both Linksys devices (MX2000 and MX5500), uboot even expects the QPIC NAND controller when loading the kernel..
I now have to wait for somebody to upstream a patch for SPI nand support in qcom-nandc.c. I know QUIC worked on a patch back in 2020, but it wasn’t accepted upstream and changes were requested.
Most other components should work now, except for PCI (required for QCN6122 and QCN9074) and USB which are also being worked on.

I have PCI working with some pending patches and some fixing up of them.
QCN6122 is not supported though in ath11k.

Its mostly working, so I plan to eventually backport stuff to 6.1 and add basic support to OpenWrt.
QCN6122 support commit

Also there's a bunch of NAND patches for ipq50xx
Starting from 401 to 411