I made a convenient tool for installing
factory images or for revert to
This package facinstall_1-0_all.ipk can be installed on any version of OpenWrt (but not lower than v21).
asus,rt-ax59u asus,tuf-ax4200 asus,tuf-ax6000 xiaomi,mi-router-3-pro xiaomi,mi-router-3g xiaomi,mi-router-4 xiaomi,mi-router-ac2100 xiaomi,redmi-router-ac2100 xiaomi,r3d xiaomi,redmi-router-ax6s
Screenshot after check Xiaomi stock image: