刷第三方固件有可能会冲SN,虽然可以再刷小米的系统,但会无法再SSH(因为sn可能已被冲) !!!所以请小白慎重!并强烈建议把小米mini flash中的所有内容完全备份,以防丢了sn,刷不回去后可以再用已有的备份完全恢复被冲掉的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 00010000Factory
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
先ssh你的路由器,去miwifi首页,点开放,拖到页面中间,看到有个按钮叫做 开启SSH工具,点进去。
root后,刷下面这个uboot(小米官方叫Bootloader)在小米固件ssh下,用putty命令刷入,
dd if=/dev/mtd1 of=/tmp/xiaomi_uboot.bin //备份小米uboot,用winscp将/tmp/xiaomi_uboot.bin文件保存到电脑上.
mtd -r write /tmp/uboot.bin Bootloader //其中/tmp/uboot.bin就是第七软件下载小编附件提供的这个uboot.事先上传到/tmp下取名叫
uboot.bin
刷入后,机器会重新启动,固定电脑有线网卡的IP为192.168.1.3
用硬物顶住mini的键开机,等到mini的黄灯狂闪的时候,松开键,电脑上在浏览器中输入192.168.1.1,就进入不死uboot的控 制台了,在该控制台下,可以刷第七小编提供的下面的这10多个固件大全了。