Blog/public/360t7/index.html
2025-01-02 21:19:48 +08:00

203 lines
11 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<title>Dich&#x27;blog</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name="robots" content="noodp"/>
<link rel="stylesheet" href="https://blog.dich.bid/style.css">
<link rel="stylesheet" href="https://blog.dich.bid/color/blue.css">
<link rel="stylesheet" href="https://blog.dich.bid/color/background_dark.css">
<link rel="stylesheet" href="https://blog.dich.bid/font-hack-subset.css">
<meta name="description" content="">
<meta property="og:description" content="">
<meta property="og:title" content="Dich'blog">
<meta property="og:type" content="article">
<meta property="og:url" content="https://blog.dich.bid/360t7/">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="">
<meta name="twitter:title" content="Dich'blog">
<meta property="twitter:domain" content="blog.dich.bid">
<meta property="twitter:url" content="https://blog.dich.bid/360t7/">
<link rel="alternate" type="application/atom+xml" title="Dich&#x27;blog Atom Feed" href="https://blog.dich.bid/atom.xml" />
</head>
<body class="">
<div class="container">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="https://blog.dich.bid" style="text-decoration: none;">
<div class="logo">
Dich&#x27;blog
</div>
</a>
</div>
</div>
<nav class="menu">
<ul class="menu__inner">
<li class="active"><a href="https://blog.dich.bid">blog</a></li>
<li><a href="https://blog.dich.bid/tags">tags</a></li>
<li><a href="https://blog.dich.bid/archive">archive</a></li>
<li><a href="https://blog.dich.bid/about">about me</a></li>
<li><a href="https://blog.dich.bid/links">links</a></li>
<li><a href="https://blog.dich.bid/search">search</a></li>
<li><a href="https://github.com/Dichgrem" target="_blank" rel="noopener noreferrer">github</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="post">
<h1 class="post-title"><a href="https://blog.dich.bid/360t7/">综合工程:360T7刷ImmortalWrt</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2024-09-24
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.bid/tags/zong-he-gong-cheng/">#综合工程</a></span>
<div class="post-content">
<p>前言 上周花了四天成功的将一台 360T7 AX3000 路由器刷成ImmortalWrt系统并用上了无线校园网其中之艰辛前所未见。。。</p>
<span id="continue-reading"></span><h2 id="xu-zhang">序章</h2>
<p>这一切都得从9月17日我在闲鱼上看到一台360T7说起正值中秋假期早上吃完饭看了看闲鱼突然发现同城有一台仅售60元的360T7路由器距离我3.4公里——要知道360T7可是AX3000的Wi-Fi6路由器信号强劲买60性价比简直无敌。正好缺一个路由器准备前往购买——</p>
<blockquote>
<p>错误一没有事先详细了解这款机型的情况以为刷OP非常容易</p>
</blockquote>
<p>于是说干就干,坐上地铁飞驰到达,卖家发了一个开机视频,一切正常,拿上路由器就回学校;</p>
<h2 id="chu-jian-duan-ni">初见端倪</h2>
<p>等到下午1点准备开干。这款机型没有SSH权限和USB口我提前准备好了ttl模块CH341以及杜邦线现在准备拆机并进行串口调试;
首先是极其结实的外壳里面有8处卡扣非常容易损坏;好在笔者手法过硬,没有出现各教程中卡扣裂开的情形。但刚刚打开外壳的一瞬间我就发现事情的不对:<code>主板上四个圆形串口是有焊锡的</code>,这下可如何是好?</p>
<blockquote>
<p>错误二:大力出奇迹把串口撬开</p>
</blockquote>
<p>这时候我想到焊锡并不结实直接用小刀或针刮开即可于是经过半小时四条杜邦线已经顺利的接上串口电脑的COM3口也成功访问到;然而离谱的事情发生了:<code>COM3口没有任何跑码数据显示一片空白</code>,这下坏事了。到底是怎么回事呢?有以下几种可能:</p>
<ul>
<li>CPU天生不跑码极其罕见需要换CPU</li>
<li>COM口的波比特率错误96000115200</li>
<li>串口连接错误RTXTDXGND的顺序</li>
<li>接触不良(得上电烙铁)</li>
</ul>
<p>经过排除变量,前三条已经确认无误,那么,接触不良该怎么办呢?于是我在外卖平台<code>买了一个电烙铁</code>此时已经下午6点...</p>
<h2 id="cheng-wei-dian-han-gao-shou">成为电焊高手</h2>
<p>此时我的另一位好友抗性面包以下简称K老师出现了并打算和我一起<code>将杜邦线焊接到串口上</code>。然而,并不熟悉的操作让我们险象环生:首先是焊锡不容易成形,加上了助焊剂松香又出现一大堆烟雾,宿舍一时间烟雾缭绕( 随即我们将电焊枪开到了400度在成功焊上一个点之后我将焊枪放在了鼠标垫上。。。</p>
<blockquote>
<p>错误三:没有焊枪架</p>
</blockquote>
<p>于是<code>鼠标垫被烫出一个大洞</code>。。。不过好在经过焊接ttl跑码界面已经成功出现此时似乎离成功只有一步之遥——</p>
<h2 id="e-meng-de-kai-shi">噩梦的开始</h2>
<p>于是我和K老师大喜直接找了一个教程发现这个型号得降级安装于是<code>安装了github上名为360t7-upgrade的一个bin包</code>,然后问题就大了:现在系统连不上了😨😨😨</p>
<blockquote>
<p>错误四:看都不看就刷进来历不明的包</p>
</blockquote>
<h2 id="xi-wang-yu-jue-wang">希望与绝望</h2>
<p>此时K老师和我有点麻运气这么好让我们刷到不匹配的包随后发现<code>360T7有数个版本手上的这个版本是Nand闪存</code>,所以现有的包不能适用。。此时我想到可以通过原厂固件刷回来救,但问题来了:我没有备份这个机型的固件</p>
<blockquote>
<p>错误五:没有提前备份这个机型的固件</p>
</blockquote>
<p>难道只能上编程器救砖?</p>
<p>经过仔细研究,发现<code>mtk的芯片可以使用名为mtk_boot的工具进入类似fastboot的界面救砖</code>而360T7正是用的mtk7981芯片。又经过艰难的一番操作终于刷入了一个可以使用的Uboot;但这个Uboot又出现了可怕😨的问题<code>系统无限循环,报错 bad_block </code>而我们此时并不知道分区表的偏移量,无法进行操作。</p>
<p>这是怎么回事?难道内存已经坏块了?</p>
<p>此时时间已晚,不得不先休息,第一天过去了。。。</p>
<h2 id="di-er-tian">第二天</h2>
<p>第二天的晚上我和K老师再度开始折腾这个路由器我认为☝<code>内存应该是没有真正坏块</code>,于是又又又经过查阅恩山论坛和各处博客,终于发现的问题的关键:应该先<code>刷bl2fip和ubi分区</code>于是我们用了新的uboot但新问题又又又又出现了mtd命令<code>无法操作bl2fip和ubi分区</code>,这是怎么一回事?</p>
<p>又又又经过查阅恩山论坛和各处博客发现该108M大分区表是锁分区的不能直接操作于是经过一番查找<code>使用了 Kmod 模块解锁了分区表</code>并刷入了bl2和fip似乎要好起来了😭但此时无形的大手再一次愚弄了我们系统<code>依然无限循环bad_block</code>。。于是现在我们强行刷入ImmortalWrt系统是可以的<code>它只能运行在内存之中,一断电就会消逝</code>😭 总不能让它一直在内存里面跑吧。。</p>
<p>此时时间已晚,不得不先休息,第二天过去了。。。</p>
<blockquote>
<p>致敬传奇liveCD跑server的运维大师🫡</p>
</blockquote>
<h2 id="di-san-tian">第三天</h2>
<p>第三天晚上我和K老师都有点疲惫现在无限循环bad_block的报错还未解决是umbm导致的在检测到坏块后会报错然而实际上我们的路由器并没有真正坏块是在刷入固件的时候导致了尾部的分区错误随即受到了umbm的制约。现在我们<code>要么刷一个支持umbm的系统要么刷一个支持umbm的uboot要么想办法关闭umbm</code>于是K老师编译了一个ImmortalWrt固件并刷了进去但此时由于前面刷错了bl2检验依然没有通过。。</p>
<p>此时时间已晚,不得不先休息,第三天过去了。。。</p>
<h2 id="di-si-tian">第四天</h2>
<p>神奇的事情发生了K老师成功刷入了ImmortalWrt终于😭😭😭😭随即我们在ubuntu虚拟机中<code>编译了C语言写就的 inyn 校园网客户端</code>并通过SSH将ipk安装到了ImmortalWrt之上但此时<code>报错缺库</code>。。。又是一顿焦头烂额最后K老师使用了Go版本的 nyn 解决了问题我终于用上了无线校园网😭实际测试T7性能非常强大信号强劲支持Hnat硬件加速和多路复用速度轻松跑到800兆。</p>
<p>Done.</p>
<h2 id="can-kao">参考</h2>
<p><a href="http://www.ttcoder.cn/index.php/2023/07/11/p0/">360T7刷机</a></p>
</div>
<div class="pagination">
<div class="pagination__title">
<span class="pagination__title-h">Thanks for reading! Read other posts?</span>
<hr />
</div>
<div class="pagination__buttons">
<span class="button previous">
<a href="https://blog.dich.bid/zhoubao-15/">
<span class="button__icon"></span>&nbsp;
<span class="button__text">谈天说地:狄奇周刊(十五)</span>
</a>
</span>
<span class="button next">
<a href="https://blog.dich.bid/zhoubao-16/">
<span class="button__text">谈天说地:狄奇周刊(十六)</span>&nbsp;
<span class="button__icon"></span>
</a>
</span>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright">
<span>©
2025
Dichgrem</span>
<span class="copyright-theme">
<span class="copyright-theme-sep">:: </span>
Theme: <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal</a> by pawroman
</span>
</div>
</div>
</footer>
</div>
</body>
</html>