Xiaomi Mi Router 4A Gigabit Edition OpenWrt Firmware

The Xiaomi Mi Router 4A Gigabit Edition is supported by OpenWrt on the ramips/mt7621 target. 2 firmware images are available from the official OpenWrt 25.12.5 stable release — download one below, or build a custom OpenWrt image for this device with your own package selection.

Build matrix

Supported firmware versions

DistributionVersionTargetProfile
OpenWrt25.12.5ramips/mt7621xiaomi_mi-router-4a-gigabit

Downloads

Download images

OpenWrt 25.12.5 · ramips/mt7621

ImageTypesha256
openwrt-25.12.5-ramips-mt7621-xiaomi_mi-router-4a-gigabit-initramfs-kernel.bin

Minimal kernel image, useful for first install or recovery.

kernel01f15cd32204
openwrt-25.12.5-ramips-mt7621-xiaomi_mi-router-4a-gigabit-squashfs-sysupgrade.bin

Not sure? Pick this if upgrading from OpenWrt.

sysupgrade9299c6c21b0b

Downloads are served by the official OpenWrt mirrors — unchanged upstream stable builds.

Packages & install

Default packages & installation

Default packages

Every image for the Xiaomi Mi Router 4A Gigabit Edition ships these packages by default. The customize option below lets you add or remove packages before the image is assembled.

Device packages (3)

kmod-mt7603 kmod-mt76x2 -uboot-envtools

Target default packages (29)

apk-mbedtls base-files ca-bundle dnsmasq dropbear firewall4 fstools kmod-crypto-hw-eip93 kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-mbedtls

Installation notes

  • Already running OpenWrt or ImmortalWrt: flash the sysupgrade image from LuCI (System → Backup / Flash Firmware) or with the sysupgrade command.
  • The kernel / initramfs image boots from RAM without writing to flash — useful for a first install or for recovering from a failed flash.
  • Verify your download against the published checksum before flashing:
    $ sha256sum openwrt-25.12.5-ramips-mt7621-xiaomi_mi-router-4a-gigabit-initramfs-kernel.bin
    01f15cd3220401ed00d23d8230aed94ec4d49dbdb98efd13a6123d58b237c375  openwrt-25.12.5-ramips-mt7621-xiaomi_mi-router-4a-gigabit-initramfs-kernel.bin

Build custom firmware

Need more than the default image for the Xiaomi Mi Router 4A Gigabit Edition? Pick your packages — LuCI apps, themes, VPN clients — set the basics, and get a ready-to-flash OpenWrt image assembled from official packages in minutes.

Customize firmware for this device