Add OpenWrt for Xiaomi AX3000 2021

Hello,

I am willing to receive the Xiaomi router AX3000 (2021). I hope to be able to customize it deeply using Openwrt. I look forward to receiving this patch soon. Thank you so much

Some basic specifications:



1 Like

I hope you got mad coding skills ....

Pain, love his music, awesome nick.

It will take a lot of efforts to get it working, as its mainline status is far behind ipq807x and ipq60xx - but you also depend on the (incomplete) work that has gone into ipq807x support, as those cut down SOCs borrow heavily from it. 256 MB RAM sounds pretty marginal (if not to say outright insufficient for ath11k) as well. Don't hold your hopes high, it'll be a long and difficult process to get working.

If you expect to get a working device within reasonable time, this is not the SOC (nor device) to choose.

4 Likes

Thanks for the compliments :triumph:

Thanks you.
I hope there will be a solution. Because I want to take advantage of the available Raspberry Pi 4b - 8Gb. Hence I ordered this Xiaomi AX3000 device. I will install Openwrt on the Pi4. And want to remove some hidden features of the original firmware

"Someone" will have to invest the time and effort necessary, a lot of it - but I don't see anyone lining up for that task for the time being. If you want to get it supported, the job would be yours for the taking.

1 Like

I'm looking out. I'm a newbie hoping to progress in this project

I wouldn't hold my breath.

1 Like

Hi, how's the project going? any progress? I hope to be able to use it one day on my ax3000 too :slight_smile:

1 Like

One day is probably a fitting time estimate...

There is still no one even planning to look into it - and QCA isn't helping either, as they haven't even bothered to push minor support to boot over serial to the mainline kernel.

I have bought the same router (the pair) global version (RA82). to use as access points.

I setup one in AP mode and added the second one as a node.

I am planning to maybe buy a couple more. They seem to be the best bang for buck for the price (where I am anyway).

I get gigabit speed with the main one and around 550mb with the mesh (different room).

I had trouble trying to disassemble the router if anyone has a way please.

I managed to get telnet working now and trying to play a bit with the settings. Apparently it is possible to add packages.

The annoying issue is that anything outside of /etc/config (and some other folders) do not survive the reboot.

Some info

root@XiaoQiang:~# cat /proc/cpuinfo 
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 
CPU implementer : 0x51
CPU architecture: 7
CPU variant     : 0xa
CPU part        : 0x801
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm aes pmull sha1 sha2 crc32 
CPU implementer : 0x51
CPU architecture: 7
CPU variant     : 0xa
CPU part        : 0x801
CPU revision    : 4

