| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| inbox:toh:xiaomi:ax3000t [2024/10/05 17:49] – [Table] vladshulakov | inbox:toh:xiaomi:ax3000t [2024/12/13 04:37] – [LEDs] nachum37 |
|---|
| ====== Xiaomi AX3000T ====== | ====== Xiaomi AX3000T ====== |
| |
| <WRAP center round important 60%> | <WRAP center round important 70%> |
| **Warning!** Don't brick your router! | **Warning!** Don't brick your router! |
| |
| AX3000T routers come with either ''Winbond'' or ''ESMT'' NAND flash chip. Devices with the ''Winbond'' NAND chip are supported **only** by [[:releases:snapshot|Snapshot]] version, while the ''ESMT'' NAND chip is supported by both the official stable OpenWrt [[:releases:23.05:notes-23.05.5|23.05.5]] image and Snapshot. **Don´t try to flash router without checking your chip!**: [[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/1424?u=alexq|details]]. | AX3000T routers come with either ''Winbond'' or ''ESMT'' or ''Foresee'' NAND flash chip. Devices with the ''Winbond'' or ''Foresee'' NAND chip are supported **only** by [[:releases:snapshot|Snapshot]] version, while the ''ESMT'' NAND chip is supported by both the official stable OpenWrt [[:releases:23.05:notes-23.05.5|23.05.5]] image and Snapshot. **Don´t try to flash router without checking your chip!**: [[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/1424?u=alexq|details]]. |
| |
| </WRAP> | </WRAP> |
| |
| <WRAP center round important 60%> | <WRAP center round important 70%> |
| New AX3000T devices with stock firmware version 1.0.84 or newer have received updated hardware ([[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/1176|AN8855 switch]]) that is temporarily incompatible with the OpenWrt image until support is added. There is no possibility to install OpenWrt on RD03 for such devices, see [[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/1143?|link]]. | New AX3000T devices with stock firmware version 1.0.84 or newer have received updated hardware ([[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/1176|AN8855 switch]]) that is temporarily incompatible with the OpenWrt image until support is added ([[https://github.com/openwrt/openwrt/pull/16709|PR]]). There is no possibility to install OpenWrt on RD03 for such devices, see [[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/1424?u=alexq|link]]. |
| |
| </WRAP> | </WRAP> |
| OpenWrt Support Status: | OpenWrt Support Status: |
| ^ Stock Firmware ver. ^Model ^ API to exploit ^ OpenWrt Supported ^ Stock Firmware URL ^ | ^ Stock Firmware ver. ^Model ^ API to exploit ^ OpenWrt Supported ^ Stock Firmware URL ^ |
| | 1.0.31 (INT) | RD23 | ''xqsystem/start_binding'' | YES* | - | | | 1.0.31 (INT) | RD23 | ''xqsystem/start_binding'' | YES* | - | |
| | 1.0.49 (INT) | RD23 | ''xqsystem/start_binding'' | YES* | [[https://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rd23/miwifi_rd23_firmware_153e1_1.0.49_INT.bin|miwifi_rd23_firmware_153e1_1.0.49_INT.bin]] | | | 1.0.49 (INT) | RD23 | ''xqsystem/start_binding'' | YES* | [[https://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rd23/miwifi_rd23_firmware_153e1_1.0.49_INT.bin|miwifi_rd23_firmware_153e1_1.0.49_INT.bin]] | |
| | 1.0.47 (CN) | RD03 | ''misystem/arn_switch'' | YES* | [[https://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rd03/miwifi_rd03_firmware_ef0ee_1.0.47.bin|miwifi_rd03_firmware_ef0ee_1.0.47.bin]] | | | 1.0.47 (CN) | RD03 | ''misystem/arn_switch'' | YES* | [[https://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rd03/miwifi_rd03_firmware_ef0ee_1.0.47.bin|miwifi_rd03_firmware_ef0ee_1.0.47.bin]] | |
| | 1.0.84 (CN) | RD03 | ''xqsystem/start_binding'' | **Not yet** (''AN8855'' hardware) | [[https://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rd03/miwifi_rd03_firmware_f85f9_1.0.84.bin|miwifi_rd03_firmware_f85f9_1.0.84.bin]]| | | 1.0.84 (CN) | RD03 | ''xqsystem/start_binding'' | **Not yet** (''AN8855'' hardware) | [[https://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rd03/miwifi_rd03_firmware_f85f9_1.0.84.bin|miwifi_rd03_firmware_f85f9_1.0.84.bin]]| |
| |
| * *note: devices with the ''Winbond'' NAND chip are supported by [[:releases:snapshot|Snapshot]] version only. | * *note: devices with the ''Winbond'' or ''Foresee'' NAND chip are supported by [[:releases:snapshot|Snapshot]] version only. |
| |
| |
| |
| ==== Flash instructions ==== | ==== Flash instructions ==== |
| <WRAP center round info 60%> | <WRAP center round info 70%> |
| Besides the manual steps outlined below, there is the [[https://github.com/openwrt-xiaomi/xmir-patcher|XMiR-Patcher]] tool that can automate the entire process, making the first-time router flashing much simpler with just a few clicks. As always, know what you're doing when executing scripts from the internet! | Besides the manual steps outlined below, there is the [[https://github.com/openwrt-xiaomi/xmir-patcher|XMiR-Patcher]] tool that can automate the entire process, making the first-time router flashing much simpler with just a few clicks. As always, know what you're doing when executing scripts from the internet! |
| </WRAP> | </WRAP> |
| cat <<EOF | cat <<EOF |
| Usage: $0 [misystem | xqsystem] [stok] | Usage: $0 [misystem | xqsystem] [stok] |
| e.g. $0 misystem e6ea114ba2cddb0c70fbbc417bb2706c | e.g. $0 xqsystem e6ea114ba2cddb0c70fbbc417bb2706c |
| Copy the stok-string from a browser's URL-line, while logged to the router | Copy the stok-string from a browser's URL-line, while logged to the router |
| EOF | EOF |
| Then transfer them to your computer in a safe place. | Then transfer them to your computer in a safe place. |
| |
| To copy you can run netcat on your computer (in this case the computer's IP is 192.168.31.55): | To copy you can run netcat on your computer: |
| |
| $ netcat -l 1234 | tar xvf - | $ netcat -l 1234 | tar xvf - |
| And send the data from the router: | And send the data from the router: |
| |
| root@XiaoQiang:~# tar cf - /tmp/*.bin | nc 192.168.31.55 1234 | root@XiaoQiang:~# cd /tmp/ |
| | root@XiaoQiang:~# tar cf - *.bin | nc 192.168.31.<computer-IP> 1234 |
| |
| |
| reboot | reboot |
| |
| Once the router is rebooted, it should boot to the OpenWrt initramfs system now. To be sure to use one of OpenWrt's LAN ports (not WAN port), plug the ethernet cable into one of the middle ports, if the cable is not already plugged there (original FW dynamically assigns LAN/WAN). | {{ :media:xiaomi:ax3000t_ports.png|AX300T WAN/LAN Ports}} |
| | Once the router is rebooted, it should boot to the OpenWrt initramfs system now. To be sure to use one of OpenWrt's LAN ports (not WAN port), plug the ethernet cable into one of the middle ports, if the cable is not already plugged there (original FW dynamically assigns LAN/WAN). |
| Note that you should configure the computer's network to use DHCP. You can use wireshark if things don't work. | Note that you should configure the computer's network to use DHCP. You can use wireshark if things don't work. |
| | |
| This command will connect you to the OpenWrt system: | This command will connect you to the OpenWrt system: |
| |
| ===== Basic configuration ===== | ===== Basic configuration ===== |
| -> [[docs:guide-user:base-system:start|Basic configuration]] After flashing, proceed with this.\\ | -> [[docs:guide-user:base-system:start|Basic configuration]] After flashing, proceed with this.\\ |
| Set up your Internet connection, configure wireless, configure USB port, etc. | Set up your Internet connection, configure wireless, configure network settings, etc. |
| |
| * note: configuration reset issue after 6 reboots sometimes occurs on the AX3000T and is [[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/452?u=alexq|caused]] by the stock Xiaomi bootloader logic. To address this, run the command to modify the /etc/rc.local file with nvram settings: | * note: configuration reset issue after 6 reboots sometimes occurs on the AX3000T and is [[https://forum.openwrt.org/t/openwrt-support-for-xiaomi-ax3000t/180490/452?u=alexq|caused]] by the stock Xiaomi bootloader logic. To address this, run the command to modify the /etc/rc.local file with nvram settings: |
| | Reset | reset | | | Reset | reset | |
| | Mesh | BTN_9 | | | Mesh | BTN_9 | |
| | |
| | ==== LEDs ==== |
| | The Xiaomi AX3000T features a front LED strip that can light up in yellow (actually orange), blue, and white. |
| | |
| | The default OpenWRT configuration is as follows: |
| | |
| | ^ LED ^ Behavior ^ |
| | | Yellow | Blinks during boot | |
| | | Blue | Solid after boot | |
| | | White | Not in use | |
| | |
| | The white LED can be activated by turning on both the yellow and blue LEDs simultaneously. |
| | |
| | For example, the following configuration will set the white LED to be solid when the PPPoE connection is established. If the connection is lost, the color will revert to blue. |
| | |
| | This can be configured through Luci -> System -> LED Configuration. |
| | |
| | config led |
| | option sysfs 'yellow:status' |
| | option trigger 'netdev' |
| | option dev 'pppoe-wan' |
| | list mode 'link' |
| | |
| | config led |
| | option sysfs 'blue:status' |
| | option trigger 'netdev' |
| | option dev 'pppoe-wan' |
| | list mode 'link' |
| | |
| | config led |
| | option sysfs 'blue:status' |
| | option trigger 'default-on' |
| | |
| | |
| |
| |
| How to connect to the Serial Port of this specific device:\\ | How to connect to the Serial Port of this specific device:\\ |
| {{:media:xiaomi:xiaomi_ax3000t_uart.jpg?direct&600|}} | {{:media:xiaomi:xiaomi_ax3000t_uart.jpg?direct&600|}} |
| ^ Serial connection. parameters\\ for Xiaomi AX3000T | 115200, 8N1, 3.3V | | ^ Serial connection parameters\\ for Xiaomi AX3000T | 115200, 8N1, 3.3V | |
| |
| ==== JTAG ==== | ==== JTAG ==== |