Bookmark

Return the Redmi AX6000 to Stock ROM from OpenWrt

For OpenWrt using the stock U-Boot, download stock firmware from Xiaomi and use MiWiFiRepair Tool to return to stock. See the MiWiFiRepair Tool guide .

For OpenWrt using U-Boot Mod, restore the stock U-Boot first, then use MiWiFiRepair Tool to return to stock.

Flash the stock U-Boot

  • Touching the bootloader has a high brick risk. Verify everything before starting.
    • Ensure a reliable connection between the router and PC.
    • Verify downloaded-file integrity.
    • Be careful with commands and understand the terminal output.
  • This guide uses the official OpenWrt.org U-Boot Mod layout. Other ROMs or U-Boot versions such as hanwckf may use different partitions and numbers; check them first.

The U-Boot Mod installation guide explains how to back up the original bootloader. Use the backup from the same router whenever possible so all partitions match. If no backup exists, using another user's backup has a higher brick risk.

Prepare the backed-up FIP.bin and log in over SSH while the router is running U-Boot Mod OpenWrt.

Run:

cat /proc/mtd # Expected output: ## dev: size erasesize name ## mtd0: 00100000 00020000 BL2 ## mtd1: 00040000 00020000 Nvram ## mtd2: 00040000 00020000 Bdata ## mtd3: 00200000 00020000 Factory ## mtd4: 00200000 00020000 FIP ## mtd5: 07a80000 00020000 ubi

The output shows that the FIP bootloader partition is mtd4.

Official OpenWrt locks the bootloader partition. Install and load kmod-mtd-rw:

opkg update && opkg install kmod-mtd-rw insmod /lib/modules/$(uname -r)/mtd-rw.ko i_want_a_brick=1

Use WinSCP to upload FIP.bin into /tmp, then flash and verify it:

mtd write /tmp/FIP.bin FIP mtd verify /tmp/FIP.bin FIP

After flashing FIP, power off the router, hold reset while powering it on to enter recovery, then use MiWiFiRepair Tool to flash stock ROM normally.


0 Bình luận

Góp Ý / Bình Luận / Đánh giá