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

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