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

Greetings,

I have installed openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin to xiaomi ax3200. But only radio0 MediaTek MT7622 802.11bgn is listed. How can I add the 5g radio?

Thanks.

p.s.
sysupgrade bricks it.
my device only boots on recovery or factory images.

I have tried to edit etc/config/wireless, added these lines;

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1a143000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option band '5g'
        option cell_density '0'
        option htmode 'HE160'
        option txpower '27'
        option channel '64'
        option country 'PA'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option mode 'ap'
        option key '*'
        option network 'lan'
        option ssid '*'
        option encryption 'psk2'
        option ieee80211r '1'
        option ft_over_ds '0'
        option ft_psk_generate_local '1'
        option mobility_domain 'ff26'

but luci shows it as Generic 802.11bg device and it is inactive.

dmesg output shows;

[    8.518514] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211222184017a
[    8.518514]
[    8.676356] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20211222184052
[    8.744303] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20211222184111
[    8.859952] mt7915e 0000:01:00.0: eeprom load fail, use default bin
[    8.866290] mt7915e 0000:01:00.0: Direct firmware load for mediatek/mt7915_eeprom.bin failed with error -2
[    8.875946] mt7915e 0000:01:00.0: Falling back to sysfs fallback for: mediatek/mt7915_eeprom.bin
[    8.891054] mt7915e: probe of 0000:01:00.0 failed with error -12

use sysupgrade.bin

sysupgrade bricks it.
my device only boots on recovery or factory images.

i don't have mt76 on the device so i can't check.

opkg update
opkg install kmod-mt7915e

Hi guys,

I've compiled 22.03.2 with the proprietary Mediatek drivers built-in. Here's a link to the firmware: openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s

2 Likes

Got the rb1 version with fw ver. 1.0.35 unlocked.
Flashed the latest openwrt version available. Unfortunately i face a strage issue with opnsense and ax3200@dumb access point. From any wifi client I can reach any device on lan side but the firewall itself, so internet is not available. Any wired station behind ax3200 doesn't have this issue.
I've setup the same way (dumb access point) an old tl-wr841n running openwrt 22.3 with no problems over wifi.
If I use NAT on the ax3200 (router mode) both wired and wireless clients work.
Also with factory firmware the ax3200 as AP works just fine!
What can it be?

Does mediatek driver support 802.11s mesh?

Guys, I've been struggling with RB01 (no telnet, UART console), after successful sysupgrade openwrt is unable to boot with following error in console: "bad fit kernel image".

I've been able to use another approach and successfully flash openwrt on my device:

  1. gain access to Uboot console using tftp flashing of stock firmware (like usual)
  2. perform following commands in console:
set uart_en 1
env save
  1. reboot device, now you should have root access to stock firmware and serial console
  2. use the guide for telnet flashing method and finally flash factory openwrt image with mtd

This way it finally worked and openwrt is successfully loaded on boot.

Anyone know how to "Go to last read message" It is getting a bit of a long list now to scroll down to it.

hi. I had success with this method. flashed the factory image. but 5g radio isn't active.

Did your install have the 5g radio active?

Yes, works ok. I think I flashed image with proprietary mediatek drivers, found somewhere in this thread. Maybe that's why it working.

@behlul Do you solved this problem? (I have this issue too)

Hello, I can't get wifi client mode working. It connects to my main router but with really slow speed 6mpbs and 20mhz and doesn't get any IP, so Ethernet doesn't work. I already done the tutorials 20 times not working.

On mobile or PC? On mobile just press the bottom right the numbers "currently 1108/1113" then a scrollbar will appear which you can drag to bottom.

1 Like

I don't know the driver thing;

can you guide me how to get and apply that drivers? did you install the drivers after flashing factory image?

thank you.

edit: i have searched this topic deeper and found a solution from @redshifted

@AmiRHDN @asurael

now the 5g radio is active. but the connection has issues. in luci the signal strength is 1/4. and internet connection is not ok on 5g radio.

Now I will try to make a proper config for the 5g radio.

1 Like

soon i ' ll share amazing openwrt for this router
i hope we can get a usb port on this device, that will be over the top.

2 Likes

I have auto-sysupgrade enabled on my device, and these images also appear to work...

I currently have 22.03.0-rc5 installed. Is it possible to flash directly without loosing the settings?

Should be. You will need to add any extra packages you may have, like Services ie Dynamic DNS. Settings will still be there though.
Just make sure that keep settings is checked.

Anyone using this device with gigabit internet with latest openwrt version? Wifi speeds are bad. I'm getting AX China 149 CH 80 MHZ 600 mbit speed, I'm very close to the device.
Do you have any suggestions? my device is ax3200