OpenWrt support for Xiaomi AX9000

I also have to replace the .bin otherwise it didn't work (radio3 on ax9000)

Have one new problem:

Problem disassociated Wifi AX9000 / AX3600 802.11R use

Wi-Fi disconnections, and constantly this warning/error in the openwrt log:

Tue Apr 16 08:55:44 2024 daemon.notice hostapd: phy2-ap0: AP-STA-DISCONNECTED
Tue Apr 16 08:55:44 2024 daemon.info hostapd: phy2-ap0: STA IEEE 802.11: disassociated
Tue Apr 16 08:55:45 2024 daemon.info hostapd: phy2-ap0: STA IEEE 802.11: deauthenticated due to inactivity (timer

It causes all my devices to constantly disconnect and connect (I have smart plugs, echo, firetv, etc...) and they constantly lose connection

Hello everyone, ax9000 international version, firmware 3.0.40
i managed to get telnet password and also enabled ssh.
I have usb serial adapter 1.8v but can't stop the boot process no matter what i type.
uart_en is set to 1
i soldered and resoldered the pins to be sure already 3 times, the rx is working, also i looped tx into rx in the usb adapted to check cables and it echoes, so it must be the router ignoring uart_en
Given the ssh access, can i still flash openwrt without uart?

If you have access to ssh, you could flash from there...

Unfortunately it still doesn't work, from SSH i've been able to ubiformat only one of the two rootfs as the other was in use for the system, and then at reboot the system hangs.
in nvram i've set ATF to 1, but if i try to boot via tftp a "non ufficial" firmware it stops, the 3.0.40 international instead go through every time (i managed to unbrick already a few times).
What can i try to do to unlock the uart tx?

had the same problem, from SSH (original firmware) I issued as instructed:

nvram set uart_en=1
nvram set boot_wait=on
nvram commit

if it not works - resolder cables maybe ?

Morning !

My AX9000 Chinese version just arrived and got already up and running with OWRT, thanks to the Wiki !

I'm trying to set up wifi radios in a proper way, but didnt find any thread or guide specific nor with an ideal config, just the BDF workaround that already installed

I'm sharing my actual config, since (I think) I'm getting pretty nice results:

Is there a thread for the fan driver I can start with ?

I finally managed to install openwrt, i think it was the component labeled r78 but my soldering skills, and my eyes, are less then optimal so i managed to blunder and remove the little fella and his neighbour...
at this point i said to myself f**k it and bridged straight from the uart pin and luckily it finally worked

thanks everyone for the work done

Well.... I'm happy that it works now for you :slight_smile:

Hi! After looking through the topic, I realized that there were difficulties with the BDF file, but they were solved and now all the radios are working? I'm from the RAX120 branch and now either all the radios are not working, or there is no 160 HT, or the signal is very low. We are trying cal files from different routers, if anyone has the opportunity to post the cal-ahb-c000000.wifi file, it would be very helpful. It is located in lib/firmware/ath11k/IPQ8074/hw2.0

This is the cal file that gets generated for me. I am using this BDF file for the 160MHz on radio3.

Hello,
I am having an issue with continuous reboot in loop after flashing the AX9000 (international version) using UART flashing method. So right now, after doing sysupgrade of squashfs-sysupgrade.bin it reboots and continuously prompts for UART stop. Every time it loads into not a OpenWrt firmware.

Edit:
I haven't noticed it in comments before. Running the command below before the sysupgrade helped. Should we add this into documentation?

fw_setenv atf 1
1 Like

Hi. Seems like the Google Drive link for the SSH exploit stopped working. Can anyone who already has it downloaded reupload it? I can't find any alternative sources.

https://drive.google.com/drive/folders/1OAkU50r_vHCSkzGeH_vRp3ZdBVs7qsm8

Both for the Chinese and International (hdr2).

2 Likes

Hi there!

@rmandrad I'm attempting to build the openwrt images for AX9000 INT. After a bunch of reseach, it seems that you have the most complete fork with most patches for this router. Especially the emc2305 fan support, which is for now still lacking in the official main branch. So I decided to fork the main repo and merge your commits into my own fork, at least until some of these things get merged back into the official snapshots.
Would you mind shaing your .config file for the AX9000 build? It'd be much appreciated :slight_smile:
For now I just briefly went through the menuconfig and set up the target, but I'm guessing you spent a bit more time setting up a proper config.

Thanks a bunch! Works flawlessly!

1 Like

Hi @polar pls use the repo https://github.com/rmandrad/openwrt/tree/qualcommax-6.x-nss-wifi/ as this will have the latest dts definitions for the fan.
Regarding the .config i don't have anything particular apart from the default wireless and the emc2305 driver.
Note that so far I was only able to have the fan running max speed and off.

Max - i2cset -f -y 0 0x2f 0x30 0xff
Off - i2cset -f -y 0 0x2f 0x30 0x00

1 Like

also note that this repo is not using the default openwrt but the community build that supports qca-nss etc it should be able to run without qca-nss enabled it though

Alright. That's the branch I merged into my fork. I dumped the DTS from my AX9000 3.0.40 to have some additional reference.
I'll gladly use the NSS if it works well, I have no problem with that :slight_smile:

Are there any other caveats with AX9000 as of the current main branch with kernel 6.6 and your patches applied or is the fan the only thing that's left to conquer (other than the fancy LED cross which no one cares about)?
I know there were some issues with certain wifi radios and the 2.5Gbps port previously, is that now stable?

EDIT:

I want to get my hands dirty, that's why I'm asking. If there are any additional unsolved issues with this model, I'd love to contribute. It's a great device, I definitely want to see it fully supported in the official release one day.

2 Likes

One (I'm guessing rare) issue I've observed with OpenWRT (with & without NSS) on both AX3600 & AX9000 is when using an M1 Macbook in the next room (concrete wall between), transfer speeds drop to single digit Mbps making it virtually unusable. A Samsung Galaxy in the same place shows reasonable speeds given the distance. On stock the M1 gets appriox the same speeds as the Galaxy. Likewise when in line of sight of the router speeds on the M1 are fantastic.

NB I last tested about a year ago but finally got round to fixing up a serial connection again to see if the latest images show any difference, hopefully find time some this week...