Xiaomi Mi Router 4A - R4AC New revision

Hello everyone, i got myself a xiaomi router, model is R4AC and the SKU is DVB4230GL on the motherboard the revision appears to be 1.2 and to have the serial port working i had to remove 2 resistors that actually pulled the uart lines to ground followed the procedures found on the other posts and i was able to upload an image over tftp named : openwrt-ramips-mt76x8-xiaomi_mir4a-100m-initramfs-kernel.bin it flashed without problems, after that i logged in in LuCi and upgraded the system with the: openwrt-ramips-mt76x8-xiaomi_mir4a-100m-squashfs-sysupgrade.bin but after flashing the device go into a bootloop and on the console i can read :

Booting image at bc260000 ...

Bad Magic Number,930F6EB0, try to reboot

If someone will join it would be awesome, thank you very much


That's the same R4AC sku as the two I have here. They come with international version of firmware which uses a different mtd layout (overlay has been doubled in size which moves where OS1 starts).

When you write from the ramfs image it will be writing halfway through overlay.

You need to compile with a matching mtd layout as what the supplied uboot is expecting,

See Xiaomi R4AC - Problems installing OpenWrt - #17 by markky
Xiaomi R4AC - Problems installing OpenWrt - #21 by markky

  • Mark

remove flash chip attached to programer flash this file http://fumacrom.com/cFKY and resolder the chip to your router and enjoy open wrt to your router dump file [http://fumacrom.com/cFKY] update file update
spi flash programer use . 100 percent :white_check_mark: