New Xiaomi router AC2100

It's perfect, thank you :slightly_smiling_face:

Router RAM dimension

===================================
So i did test to measure the size first, to match the router ram..
it turns out iut has slightly different size compared to router RAM dimension

DDR3 PC RAM

===================================
i also have Android TV Box, trying to measure the dimension, and its also have different size compared to router's RAM

TV Box

===================================

do you still have the android TV Box brand, maybe?
so i can get exactly same dimension as router's RAM

on ac2100 is 96bail fbga and pc ram 78ball fbga

1 Like

If you still have SSH access with Padavan, scp BOTH of the following to /tmp first:

https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-kernel1.bin
https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-rootfs0.bin

Then, SSH in, cd to /tmp, and execute:

mtd write openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-kernel1.bin kernel1

env set autoboot.command "boot flash 0x600000"
env save

Enable uart and bootdelay, useful for testing or recovery if you have an uart adapter!

nvram set uart_en=1
nvram set bootdelay=5

Set kernel1 as the booting kernel

nvram set flag_try_sys1_failed=1

Commit our nvram changes

nvram commit

mtd -r write openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-rootfs0.bin rootfs0


OR, with Breed, first set EITHER of the following:
xiaomi.r3g.bootfw = 2
autoboot.command = boot flash 0x600000

THEN flash the following using Breed, as "firmware":
http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/xiaomi_redmi-router-ac2100-initramfs-kernel.bin

FINALLY go to the bare-minimum Openwrt LuCi: http://192.168.1.1/cgi-bin/luci/admin/system/flash
and flash the following:
https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin

2 Likes

Strange, I have no mt7530 Switch section in LuCI whatsoever, after flashing from stock 1.0.14 (with Breed installed) to the latest Openwrt snapshot, using mtd via SSH:
https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-kernel1.bin
https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-rootfs0.bin

ramips in 21.02 and master uses the DSA switch framework, not swconfig anymore.

3 Likes

Thanks for solving that mystery, and "ouch!" (something new to contend with). So if I have to tag VLAN 55 on certain ports including the WAN port for IPTV, should I go with "Configuration with tagging support" or without?
https://www.kernel.org/doc/html/latest/networking/dsa/configuration.html#configuration-with-tagging-support

i have problem with my router (ac2100), the router light turned on, but only on d2 and d4 (and its not too bright, kinda dim)

led indicator

i also can't enter recovery mode (using 30/30/30 reset also wont work), neither do MIWIFIRepairTool
if i want to check it with TTL, what stuff should i need? i'm kinda newbie in this kind of stuff, but still want to give it a try.

ttl usb

Have you tried the bellowing method?

  1. Power down the router,
  2. push and hold the reset button,
  3. power it up and release the reset button only when the led start flashing in orange?

Could you suggest a complete guide on how to install the BREED bootloader? I flashed openwrt back in January, but I ended up following that CVE based guide with telnet and netcat

line-by-line English translation of the relevant section from
https://www.right.com.cn/forum/forum.php?mod=redirect&goto=findpost&ptid=4049030&pid=10350663

2 Flashing Breed
2.1 Find bad flash modules in router (could skip, optionally check later if firmware flashing fails)
2.1.1 Commands for finding bad flash modules

dmesg | grep NAND
dmesg | grep '[B|b]ad.*block'
dmesg | grep eraseblock

Possible outcome after issuing the commands above
2.1.1.1 Nothing returns, not even after searching in logs, then reboot router and repeat the commands.
2.1.1.2 Commands return lines about "ESMT", but no log entry about bad ESMT flash,then no bad flash has been found.
2.1.1.3 Typically output includes entries about Toshiba flash: bad block 768. However, firmware flash proceeds fine.
2.1.1.4 Does have Toshiba flash and firmware flashing runs into problems, as pictured below,bad block 90+768,searching “90” for other values,speculated to be related to qualities of Toshiba flash.

2.1.2 Analysis (ignore)

2.2 Backing up firmware
2.2.1 Command to check current partitions

cat /proc/mtd

