New Xiaomi router AC2100

Yes, you can use it. The procedure is the same for both versions but the WebUI might look a little bit different so you will see a few small differences while looking at the screenshots (but it's very close to the screenshots). If you can't read chinese just use Google Translate (e.g. on your smartphone with camera translation) to understand all buttons in the WebUI.

1 Like

I am very appreciated for your help!

I have a problem with my router.

Namely, after updating some packages, the router will not start. I opened it to see what it displays on the console and got this result.
Unfortunately, but I can't choose another option like booting from tftp etc.
Below is the log from starting the router

any ideas for its revival, is it suitable for the trash?

===================================================================
                MT7621   stage1 code Nov  5 2019 00:23:11 (ASIC)
                CPU=50000000 HZ BUS=16666666 HZ
==================================================================
RALINK_GPIOMODE = ad428
GPIO0~31 DIR = 400
GPIO0~31 DATA = fff41147
Set gpio_4,3 direction to input
Set gpio_10,6 direction to output
GPIO0~31 DIR = 440
GPIO0~31 DATA = fff41147
Set gpio_6 output value to 1
Set gpio_10 output value to 0
GPIO0~31 DATA = fff41147
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz ===dram_speed=:1200
=== DDR-1200Mhz ===
PLL3 FB_DL: 0xc, 1/0 = 704/320 31000000
PLL2 FB_DL: 0x12, 1/0 = 600/424 49000000
PLL4 FB_DL: 0x12, 1/0 = 578/446 49000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
      --------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000E:|    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1
000F:|    0    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0
0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0
0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0
0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
DRAMC_DQSCTL1[0e0]=13000000
DRAMC_DQSGCTL[124]=80000033
rank 0 coarse = 15
rank 0 fine = 80
B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0
opt_dle value:11
DRAMC_DDR2CTL[07c]=C287223D
DRAMC_PADCTL4[0e4]=000022B3
DRAMC_DQIDLY1[210]=09090809
DRAMC_DQIDLY2[214]=09080907
DRAMC_DQIDLY3[218]=0B090906
DRAMC_DQIDLY4[21c]=0A070D08
DRAMC_R0DELDLY[018]=00001F1E
==================================================================
                RX      DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
0 |    9 7 7 9 7 8 7 9 5 7
10 |    7 9 8 11 7 9
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =30 DQS1 = 31
==================================================================
bit     DQS0     bit      DQS1
0  (1~59)30  8  (1~59)30
1  (1~57)29  9  (1~58)29
2  (1~56)28  10  (0~58)29
3  (1~60)30  11  (1~57)29
4  (1~59)30  12  (1~61)31
5  (1~58)29  13  (1~58)29
6  (1~58)29  14  (1~61)31
7  (1~60)30  15  (1~60)30
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    9 8 9 9 7 9 8 9 6 9
10 |    9 11 8 13 7 10
==================================================================
==================================================================
     TX  perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff2000
dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1
DQS loop = 14, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[1]=14,  finish count=2
DQ loop=15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1
dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=2
byte:0, (DQS,DQ)=(8,8)
byte:1, (DQS,DQ)=(8,8)
DRAMC_DQODLY1[200]=88888888
DRAMC_DQODLY2[204]=88888888
20,data:88
[EMI] DRAMC calibration passed

===================================================================
                MT7621   stage1 code done
                CPU=50000000 HZ BUS=16666666 HZ
===================================================================


U-Boot 1.1.3 (Nov 22 2019 - 06:31:57)

Board: Ralink APSoC DRAM:  128 MB
Power on memory test. Memory size= 128 MB...OK!
relocate_code Pointer at: 87fa4000

Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 87fe0190
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C8 D1 80 95 40]
Device found in MTK table, ID: c8d1, EXT_ID: 809540
Support this Device in MTK table! c8d1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
..============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Nov 22 2019  Time:06:31:57
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 880 MHZ ####
 estimate memory size =128 Mbytes
#Reset_MT7530
set LAN/WAN WLLLL

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.

Boot failure detected on both systems
Verifying kernel1 uImage CRC, addr: 0xbc200000
   Image Name:   MIPS OpenWrt Linux-3.10.14
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3391601 Bytes =  3.2 MB
   Load Address: 81001000
   Entry Point:  81436420
