用Putty和winscp備份小米及其他品牌路由韌體?

Tags: ,

很多朋友用小米路由刷其他韌體後想刷回原廠韌體,但由於刷其他品牌韌體把路由裡唯一的SN序號刷掉了,這就會造成路由無法繫結小米賬戶,無法開啟SHH訪問無法開啟ROOT許可權等問題,但只要備份了路由裡的韌體就能隨時恢復原來的狀態。下面就是介紹如何備份路由韌體。以小米路由為模版來介紹如何備份韌體。這是我備份好的韌體。

用Putty和winscp備份小米及其他品牌路由韌體

工具/原料

putty和winscp 下載地址:

一,用進入Putty複製到tmp資料夾

先開啟Putty輸入賬戶root及密碼(使用putty時輸入密碼不顯示),進入操作介面。

ip:192.168.31.1(小米),192.168.99.1(newifi),192.168.1.1(其他)

用Putty和winscp備份小米及其他品牌路由韌體

用Putty和winscp備份小米及其他品牌路由韌體

用Putty和winscp備份小米及其他品牌路由韌體

輸入命令 cat /proc/mtd顯示所有韌體。

mtd0: 00030000 00010000 "u-boot"

mtd1: 00010000 00010000 "u-boot-env"

mtd2: 00010000 00010000 "Factory"

mtd3: 01000000 00010000 "fullflash"

mtd4: 00fb0000 00010000 "firmware"

mtd5: 00100000 00010000 "kernel"

mtd6: 00eb0000 00010000 "rootfs"

mtd7: 003d0000 00010000 "rootfs_data"

這些就是顯示的韌體。

用Putty和winscp備份小米及其他品牌路由韌體

備份韌體到tmp資料夾。

命令

dd if=/dev/mtd0 of=/tmp/u-boot.bin

dd if=/dev/mtd1 of=/tmp/u-boot-env.bin

dd if=/dev/mtd2 of=/tmp/Factory.bin

dd if=/dev/mtd3 of=/tmp/fullflash.bin

dd if=/dev/mtd4 of=/tmp/firmware.bin

dd if=/dev/mtd5 of=/tmp/kernel.bin

dd if=/dev/mtd6 of=/tmp/rootfs.bin

dd if=/dev/mtd7 of=/tmp/rootfs_data.bin

用Putty和winscp備份小米及其他品牌路由韌體

用Putty和winscp備份小米及其他品牌路由韌體

二,用winscp提取韌體

開啟winscp輸入root賬戶及密碼,按下圖的操作來進行。

ip:192.168.31.1(小米),192.168.99.1(newifi),192.168.1.1(其他)

用Putty和winscp備份小米及其他品牌路由韌體

進入剛才tmp目錄拉取BIN韌體到硬碟中就可以了。接下來就盡情的折騰你的路由器吧。

用Putty和winscp備份小米及其他品牌路由韌體

注意事項

折騰路由前最好刷不死Uboot

注意ip地址別搞錯了

,
相關問題答案