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

Just upgraded from 23.05.04 to 23.05.05. Luci was stuck at uploading the file, but terminal worked perfectly. Didn't factory reset and everything seems to work perfectly. Any errors i should look out for if im not factory resetting?

Check functionality, system and kernel log. If no errors and everything works as before you are ok :smiley:

1 Like

Yep, seems to be fine. Wifi and all works perfectly. Lucky me

To be fair, I do also tend to not keep setting while upgrading and setup from scratch, to be sure that I check all the new features.

However, it should technically work. Are you also using the sysupgrade image from the default link (like I've added it), or you're modifying the image?

If you make modifications to the image, it's somewhat more likely that you won't be able to keep the same configuration

Sorry for the long delay. Just followed your instructions, and I'm now finally running OpenWrt 23.05.5 r24106-10cc5fcd00 / LuCI openwrt-23.05 branch git-24.264.56413-c7a3562 version.

All went well, I just forgot that the WiFi wouldn't come up since it is a factory image, took me 2 minutes to plug an ethernet cable, restore the config backup and its up and running. Thank you.

Good info , run fw_setenv boot_fw1 'run boot_rd_img;bootm' can prevent router brick for me now.

1 Like

Awesome! Thank you for the reply and glad to hear that it's useful for fixing the boot issue

This should be added to the openwrt page for the AX6S, my router also bricked after several reboots and thank god after days i found someone post on reddit that pointed here on your findings.
The steps i did to debrick my AX6S production date 04.2024.

  1. connected USB to TTL adapter directly on the motheboard

  2. opened putty serial connection window and chose to boot from the first slot. The router booted in Openwrt currently running 23.05.5 r24106

  3. i connected through ssh and executed fw_printenv | grep -e ^flag -e ^boot i saw that the try_sys1_failed was stuck at 6

  4. i executed this three commands
    fw_setenv boot_fw1 'run boot_rd_img;bootm',
    fw_setenv flag_try_sys1_failed 0
    fw_setenv flag_try_sys2_failed 0

  5. finally i edited the file /etc/rc.local and added two lines
    fw_setenv flag_try_sys1_failed 0
    fw_setenv flag_try_sys2_failed 0

Everything working fine now and the try_sys values stay 0 after every reboot.
Thanks @xabolcs

4 Likes