Xiaomi MiWiFi 3 Pro (R3P)

From TechInfoDepot
Jump to navigationJump to search
multiple revisions of this device, use caution
abgn+ac (AC2600)
Xiaomi MiWiFi 3 Pro (R3P)
Homepage Product page (CN)
WikiDevi.wi-cat.ru Xiaomi MiWiFi Pro
3rd Party Firmware
dd-wrt Status Unknown
OpenWrt Supported
Tomato any flavor Incompatible
Gargoyle Status Unknown
Platform
BrandModelRev Xiaomi MiWiFi 3 Pro (R3P)
FCC ID 2AIMRMIWIFIR3P
Type wireless router
Series MiWiFi
CPU1 checkY MediaTek MT7621A
CPU1 Type MIPS 1004Kc
CPU1 Speed 880 MHz ( 2 cores ) 16-bit
Flash1 Chip ESMT F59L2G81A-25T
Flash1 Size 256 MiB 268,435,456 B <br />2,097,152 Kib <br />262,144 KiB <br />2,048 Mib <br />0.25 GiB <br />
RAM1 Size 512 MiB 536,870,912 B <br />4,194,304 Kib <br />524,288 KiB <br />4,096 Mib <br />0.5 GiB <br />
RAM1 Chip EtronTech EM6GE16EWXD-12H
ETH chip1 MediaTek MT7621A
Switch MediaTek MT7621A
Ethernet Port Count 1-1GbE-WAN
3-1GbE-LAN
Wired Standard IEEE 802.3i/3u/3ab

802dot11 OUI: none specified

Stock bootloader U-Boot
Stock FW OS Linux 2.6.36
Expansion IF types USB 3.0
USB ports 1
USB Hub Compatible Untested
Power 12 VDC, 1.5 A
Connector type barrel
Serial Port (UART) yes, 4-pin header, 3.3V TTL, (115200 8N1)
Other

Default SSID: Xiaomi_XXXX (19 addl. devices)
, Xiaomi_XXXX_5G (16 addl. devices)
Default IP address: 192.168.31.1
the IP 192.168.31.1 is used by 20 additional devices
of which 19 are Xiaomi devices

3rd Party Firmware Support OpenWrt • (List | Dev | DLs)
Retail
FCC approval date 22 August 2017
Country of manuf China
Radio 1
Chip1 MediaTek MT7615N
Wireless interface OUI none specified
Antenna Connector Type U.FL
MIMO status 4x4:4
Wireless Standard IEEE 802.11b/g/n
802.11n up to 600 Mbps
802.11g up to 54 Mbps
802.11b up to 11 Mbps
WiFi Operating Frequency 2.4 GHz
Radio 2
Chip1 MediaTek MT7615N
Wireless interface OUI none specified
Antenna Connector Type U.FL
MIMO status 4x4:4
Wireless Standard IEEE 802.11a/n/ac
802.11ac up to 1733 Mbps
802.11n up to 600 Mbps
802.11a up to 54 Mbps
WiFi Operating Frequency 5 GHz
 CPU1 brandRadio1 chip1 brandRadio2 chip1 brand
Xiaomi MiWiFi 3 (R3)MediaTekMediaTekMediaTek
Xiaomi MiWiFi 3 Pro (R3P)MediaTekMediaTekMediaTek
Xiaomi MiWiFi 3A (R3A)MediaTekMediaTekMediaTek
Xiaomi MiWiFi 3C (R3L)MediaTekMediaTek
Xiaomi MiWiFi HD (R3D)QualcommQualcomm AtherosQualcomm Atheros

For a list of all currently documented MediaTek chipsets with specifications, see MediaTek.

For a list of all currently documented Xiaomi devices with specifications, see Xiaomi.

800 Mbps - 4SS 2.4GHz 802.11n (40MHz chan., 256-QAM),
1733 Mbps - 4SS 5GHz 802.11ac (80MHz chan.) = AC2600 class

