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


somehow i was unable to connect my mir4a to internet. no matter what i configured :frowning:

It's difficult to troubleshoot these things with little infomation but I would suggest you look at how your firewall and interfaces are setup. I would start by disabling your firewall (very temporarily) to see if it is causing your conectivity issues and work from there.

1 Like

I dont know if there's anything specific to our routers but general bug fixes within OpenWrt:
https://openwrt.org/releases/19.07/notes-19.07.3
Seem's very stable to me so far and upgrade was painless.

1 Like

@hoddy @Zorro Is it safe to flash via Luci's interface or should i use the scripts to flash the image?

1 Like

@hoddy does it come with kernel 5 already? can you use vlans?

I used Luci and found no problems at all, even kept config perfectly.

2 Likes

Kernal Version 4.14.180 and yes VLANs are setable, i did change the theme but:

1 Like

yes, it's almost stock.but you can try to install the packages you need with this build ...


3 Likes

Hi @Zorro. Can you make a guide on how to compile 19.07.3 for our device? I've successfully compiled and flashed snapshot but was having issues with non intel wifi cards connecting to 2.4ghz. I want to compile my own image so I can add tweaks if I need. Thanks.

Hi is everybody experiencing this or is it only me?

I cannot download 4A 100m and 4A Gigabit stock firmwares [chinese]

There's a copy of the stock chinese firmware (for 4A gigabit only) at the openWRTInvsaion Repo. Find it in firmware.

2 Likes

With a recent OpenWRT build my VLAN tagging seems to be completely broken. I had to reconfigure my access points due to DSA, but it works extremely unreliable

Usually I have lan1.20 to MyWifi and lan1.30 to GuestWifi. lan2 is untagged and is bridged with lan1.20.

With the old swconfig everything worked perfectly and now it doesn't work at all.

Do they actually want to ship something this broken with the next major OpenWRT release? How can I get rid of DSA?

Edit: Don't get me wrong. I'm pissed at myself, that it took me several hours to figure out, why my whole network started to act up. If there is any way to get DSA working, I'd prefer that.

Edit2: My problems seem to be related to this: https://github.com/openwrt/openwrt/pull/2942

I also need 4A 100m as it got bricked. I need to recover using stock firmware.

I hope somebody will share the MIR4A 100m stock firmware in the openwrtinvasion page.

Or better yet, I hope someone starts a new thread

Xiaomi Mi Router 4A 100M (MIR4A) Fully supported and flashable with openWRTinvasion

Is this a Snapshot build or on Linux 5+? Yeah. There are a lot of things they are fixing on that build. Luckily 19.07.3 stable is on Kernel 4.14 can be compiled for our device. Just finished compiling as I type.

Looks like all of firmware links are down (not just for your router) hopefully they will sort the issue.

1 Like

I compiled it myself from Git master. Yes it's kernel 5.4.42

How did you compile 19.07.3? On openwrt-19.07 branch I can't select the Mi Router 4A Gigabit Edition in make menuconfig

Thanks for the confirmation.

git checkout the 19.07.3 branch and then build from there the same way.

1 Like

Okay, I must have missed something...

On 'master' branch I can select 'Xiaomi Mi Router 4A Gigabit Edition' in menuconfig. But master has broken DSA.

There is no '19.07.3' branch or at least I don't see one

There is an 'openwrt-19.07' branch where I cannot select 'Xiaomi Mi Router 4A Gigabit Edition'
And there is the 'v19.07.3' tag, where I cannot select 'Xiaomi Mi Router 4A Gigabit Edition' either

Soo... What am I missing here?

Ah that means that the 4AG hasn't been back ported to stable branch and is only supported on master, that's why it doesn't appear.

You could cherry-pick the commit that gave it OpenWrt support in master to stable 19.7 branch.