Hardware        : Generic DT based system
Revision        : 0000
Serial          : 0000000000000000
root@XiaoQiang:~# mount
mtd:ubi_rootfs on / type squashfs (ro,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup on /sys/fs/cgroup type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,pids)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
none on /etc type ramfs (rw,relatime)
none on /lib/wifi type ramfs (rw,relatime)
ubi1_0 on /data type ubifs (rw,sync,relatime)
ubi1_0 on /userdisk type ubifs (rw,sync,relatime)
mtd:ubi_rootfs on /userdisk/data type squashfs (ro,noatime)
/dev/mapper/sec_cfg on /tmp/sec_cfg/config type ext4 (rw,sync,relatime,block_validity,delalloc,barrier,user_xattr)
/dev/mapper/sec_cfg on /data/etc/config type ext4 (rw,sync,relatime,block_validity,delalloc,barrier,user_xattr)
/dev/mapper/sec_cfg on /etc/config type ext4 (rw,sync,relatime,block_validity,delalloc,barrier,user_xattr)
ubi1_0 on /etc/datacenterconfig type ubifs (rw,sync,relatime)
ubi1_0 on /etc/smartcontroller type ubifs (rw,sync,relatime)
ubi1_0 on /etc/parentalctl type ubifs (rw,sync,relatime)
ubi1_0 on /etc/smartvpn type ubifs (rw,sync,relatime)
ubi1_0 on /etc/ppp type ubifs (rw,sync,relatime)
ubi1_0 on /etc/crontabs type ubifs (rw,sync,relatime)
ubi1_0 on /ini type ubifs (rw,sync,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@XiaoQiang:~# cat /etc/openwrt_release 
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='18.06-SNAPSHOT'
DISTRIB_REVISION='unknown'
DISTRIB_TARGET='ipq/ipq50xx'
DISTRIB_ARCH='arm_cortex-a7'
DISTRIB_DESCRIPTION='OpenWrt 18.06-SNAPSHOT unknown'
DISTRIB_TAINTS='no-all busybox
root@XiaoQiang:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1400 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    5 root         0 SW<  [kworker/0:0H]
    7 root         0 SW   [rcu_preempt]
    8 root         0 SW   [rcu_sched]
    9 root         0 SW   [rcu_bh]
   10 root         0 SW   [migration/0]
   11 root         0 SW   [migration/1]
   12 root         0 SW   [ksoftirqd/1]
   14 root         0 SW<  [kworker/1:0H]
   15 root         0 SW<  [writeback]
   16 root         0 SW<  [crypto]
   17 root         0 SW<  [bioset]
   18 root         0 SW<  [kblockd]
   20 root         0 SW   [kswapd0]
   21 root         0 SW<  [vmstat]
   22 root         0 SW   [fsnotify_mark]
   33 root         0 SW   [irq/34-smp2p]
   34 root         0 SW   [spi32766]
   35 root         0 SW<  [bioset]
   36 root         0 SW<  [bioset]
   37 root         0 SW<  [bioset]
   38 root         0 SW<  [bioset]
   39 root         0 SW<  [bioset]
   40 root         0 SW<  [bioset]
   41 root         0 SW<  [bioset]
   42 root         0 SW<  [bioset]
   43 root         0 SW<  [bioset]
   44 root         0 SW<  [bioset]
   45 root         0 SW<  [bioset]
   46 root         0 SW<  [bioset]
   47 root         0 SW<  [bioset]
   48 root         0 SW<  [bioset]
   49 root         0 SW<  [bioset]
   50 root         0 SW<  [bioset]
   51 root         0 SW<  [bioset]
   52 root         0 SW<  [bioset]
   53 root         0 SW<  [bioset]
   54 root         0 SW<  [bioset]
   55 root         0 SW<  [bioset]
   56 root         0 SW<  [bioset]
   65 root         0 SW   [irq/35-q6_wdog_]
   66 root         0 SW<  [ipv6_addrconf]
   67 root         0 SW<  [deferwq]
   68 root         0 SW   [ubi_bgt0d]
   69 root         0 SW<  [bioset]
   70 root         0 SW<  [bioset]
   72 root         0 SW<  [kworker/1:1H]
   73 root         0 SW   [kworker/1:2]
   74 root         0 SW<  [kworker/0:1H]
  143 root         0 SW   [ubi_bgt1d]
  144 root         0 SW<  [bioset]
  154 root         0 SW   [ubifs_bgt1_0]
  178 root         0 SW<  [bioset]
  179 root         0 SW<  [bioset]
  180 root         0 SW<  [bioset]
  181 root         0 SW<  [bioset]
  182 root         0 SW<  [bioset]
  183 root         0 SW<  [bioset]
  184 root         0 SW<  [bioset]
  185 root         0 SW<  [bioset]
  195 root         0 SW<  [loop0]
  216 root         0 SW<  [kdmflush]
  219 root         0 SW<  [bioset]
  220 root         0 SW<  [kcryptd_io]
  221 root         0 SW<  [kcryptd]
  222 root         0 SW   [dmcrypt_write]
  223 root         0 SW<  [bioset]
  230 root         0 SW<  [ext4-rsv-conver]
  341 root      1044 S    /sbin/ubusd
  342 root       716 S    /sbin/askfirst /bin/ash --login
  401 root       728 S    /usr/sbin/qrtr-ns
  422 root         0 SW<  [cfg80211]
  432 root         0 SW<  [nss_data_plane_]
  439 root         0 SW<  [nss_freq_queue]
  443 root         0 SW<  [coredump_wait]
  476 root         0 SW<  [bond0]
  526 root         0 SW   [kworker/0:2]
  597 root         0 SW   [kworker/u4:2]
  609 root         0 SW<  [enid_sender]
  779 root         0 SW   [kworker/0:0]
  782 root      1308 S    /sbin/rpcd -s /var/run/ubus.sock -t 30
  814 root      1032 S    /sbin/tbusd
  835 root      4244 S    hostapd -g /var/run/hostapd/global -B -P /var/run/hostapd-global.pid
  841 root      4624 S    wpa_supplicant -g /var/run/wpa_supplicantglobal -B -P /var/run/wpa_supplicant-global.pid
 1030 root         0 SW   [kworker/u4:0]
 1081 root         0 DW   [kworker/u4:3]
 1087 root         0 DW   [kworker/u4:4]
 1200 root         0 SW   [kworker/u4:1]
 1339 root      1524 S    /sbin/netifd
 1405 root      4948 S    nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf -g daemon off;
 1412 root      2192 S    /usr/bin/fcgi-cgi
 1445 root      5160 S    nginx: worker process
 1501 root         0 SW   [ECM_wifi_event]
 1502 root         0 SW<  [ecm_nss_ipv4_wo]
 1505 root         0 SW<  [ecm_nss_ipv6_wo]
 1539 root      2852 S    /usr/sbin/hostapd_cli -i wl1 -p /var/run/hostapd-wifi0 -P /var/run/hostapd_cli-wl1.pid -a /lib/wifi/wps-hostap
 1708 root      7756 S    /usr/bin/messagingagent --handler_threads 6 --mqtts_enable 1
 1810 root      1292 S    /usr/sbin/crond -f -c /etc/crontabs -l 9
 1991 root      1296 S    /usr/sbin/telnetd -F -l /bin/login.sh
 2217 root      1232 S    /usr/sbin/dnsmasq --user=root -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
 2598 root         0 Z    [sh]
 2599 root         0 Z    [sh]
 2600 root         0 Z    [sh]
 2601 root         0 Z    [sh]
 2602 root         0 Z    [sh]
 2603 root         0 Z    [sh]
 2604 root         0 Z    [sh]
 2605 root         0 Z    [sh]
 2679 root      1288 S    {login.sh} /bin/sh /bin/login.sh
 2683 root      1288 S    -ash
 2814 root      1288 R    ps
 3007 root      4448 S    /usr/sbin/syslog-ng --process-mode foreground -p /var/run/syslog-ng.pid
 3071 root      1288 S    {iweventd.sh} /bin/sh /usr/sbin/iweventd.sh
 3088 root       764 S    /usr/sbin/iwevent
 3089 root      1332 S    {iwevent-call} /bin/sh /usr/sbin/iwevent-call
 3139 root      1716 S    /usr/sbin/trafficd
 3172 root         0 SW<  [scheduler_threa]
 3198 root      3424 S    mosquitto -c /var/etc/mosquitto.conf
 3312 root      2288 S    /usr/sbin/smartcontroller
 3327 root      2852 S    /usr/sbin/hostapd_cli -i wl0 -p /var/run/hostapd-wifi1 -P /var/run/hostapd_cli-wl0.pid -a /lib/wifi/wps-hostap
 3332 root       940 S <  /usr/sbin/thermald
 3382 root       984 S    /usr/sbin/wan_check_status
 3414 root      2696 S    lua /usr/sbin/xiaoqiang_sync.lua
 3438 root       720 S    /usr/sbin/xqbc 988
 3566 root      2832 S    /usr/sbin/cab_meshd -S -i br-lan
 3590 root         0 SW   [qrtr_rx]
 3663 root      2068 S    /usr/sbin/miwifi-discovery -v 4 -i wl0 -m lanapmode
 3722 root      4120 S    /usr/sbin/xq_info_sync_mqtt
 3816 root         0 SW   [kworker/1:0]
 3900 root      1924 S    /usr/sbin/miwifi-roam -d -C /tmp/roam.conf

Just bought 3 of them also.
I flashed my previous router Redmi on OpnWrt. Would be pleased to help / test but no hacking skills there :grin:

Can you please share how you managed to get Telnet access? e.g. the method used, firmware version, etc.

Thanks,

I used method 4 in here. Scroll down and it has a link to the forum post

EDIT: Apparently you can use XMIIR-Patcher as well (It didn't work for me but I didn't try to troubleshoot)

Link to the post

I have this router, when I enable QOS I cannot connect to a VPN server I have in my home network.
Tried openVPN and wireguard, same results, when QOS is disabled i'm able to connect to the VPN server, when QOS enabled I cannot connect.
I hope this is the right place to ask this.
Gaining root will help me to diagnose this issue somehow?

I tried method 4 and it didn't work.
What's your current fimeware version?
And were there any details during getting ssh?

SSH settings are lost at every reboot. Have you managed to get the telnet working?

I have the global version with the latest firmware "1.4.21".

What I did was
1- reset both routers to factory
2- plus router1 WAN port to router 2 LAN port
3- once they boot it is the router1 that needs all the commands.
4- once you have done all the commands do the same for router 2 (reset them both again)

Yes. What I mean was getting telnet and I failed.
My router was Chinese version and the model was RA80.
But I think RA80 and RA82 were the same router.
The firmware version was 1.0.42.
Can you upload your firmware?
I want to try it.

1 Like

Has anyone managed to put openwrt on the device?