Overview

Models

Xiaomi on OpenWrt wiki
FCC ID: 2AIMRMIWIFIR3D (2017-12-13)
FCC ID: 2AIMRMIWIFIR3P (2017-08-22)

Links of Interest

Dev FW

Flashing

Flashing OpenWrt

Target: ramips
Subtarget: mt7621
Package architecture: mipsel_24kc
Supported Since Commit
Support started version: 19.07.0
Current supported version: 25.12.2
LAN Hardware: MediaTek MT7621AT
WLAN Hardware: MediaTek MT7615
WLAN Comment: 4x4:4 MIMO both channels
Installation method(s):
see git-commit
Recovery method(s):
see git-commit
git • >>
ramips: add support for Xiaomi Mi Router 3 Pro
Hardware:

CPU:   MediaTek MT7621AT (2x880MHz)
RAM:   512MB DDR3
FLASH: 256MB NAND
WiFi:  2.4GHz 4x4 MT7615 b/g/n (Needs driver, See Issues!)
WiFI:  5GHz 4x4 MT7615 a/n/ac  (Needs driver, See Issues!)
USB:   1x 3.0
ETH:   1x WAN 10/100/1000 3x LAN 10/100/1000
LED:   Power/Status
BTN:   RESET
UART:  115200 8n1

Partition layout and boot:

Stock Xiaomi firmware has the MTD split into (among others)

- kernel0 (@0x200000)
- kernel1 (@0x600000)
- rootfs0
- rootfs1
- overlay (ubi)

Xiaomi uboot expects to find kernels at 0x200000 & 0x600000
referred to as system 1 & system 2 respectively.
a kernel is considered suitable for handing control over
if its linux magic number exists & uImage CRC are correct.
If either of those conditions fail, a matching sys'n'_fail flag
is set in uboot env & a restart performed in the hope that the
alternate kernel is okay.
If neither kernel checksums ok and both are marked failed, system 2
is booted anyway.

Note uboot's tftp flash install writes the transferred
image to both kernel partitions.

Installation:

Similar to the Xiaomi MIR3G, we keep stock Xiaomi firmware in
kernel0 for ease of recovery, and install OpenWRT into kernel1 and
after.

The installation file for OpenWRT is a *squashfs-factory.bin file that
contains the kernel and a ubi partition. This is flashed as follows:

nvram set flag_try_sys1_failed=1
nvram set flag_try_sys2_failed=0
nvram commit
dd if=factory.bin bs=1M count=4 | mtd write - kernel1
dd if=factory.bin bs=1M skip=4 | mtd write - rootfs0
reboot

Reverting to stock:

The part of stock firmware we've kept in kernel0 allows us to run stock
recovery, which will re-flash stock firmware from a *.bin file on a USB.

For this we do the following:

fw_setenv flag_try_sys1_failed 0
fw_setenv flag_try_sys2_failed 1
reboot

After reboot the LED status light will blink red, at which point pressing
the 'reset' button will cause stock firmware to be installed from USB.

Issues:

OpenWRT currently does not have support for the MT7615 wifi chips. There is
ongoing work to add mt7615 support to the open source mt76 driver. Until that
support is in place, there are closed-source kernel modules that can be used.

See: https://forum.openwrt.org/t/support-for-xiaomi-wifi-r3p-pro/20290/170

See also

Xiaomi on OpenWrt wiki
FCC ID: 2AIMRMIWIFIR3P (2017-08-22)
FCC ID: 2AIMRMIWIFIR3D (2017-12-13)

Models

XiaomiList of Xiaomi Wireless Devices
Xiaomi MiWiFi 3CMi Router 3C (R3L)
Mi Router 3G (R3G)Mi Router 3G v2 (R3GV2)
FCC ID: 2AIMRMIWIFIR3P • Mi Router Pro (R3P)
FCC ID: 2AIMRMIWIFIR3D • Mi Router HD (R3D)