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
toh:xiaomi:mir3c [2021/11/06 22:40] – Unbrink section eduardo010174toh:xiaomi:mir3c [2021/11/17 21:44] – [U-Boot Stock Recovery] s.farid
Line 41: Line 41:
 filter  : Model=MiWifi 3C filter  : Model=MiWifi 3C
 ---- ----
 +1. Use OpenWRTInvasion method to gain telnet access.
 +https://github.com/acecilia/OpenWRTInvasion
 +(IP: 192.168.31.1 - Username: root - Password: root)
 +
 +2. Connect to router using telnet.
 +
 +3. Backup all partitions using command:
 +<code>
 +dd if=/dev/mtd0 of=/tmp/mtd0
 +</code>
 +
 +Copy /tmp/mtd0 to computer using ftp.
 +
 +4. Copy openwrt-ramips-mt76x8-xiaomi_miwifi-3c-squashfs-sysupgrade.bin
 +to /tmp in router using ftp.
 +
 +5. İnstall Openwrt to OS1 and free OS2.
 +
 +<code>
 +mtd erase OS1
 +
 +mtd erase OS2
 +
 +mtd -r write /tmp/openwrt-ramips-mt76x8-xiaomi_miwifi-3c-squashfs-sysupgrade.bin OS1
 +</code>
 +
 +Limitations: For the first install the image size needs to be less
 +than 7733248 bits.
  
  
-See [[commit>3c97fb4346d11ab3]] for installation procedure.+Commit page:[[commit>3c97fb4346d11ab3]].
  
  
Line 86: Line 114:
 ===== Unbrick ===== ===== Unbrick =====
 ==== U-Boot Stock Recovery ==== ==== U-Boot Stock Recovery ====
 +Recovery mode only works with offical Xiaomi firmware's. Into recovery is checked with RSA if image is signed.
  
-  - Download stock firmware http://bigota.miwifi.com/xiaoqiang/rom/r3l/miwifi_r3l_all_23e37_2.8.51_INT.bin +  - Download stock firmwarehttp://bigota.miwifi.com/xiaoqiang/rom/r3l/miwifi_r3l_all_23e37_2.8.51_INT.bin. 
-  - Config static ip on your computer+  - Config static ip on your computer:
 <code> <code>
 IP address: 192.168.31.2 IP address: 192.168.31.2
Line 95: Line 124:
 </code> </code>
   - Remove power cable from router.   - Remove power cable from router.
-  - Connect ethernet cable on Computer and Wan port(Blue Port)+  - Connect ethernet cable on Computer and Wan port (Blue Port).
   - Press continuously reset button and re-connect power cable.    - Press continuously reset button and re-connect power cable. 
   - Continue to hold down the Reset button until the front LED colour changes from static orange to blinking orange.   - Continue to hold down the Reset button until the front LED colour changes from static orange to blinking orange.
Line 102: Line 131:
   - Wait until router restart (5 minutes).   - Wait until router restart (5 minutes).
  
-more info and all credits: https://visser.io/2018/01/xiaomi-mi-router-3c-recovery-from-system-error-orange-red-led/+More info and credits: https://visser.io/2018/01/xiaomi-mi-router-3c-recovery-from-system-error-orange-red-led/.
  
 ==== SPI Programmer ==== ==== SPI Programmer ====
  
 On step 3 of installation of Openwrt, gets file mtd0 with contains all flash backup. On step 3 of installation of Openwrt, gets file mtd0 with contains all flash backup.
-Write this file directly on flash.+Write this file directly to flash.
  
 ===== Bootlogs ===== ===== Bootlogs =====
Line 775: Line 804:
 djStolen: Unfortunatelly, even though following these instructions, my device got bricked, therefore I recommend thinking twice before doing it. I am currently working on U-Boot for this device. djStolen: Unfortunatelly, even though following these instructions, my device got bricked, therefore I recommend thinking twice before doing it. I am currently working on U-Boot for this device.
  
-==== Dump SPI Flash ==== 
-Alternatively to installing OpenWRT via SSH you can also use a programmer. 
- 
- 
-{{https://farm1.staticflickr.com/961/42050976771_71e4b6519a_z_d.jpg?400|CH341A}} 
  
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
 {{tag>ramips MT7628 16flash 64ram 3port fastethernet 802.11bgn dual_firmware}} {{tag>ramips MT7628 16flash 64ram 3port fastethernet 802.11bgn dual_firmware}}
  • Last modified: 2024/07/11 20:36
  • by s.farid