小米路由mini完整备份官方rom(再也不怕刷机SN被冲刷了)

教程如下:
完正备份官方rom(再也不怕SN被冲了)

查看rom

cat /proc/mtd

dev: size erasesize name
mtd0: 01000000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00c80000 00010000 "OS1"
mtd5: 00b26eac 00010000 "rootfs"
mtd6: 00200000 00010000 "OS2"
mtd7: 00100000 00010000 "overlay"
mtd8: 00010000 00010000 "crash"
mtd9: 00010000 00010000 "reserved"
mtd10: 00010000 00010000 "Bdata"

备份

dd if=/dev/mtd0 of=/extdisks/sda1/rom/ALL.bin
dd if=/dev/mtd1 of=/extdisks/sda1/rom/Bootloader.bin
dd if=/dev/mtd2 of=/extdisks/sda1/rom/Config.bin
dd if=/dev/mtd3 of=/extdisks/sda1/rom/Factory.bin
dd if=/dev/mtd4 of=/extdisks/sda1/rom/OS1.bin
dd if=/dev/mtd5 of=/extdisks/sda1/rom/rootfs.bin
dd if=/dev/mtd6 of=/extdisks/sda1/rom/OS2.bin
dd if=/dev/mtd7 of=/extdisks/sda1/rom/overlay.bin
dd if=/dev/mtd8 of=/extdisks/sda1/rom/crash.bin
dd if=/dev/mtd9 of=/extdisks/sda1/rom/reserved.bin
dd if=/dev/mtd10 of=/extdisks/sda1/rom/Bdata.bin

恢复

mtd write /extdisks/sda1/rom/Bootloader.bin Bootloader
mtd write /extdisks/sda1/rom/Config.bin Config
mtd write /extdisks/sda1/rom/Factory.bin Factory
mtd write /extdisks/sda1/rom/OS1.bin OS1
mtd write /extdisks/sda1/rom/rootfs.bin rootfs
mtd write /extdisks/sda1/rom/OS2.bin OS2
mtd write /extdisks/sda1/rom/overlay.bin overlay
mtd write /extdisks/sda1/rom/crash.bin crash
mtd write /extdisks/sda1/rom/reserved.bin reserved
mtd write /extdisks/sda1/rom/Bdata.bin Bdata

再或者你可以看这个帖子,http://www.right.com.cn/forum/thread-159820-1-1.html

未经允许不得转载:窗外天空 » 小米路由mini完整备份官方rom(再也不怕刷机SN被冲刷了)

赞 (0)

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址