There is a lack of information about Xiaomi Router AC1200 (model: RB02), and there is no recommended OpenWrt firmware on the Internet.
So some information, guidelines and problems are shared here.
Spec and information
- Item page (Chinese Traditional): https://buy.mi.com/tw/item/3220100013
- Item page (English): https://www.mi.com/pk/product/xiaomi-router-ac1200/
Name: Xiaomi Router AC1200
Model: RB02
SoC: MediaTek MT7621
CPU MHz: 880Mhz
ROM: 16 MB
RAM: 128 MB DDR3
WLAN Hardware: MediaTek MT7603E, MediaTek MT7663
2.4GHz Wi-Fi: 2x2 (Supports IEEE 802.11n protocol, up to a maximum speed of 300Mbps)
5GHz Wi-Fi: 2x2 (Supports IEEE 802.11ac protocol, up to a maximum speed of 867Mbps)
Gbit ports: 3 (1x WAN, 2x LAN)
Protocol standards: IEEE 802.11a/b/g/n/ac, IEEE 802.3/3u/3ab
Modulation: 11b:DSSS: DBPSK (1Mbps), DQPSK (2Mbps), CCK(5.5/11Mbps) 11a/g:OFDM: BPSK (6/9Mbps), QPSK (12/18Mbps), 16QAM (24/36Mbps), 64QAM (48/54Mbps) 11n:MIMO-OFDM:BPSK, QPSK, 16QAM, 64QAM. Rate set: MCS0-MCS15, 11ac:MIMO-OFDM:BPSK, QPSK, 16QAM, 64QAM, 256QAM. Rate set: MCS0 to MCS9 (supports 2 streams)
root@XiaoQiang:~# uname -a
Linux XiaoQiang 4.4.198.mt7621 #0 SMP Thu Nov 25 02:42:10 2021 mips GNU/Linux
root@XiaoQiang:~# cat /proc/version
Linux version 4.4.198.mt7621 (jenkins@aed0fefaa6c7) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 unknown) ) #0 SMP Thu Nov 25 02:42:10 2021
root@XiaoQiang:~# bootinfo
ROM ver: config core 'version'
# ROM ver
option ROM '3.2.49'
# channel
option CHANNEL 'release'
# hardware platform R1AC or R1N etc.
option HARDWARE 'RB02'
# CFE ver
option UBOOT '1.0.2'
# Linux Kernel ver
option LINUX '0.0.1'
# RAMFS ver
option RAMFS '0.0.1'
# SQUASHFS ver
option SQAFS '0.0.1'
# ROOTFS ver
option ROOTFS '0.0.1'
#build time
option BUILDTIME 'Thu, 25 Nov 2021 03:05:51 +0000'
#build timestamp
option BUILDTS '1637809551'
#build git tag
option GTAG 'commit cf5c1b3bbf3632215c47e03b8e541d03fa7dab35'
Hardware : Ver. A
ROM sum:
System : Dual - 1
KERNEL : console=ttyS0,115200 uart_en=0 factory_mode=0 mem=128m rootfstype=squashfs,jffs2
MTD table:
dev: size erasesize name
mtd0: 01000000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Null"
mtd3: 00010000 00010000 "Bdata"
mtd4: 00010000 00010000 "Factory"
mtd5: 00010000 00010000 "crash"
mtd6: 00010000 00010000 "cfg_bak"
mtd7: 00100000 00010000 "overlay"
mtd8: 00e70000 00010000 "OS1"
mtd9: 001c0000 00010000 "kernel"
mtd10: 00cb0000 00010000 "rootfs"
mtd11: 00010000 00010000 "Config"
root@XiaoQiang:~# cat /etc/wireless/l1profile.dat
Default
INDEX0=MT7603
INDEX0_profile_path=/etc/Wireless/mt7603e/mt7603e.dat
INDEX0_init_script=/lib/wifi/mt7603e.lua
INDEX0_init_compatible=mt7603e
INDEX0_EEPROM_offset=0x0
INDEX0_EEPROM_size=0x200
INDEX0_EEPROM_name=e2p
INDEX0_main_ifname=wl1
INDEX0_ext_ifname=wl
INDEX0_wds_ifname=wds
INDEX0_apcli_ifname=apcli
INDEX0_mesh_ifname=mesh
INDEX0_nvram_zone=dev1
INDEX0_single_sku_path=/etc/Wireless/mt7603e/SingleSKU.dat
INDEX0_bf_sku_path=/etc/Wireless/mt7603e/mt7603e-sku-bf.dat
INDEX1=MT7663
INDEX1_profile_path=/etc/Wireless/mt7663/mt7663.dat
INDEX1_init_script=/lib/wifi/mt7663.lua
INDEX1_init_compatible=mt7663
INDEX1_EEPROM_offset=0x8000
INDEX1_EEPROM_size=0x600
INDEX1_EEPROM_name=e2p
INDEX1_main_ifname=rai0
INDEX1_ext_ifname=rai
INDEX1_wds_ifname=wdsi
INDEX1_apcli_ifname=apclii
INDEX1_mesh_ifname=meshi
INDEX1_nvram_zone=dev2
INDEX1_single_sku_path=/etc/Wireless/mt7663/SingleSKU.dat
INDEX1_bf_sku_path=/etc/wireless/mediatek/mt7663/mt7663-sku-bf.dat
Enable SSH login
Follow method of Redmi Router AC2100. Browse and edit the links below:
http://<RouterIP>/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev?bssid=Xiaomi&user_id=longdike&ssid=-h%3B%20nvram%20set%20ssh_en%3D1%3B%20nvram%20commit%3B%20sed%20-i%20%27s%2Fchannel%3D.*%2Fchannel%3D%5C%22debug%5C%22%2Fg%27%20%2Fetc%2Finit.d%2Fdropbear%3B%20%2Fetc%2Finit.d%2Fdropbear%20start%3B
http://<RouterIP>/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev?bssid=Xiaomi&user_id=longdike&ssid=-h%3B%20echo%20-e%20%27admin%5Cnadmin%27%20%7C%20passwd%20root%3B
If the responses are both shown with "code: 0", then you can start logging in by command
ssh root@<RouterIP>
password is admin
.
Different from Xiaomi Router 4A Gigabit Edition
Although the design and hardware of the RB02 are similar to the Xiaomi Router 4A Gigabit Edition (R4A or R4AG), there are still differences:
- RB02 uses MT7663 chip for 5Ghz wifi.
- RB02's ROM is different from Xiaomi Router 4A Gigabit's, the message "Couldn't verify file" will be shown after uploading by WebUI. (Tested ROMs:
miwifi_r4a_all_cddf4_2.28.69.bin
andmiwifi_r4a_all_03233_3.0.24_INT.bin
)
Problem: Cannot find OEM ROM
I can't find the OEM ROM on the Internet. Does anyone know how to get it?
Can I extract the ROM from the device?
Problem: No OpenWrt Firmware
I'm not good at compiling an OpenWrt firmware. However if more ssh reachable information can help with development, please let me know.