Su's Blog

Kratos
专注于用户阅读体验的响应式博客主题
  1. Main page
  2. Uncategorized
  3. Main content

小米路由器ax3600刷openwrt固件

October 17, 2022 2855hotness 0likes 0comments

XIAOMI AX3600变砖急救
修复工具和固件下载网页 https://www1.miwifi.com/wap_download.html
下载小米路由器修复工具 https://bigota.miwifi.com/xiaoqiang/tools/MIWIFIRepairTool.x86.zip
按步骤把原厂固件刷进去 https://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/r3600/miwifi_r3600_firmware_79ecc_1.1.25.bin
=====================================================
如升级后ssh被禁用可以用telnet登录,执行下面代码再次启用ssh
在telnet下运行始下命令
telnet 192.168.31.1
login:root
password: ********
sed -i 's/channel=.*/channel="debug"/g' /etc/init.d/dropbear
/etc/init.d/dropbear start
=====================================================
下载文件
https://firmware-selector.openwrt.org/?version=23.05.5&target=ipq807x%2Fgeneric&id=xiaomi_ax3600
刷的固件:
https://downloads.openwrt.org/releases/23.05.5/targets/ipq807x/generic/openwrt-23.05.5-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi
升级的固件
https://downloads.openwrt.org/releases/23.05.5/targets/ipq807x/generic/openwrt-23.05.5-ipq807x-generic-xiaomi_ax3600-squashfs-sysupgrade.bin
刷openwrt新方法网址 https://openwrt.org/toh/xiaomi/ax3600
1. ssh 到 192.168.31.1 把文件openwrt-23.05.5-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi上传到 /tmp目录
2. 运行命令
ubiformat /dev/mtd13 -y -f /tmp/openwrt-23.05.5-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi -s 2048 -O 2048 && nvram set flag_boot_rootfs=1 && nvram set flag_last_success=1 && nvram commit
3. 重启 reboot
4. http://192.168.1.1/cgi-bin/luci/admin/system/flash 下 Flash new firmware image 把文件 openwrt-23.05.5-ipq807x-generic-xiaomi_ax3600-squashfs-sysupgrade.bin 上传进行升级,
5. 重启 reboot
========================注意坑=============================
不要在刷好后的openwrt中升级一些新软件,会导致一系列问题,如不能dhcp等。
在ssh下运行如下命令
nvram set flag_last_success=0
nvram set flag_boot_rootfs=0
nvram set flag_boot_success=1
nvram set flag_try_sys1_failed=0
nvram set flag_try_sys2_failed=0
nvram set boot_wait=on
nvram set uart_en=1
nvram set telnet_en=1
nvram set ssh_en=1
nvram commit
这里有时是mtd12,有时是mtd13,运行一条命令就可以
ubiformat /dev/mtd12 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-nand-factory.ubi
ubiformat /dev/mtd13 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-nand-factory.ubi
nvram set flag_last_success=1
nvram set flag_boot_rootfs=1
nvram commit
reboot
返回原小米原厂固件
fw_setenv flag_last_success 0
fw_setenv flag_boot_rootfs 0
reboot
=========安装插件================
先安装luci-compat
插件网址
https://github.com/k-szuster/luci-access-control/releases
https://github.com/cnxzp/openwrt-package/tree/master/lienol

Tag: Nothing
Last updated:February 3, 2025

Su

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

Comments

razzevilexclaimsmileredfacebiggrineekconfusedidealolmadtwistedrolleyeswinkcoolarrowneutralcrymrgreendroolingpersevering
Cancel

COPYRIGHT © 2024 Su's Blog. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok