【Router】Padavan - 红米AC2100路由器刷入 Padavan (老毛子)固件

Posted by 西维蜀黍 on 2021-03-30, Last Modified on 2021-09-21

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

$ 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

进入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

Can’t open device for writing!

padavan (老毛子固件)