找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1244|回复: 12

求助:极2刷了原版openwrt

[复制链接]
发表于 2022-6-16 14:14 | 显示全部楼层 |阅读模式
       如题,极2没有刷breed,又刷到原版锁分区的openwrt,现在不能用mtd指令。
跪求高手帮忙让我的hc5761补刷breed,或有什么方法解锁分区,在Xshell上能用mtd指令。

我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-6-16 15:55 | 显示全部楼层
试一下这个方法:https://www.right.com.cn/forum/thread-4061184-1-1.html
SSH登入运行 opkg update
opkg install kmod-mtd-rw
insmod mtd-rw i_want_a_brick=1

点评

kmod-mtd-rw在哪里可以找到?  详情 回复 发表于 2022-6-16 22:42
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-6-16 22:42 | 显示全部楼层
jjit 发表于 2022-6-16 15:55
试一下这个方法:https://www.right.com.cn/forum/thread-4061184-1-1.html
SSH登入运行 opkg update
opk ...

kmod-mtd-rw在哪里可以找到?

点评

可以在线装,SSH登入,运行我回复的 3条命令 通过 ipk文件的话,这个是官方21.02.3的: https://downloads.openwrt.org/releases/21.02.3/targets/ramips/mt7620/packages/kmod-mtd-rw_5.4.188+git-20160214-2_mip  详情 回复 发表于 2022-6-17 00:16
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-6-17 00:16 | 显示全部楼层
sky1983 发表于 2022-6-16 22:42
kmod-mtd-rw在哪里可以找到?

可以在线装,SSH登入,运行我回复的 3条命令
通过 ipk文件的话,这个是官方21.02.3的:
https://downloads.openwrt.org/re ... 4-2_mipsel_24kc.ipk

点评

系统 主机名 HiWIFI 主机型号 HiWiFi HC5761 (CpuMark : 1293.462356 Scores) 架构 MediaTek MT7620A ver:2 eco:6 x 1 固件版本 OpenWrt R21.2.1 / LuCI Master (git-21.035.34289-13f96d1) 内核版本 5.4.95  详情 回复 发表于 2022-6-17 13:02
root@HiWIFI:~# opkg install kmod-mtd-rw Installing kmod-mtd-rw (5.10.120+git-20160214-2) to root... Downloading https://mirrors.cloud.tencent.com/lede/snapshots/targets/ramips/mt7620/packages/kmod-m  详情 回复 发表于 2022-6-17 12:58
root@HiWIFI:/tmp# mtd -r write /tmp/breed-mt7620-hiwifi-hc5761.bin u-boot Could not open mtd device: u-boot Can't open device for writing! 大哥,用了上面的指令,然后再mtd,还是不行。  详情 回复 发表于 2022-6-17 11:37
好的,我试一下。谢谢大哥。  详情 回复 发表于 2022-6-17 09:51
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-6-17 09:51 | 显示全部楼层
jjit 发表于 2022-6-17 00:16
可以在线装,SSH登入,运行我回复的 3条命令
通过 ipk文件的话,这个是官方21.02.3的:
https://downlo ...

好的,我试一下。谢谢大哥。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-6-17 11:37 | 显示全部楼层
jjit 发表于 2022-6-17 00:16
可以在线装,SSH登入,运行我回复的 3条命令
通过 ipk文件的话,这个是官方21.02.3的:
https://downlo ...

root@HiWIFI:/tmp# mtd -r write /tmp/breed-mt7620-hiwifi-hc5761.bin u-boot
Could not open mtd device: u-boot
Can't open device for writing!
大哥,用了上面的指令,然后再mtd,还是不行。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-6-17 12:58 | 显示全部楼层
jjit 发表于 2022-6-17 00:16
可以在线装,SSH登入,运行我回复的 3条命令
通过 ipk文件的话,这个是官方21.02.3的:
https://downlo ...

root@HiWIFI:~# opkg install kmod-mtd-rw
Installing kmod-mtd-rw (5.10.120+git-20160214-2) to root...
Downloading https://mirrors.cloud.tencent.co ... 4-2_mipsel_24kc.ipk
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mtd-rw:
*         kernel (= 5.10.120-1-886d77f5f6dbe96e5b82172af2b5e8cf)
* opkg_install_cmd: Cannot install package kmod-mtd-rw.

说是无法安装软件包。。。

点评

