Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:xiaomi:r4ac [2022/05/13 08:41] – [OEM bootlog] diepeterpaninbox:toh:xiaomi:r4ac [2024/05/05 18:16] – removed obsolete information dnd
Line 1: Line 1:
-====== Xiaomi Mi Router 4A (R4AC) 100M ======+====== Xiaomi Mi Router 4A (R4AC) 100M (International version) ======
 ~~NOTOC~~ ~~NOTOC~~
  
 /* This template is intended to be used via https://openwrt.org/meta/create_new_device_page . */ /* This template is intended to be used via https://openwrt.org/meta/create_new_device_page . */
  
-{{page>meta:infobox:construction&noheader&nofooter&noeditbtn}}+<WRAP important 100%>**Warning.!!** This hardware not same as **[[inbox:toh:xiaomi:xiaomi_mi_router_4a_gigabit_edition|Mi Router 4A Gigabit]]** nor **[[toh:xiaomi:mi_router_4a_mir4a_100m|Mi Router 4A (MIR4A) 100M (Chinese version)]]**, so don't brick your router!</WRAP>
  
-<WRAP important 100%>**Warning.!!** This hardware not same as **Mi Router 4A Gigabit** nor **Mi Router 4A (MIR4A100M**, so don't brick your router </WRAP>+The Xiaomi Mi Router 4A (R4AC) 100M **international version** is an indoor wireless router based on the MediaTek MT7628AN SoC, with three 10/100 Ethernet ports (2xLAN + 1xWAN), dual band 802.11bgn+ac (dual radio) WiFi and four external non-detachable antennae. The **international version**'s box bears **SKU DVB4230GL**. 
  
-The Xiaomi Mi Router 4A 100M is an indoor wireless router based on the MediaTek MT7628AN SoC, with three 10/100 Ethernet ports (2xLAN + 1xWAN), dual band 802.11bgn+ac (dual radio) WiFi and four external non-detachable antennae.  +It is similar to [[https://openwrt.org/toh/xiaomi/mi_router_4a_mir4a_100m|MIR4A **Chinese version**]] but the R4AC **international version** <color #ed1c24>has a different flash layout</color>
- +
-It is similar to MIR4A but the R4AC **international version** but has a different flash layout+
 /*****/ /*****/
 /* How to add images ========> https://openwrt.org/meta/adding_images_to_openwrt_wiki */ /* How to add images ========> https://openwrt.org/meta/adding_images_to_openwrt_wiki */
 /*****/ /*****/
  
-{{media:xiaomi:photo_2021-11-14_12-39-11.jpg?200|Mi Router 4A 100M}} +{{media:xiaomi:xiaomi_mi_router_4a_mir4ac_international_100m.jpg?200|Mi Router 4A 100M (International version)}}
- +
- +
-===== OpenWrt support ===== +
- +
-<color orange>**WIP**</color> +
- +
-**Pull request to be merged** +
- +
-https://github.com/openwrt/openwrt/pull/9815+
  
  
Line 31: Line 20:
 There are current changes that add support for this device and it was tested on an international version manufacturing date: 04/2021 There are current changes that add support for this device and it was tested on an international version manufacturing date: 04/2021
  
-SKU: DVB4230GL+**SKU**: DVB4230GL
  
   * OpenWrt forum thread: https://forum.openwrt.org/t/openwrt-bricks-xiaomi-mi-router-4a-mir4ac-100m-international-version/125759/27   * OpenWrt forum thread: https://forum.openwrt.org/t/openwrt-bricks-xiaomi-mi-router-4a-mir4ac-100m-international-version/125759/27
Line 37: Line 26:
  
  
-===== Experimental firmware =====+===== Supported Versions =====
  
-  * https://www.dropbox.com/s/rcd1jqm5bhovf2v/xiaomi-4a.zip?dl=1+<!-- ToH
 +  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "rotate": true, 
 +  "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "oemdevicehomepageurl", "forumsearch", "deviceid"], 
 +  "filterColumns": {"brand": "^Xiaomi$", "model": "^Mi Router 4A \\(R4AC\\)$"
 +} -->
  
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
-FIXME +<!-- ToH: { 
- +  "source""json", 
----- datatable ---- +  "dom": "t", 
-cols    ModelVersionsCPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, ModemUSB ports_ +  "paging": false
-header  : ModelVersion,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB +  "rotate"true
-align   c,c,c,c,c,c,c,c,c,c,c,c,c +  "shownColumns"["model""version""cpu""cpumhz""flashmb""rammb""wlanhardware""wlan24ghz""wlan50ghz""ethernet100mports""ethernet1gports""modem", "usbports"]
-filter  : Brand=Xiaomi +  "filterColumns"{"brand": "^Xiaomi$", "model""^Mi Router 4A \\(R4AC\\)$"} 
-filter  Model=Mi Router 4A (R4AC) +-->
-filter  : Versions~100M +
-----+
  
 ===== Installation ===== ===== Installation =====
-FIXME +<!-- ToH: { 
----- datatable ---- +  "source""json", 
-cols    ModelVersionsSupported Current RelFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url +  "dom": "t", 
-headers ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM Stock +  "paging": false, 
-align   : c,c,c +  "rotate": true
-filter  : Brand=Xiaomi +  "shownColumns"["model""version""supportedcurrentrel""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl""firmwareoemstockurl"]
-filter  Model=Mi Router 4A (R4AC) +  "filterColumns": {"brand""^Xiaomi$", "model""^Mi Router 4A \\(R4AC\\)$"} 
-filter  : Versions~100M +-->
-----+
  
 -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
Line 73: Line 66:
   - Go to [[http://192.168.31.1/]] and set up the router   - Go to [[http://192.168.31.1/]] and set up the router
   - Use [[https://github.com/acecilia/OpenWRTInvasion|OpenWRTInvasion]] to get a root-shell   - Use [[https://github.com/acecilia/OpenWRTInvasion|OpenWRTInvasion]] to get a root-shell
-  - Check the firmware layout with **cat /proc/mtd** and only proceed if **mtd6: 00200000 00010000 "overlay"** +  - <color #ed1c24>Check the firmware layout with **cat /proc/mtd** and only proceed if **mtd6: 00200000 00010000 "overlay"**</color> 
-  - Download the openwrt-sysupgrade-image to ''/tmp'' and write it to the flash with ''mtd -r write <image> OS1''+  - Download the openwrt-**<color #ed1c24>sysupgrade</color>**-image to ''/tmp'' and write it to the flash with ''mtd -r write <image> OS1''
  
- +===== Upgrading OpenWrt ===== 
-/*** if info availableuncomment and fill in+->  [[docs:guide-user:installation:generic.sysupgrade]]
 ===== Debricking ===== ===== Debricking =====
 -> [[docs:guide-user:troubleshooting:generic.debrick]] -> [[docs:guide-user:troubleshooting:generic.debrick]]
-***/+ 
 +Using Mi Wifi Repair tool: 
 +[[http://www1.miwifi.com/miwifi_download.html|Mi Wifi download]] 
 +[[https://www.dropbox.com/s/bwkc11ntp2t8ryc/How%20to%20use%20MIWIFIRepairToolx86.pdf?dl=0|PDF guide]] (Note: This was written for R4A gigabit edition) \\ 
 +[[https://www.virustotal.com/gui/file/436e57a5e2daf1c5b4ece8851a7b7517c1fbc9e69acba8fac3806aa160f251b5/detection|Numerous antivirus tools report Mi Wifi Repair Tool (files date stamped January 2019) identify it as a 'Potentially Unwanted App' Unclear whether there is a genuine threat or it is a 'false positive'.]] 
 +\\  
 + 
 +[[https://forum.openwrt.org/t/xiaomi-r4ac-problems-installing-openwrt/82083/3|Link for v3.0.5 International firmware posted by 'TheCheshireMan']] 
 + 
 +[[https://hoddysguides.com/xiaomi-debrick-tools-all/#google_vignette|Hoddys Guide to Xiaomi Debricking Tools]] 
 + 
 +Global/International version Xiaomi Mi Router 4A (R4AC) 100m \\ 
 +2.18.215 to ----> 3.0.5 \\  
 +Revision for global> **DVB4230GL** (see label attached to cardboard shipping box)\\ 
 + 
 +Chinese Xiaomi Mi Router 4A (R4AC) \\ 
 +2.28 ----> 2.58 or 2.18.51 ----> 2.18.58 \\ 
 +Revision for China> **DVB4222CN** (see label attached to cardboard shipping box) 
  
  
Line 112: Line 123:
  
  
-/*** if info available: uncomment and fill in 
 ==== Buttons ==== ==== Buttons ====
 -> [[docs:guide-user:hardware:hardware.button]] on howto use and configure the hardware button(s). -> [[docs:guide-user:hardware:hardware.button]] on howto use and configure the hardware button(s).
 Here, we merely name the buttons, so we can use them in the above Howto. Here, we merely name the buttons, so we can use them in the above Howto.
- 
-<WRAP BOX 600px> 
-FIXME Please fill in real values for this device, then remove the EXAMPLEs and the WRAP that encloses this text. 
  
 The Xiaomi R4AC has the following buttons: The Xiaomi R4AC has the following buttons:
  
 ^ BUTTON                       ^ Event   ^ ^ BUTTON                       ^ Event   ^
-EXAMPLE Reset                |  reset  | +| Reset                |  reset  |
-| EXAMPLE Secure Easy Setup    |   ses   | +
-| EXAMPLE No buttons at all.      -    | +
-</WRAP> +
-***/+
  
  
 ===== Hardware ===== ===== Hardware =====
-FIXME+
 ==== Info ==== ==== Info ====
-^ Architecture     EXAMPLE MIPS                             +^ Architecture     | MIPS                                     
-^ Vendor           EXAMPLE Ralink                           +^ Vendor           Mediatek                                 
-^ Bootloader       EXAMPLE U-Boot                           +^ Bootloader       | U-Boot                                   
-^ System-On-Chip   EXAMPLE Ralink RT3052 - MIPS 24K V4.12   +^ System-On-Chip   MT7628DAN                                
-^ CPU/Speed        | EXAMPLE 451 MHz                          +^ CPU/Speed        | 575 MHz                                  
-^ Flash-Chip       EXAMPLE unkown                           +^ Flash-Chip       Winbond 25Q128JVSQ                       
-^ Flash size       EXAMPLE 8 MiB                            +^ Flash size       16 MiB                                   
-^ RAM              | EXAMPLE 64 MiB                           +^ RAM              | 64 MiB                                   
-^ Wireless         EXAMPLE RT2860v2 2.4GHz 802.11bgn        +^ Wireless         MT7628DAN 2.4GHz 802.11bgn               | 
-^ Ethernet         EXAMPLE 10/100 Mbit/w/ vlan support    +^ Wireless         | MT7612EN 5GHz an+ac                      
-^ Switch           EXAMPLE Qualcomm Atheros QCA8337         | +^ Ethernet         | 10/100 Mbit/                           
-^ USB              | EXAMPLE 1x 2.0                           | +^ Switch           MT7628DAN                                |
-^ Serial           | EXAMPLE [[#Serial|Yes]]                  | +
-^ JTAG             | EXAMPLE [[#JTAG|Not populated]]          |+
  
  
Line 190: Line 191:
 /* Thanks, your wiki administration - Oct. 2015 */ /* Thanks, your wiki administration - Oct. 2015 */
  
-/* **Insert photo of front of the casing**+{{media:xiaomi:xiaomi_mi_router_4a_box_r4ac.jpeg?400|Box of international version}}
  
-**Insert photo of back of the casing** */+{{media:xiaomi:xiaomi_mi_router_4a_inside_r4ac.jpeg?400|Inside of international version}}
  
-**Insert photo of backside label**+{{media:xiaomi:xiaomi_mi_router_4a_pcb_r4ac.jpeg?400|PCB of international version}} 
 + 
 +{{media:xiaomi:xiaomi_mi_router_4a_label_r4ac_int.jpg?500|Label of international version}} 
 + 
 +The following image is the label attached to the shipping box:\\ 
 +Note  **SKU:DVB4230GL**\\ 
 +{{media:xiaomi:xiaomi_mi_router_4a_label_r4ac.jpg?500|Shipping box Label of international version}}
  
-{{media:xiaomi:xiaomi_mi_router_4a_label_r4ac.jpg?400|Label of international version}} 
  
-/* **Insert photo of PCB** */ 
  
 ==== Opening the case ==== ==== Opening the case ====
  
-<WRAP BOX> +**Note:** This will void your warranty! 
-FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws...// + 
-</WRAP>+To open the caseyou need to unscrew the two screws under the sticker and snap off the plastic clips around the perimeterUse a plastic spudger so as not to marr the casePlastic is soft and should yield easily. 
 + 
 +//Main PCB://\\ 
 +{{media:xiaomi:mi_router_4a_100m_pcb.jpg?200|Mi Router 4A 100M Main PCB}}
  
 ==== Serial ==== ==== Serial ====
Line 210: Line 218:
  
 How to connect to the Serial Port of this specific device:\\ How to connect to the Serial Port of this specific device:\\
-**Insert photo of PCB with markings for serial port**+{{media:xiaomi:xiaomi_mi_router_4a_box_jtag.png?400|Serial port of international version}}
  
-<WRAP BOX> +Connect PCB TX to USB-UART RX, and PCB RX to USB-UART TX, then GND. Don't connect +3.3V as this may power the router from the computer before you're ready.
-FIXME //Replace EXAMPLE by real values.// +
-</WRAP>+
  
-^ Serial connection parameters\\ for Xiaomi R4AC @@Version@@ EXAMPLE 115200, 8N1, 3.3V |+^ Serial connection parameters\\ for Xiaomi Mi Router 4A (R4AC) 100M International version| 115200, 8N1, Flow Control - NO |
  
 ==== JTAG ==== ==== JTAG ====
 -> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc. -> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc.
  
 +/*
 How to connect to the JTAG Port of this specific device:\\ How to connect to the JTAG Port of this specific device:\\
 **Insert photo of PCB with markings for JTAG port** **Insert photo of PCB with markings for JTAG port**
 +*/
 +
 +None so far; device doesn't have a readily-accessible JTAG port.
 +
 +
 +===== Bootloader mods =====
 +-> [[docs:techref:bootloader]]
 +
 +None so far.
 +
 +===== Hardware mods =====
 +
 +None so far.
  
 ===== Bootlogs ===== ===== Bootlogs =====
Line 820: Line 840:
  
 ===== Notes ===== ===== Notes =====
 +[[https://forum.openwrt.org/t/xiaomi-mi-router-4a-mir4ac-100m-international-version-bricked-and-cant-unbrick/134430|R4AC with v3.0.10 bricked when downgrading to v3.0.5]]
  
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>EXAMPLETAG unsupported}}+{{tag>MIPS ramips Mediatek mt7628an wlan 802.11abgn 802.11a 802.11bgn 802.11ac fastethernet 3port 16Flash 64RAM Serial U-Boot}}
  • Last modified: 2024/12/20 21:52
  • by frollic