標籤:ras https load dmi rom tfs file logs .net
1. 下載breed,
地址 http://breed.hackpascal.net/
2. 下載小米Mini的開發板rom,
地址 http://www1.miwifi.com/miwifi_download.html
3. 通過web登入小米Mini的後台, 路由器設定->升級檢測->手動升級, 提交剛才下載的rom
4. 下載小米無線手機app, 連上小米Mini, 根據提示, 綁定路由器
5. 用同樣的小米帳號, 登入 https://d.miwifi.com/rom/ssh , 下載刷機工具包 miwifi_ssh.bin
6. 安裝工具包
將下載的工具包bin檔案複製到隨身碟(FAT/FAT32格式)的根目錄下,保證檔案名稱為miwifi_ssh.bin;
斷開小米路由器的電源,將隨身碟插入USB介面;
按住reset按鈕之後重新接入電源,指示燈變為黃色閃爍狀態即可鬆開reset鍵;
等待3-5秒後安裝完成之後,小米路由器會自動重啟
7. 要等好一會兒, 一分鐘左右, 就能通過22連接埠登入ssh了, 需要用之前給的root密碼
8. 備份
[email protected]:~# dd if=/dev/mtd0 of=/extdisks/sda1/xiaomi_rom_backup/all.bin32768+0 records in32768+0 records out[email protected]:~# dd if=/dev/mtd1 of=/extdisks/sda1/xiaomi_rom_backup/bootloader.bin384+0 records in384+0 records out[email protected]:~# dd if=/dev/mtd2 of=/extdisks/sda1/xiaomi_rom_backup/config.bin128+0 records in128+0 records out[email protected]:~# dd if=/dev/mtd3 of=/extdisks/sda1/xiaomi_rom_backup/factory.bin128+0 records in128+0 records out[email protected]:~# dd if=/dev/mtd4 of=/extdisks/sda1/xiaomi_rom_backup/os1.bin25600+0 records in25600+0 records out[email protected]:~# dd if=/dev/mtd5 of=/extdisks/sda1/xiaomi_rom_backup/rootfs.bin22716+1 records in22716+1 records out[email protected]:~# dd if=/dev/mtd6 of=/extdisks/sda1/xiaomi_rom_backup/os2.bin4096+0 records in4096+0 records out[email protected]:~# dd if=/dev/mtd7 of=/extdisks/sda1/xiaomi_rom_backup/overlay.bin2048+0 records in2048+0 records out[email protected]:~# dd if=/dev/mtd8 of=/extdisks/sda1/xiaomi_rom_backup/crash.bin128+0 records in128+0 records out[email protected]:~# dd if=/dev/mtd9 of=/extdisks/sda1/xiaomi_rom_backup/reserved.bin128+0 records in128+0 records out[email protected]:~# dd if=/dev/mtd10 of=/extdisks/sda1/xiaomi_rom_backup/bdata.bin128+0 records in128+0 records out[email protected]:~# dd if=/dev/mtd11 of=/extdisks/sda1/xiaomi_rom_backup/firmware.bindd: can‘t open ‘/dev/mtd11‘: No such file or directory
9. 用winscp上傳剛才下載的 breed-mt7620-xiaomi-mini.bin 到 /tmp 目錄
10. 執行 mtd -r write /tmp/breed-mt7620-xiaomi-mini.bin Bootloader, 等待裝置自動重啟
11. 掉電, 按住reset, 加電
各種ROM的測試
PandoraBox-ralink-mt7620-xiaomi-mini-squashfs-sysupgrade-r1597-20151107.bin
工作正常, 預設口令是admin, 2.4G和5G wlan都正常工作
lede-17.01.3-ramips-mt7620-miwifi-mini-squashfs-sysupgrade.bin
工作正常, 2.4G和5G wlan都正常工作, 但是燈只有紅色
小米路由Mini刷Breed, 潘多拉和LEDE