2.2.2 Command to back up firmware
mtd0-10 are all firmware and partitions,including mtd0 for programmable firmware
2.2.2.1 Comletely back up the firmware (not recommended, Editor's Note: it will use 100% of /tmp)

dd if=/dev/mtd0 of=/tmp/all.bin

mtd0 contains programmable firmware, including all the contents of mtd1-10, could back up all of them if you want to
after issuing command, must copy /tmp/all.bin off the router, such as to a computer (use SFTP/SCP if proficient with commandline SSH)
if unsuccessful with commandline, use for example newest version of MobaXterm or Xmanager or winscp), then execute the next command (below), to avoid running out of /tmp space

2.2.2.2 only back up BootLoader(recommended)

dd if=/dev/mtd1 of=/tmp/bootloader.bin

after issuing command, must copy /tmp/bootloader.bin off the router, such as to a computer, then execute the next command (below)

2.3 Flashing breed (right.com.cn tutorial)
2.3.1 Download breed
filename: breed-mt7621-xiaomi-r3g.bin

Hackpascal official link (recommended) :https://breed.hackpascal.net/breed-mt7621-xiaomi-r3g.bin

Baidu Cloud mirror: https://pan.baidu.com/s/187L8X0kdLFN7YbvbAZP2EA password: p6p2 (Baidu mirror may not have the most up-to-date breed,please use realtime judgment)

2.3.2 Flashing the immortal Breed

2.3.2.1 Copy breed-mt7621-xiaomi-r3g.bin to /tmp
2.3.2.2 Issue the command

mtd -r write /tmp/breed-mt7621-xiaomi-r3g.bin Bootloader

2.3.2.3 Wait for the router to reboot(When the PC obtain IP address, or when the router has only one blue LED on,breed is now successfully flashed)。
2.3.2.4 To avoid bricking your router,it is strongly recommended to wait for 5 minutes before powering off the router,use a toothpick to hold down the reset button,then reconnect power, wait for blue LED to start flickering,then let go of the reset button,use a web browser to visit the breedweb interface at 192.168.1.1.

When entering breed for the first time, remember to back up the programmable firmware and eeprom.

2.3.2.5 Change the env (environment) variable,edit and Add "xiaomi.r3g.bootfw", set value to 2, click Save. (Editor's note: Or, use the Russian method, add "autoboot.command", set to "boot flash 0x600000.)(else, when flashing non-factory firmware, the LED indicator could alternate between blue and black (boot loop))

2.3.2.6 By now, your router has been successfully flashed with breed.
PS:Do not recommend using breed for restoring stock factory firmware,which could lead to unpredictable errors!!Please find tutorial on using the manufacturer's software to restore the BootLoader!!!

2 Likes

thanks alot for the information

okay, i'll check againn, thanks

Hi guys, I'm newbie in openwrt and I want to ask you for an advice.
I have two RedmiAC2100 routers running 2.0.23 CN FW, both are configured as Wired extender.
Recently I've replaced my main ASUS router with AX3600. AFAIK there is no openwrt FW yet.
Question: Would be possible with openwrt FW on AC2100 create a mesh network from AX3600 (with openwrtFW) ? Is latest version for AC2100 stable, without freezes or some issues?
Thanks for advices

cek on yutub its only support ax version, ax5, ax1800, ax6

Thanks. In case of issues with openwrt, is it possible to flash again original xiaomi FW?

yes its possible return to xiaomi original fw

1 Like

Here you can find useful info regarding rm2100.

Unofficial stable build also linked there.

1 Like

Hello,
well I don't know if I came across a bad number for xiaomi ac 2100 but it was already weird and capricious in origin but under openwrt, it's nonsense. Of course I know that the stable version is not yet available so I am currently using snapshot builds but hey there are limits anyway .. I have the ssid which comes, which leaves, the dhcp which does the same, dns which picks up and comes back, sawtooth latency, etc ... I had maybe a maximum viability of a week before, that's fine. 10 min to 1 day now. Tell me if you also have the same effects or it's mine that has a grain/ deficiency, in this case, go to the the trash.
Viability rating /10 under original xiaomi build: 6 / openwrt 2

Hi, I see on the OpenWrt Master that the Ramips now have 5.10 kernel support. But if I would like to compile it, how do I select it to use kernel 5.10 instead of 5.4?

Thanks in advance!