Adding OpenWrt support for Xiaomi "Redmi Router AX6S"/"Xiaomi Router AX3200"

Try adding...

nvram set "boot_fw1=run boot_rd_img;bootm"

to the list of nvram commands before doing nvram commit.

The RB03 from my experience will typically boot from the 2nd firmware partition, which we don't touch during the initial mtd write operation.

It should be the factory image the first time you go from xiaomi firmware to openwrt.

Sysupgrade is if you are already running openwrt.

1 Like

Thanks! I've got this from comments like the one below. Anyway, it's clear now that factory image should be used in the first flash via telnet as expected. I will update my post above with this clarification for future reference.

1 Like

Hello.
I can't install any package. I get errors of "read-only file system".
Firmware is a recent snapshot.

Status

System

Hostname OpenWrt
Model Xiaomi Redmi Router AX6S
Architecture ARMv8 Processor rev 4
Target Platform mediatek/mt7622
Firmware Version OpenWrt SNAPSHOT r19293-1c7e146f7e / LuCI Master git-22.083.68981-15bbe69
Kernel Version 5.10.108
Local Time 2022-03-30 21:06:28
Uptime 1d 2h 29m 4s
Load Average 0.07, 0.05, 0.00

Any help?
Thanks

your build with sqm (7 march) can handle led on RB03 out of box. it even can change its color with 3 selection: red, orange, and blue. btw, I can't update anything with kernel dependency on that firmware as it ask a different kernel version. there must be something broken if I attempt to update anything.
older device with wifi4 (my xiaomi redmi note 5 pro) is having a hard time to connect to wifi (either combined 2.4Ghz/5Ghz or in 2.4Ghz). is it just me with incorrect configuration, or anyone else having this bug?

@Timbo is right. I executed this command and it success every time.

nvram set ssh_en=1 & nvram set uart_en=1 & nvram set boot_wait=on & nvram set bootdelay=3 & nvram set flag_try_sys1_failed=0 & nvram set flag_try_sys2_failed=1
nvram set flag_boot_rootfs=0 & nvram set "boot_fw1=run boot_rd_img;bootm"
nvram set flag_boot_success=1 & nvram commit & /etc/init.d/dropbear enable & /etc/init.d/dropbear start

Taken from a chinese youtuber that attempted to flash RB03.

That worked, thanks.

Looks like there's an issue with wlan1 not joining the br-lan bridge sometimes, I had to run "brctl addif br-lan wlan1" manually to get it done.

To answer my own question, the package to handle the leds for this router is kmod-leds-gpio

Is this a misconfiguration of the DTS or it was missed from the default package list (DEVICE_PACKAGES)? :thinking:

Support commit notes nothing about LED limitations.

It's already a default package for the entire target as seen here

It's possible they made an oopsie with the .config if they were self-building.

2 Likes

Yup, It's completely my fault.

Seems fine to me.

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   407 MBytes   341 Mbits/sec    0             sender
[  5]   0.00-10.06  sec   404 MBytes   337 Mbits/sec                  receiver
[  7]   0.00-10.00  sec   381 MBytes   319 Mbits/sec    3             sender
[  7]   0.00-10.06  sec   378 MBytes   315 Mbits/sec                  receiver
[  9]   0.00-10.00  sec   395 MBytes   331 Mbits/sec    2             sender
[  9]   0.00-10.06  sec   393 MBytes   328 Mbits/sec                  receiver
[ 11]   0.00-10.00  sec   400 MBytes   335 Mbits/sec    0             sender
[ 11]   0.00-10.06  sec   398 MBytes   332 Mbits/sec                  receiver
[ 13]   0.00-10.00  sec   380 MBytes   319 Mbits/sec    2             sender
[ 13]   0.00-10.06  sec   379 MBytes   316 Mbits/sec                  receiver
[SUM]   0.00-10.00  sec  1.92 GBytes  1.65 Gbits/sec    7             sender
[SUM]   0.00-10.06  sec  1.90 GBytes  1.63 Gbits/sec                  receiver

Not much practical use for me though, given the gigabit switch and max output for the only space in 5ghz 160mhz width in my country being 20dbm output.

I see this is a quad band device, does it mean the radios are exposed as 4 devices/networks?
Also, any performance comparisons between the redmi ax6s and the xiaomi ax3600? will they work okay in mesh mode?

It's dual band. 4x4 refers to the spatial streams. There are only two radios.

if I use the 5ghz radio for mesh, will it also be available to create an AP? will there be any issues?

Hi.
I tried to install 22.03 snapshot (compiled at march 28) trough Luci (sysupgrade file here:
https://downloads.openwrt.org/releases/22.03-SNAPSHOT/targets/mediatek/mt7622/), but router didn't "wake up".
There is no network in Lan port, and only a system yelloy led turns on for a few seconds, but then ot turns of and on again.
Is there any way to recover it? Model: RB01
Thanks.

Hi.
Debricked my router with instrutions from https://github.com/mikeeq/xiaomi_ax3200_openwrt and with Xiaomi Recovery Tool.
Telnet was still open.
Then I installed latest 21.02 snapshot.
Isn't possible to install sysupgrades from Luci without bricking risk?
Thank you.

Is the network bug, not allowing more than 100mbit solved in current master?

It's not unfortunately.

What bug is it? Is it limiting the WAN/LAN network at 100Mbps?