Breed 和 Bootloader
https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=161906
刷Breed
下载Breed:https://breed.hackpascal.net/
From https://www.right.com.cn/forum/thread-4023907-1-1.html
如果你现在用的是openwrt固件,boot分区可能有锁,建议更新到最新的OpenWrt(新版本的OpenWrt已解除boot分区锁)。
$ sysupgrade -v /tmp/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin
Ref
- https://openwrt.org/docs/guide-quick-start/sysupgrade.luci
- https://openwrt.org/docs/guide-user/installation/sysupgrade.cli
$ sysupgrade -F openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sys
upgrade.bin
Troubleshooting
我采用上面方法刷入最新的OpenWRT后,再次执行下面部分,仍然出现Can't open device for writing!
$ opkg updage
$ opkg install curl
$ cd /tmp
# 下载 breed
$ curl -LO https://breed.hackpascal.net/breed-mt7621-xiaomi-r3g.bin
$ mtd -r write breed-mt7621-xiaomi-r3g.bin Bootloader
Could not open mtd device: Bootloader
Can't open device for writing!
Solution
$ opkg install kmod-mtd-rw
$ insmod mtd-rw i_want_a_brick=1
如果kmod-mtd-rw
能成功安装,执行下面即可成功刷入 Breed。
我还遇到了
kmod-mtd-rw
不能成功安装的问题,但是在升级OpenWrt到最新snapshot 版本后,就解决了
# 升级 OpenWrt 方法
$ sysupgrade -v /tmp/openwrt-ramips-mt7621-xiaomi_redmi-router-ac2100-squashfs-sysupgrade.bin
$ mtd -r write breed-mt7621-xiaomi-r3g.bin Bootloader
Unlocking Bootloader ...
Writing from breed-mt7621-xiaomi-r3g.bin to Bootloader ...
Rebooting ...
Shared connection to 192.168.1.1 closed.
Ref
- https://www.right.com.cn/forum/thread-4061184-1-1.html
- https://forum.openwrt.org/t/new-xiaomi-router-ac2100/48101/787
- https://forum.openwrt.org/t/new-xiaomi-router-ac2100/48101/785
- https://openwrt.org/toh/xiaomi/xiaomi_redmi_router_ac2100
进入Breed
建议等待5分钟后拔电,用牙签按住reset键再插电,等蓝灯闪烁,松开reset键,浏览器访问192.168.1.1即可进入breedweb界面。
至此,路由器成功刷入Breed。
输入padavan (老毛子固件)
红米AC2100对应RM2100,从 https://github.com/chongshengB/rt-n56u/releases/tag/AtuoBuild 找到最新的固件(RM2100_<version>.trx,e.g., RM2100_3.4.3.9-099.trx),并上传:
然后点更新,更新完成后会自动重启:
等待重启成功后,即可进入路由器后台 http://192.168.2.1/ 用户名 admin, 密码admin。
Reference
- https://forum.openwrt.org/t/new-xiaomi-router-ac2100/48101/782
- https://www.right.com.cn/forum/thread-4023907-1-1.html
- https://breed.hackpascal.net/
- https://github.com/chongshengB/rt-n56u
- https://www.chenxie.net/archives/2432.html
- https://post.smzdm.com/p/aoo85457/
- https://forum.openwrt.org/t/xiaomi-3g-mir3g-breed-bootloader-configure-dual-boot-openwrt-pandorabox-padvan/22309/19
Can’t open device for writing!
- https://www.right.com.cn/forum/thread-4061184-1-1.html
- https://forum.openwrt.org/t/new-xiaomi-router-ac2100/48101/787
- https://forum.openwrt.org/t/new-xiaomi-router-ac2100/48101/785
padavan (老毛子固件)
- https://openwrt.org/toh/xiaomi/xiaomi_redmi_router_ac2100
- https://www.jianshu.com/p/cb51fb0fb2ac
- https://www.jianshu.com/p/6b8403cdea46