Add OpenWrt support for Xiaomi "Redmi AX6000"

Hello everyone
I really need help.
I have done a successful uboot mod installation following the instructions from this page: https://openwrt.org/toh/xiaomi/redmi_ax6000
I then manually created the firmware on the website: supes.top
And I went to Luci, flashed the firmware with file mediatek-filogic-xiaomi_redmi-router-ax6000-squashfs-sysupgrade.bin I downloaded above. Then my router rebooted by itself. After rebooting, now the led is no longer on, I plug in the LAN wire and I don't get the IP anymore. The LED doesn't come on even when I disconnect the power and plug it back in but I still think the router is running due to the network card status change on my computer when I unplug the LAN cord and plug it back in.
Now I have to do? I don't have the knowledge or tools to interfere with the router's hardware.

@daiyeqi can you help me? :pensive:

What? Seems dangerous. I only ever build my own. To continue debugging you will likely need serial access to the device. See the wiki.

1 Like

I don't have the knowledge or tools to interfere with the router's hardware. :sweat:

i been getting these as well!

no idea the cause, more specifically.

[14933.418529] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet pppox ppp_mppe ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_fullcone nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_flow_table nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast nf_conntrack_amanda nf_conntrack mt7915e mt76_connac_lib mt76 mac80211 cfg80211 ts_kmp ts_fsm ts_bm slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 macvlan libcrc32c crc_ccitt compat asn1_decoder crypto_safexcel cryptodev sit tunnel4 ip_tunnel crypto_user algif_skcipher
[14933.418667] algif_rng algif_hash algif_aead af_alg sha1_generic seqiv md5 des_generic libdes authencesn authenc arc4 leds_ws2812b leds_gpio gpio_button_hotplug
[14933.519746] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.120 #0
[14933.525820] Hardware name: Xiaomi Redmi Router AX6000 (stock layout) (DT)
[14933.532585] pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[14933.539525] pc : dev_watchdog+0x358/0x380
[14933.543519] lr : dev_watchdog+0x358/0x380
[14933.547513] sp : ffffffc008003d60
[14933.550811] x29: ffffffc008003d60 x28: 0000000000000140 x27: 00000000ffffffff
[14933.557927] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80012fb4c0
[14933.565043] x23: 0000000000000000 x22: 0000000000000001 x21: ffffffc008f86000
[14933.572159] x20: ffffff80012fb000 x19: 0000000000000007 x18: ffffffc008fa0380
[14933.579274] x17: ffffffc016efd000 x16: ffffffc008000000 x15: 000000000000033f
[14933.586390] x14: 0000000000000115 x13: ffffffc008003a88 x12: ffffffc008ff8380
[14933.593506] x11: 712074696d736e61 x10: ffffffc008ff8380 x9 : 0000000000000000
[14933.600622] x8 : ffffffc008fa0330 x7 : ffffffc008fa0380 x6 : 0000000000000001
[14933.607738] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[14933.614853] x2 : ffffff801fe79230 x1 : ffffffc016efd000 x0 : 000000000000003f

Sometimes multiple power cycles (I think, six) will get it to boot out of a bad state. But without lit LEDs it doesn't sound too promising. You should NEVER install random firmware you find on the internet, that is just asking for problems.

1 Like

I tried rebooting the router 6 times but nothing happened. I'm using ubootmod but it seems tftp recovery doesn't work as mentioned in openwrt's website

So the consensus with recent issues reported is that it's best to stay on OpenWrt 23.05 RC2 for the time being? I was going to try a newer snapshot as it's been over a month since last RC but will avoid doing so if there's breaking issues.

I build a new snapshot with most kernel updates, no issues.

1 Like

My search skills are failing me, where does one change the color of the LEDs on this thing?

Was something like the below by changing the RGB values.

echo "0 255 31" > /sys/class/leds/rgb:network/multi_intensity
echo "255 0 127" > /sys/class/leds/rgb:status/multi_intensity
1 Like

Thanks, added a subsection to the wiki: https://openwrt.org/toh/xiaomi/redmi_ax6000#changing_led_colors

2 Likes

Initcall sequence failed.... I met this problem on riscv implementation of mainline u-boot... Not sure we share the same reason but this commit is the reason on my side:https://patchwork.ozlabs.org/project/uboot/patch/20230504225101.2366414-2-sjg@chromium.org/
Revert the root.c part of this commit would fix.

How did you revert the hostapd update? I have devices which connect fine, then randomly disconnect. When I try reconnect I get Incorrect Password.

1 Like

Is the current 23.05-snapshot safe for install on the AX6000? I already have it running with ubootmod, just wondering if it's safe to upgrade.

Running a recent snapshot from master (~5 days ago) and no issues

1 Like

Iā€™m still having this issue: https://github.com/openwrt/openwrt/issues/13156 on a snapshot from 2 days ago. You may want to hold off for now if everything is working well as is.

I was lucky, the snapshot (not snapshot, rather 22.03-snapshot) i flashed works flawlessly, 25 days uptime and counting.

Does this router have 2.5 gig ports or not?