Adding OpenWrt support for Xiaomi AX6000

Hello everyone, I tried to install OpenWRT on my router. The first firmware file, openwrt-qualcommax-ipq50xx-xiaomi_ax6000-initramfs-factory.ubi, loaded without problems. Then I installed the web panel: apk update, apk add lucy, apk add lucius. But when I try to load a permanent image (openwrt-qualcommax-ipq50xx-xiaomi_ax6000-squashfs-sysupgrade.bin), my router just restarts in a loop.

How are you installing the sysupgrade image?

I tried it in different ways, both through the terminal and through the web panel, but the result was the same: constant rebooting

Can you get the boot.log right after burning the version (openwrt-qualcommax-ipq50xx-xiaomi_ax6000-initramfs-factory.ubi)?

Thanks.

How can I get it if the router is not available after flashing?

you need a ch340(TTL) fetching boot log
TTL baud rate 115200

Check the recovery process of the ax3600 on the wiki, the easiest way is to connect the serial uart and extracting the log from there.
https://openwrt.org/toh/xiaomi/ax3600?s[]=xiaomi&s[]=router#serial

Try to go back to the original firmware and record openwrt-qualcommax-ipq50xx-xiaomi_ax6000-initrams-factory.ubi again.

I did this several times, but it didn't help

Do it again and get the boot.log?

thanks

Hello guys! What are the chances to add this device and other ipq50xx in 24.10.3?

2 Likes

Sub-zero.

Very unlikely

I have the same problem as you

Is it just me? When a download or upload runs for a long time, the port handling that traffic periodically goes down.

For example, if the PC is on Lan1 and the NAS is on Lan2, then when the PC performs an external download, Lan1 goes down.

Here are the logs:


Sun Aug 24 16:41:55 2025 kern.info kernel: [87658.691165] qca8k 90000.mdio-1:11 lan1: Link is Down
Sun Aug 24 16:41:55 2025 kern.warn kernel: [87658.691753] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
Sun Aug 24 16:41:55 2025 kern.warn kernel: [87658.695227] ssdk_dev_event[2313]:ERROR:netdev change notify failed
Sun Aug 24 16:41:55 2025 kern.info kernel: [87658.704465] br-lan: port 1(lan1) entered disabled state
Sun Aug 24 16:41:56 2025 daemon.notice netifd: Network device 'lan1' link is down
Sun Aug 24 16:41:58 2025 kern.info kernel: [87661.811618] qca8k 90000.mdio-1:11 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
Sun Aug 24 16:41:58 2025 kern.warn kernel: [87661.812320] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
Sun Aug 24 16:41:58 2025 kern.warn kernel: [87661.818476] ssdk_dev_event[2313]:ERROR:netdev change notify failed
Sun Aug 24 16:41:58 2025 kern.info kernel: [87661.827649] br-lan: port 1(lan1) entered blocking state
Sun Aug 24 16:41:58 2025 kern.info kernel: [87661.833646] br-lan: port 1(lan1) entered listening state
Sun Aug 24 16:41:58 2025 daemon.notice netifd: Network device 'lan1' link is up
Sun Aug 24 16:42:06 2025 kern.info kernel: [87670.128480] br-lan: port 1(lan1) entered learning state
Sun Aug 24 16:42:15 2025 kern.info kernel: [87678.448431] br-lan: port 1(lan1) entered forwarding state
Sun Aug 24 16:42:15 2025 kern.info kernel: [87678.448508] br-lan: topology change detected, propagating

One of your LAN ports (lan1) experienced a quick "unplug and plug in" event. This is a normal network connection interruption and recovery record. It is also not ruled out that the router experienced a network outage, the whole process was fully automatic and finally the connection was successfully restored.

Update: It seems some apps were causing conflicts. After deleting a few APKs, the issue was resolved.

I recently successfully flashed OpenWrt into Xiaomi Alot AX6000, with firmware OpenWrt SNAPSHOT r31126-c98b96bca0/LuCI Master 25.261.46124~77e01d3, kernel version 6.12.48. I have a gigabit broadband and use a wired connection to my computer, but the speed is only around 300Mbps. I don't know where the problem lies, and 5GHz wifi is also at this speed.

I don't know how to distinguish boot.rog, which is extracted from Luci's kernel logs. If you need any other information, please feel free to contact me
logs
AX6000

This is my strings /dev/mtd15

root@OpenWrt:~# strings /dev/mtd15
SN=xxxxx/F0xxxxxxx
color=101
model=RA72
CountryCode=CN
miot_did=xxxxxx
miot_key=xxxxxxxxxx
wl1_ssid=xiaomi-router-ra72_miap492c
wl0_ssid=xiaomi-router-ra72_miap492c_5G
wl2_ssid=xiaomi-router-ra72_miap492c
telnet_en=0
ssh_en=0
uart_en=0
DisableTencent=1

Thank you again to all the personnel who developed this device

Xiaomi's official firmware is really difficult to use

For better only when it has Qualcommax NSS Build support for ipq50xx.

How likely is this to happen?