New Xiaomi router AC2100

can someone port firmware from black cylinder model to white with 6 antennas?

In fact, I installed BREED to try setting up a dualboot. Apparently, BREED does not seem to accept the stock firmware images, and the MiWifiRepairtool won't work with BREED either. Could someone point me into the right direction - or upload an image of the stock bootloader?

Alternatively, if someone has access to right.com.cn (@ermirefek ?), could they download the breed modified version of the stock rom for me?
https://www.right.com.cn/forum/thread-4028850-1-1.html

Any help would be much appreciated, thanks for your great work on OpenWRT!

supernutzstich -> same as chinese page

https://4pda.ru/pages/go/?u=http%3A%2F%2Fcdn.cnbj1.fds.api.mi-img.com%2Fxiaoqiang%2From%2Frm2100%2Fmiwifi_rm2100_firmware_d517e_1.0.14.bin&e=94921571

breed is xiaomi.r3g.bootfw
https://breed.hackpascal.net/

https://4pda.ru/forum/index.php?showtopic=975687&st=1580#entry96288010

you can use google chrome translate for ru language

Thank you Supernutzstich! That insmod command made it work! Hahaha! :smiley:

Thank you for your reply! I searched the 4pda forum for both, the black AC2100 and the white redmi AC2100. The instructions there are quite informative. However, I could only find stock u-boot and breed images for the white redmi version, not for the black one (which I have). The hackpascal version of Breed is the one I have installed.

So all in all, I am still stuck - could someone dump their stock bootloader from the black AC2100 for me, and/or (with access to the chinese right.com.cn forum) download the Breed version for the black AC2100. Ultimately, I'd also be interested in knowing the difference between the stock firmware images and the breed flashable ones.

I found this instruction for flashing stock from breed. Since you have black cylinder, you should use r2100 stock firmware. Stock need to boot from kernel0 partition. You can set it in breed terminal with:

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

Hope it will work for you.

env set autoboot.command "boot flash 0x200000"

If kernel0 will be damaged (for some reason), router can not auto switch to kernel1
Better way (it works for MI-R3G):

  • flash stock to both partitions
  • delete autoboot.command at all
  • find these settings: flag_try_sys1_failed, flag_try_sys2_failed, flag_last_success and change values to:
flag_try_sys1_failed = 0
flag_try_sys2_failed = 0
flag_last_success = 1

It marks both partitions as good.

I’ve followed the tutorial and my (white) xiaomi router is now using 19.07.3. All default settings, nothing modified.

I have a Hitron CGN3 modem+router (192.168.0.1). It’s my main router. I’ve plugged the WAN port of the Xiaomi router into one of the CGN3 LAN ports. I then connected a laptop to the LAN port of the Xiaomi router. I can SSH into the router from my laptop, but I can’t “ping 8.8.8.8” or “ping 192.168.0.1” from the shell (also tried this on my laptop, which also failed).

I tried to setup VLAN 559 on WAN as described above (eth=tagged and wan=tagged), but it didn’t help.

Any idea what the issue might be?

It's working now, but unsure of the root cause. Some details below.

I could get a WAN IP via DCHP immediately after writing the 19.07.3 firmware to the device, but I couldn't seem to communicate with the upstream network (or access the internet). So I created a new VLAN (559), then switched the WAN to use the new VLAN (559) and I still couldn't access the upstream network (or the internet). Then I switched the WAN back to using VLAN eth0.2 and then I could access the upstream network (and the internet).

Thanks for your reply! Just tried that, unfortunately it still does not solve my problem: I just cannot flash any of the stock images (I even re-downloaded the image form xiaomi multiple times and tried different versions). Here are screenshots of what I am trying to do and the resulting error message. The error pops up 1-2s after clicking "upload":

It seems there is now a package for proprietary mediatek drivers
that can be built against the current openwrt master (no idea if they also work with kernel 4.19)


Someone has already tried it and confirmed it working

The user interface for wifi settings however is in chinese and the drivers are not 80211cfg compatible.

I translated the wifi-interface, suggestions for further improvements are appreciated :slight_smile:
Fo instance I would love to have a MAC filter section in the interface.
https://filebin.net/s4u7h26589vxsa04/luci-app-mtwifi.zip?t=5y4zc5od

The driver runs perfectly on my r3p - good speeds and no problems.

In luci-app-mtwifi, is there an overview that shows which clients are connected to which wifi interfaces with their rssi ? I assume that the standard listing on the overview page probably doesn't work with the proprietary drivers.
I'm asking because I have a lot of IOT devices that would be pretty far away from the ap, so basically I would need this to see where i can place the different nodes.

Thank you @jaj , I had the same scapy error as described in your post (New Xiaomi Router AC2100) and have corrected the script in the wiki as per your suggestion, which fixed the issue.

Is it possible (or will it ever be possible) to enable 5 ghz wifi channels 50-144, or are they simply not supported by the used hardware?

The router and your images work really flawlessly I must say, very happy! :smiley:

What is your region? Try changing that, many countries restrict allowed channels.

Looks like my problem was that I was using a 80 mhz channel that includes channel 144, which seems to be "special"... It should be allowed in Europe, but the firmware does not seem to support it... The other channels in the range actually work, that was my mistake :slight_smile:

Hello, can any one provide the stock firmware, I'm unable to download it from the web site and I need to recover by tftp.
Thank you

Hey. You simply need to replace the server address: cdn.cnbj1.fds.api.mi-img.com instead of bigota.miwifi.com. For the black version, that's:

--> http://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/r2100/miwifi_r2100_firmware_64288_2.0.376.bin

Btw: Still looking for the stock bootloader. Can anyone please dump it for me?

High vulnerability Xiaomi AC2100 (firmware version 2.0.376) is detected according IoT Inspector Report.

Have you any ideas to avoid it?