找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 12270|回复: 17

我的小米路由3如何从padavan恢复还原到小米3原厂固件?

[复制链接]
本帖最后由 zhang007z 于 2018-1-7 20:42 编辑

我按照这个教程:
https://www.right.com.cn/forum/fo ... C3%D7%2B3%2Bpadavan
没有找到对应的restore backup选项。
请问到底如何恢复小米的原厂固件。

我的虚拟机的样子是这样的:
按照https://www.right.com.cn/forum/thread-212682-1-1.html
我从这个地址下载的这个虚拟机,但是这个虚拟机没有restore backup选项。

多谢各位。




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
很明显你的普罗米修斯脚本的版本太低了,看看哪里有单脚本下,更新下脚本吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
ope087 发表于 2018-1-7 21:20
很明显你的普罗米修斯脚本的版本太低了,看看哪里有单脚本下,更新下脚本吧

兄弟,提供一下脚本的下载地址,本人实在找不到
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个脚本的选项1就是更新脚本,你可以试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我是直接刷breed的,先在breed恢复出厂,然后U盘刷官方固件就回去了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

ngfchl 发表于 2018-1-11 10:02
我是直接刷breed的,先在breed恢复出厂,然后U盘刷官方固件就回去了

小米路由3有breed嗎?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

9a2331 发表于 2018-1-11 11:28
小米路由3有breed嗎?

好像有了吧?上去找找就是了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

9a2331 发表于 2018-1-11 11:28
小米路由3有breed嗎?

别听他乱说,小米路由3没有breed
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
选择1升级下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我也试试看  
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

ngfchl 发表于 2018-1-12 23:26
好像有了吧?上去找找就是了

没有的,除非硬改
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

Revert from Padavan to stock firmware without the knowledge of kernel0
  1. cd /tmp
  2. wget -O - http://bigota.miwifi.com/xiaoqiang/rom/r3/miwifi_r3_all_55ac7_2.11.20.bin | dd of=kernel.bin bs=1 skip=94108 count=2284584
  3. cat << EOF > kernel.md5
  4. 62e96a64e21de9b176fd51336b963e2c  kernel.bin
  5. EOF
  6. md5sum -cw kernel.md5
  7. #dd if=/dev/mtd2 of=factory.bin bs=1k count=1280
  8. dd if=/dev/mtd2 of=factory.bin bs=$((0x20000)) count=10
  9. cat kernel.bin >> factory.bin
  10. mtd_write write kernel.bin  Firmware_Stub; mtd_write verify kernel.bin  Firmware_Stub
  11. mtd_write write factory.bin Factory;       mtd_write verify factory.bin Factory
  12. reboot
复制代码
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
@fyi2000,你这个命令是更新脚本恢复原厂固件脚本吗?有效吗,我也一直在找
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

fyi2000 发表于 2018-10-10 23:14
Revert from Padavan to stock firmware without the knowledge of kernel0

你好,不好意思请问一下这个命令具体怎么用,如图片中,输入之后进度达不到100%就自己停了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

小米路由器3 官方闪存分区
  1. 0x000000000000-0x000008000000 : "ALL"
  2. 0x000000000000-0x000000040000 : "Bootloader"
  3. 0x000000040000-0x000000080000 : "Config"
  4. 0x000000080000-0x0000000c0000 : "Bdata"
  5. 0x0000000c0000-0x000000100000 : "Factory"
  6. 0x000000100000-0x000000140000 : "crash"
  7. 0x000000140000-0x000000180000 : "crash_syslog"
  8. 0x000000180000-0x000000200000 : "reserved0"
  9. 0x000000200000-0x000000600000 : "kernel0"
  10. 0x000000600000-0x000000a00000 : "kernel1"
  11. 0x000000a00000-0x000002a00000 : "rootfs0"
  12. 0x000002a00000-0x000004a00000 : "rootfs1"
  13. 0x000004a00000-0x000008000000 : "overlay"

  14. dev:    size   erasesize  name
  15. mtd0: 08000000 00020000 "ALL"
  16. mtd1: 00040000 00020000 "Bootloader"
  17. mtd2: 00040000 00020000 "Config"
  18. mtd3: 00040000 00020000 "Bdata"
  19. mtd4: 00040000 00020000 "Factory"
  20. mtd5: 00040000 00020000 "crash"
  21. mtd6: 00040000 00020000 "crash_syslog"
  22. mtd7: 00080000 00020000 "reserved0"
  23. mtd8: 00400000 00020000 "kernel0"
  24. mtd9: 00400000 00020000 "kernel1"
  25. mtd10: 02000000 00020000 "rootfs0"
  26. mtd11: 02000000 00020000 "rootfs1"
  27. mtd12: 03600000 00020000 "overlay"
复制代码
小米路由器3 hiboy闪存分区
  1. 0x000000000000-0x000000040000 : "Bootloader"
  2. 0x000000040000-0x0000000c0000 : "BootEnv"
  3. 0x0000000c0000-0x000000600000 : "Factory"
  4. 0x000000600000-0x000000760000 : "Kernel"
  5. 0x000000760000-0x000001600000 : "RootFS"
  6. 0x000001600000-0x000001680000 : "Config"
  7. 0x000001680000-0x000006680000 : "Storage"
  8. 0x000006680000-0x000008000000 : "RWFS"
  9. 0x000000600000-0x000001600000 : "Firmware_Stub"

  10. dev:    size   erasesize  name
  11. mtd0: 00040000 00020000 "Bootloader"
  12. mtd1: 00080000 00020000 "BootEnv"
  13. mtd2: 00540000 00020000 "Factory"
  14. mtd3: 00160000 00020000 "Kernel"
  15. mtd4: 00ea0000 00020000 "RootFS"
  16. mtd5: 00080000 00020000 "Config"
  17. mtd6: 05000000 00020000 "Storage"
  18. mtd7: 01980000 00020000 "RWFS"
  19. mtd8: 01000000 00020000 "Firmware_Stub"
复制代码
以上比对可知,必须保留hiboy Factory分区c0000-200000,然后把200000-600000和600000-a00000都置换成官方kernel,而官方kernel可以从官方固件中提取出来
  1. / # cd /tmp
  2. /tmp # wget -O - http://bigota.miwifi.com/xiaoqiang/rom/r3/miwifi_r3_all_55ac7_2.11.20.bin | dd of=kernel.bin bs=1 skip=94108 count=2284584
  3. Connecting to bigota.miwifi.com (182.118.11.220:80)
  4. -                      6% |**                             |  2242k  0:02:55 ETA2
  5. 284584+0 records in
  6. 2284584+0 records out
  7. 2284584 bytes (2.2MB) copied, 13.425040 seconds, 166.2KB/s
  8. /tmp # cat << EOF > kernel.md5
  9. > 62e96a64e21de9b176fd51336b963e2c  kernel.bin
  10. > EOF
  11. /tmp # md5sum -cw kernel.md5
  12. kernel.bin: OK
复制代码
只要kernel.bin的md5sum验证无误,那就没问题,闪存有坏块则另当别论,所以write之后还要verify,一旦执行mtd_write,那就无法回头,更安全的作法则是先把Firmware_Stub和Factory分区复制到U盘,再执行mtd_write

reboot之后则继续按照官方教程的U盘刷机,便可以刷回官方固件

http://www.mi.com/service/miwifi/miwifi3/update/
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-7 05:12

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表