用这个ipk手动装:https://mirrors.cloud.tencent.com/lede/snapshots/targets/ramips/mt7620/kmods/5.10.120-1-886d77f5f6dbe96e5b82172af2b5e8cf/kmod-mtd-rw_5.10.120%2Bgit-20160214-2_mipsel_24kc.ipk  详情 回复 发表于 2022-6-17 13:03
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-6-17 13:02 | 显示全部楼层
jjit 发表于 2022-6-17 00:16
可以在线装,SSH登入,运行我回复的 3条命令
通过 ipk文件的话,这个是官方21.02.3的:
https://downlo ...

系统
主机名        HiWIFI
主机型号        HiWiFi HC5761 (CpuMark : 1293.462356 Scores)
架构        MediaTek MT7620A ver:2 eco:6 x 1
固件版本        OpenWrt R21.2.1 / LuCI Master (git-21.035.34289-13f96d1)
内核版本        5.4.95
本地时间        Fri Jun 17 13:01:45 2022
运行时间        1h 52m 41s
平均负载        1.69, 0.68, 0.38
CPU 使用率(%)       

这是我现在用的版本
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-6-17 13:03 | 显示全部楼层
sky1983 发表于 2022-6-17 12:58
root@HiWIFI:~# opkg install kmod-mtd-rw
Installing kmod-mtd-rw (5.10.120+git-20160214-2) to root. ...

用这个ipk手动装:https://mirrors.cloud.tencent.co ... 4-2_mipsel_24kc.ipk

点评

Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mtd-rw: * kernel (= 5.10.120-1-886d77f5f6dbe96e5b82172af2b5e8cf) * opkg_install_cmd: Cannot inst  详情 回复 发表于 2022-6-17 13:48
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-6-17 13:48 | 显示全部楼层
jjit 发表于 2022-6-17 13:03
用这个ipk手动装:https://mirrors.cloud.tencent.com/lede/snapshots/targets/ramips/mt7620/kmods/5.10 ...

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mtd-rw:
*         kernel (= 5.10.120-1-886d77f5f6dbe96e5b82172af2b5e8cf)
* opkg_install_cmd: Cannot install package kmod-mtd-rw.

安装不了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-6-17 14:02 | 显示全部楼层
你内核版本是 5.4.95,现在官方只有 5.10.120的了,可以试一下强制安装
opkg install --force-depends kmod-mtd-rw
然后运行这个 insmod /lib/modules/5.10.120/mtd-rw.ko i_want_a_brick=1
如果路由没有自动重启,应该是成功的,再运行 mtd命令

点评

root@HiWIFI:/tmp# opkg install --force-depends kmod-mtd-rw Installing kmod-mtd-rw (5.10.120+git-20160214-2) to root... Downloading https://mirrors.cloud.tencent.com/lede/snapshots/targets/ramips/mt7  详情 回复 发表于 2022-6-17 14:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-6-17 14:13 | 显示全部楼层
jjit 发表于 2022-6-17 14:02
你内核版本是 5.4.95,现在官方只有 5.10.120的了,可以试一下强制安装
opkg install --force-depends kmo ...

root@HiWIFI:/tmp# opkg install --force-depends kmod-mtd-rw
Installing kmod-mtd-rw (5.10.120+git-20160214-2) to root...
Downloading https://mirrors.cloud.tencent.co ... 4-2_mipsel_24kc.ipk
Collected errors:
* opkg_download: Failed to download https://mirrors.cloud.tencent.co ... 4-2_mipsel_24kc.ipk, wget returned 4.
* opkg_download: Check your network settings and connectivity.

* opkg_install_pkg: Failed to download kmod-mtd-rw. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package kmod-mtd-rw.
root@HiWIFI:/tmp# insmod /lib/modules/5.10.120/mtd-rw.ko i_want_a_brick=1
Failed to find mtd-rw. Maybe it is a built in module ?

强制安装也不行。
算了,先不搞了,我也就是学习用。我有一个B70刷好了,也用了一段时间了。
这个HC5761是闲置的,我就想学学玩。
谢谢大哥热心帮助!感谢!感谢!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-6-17 14:16 | 显示全部楼层
下载ipk传到路由/tmp ,SSH里运行
opkg install --force-depends /tmp/kmod-mtd-rw_5.10.120+git-20160214-2_mipsel_24kc.ipk
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 11:32

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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