Xiaomi Mi Router 4A Gigabit Edition (R4AG/R4A Gigabit) -- fully supported and flashable with OpenWRTInvasion

Hello everyone

Hope you all are safe in this craziness

right of the bat im letting you know Im an amateur in this area. so i wanted to buy the 4a gigabit version to and use openwrt(some one recomended it) to be able to use openvpn and wireguard on router. is it possible ? will you recommend it ? can i install it myself or i need extra hardware ? ive read that it may brick your router will it be ok later ?

Thanks Alot

Hi
it's not that straight forward

yes this is a router with good hardware and decent price that can do most of what you want with openwrt but at the moment there is a problem with the snapshot builds so you're going to have to use older builds that don't have openvpn built in and you won't be able to install it

as your second question it's not hard at all and you don't need to get into hardware but you do need some basic understanding of command lines and network setting

2 Likes

yes , you can install openwrt by using dear @acecilia method . thanks to him alot. you don't need any extra hardware.but latest openwrt snapshot will brick your router it is under development by openwrt team and has a new kernel.

for more information please go to below link :

2 Likes

Thanks alot. both of you for replying back.

Im assuming snap shot is the build you have to use on the routher right ?

So if the latest build brick the device , will it gonna be fixed anytime soon or its gonna stay the same ? how much often they update the build ? like every week ? month ?

and most important question does WireGuard and openvpn both works smoothly on it ?

between 4a and RB941-2nd-tc HAP Lite which one do you recommend ? my only need is sharing those 2 protocol vpn

DID somebody manage to install any VPN solution(in particular OpenVPN package) ? i get an error with cannot install due to wrong kernel version

1 Like

See my answer here:

As this router has SNAPSHOT release only, you need to build a new image which contains your favourite packages.
You could also use the Image Builder, if you don't like building from source.

1 Like

Does someone have the ability to make a dump?
Thanks.

Got problem same as you. try a lot. finaly change to run on Debian. Work.!

2 Likes

I'm trying to unbrick my mi 3gv2 due to the snapshot issue. But I can't find the original stock rom, anyone knows about it?

here you go :
http://bigota.miwifi.com/xiaoqiang/rom/r4a/miwifi_r4a_firmware_72d65_2.28.62.bin
chinese stock rom

also for unbricking your router please go to the link below:

It's working again!!! Perfect!!! Thankyou very much. I had tried everything...

Thank you! I tried Raspbian instead of Windows and it worked!

1 Like

I uploaded a bunch some time ago:

I hope this could help you :wink:

1 Like

but which one is for mi4a giga version with global rom?thank you.

How many LED have R3Gv2? I'm trying do disable LEDs, and there are only status and 2 mt76-phy LEDs. Status works well, but where is WAN led?

Hi,

I've tried several times to upload openwrt snapshot but the router (M4A) allways bricks. I've used several firmwares (included the ones sugested by ZORRO) This is what I've done last time:

root@XiaoQiang:/tmp# curl http://www.mediafire.com/file/0qetz7rm8n9hr04/openwrt-ramips-mt7621-xiaomi_mi
r3g-v2-squashfs-sysupgrade.bin/file --output firmware.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  288k    0  288k    0     0   682k      0 --:--:-- --:--:-- --:--:--  715k
root@XiaoQiang:/tmp# ./busybox sha256sum firmware.bin
d17b7ddfcbf4e8cb7adf5cf12d0ccbb988a6b9745734e6e09e5f25b45f071261  firmware.bin
root@XiaoQiang:/tmp# mtd -e OS1 -r write firmware.bin OS1
Unlocking OS1 ...
Erasing OS1 ...

Writing from firmware.bin to OS1 ...     
Rebooting ...

The router is like trying to reboot repeatedly... and the ethernet link of the computer going on and off. Any suggestions? Am I doing something wrong?

Thanks.

1 Like

This is the reason why you did not open the tftp server on the windows system. The control panel --- program --- start or close the windows function-TFTP check, enter cmd, enter tftp, it's ok

you give it wrong download link to the firmware file ...you should give it direct link to firmware file ...

for example :

wget http://download948.mediafire.com/15zm7k2uf4kg/0qetz7rm8n9hr04/openwrt-ramips-mt7621-xiaomi_mir3g-v2-squashfs-sysupgrade.bin

1 Like

That rom doesn't seem to work for my R3Gv2, I have managed to send the test.bin file that it's requesting but it doesn't seem to be flashing it and I think it's because I'm not sending the right rom, I also tried with the OpenWrt snapshot and the R3Gv1 stock rom but none of them seem to work.
Do you know where can I find the original stock rom for the R3Gv2?

this is chinese rom for mi4a gigabit and tested by me and others it's 100% working ..if you are looking for english firmware you can't find it anywhere .

maybe you did something wrong try again and also turn off your windows firewall.

2 Likes