路由网路由网

  • 首页
  • 192.168.1.1
  • 192.168.0.1
  • 路由器设置
  • 路由器百科
  • 路由器刷机
  • 软路由
  • tplogin.cn
首页 > 路由器刷机 › 红米AX3000路由器免拆机开启SSH刷入OpenWrt固件教程

红米AX3000路由器免拆机开启SSH刷入OpenWrt固件教程

路由网
路由网
2025-12-01 22:22:02

第一步:XMiR-Patcher脚本解锁路由器SSH

https://github.com/openwrt-xiaomi/xmir-patcher

打开Github仓库直接打包下载脚本。

红米AX3000路由器免拆机开启SSH刷入OpenWrt固件教程(图1)

下载完成后解压,运行run.bat,确认目前路由器地址是否为192.168.1.1,如不同则进行按“1”进行修改。

红米AX3000路由器免拆机开启SSH刷入OpenWrt固件教程(图2)

按“2”继续进行破解,期间需要输入路由器的登录密码。

红米AX3000路由器免拆机开启SSH刷入OpenWrt固件教程(图3)

等待3分钟左右,出现这个提示代表SSH开启成功了,输入0退出即可,SSH默认密码12345678

 

第二步:刷入分区文件+UBoot

SSH登录路由器,下载Uboot以及分区文件:

curl -o /tmp/MIBIB.bin https://mao.fan/shezhang/RedmiAX3000/MIBIB.bin
curl -o /tmp/APPSBL.bin https://mao.fan/shezhang/RedmiAX3000/APPSBL.bin
curl -o /tmp/APPSBL1.bin https://mao.fan/shezhang/RedmiAX3000/APPSBL1.bin

写入对应分区:

mtd write /tmp/MIBIB.bin /dev/mtd1
mtd write /tmp/APPSBL.bin /dev/mtd11
mtd write /tmp/APPSBL1.bin /dev/mtd12

注意!完成后不要重启路由器,因为分区已经被清空,接下来需要刷入OpenWrt系统。


第三步:刷入Openwrt固件

红米AX3000固件项目地址:

https://github.com/hzyitc/openwrt-redmi-ax3000

复制以下内容,在路由器内另存为123.sh脚本文件,记得chmod+x赋予执行权限,然后执行即可。

cd /tmp
wget https://github.com/hzyitc/openwrt-redmi-ax3000/releases/latest/download/openwrt-ipq50xx-arm-redmi_ax3000-squashfs-nand-factory.ubi

# Check your partition table
cat /proc/mtd
[[ "$(grep '"rootfs"' /proc/mtd | cut -d':' -f1)" == "mtd18" ]] || exit
[[ "$(grep '"rootfs_1"' /proc/mtd | cut -d':' -f1)" == "mtd19" ]] || exit

# Detect the current system slot and flash into the other one
cat /proc/cmdline
mtd="$(grep -oE 'ubi.mtd=[a-zA-Z0-9\-\_]*' /proc/cmdline | cut -d'=' -f2)"
if [[ "$mtd" == "rootfs" ]]; then
# Flash it as system 2
ubiformat /dev/mtd19 -f openwrt-ipq50xx-arm-redmi_ax3000-squashfs-nand-factory.ubi
nvram set flag_try_sys2_failed=0
nvram set flag_boot_rootfs=1
nvram set flag_last_success=1
nvram commit
elif [[ "$mtd" == "rootfs_1" ]]; then
# Flash it as system 1
ubiformat /dev/mtd18 -f openwrt-ipq50xx-arm-redmi_ax3000-squashfs-nand-factory.ubi
nvram set flag_try_sys1_failed=0
nvram set flag_boot_rootfs=0
nvram set flag_last_success=0
nvram commit
fi

# Reboot
reboot

脚本执行完成后路由器会自动重启,路由器重启完成后进入192.168.1.1 用户名:root 密码:为空

这个是原生的系统,默认是英文,需要在软件管理中手动安装中文语言包。 

第四步:Uboot的使用

顶住Rest按键,通电10秒,输入192.168.10.1即可进入Uboot界面,后续升级系统可以在这里操作。

第五步:建议以及备份的opkg源

虽然已经2025年了,但还是不建议刷最新版的,比如23版本依旧存在网速会慢的问题,作者在源码主页也强调了是因为不支持qsdk加速的原因。要网速好就用旧版21版5.4内核。

备份的opkg源,避免后期误操作。

src/gz openwrt_core https://hzyitc.github.io/openwrt-redmi-ax3000/ipq50xx-qsdk-kernel-5.4-openwrt-21.02-qsdk-11.5.05.841.1029/ci-20240727-173350-ab1f9ffa
src/gz openwrt_base https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/base
src/gz openwrt_luci https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/luci
src/gz openwrt_packages https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/packages
src/gz openwrt_routing https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/routing
src/gz openwrt_telephony https://mirrors.tuna.tsinghua.edu.cn/openwrt/releases/21.02.7/packages/arm_cortex-a7_neon-vfpv4/telephony

至于为什么IPQ50xx是Cortex-A53,但本固件显示架构A7,因为256M不够运行64位系统。openwrt没有32位a53的软件源。所以32位版本用了a7的软件源。


声明:本站原创文章文字版权归本站所有,转载务必注明作者和出处;本站转载文章仅仅代表原作者观点,不代表本站立场,图文版权归原作者所有。如有侵权,请联系我们删除。
路由网
路由网
依靠“观看别人如何生活来生活”,我们自己的生活哪去了?
路由器刷机(固件)是什么?
下一篇

猜你喜欢

  • 路由器刷机(固件)是什么?
  • 红米AX3000路由器免拆机开启SSH刷入OpenWrt固件教程
路由网

路由网

依靠“观看别人如何生活来生活”,我们自己的生活哪去了?

随机推荐

路由器刷机(固件)是什么?
2025-12-01
红米AX3000路由器免拆机开启SSH刷入OpenWrt固件教程
2025-12-01

栏目推荐

华为(HUAWEI)

普联(TP-LINK)

360安全路由

美国网件(NETGEAR)

移动(wifi.cmcc)

华硕(ASUS)

小米(MIWiFi)

水星(MERCURY)

腾达(Tenda)

电信(router.ctc)

中兴(zte)

迅捷(FAST)

锐捷(Ruijie)

推荐标签

fast路由器登录入口 mercury路由器 水星路由器 路由器重置 wifi管理员密码登陆失败 tplink路由器 路由器登录网址
  • 192.168.1.1
  • 192.168.0.1
  • 路由器设置
  • 路由器百科
  • 路由器刷机
  • 软路由
  • tplogin.cn
Copyright © 2025路由网. Designed by 蜘蛛地图 TXT地图
小伙伴们: KTV招聘网 路由器网站 路由器大全 品牌系统门窗
  • 首页
  • 192.168.1.1
  • 192.168.0.1
  • 路由器设置
  • 路由器百科
  • 路由器刷机
  • 软路由
  • tplogin.cn