Add OpenWrt support for Xiaomi "Redmi AX6000"

Just saw this post by @qrizzz

I wonder if you could do similar to @rdlvm did here with sewing needles and to get access to UART without having to open the case, especially since the AX6000 seems to have ventilation holes straight above the UART pins;

Yes, you can. See above post:

1 Like

You certainly can. Second time around I did it with a few needles as mentioned.
I would say the effort was about the same for me though, as it's just 4 screws and a plastic plying tool to get more direct access :slight_smile:

2 Likes

Guys, the latest version is broken, don't update.

I'm trying to find out what the cause is.

What is the number of the problematic version?

I've just installed SNAPSHOT (r22866-4e5aac4729), but I don't know if any more before versions have problems.

1 Like

Broken how?

I am running a custom build based on 228e0e1039 which is two commits after the one you called out without any issues.

The router can't start OpenWrt, all the leds are blue. I'm using stock layout.

I'm going to try with your recommended version.

Thank you.

Hi guys!

I need your help, I was installing OpenWrt (Stock layout) after yesterday's problems.

Without noticing I continued the rest of the steps and I've just executed the following step:

  1. Run the following cmd to boot into an initramfs with the new OpenWrt U-Boot layout that expand ubi partion to the end of flash:

ubiformat /dev/mtd7 -y -f /tmp/ax6000-ubootmod-initramfs-factory.ubi

Is there any way to undo this command?

Thank you so much!

Greetings!

If you haven't rebooted yet, make sure that the boot environment is ok (fw_printenv) and that mtd7 is the ubi partition (cat /proc/mtd) and if so, just a sysupgrade -n /tmp/squashfs-sysupgrade.bin with an stock layout image should fix it.

If you have rebooted already, it's going to be trickier...

1 Like

I rebooted. I continue to install the Uboot layout then.

Thank you so much for your quick answer.

I was installing a custom build and there wasn't configured the kmod-mtd-rw module, how should I configure it in my .config with "m" or "y"?

Or can I update to the latest build on the download page? If it's possible, how should update it?

Is there any way to build only the kmod-mtd-rw module without building all OpenWrt again?

Thank you so much.

Regards.

If you have a custom build without kmod-mtd-rw and you still have the build, just add it in .config with "m" and run make and it'll build it as a separate module. It should be quite quick and you can load it in your current version.

Of course, if you've done any updates in the build enviroment, it won't work.

1 Like

hello there,

why there is no stable release so far ?
still on the main page of Redmi AX6000 (Sanpshot)

any estimated time for the stable release ?

1 Like

"when it's ready"

As far as I know, there will be no official stable release of ath11k (Wifi 6 = 802.11ax) untill the OpenWrt version 23, planned for autumn 2023(?). From my understanding, there won't be a single Wifi6 device supported in stable releases in OpenWrt 22.

1 Like

Thanks for response, did not know that.

The February build is running for 90 days without issues. But I'm not sure what you consider stable?

Stable release = non-snapshot (not night build). It has nothing to do with stability of OpenWrt. It is indeed stable on my router as well (apart from some previous issues with specific client devices or ISP settings).

Are you guys updating frequently? I want to try sqm but my current kernel version is not supported.

And also, do you guys erase the configs every time or is it not needed?

Thx