Trying to override openwrt version

Hi all,

Trying to wipe an older version and to bring a newer build. router model is xiaomi 4a. downloaded this version-
openwrt-23.05.0-ramips-mt7621-xiaomi_mi-router-4a-gigabit-squashfs-sysupgrade (1).bin

root@OpenWrt:/tmp# sysupgrade -n open_wrt.bin 
Device xiaomi,mir3g-v2 not supported by this image
Supported devices: xiaomi,mi-router-4a-gigabit - Image version mismatch: image 1.1, device 1.0. Please wipe config during upgrade (force required) or reinstall. Reason: Config cannot be migrated from swconfig to DSA
Image check failed.

Version info

root@OpenWrt:/etc# cat openwrt_version


root@OpenWrt:/etc# cat openwrt_release






DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r13499-7b4877c204'


What am I missing? Is this device bricked?

A -F, perhaps ?

Are you sure that the image is correct?
The device claims to be mir3g-v2...

1 Like

There was such a strange maintainer as adschm.
He changed names for all Xiaomi routers. He also removed extra spaces, hyphens, commas, etc. from all files.

And now the @sedoxa must flash factory images of the kernel and rootfs.


so if you really want to try, you could add force flag "-F | --force"

root@OpenWrt:/tmp# sysupgrade -n -F open_wrt.bin

1 Like

this worked fine. for educational purposes, how do I switch back to the xiaomi firmware to show my friend the installation process?