找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5711|回复: 7

关于newifi D1刷breed

[复制链接]
开ssh后putty进去,按教程http://www.anyaxian.com/post-74.html
  • #!/bin/sh
  • #By NBD.zls1106
  • cd /tmp
  • cat /dev/mtd2 >epprom.bin
  • cat /dev/mtd3 >fullflash_original.bin
  • wget http://anyaxian.com/other/breed-mt7621-newifi-d1.bin
  • dd if=/dev/zero bs=1024 count=192 | tr "\000" "\377" >breed_192.bin
  • dd if=breed-mt7621-newifi-d1.bin of=breed_192.bin conv=notrunc
  • cat /tmp/breed_192.bin /dev/mtd1 /dev/mtd2 /dev/mtd4 >fullflash_with_breed.bin
  • mtd write fullflash_with_breed.bin fullflash
  • ln -s /tmp/epprom.bin /www/epprom.bin
  • ln -s /tmp/fullflash_original.bin /www/fullflash_original.bin
  • ln -s /tmp/fullflash_with_breed.bin /www/fullflash_with_breed.bin
  • echo 'Now you should download your Route's Firmware Backup,and then you can use Breed Recovery'

第4、5是备份无线数据和整个固件,第6是下载breed文件,第7、8、9就看不懂了。第10是将fullflash_with_breed.bin 刷进fullflash分区。后面的11-13也看不懂。
为什么要这么复杂?直接cat /prom/mtd找到uboot分区,直接将breed文件刷进去uboot不是跟简单吗?
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
自己顶!自己顶!自己顶!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你好!求助~我就是用教程的办法,显示fullflash没法写入,然后卡住没法刷breed。
请问楼主你说的“直接cat /prom/mtd找到uboot分区,直接将breed文件刷进去uboot”是怎样的操作?
我是小白不懂。。。求教!谢谢!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 ysc3839 于 2018-5-9 22:34 编辑

第 7 是生成一个 192KB 大小,内容全是 0xFF 的文件。
第 8 是把 breed-mt7621-newifi-d1.bin 覆盖到 breed_192.bin 的开头。
这么做是把 breed-mt7621-newifi-d1.bin 补满 192KB。
第 9 是把 /tmp/breed_192.bin /dev/mtd1 /dev/mtd2 /dev/mtd4 这几个文件连接在一起,输出 fullflash_with_breed.bin
我猜测这么做是因为 mtd 分区都是只读的,只有 fullflash 可写,只能把数据重新拼接一下一次性写入。

11-13 是把那几个文件链接到 /www 下面,可以直接在后台页面下载。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

因为有校验,所以将breed与原机器固件数据混淆一下,然后骗过机器,趁机器不注意就偷偷刷进去了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

学习了。谢谢。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

学习一下 谢谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 01:57

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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