....................................................   Verifying Checksum ... OK
Booting System 1
..ranand_erase: start:80000, len:20000
..Done!
done

3: System Boot system code via Flash.
## Booting image at bc200000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.14
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3391601 Bytes =  3.2 MB
   Load Address: 81001000
   Entry Point:  81436420
....................................................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
commandline uart_en=0 factory_mode=0
No initrd
## Transferring control to Linux (at address 81436420) ...
## Giving linux memsize in MB, 128

Starting kernel ...


LINUX started...

 THIS IS ASIC

SDK 5.0.S.0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.10.14 (jenkins@2c09a128d08d) (gcc version 4.8.5 (crosstool-NG crosstool-ng-1.22.0) ) #1 MiWiFi-R2100-2.0.376 SMP Fri Nov 22 06:40:19 UTC 2019
[    0.000000]
[    0.000000]  The CPU feqenuce set to 880 MHz
[    0.000000] GCMP present
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] Software DMA cache coherency
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000-0x00ffffff]
[    0.000000]   Normal   [mem 0x01000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Detected 3 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] PERCPU: Embedded 7 pages/cpu @81843000 s6912 r8192 d13568 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock5 uart_en=0 factory_mode=0
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00004018
[    0.000000] Readback ErrCtl register=00004018
[    0.000000] allocated 262144 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 122132k/131072k available (4358k kernel code, 8940k reserved, 1134k data, 1604k init, 0k highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:128
[    0.000000] console [ttyS1] enabled
[    0.130000] Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680)
[    0.190000] pid_max: default: 32768 minimum: 301
[    0.190000] Mount-cache hash table entries: 512
[    0.200000] Initializing cgroup subsys memory
[    0.200000] launch: starting cpu1
[    0.210000] launch: cpu1 gone!
[    0.210000] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.210000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.210000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.210000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.270000] Synchronize counters for CPU 1: done.
[    0.280000] launch: starting cpu2
[    0.280000] launch: cpu2 gone!
[    0.280000] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.280000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.280000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.280000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.340000] Synchronize counters for CPU 2: done.
[    0.350000] launch: starting cpu3
[    0.350000] launch: cpu3 gone!
[    0.350000] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.350000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
[    0.350000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.350000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.410000] Synchronize counters for CPU 3: done.
[    0.420000] Brought up 4 CPUs
[    0.420000] devtmpfs: initialized
[    0.420000] NET: Registered protocol family 16
[    0.660000] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.660000] PCIE PHY initialize
[    0.660000] ***** Xtal 40MHz *****
[    0.670000] start MT7621 PCIe register access
[    1.120000] RALINK_RSTCTRL = 7000000
[    1.130000] RALINK_CLKCFG1 = 73ffeff8
[    1.130000]
[    1.130000] *************** MT7621 PCIe RC mode *************
[    1.510000] pcie_link status = 0x3
[    1.510000] RALINK_RSTCTRL= 7000000
[    1.520000] *** Configure Device number setting of Virtual PCI-PCI bridge ***
[    1.530000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
[    1.530000] PCIE0 enabled
[    1.530000] PCIE1 enabled
[    1.540000] interrupt enable status: 300000
[    1.540000] Port 1 N_FTS = 1b105000
[    1.540000] Port 0 N_FTS = 1b105000
[    1.550000] config reg done
[    1.550000] init_rt2880pci done
[    1.570000] bio: create slab <bio-0> at 0
[    1.580000] SCSI subsystem initialized
[    1.580000] PCI host bridge to bus 0000:00
[    1.590000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.600000] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.600000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.610000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.620000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.630000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
[    1.630000] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
[    1.640000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.650000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    1.650000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    1.660000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
[    1.670000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    1.680000] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.680000] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.690000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff]
[    1.690000] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.700000] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    1.710000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
[    1.710000] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
[    1.720000] BAR0 at slot 0 = 0
[    1.720000] bus=0x0, slot = 0x0
[    1.720000] res[0]->start = 0
[    1.730000] res[0]->end = 0
[    1.730000] res[1]->start = 60200000
[    1.730000] res[1]->end = 6020ffff
[    1.740000] res[2]->start = 0
[    1.740000] res[2]->end = 0
[    1.740000] res[3]->start = 0
[    1.740000] res[3]->end = 0
[    1.750000] res[4]->start = 0
[    1.750000] res[4]->end = 0
[    1.750000] res[5]->start = 0
[    1.760000] res[5]->end = 0
[    1.760000] BAR0 at slot 1 = 0
[    1.760000] bus=0x0, slot = 0x1
[    1.760000] res[0]->start = 0
[    1.770000] res[0]->end = 0
[    1.770000] res[1]->start = 60210000
[    1.770000] res[1]->end = 6021ffff
[    1.780000] res[2]->start = 0
[    1.780000] res[2]->end = 0
[    1.780000] res[3]->start = 0
[    1.790000] res[3]->end = 0
[    1.790000] res[4]->start = 0
[    1.790000] res[4]->end = 0
[    1.790000] res[5]->start = 0
[    1.800000] res[5]->end = 0
[    1.800000] bus=0x1, slot = 0x0, irq=0x4
[    1.800000] res[0]->start = 60000000
[    1.810000] res[0]->end = 600fffff
[    1.810000] res[1]->start = 0
[    1.810000] res[1]->end = 0
[    1.820000] res[2]->start = 0
[    1.820000] res[2]->end = 0
[    1.820000] res[3]->start = 0
[    1.830000] res[3]->end = 0
[    1.830000] res[4]->start = 0
[    1.830000] res[4]->end = 0
[    1.830000] res[5]->start = 0
[    1.840000] res[5]->end = 0
[    1.840000] bus=0x2, slot = 0x1, irq=0x18
[    1.840000] res[0]->start = 60100000
[    1.850000] res[0]->end = 601fffff
[    1.850000] res[1]->start = 0
[    1.850000] res[1]->end = 0
[    1.860000] res[2]->start = 0
[    1.860000] res[2]->end = 0
[    1.860000] res[3]->start = 0
[    1.870000] res[3]->end = 0
[    1.870000] res[4]->start = 0
[    1.870000] res[4]->end = 0
[    1.870000] res[5]->start = 0
[    1.880000] res[5]->end = 0
[    1.880000] Switching to clocksource MIPS
[    1.890000] cfg80211: Calling CRDA to update world regulatory domain
[    1.890000] NET: Registered protocol family 2
[    1.890000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    1.890000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    1.890000] TCP: Hash tables configured (established 1024 bind 1024)
[    1.890000] TCP: reno registered
[    1.890000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.890000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.890000] NET: Registered protocol family 1
[    2.970000] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    3.000000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.000000] msgmni has been set to 238
[    3.010000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    3.010000] io scheduler noop registered (default)
[    3.020000] MIWIFI panic notifier registeredreg_int_mask=0, INT_MASK= 0
[    3.030000] HSDMA_init
[    3.030000]
[    3.030000]  hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000
[    3.040000]
[    3.040000]  hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000
[    3.050000] TX_CTX_IDX0 = 0
[    3.050000] TX_DTX_IDX0 = 0
[    3.050000] RX_CRX_IDX0 = 3ff
[    3.060000] RX_DRX_IDX0 = 0
[    3.060000] set_fe_HSDMA_glo_cfg
[    3.060000] HSDMA_GLO_CFG = 465
[    3.060000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    3.070000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
[    3.080000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
[    3.090000] Ralink gpio driver initialized
[    3.090000] brd: module loaded
[    3.090000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    3.100000] Allocate 16 byte aligned buffer: 81720500
[    3.110000] Enable NFI Clock
[    3.110000] # MTK NAND # : Use HW ECC
[    3.110000] NAND ID [C8 D1 80 95 40, 00809540]
[    3.120000] NAND ECC: Controller
[    3.120000] Device found in MTK table, ID: c8d1, EXT_ID: 809540
[    3.130000] Support this Device in MTK table! c8d1
[    3.130000] NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (ESMT NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    3.140000] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    3.150000] Scanning device for bad blocks
[    3.300000] Signature matched and data read!
[    3.300000] load_fact_bbt success 1023
[    3.300000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.310000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.320000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.330000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.340000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.350000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.360000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.370000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[    3.380000] Creating 14 MTD partitions on "MT7621-NAND":
[    3.390000] 0x000000000000-0x000007f80000 : "ALL"
[    3.400000] 0x000000000000-0x000000080000 : "Bootloader"
[    3.400000] 0x000000080000-0x0000000c0000 : "Config"
[    3.410000] 0x0000000c0000-0x000000100000 : "Bdata"
[    3.410000] 0x000000100000-0x000000140000 : "Factory"
[    3.420000] 0x000000140000-0x000000180000 : "crash"
[    3.430000] 0x000000180000-0x0000001c0000 : "crash_syslog"
[    3.430000] 0x0000001c0000-0x000000200000 : "cfg_bak"
[    3.440000] 0x000000200000-0x000000600000 : "kernel0"
[    3.450000] 0x000000600000-0x000000a00000 : "kernel1"
[    3.450000] 0x000000a00000-0x000002400000 : "rootfs0"
[    3.460000] 0x000002400000-0x000003e00000 : "rootfs1"
[    3.470000] 0x000003e00000-0x000006400000 : "overlay"
[    3.470000] 0x000006400000-0x000007f80000 : "obr"
[    3.480000] [mtk_nand] probe successfully!
[    3.480000] tun: Universal TUN/TAP device driver, 1.6
[    3.490000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.500000] PPP generic driver version 2.4.2
[    3.500000] PPP BSD Compression module registered
[    3.500000] PPP Deflate Compression module registered
[    3.510000] PPP MPPE Compression module registered
[    3.510000] NET: Registered protocol family 24
[    3.520000] PPTP driver version 0.8.5
[    3.520000] ps: can't get major 253
[    3.530000] GMAC1_MAC_ADRH -- : 0x000088c3
[    3.530000] GMAC1_MAC_ADRL -- : 0x9751b6f1
[    3.540000] Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
[    3.540000] GMAC1_MAC_ADRH -- : 0x000088c3
[    3.550000] GMAC1_MAC_ADRL -- : 0x9751b6f1
[    3.550000] PROC INIT OK!
[    3.560000] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    3.570000] Netfilter messages via NETLINK v0.30.
[    3.570000] nfnl_acct: registering with nfnetlink.
[    3.580000] nf_conntrack version 0.5.0 (1908 buckets, 7632 max)
[    3.580000] gre: GRE over IPv4 demultiplexor driver
[    3.590000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.600000] Type=Restricted Cone
[    3.600000] TCP: cubic registered
[    3.600000] NET: Registered protocol family 10
[    3.610000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.610000] NET: Registered protocol family 17
[    3.620000] l2tp_core: L2TP core driver, V2.0
[    3.620000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    3.630000] l2tp_netlink: L2TP netlink interface
[    3.630000] 8021q: 802.1Q VLAN Support v1.8
[    3.640000] Failed to lock mtd reserved0
[    3.640000] FLASH ID: [C8 D1 80 95 40]
[    3.650000] MIQEF register done
[    3.660000] Freeing unused kernel memory: 1604K (8155f000 - 816f0000)
[    3.660000] csd: CSD deadlock debugging initiated!
[    3.720000] Loading essential drivers...
[    3.730000] Press Ctrl+C to enter RAMFS...
[    4.760000] Both systems are corrupted... Entering recovery mode
[    4.780000] led=10, on=1, off=4000, blinks,=1, reset=1, time=1
[    4.790000] led=12, on=1, off=4000, blinks,=1, reset=1, time=1
[    4.800000] led=10, on=8, off=8, blinks,=4000, reset=1, time=4000
[    4.810000] led=12, on=8, off=8, blinks,=4000, reset=1, time=4000
starting pid 363, tty '': '/etc/rcS'
Press mipin button to enter NAND recovery
[    4.830000] led=10, on=1, off=4000, blinks,=1, reset=1, time=1
[    4.840000] led=12, on=1, off=4000, blinks,=1, reset=1, time=1
[    4.850000] led=10, on=2, off=2, blinks,=4000, reset=1, time=4000
[    4.860000] led=12, on=2, off=2, blinks,=4000, reset=1, time=4000
[    4.870000] .[    5.900000] led=10, on=1, off=4000, blinks,=1, reset=1, time=1
[    5.910000] led=12, on=1, off=4000, blinks,=1, reset=1, time=1
[    5.920000] led=10, on=8, off=8, blinks,=4000, reset=1, time=4000
23494255 is not a valid hdr value
[    5.950000] led=10, on=1, off=4000, blinks,=1, reset=1, time=1
[    5.960000] led=12, on=1, off=4000, blinks,=1, reset=1, time=1
[    5.970000] led=10, on=4000, off=1, blinks,=1, reset=1, time=1
[    5.980000] led=12, on=4000, off=1, blinks,=1, reset=1, time=1

I used serial connection in order to debrick my 6 antenna white one (there is a photo from me https://openwrt.org/toh/xiaomi/xiaomi_redmi_router_ac2100#serial). Basically it works.

1 Like

Ok, I solved this problem myself.
I used the original MIWIFIRepairTool tool for Xiaomi routers and the original miwifi_r2100_firmware_64288_2.0.376 software.
When turning on the router, press the RESET button for more than 5s, run the program, select the bin file to be loaded into the router's flash memory and wait for the router to update.
After this action, you can again have fun with unlocking the router on OpenWRT.

Well done :slight_smile: . That's exactly how I would do it. But why weren't you able to select to boot from tftp? Maybe you didn't enable the waiting time for the boot selection?

That's done by using nvram set bootdelay=5

Btw.: There's also an official documentation how to recover back to stock without the MIWIFIRepairTool: https://openwrt.org/toh/xiaomi/xiaomi_redmi_router_ac2100#stock_recovery
However that's much more complicated as you need a dnsmasq and a tftp server. So using the original recovery tool is much less work.

For everyone who needs to follow the instructions for the easier miwifi repair tool you can find pretty nice and simple instructions with screenshots here: Xiaomi Mi Router 4A Gigabit Edition (R4AG/R4A Gigabit) -- fully supported and flashable with OpenWRTInvasion (just don't use the image file which is mentioned in there as that is for another router model - everything else is the same).

Which package install broke your image?

I see you've managed to fix it by just starting fresh, but I would just like to note that your boot log seems to be booting from the stock firmware's kernel.

I can't begin to speculate why though. shrug

Hello
I just got the black router
trying to run the script from windows gives me the following error

    return s + struct.pack(self.fmt, self.i2m(pkt, val))
  File "C:\Python38\lib\site-packages\scapy\fields.py", line 1380, in i2m
    f = fld.i2len(pkt, fval)
  File "C:\Python38\lib\site-packages\scapy\fields.py", line 938, in i2len
    return len(x)
TypeError: object of type 'NoneType' has no len()

i guess it's because windows doesn't have len

Hello

I have received the black router and I want to install openwrt on it
I will follow instructions on https://github.com/impulse/ac2100-openwrt-guide
The question is, what bin files should I use?

thanks

I just scanned the tutorial and both files are used.

Telnet always refuse connection. (from Windows)
What can I do?

I have succefully install openwrt on Xiaomi Mi Router AC2100 following this guide

What I was asking before was where I should download 2 bin files, from impulse github or somewhere else.

My OS is debian buster.

Just updated the guide to use the prebuilt R2100 images from @emirefek. I am using his build myself at the moment and can confirm that it works without any issues. I also added a migration guide from the old Chinese image, since it was built with the identifier of the Redmi model and included a lot of Chinese packages that just bloated the install.

1 Like

So now I have to migrate from old image, is it correct?

Can I ssh router, download with wget and after that sysupgrade -v -F -n /tmp/xiaomi-router-sysupgrade.bin

thanks

Exactly. The -F flag is needed since the old Chinese image used Redmi as identifier.

I updated my firmwares. Mac issue fixed in latest build. Now mac is same with on label. You can update without data reset.

You can get 19.07 images from here:
https://drive.google.com/folderview?id=13mTGEswOK_YABMWrE8TbLoKqCgCqTEmL

Based this source: https://github.com/phs07/openwrt
This is lightweight build with some usefull plugins. If you wanna test other plugins you can compile yourself. Btw if you wanna opkg work. Choose 19.07.3 branch in github.

I have followed impulse instructions:

# sysupgrade -v -F -n /tmp/xiaomi-router-sysupgrade.bin
Device xiaomi,redmi-router-ac2100 not supported by this image
Supported devices: xiaomi,r2100
Image check 'fwtool_check_image' failed but --force given - will update anyway!
Commencing upgrade. Closing all shell sessions.

Now I have this and I have lost all my configs :frowning:

This is funny because I don't have a redmi router instead of mi router.

Sorry should have mentioned that this will reset your config.

The model is fine now (see at the back = R2100 black)

Awesome. Did you manage to fix the warnings or could you just ignore them?

Which warnings :slight_smile:
I didn't fixed.scp07 fixed