I own Mi Router 4A Gigabit Edition the Chinese version (from AliExpress).
I tried to update the router via OTA but it bricked because i lost power mid update and I wasted countless hours trying to flash a firmware into the router using “MIWIFIRepairTool” from the official Xiaomi website and also tried TinyPXE and Bootp TFTP but non worked, I used “miwifi_r4a_all_cddf4_2.28.69.bin” and the older version “miwifi_r4a_firmware_72d65_2.28.62.bin” (both from official sources) but to no avail, I followed the instructions exactly.. turned off anti-virus, changed the IP to 192.168.31.100 and 192.168.1.2, connected the router to my pc via ethernet, pressed and held the reset button then connected the router to power till the router started flashing yellow and then used the tool.
The problem starts when the tool sends the firmware to the router, the router just flashes purple very fast (I heard that means the router didn’t accept the firmware because of U-boot)
Sadly the only thing happening when I power the router is solid yellow, I held the reset button for more than 10 seconds but nothing changes, no blue light, the only thing this router can do is flash yellow when I press and hold the reset button and plug in the power while holding the reset button.
Yes i did try the firmware, also the global firmware, the non-gigabit firmware, even R3G firmware.. the only difference is when i try 2.18.28.bin the router refuses the firmware instantly instead of a one second delay (solid yellow) compared to the newer versions
Maybe someone can still come up with something else. I tend to just flash the chip directly, so I do not have any knowledge of trying to recover Xiaomi firmware in any other way, though. If/when you decide to buy the tool, I can then help you repair the router's firmware with it, though.
First, you need to make sure your device version. The bin file 2.30.25 is for Xiaomi R4A v2 Gigabit Edition (R4AGv2) . That is a 2nd version because they updated their hardware. If yours is v1, you will need the earlier bin.