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

@zandatsu07 Well, I never used nft-qos so you're warned... :slight_smile:

Made an updated build, more "generic" without so many built-in stuff, but with lots of extra more packages built along with it (nft-qos is one of them, but I went nuts this time selecting many others as "M" when preparing the config; fortunately on a decent gaming PC it only took about 20 to 30 minutes to compile with make -j16 on Fedora 32).

I release it all as a single ZIP file (fortunately it doesn't take much more space):

Base sysimage file has Luci (luci-mod-admin-full collection), openvpn, wireguard, wol and ddns, besides the defaults, so compared to other builds, it is a bit smaller. Another difference is that I tried to match as much as possible with the defconfig, to try to improve compatibility. But no promises it will be more or less compatible with all official OpenWRT packages.

I didn't test this build, so anyone before trying it please really ensure you can debrick your device in case anything goes wrong.

Hope this is useful :wink:

5 Likes

@araujorm High fives your significant effort here...
I'm going to apply to main device now and feedback any observations over time...

1 Like

Device has not bricked so positive so far...

thanks very much

Trying to keep up on all the messages I saw that you were trying to download the system squashfs image from GitHub with curl GitHub... --output firmware.bin But just as a quick note when downloading things with curl always append a -L so that curl follows redirects. Without that your download will most likely fail. Also make sure that the time and day's right! If not the certificate of GitHub.com might not be valid (yet). :wink:

3 Likes

Anyone else having constant PPPoE disconnects with latest snapshots?

Every 2 minutes....

@araujorm i already installing your new release firmware, but when i want to change override MAC address, and old MAC address still exist... can,t change.... thanks for your attention

@junkieadi sorry not really sure why, maybe the hardware does not support it? or it's not implemented in 19.07? my build is just a small fork of 19.07.04 so it's not something I can fix, maybe try on more generic topics on the forum if no one here in this thread knows... or try a snapshot build...

1 Like

i got this!!

work for me....

1 Like

anyone guys having issues with R4A 100M for having a memory issue, if I left it running for around 10-12days, the router will just crash on its own with Luci telling Out of Ram if you try to open it on your web browser.

I think with 19.07.4 the RAM issue is mitigated (well kind of) at least, but still getting below that 5MB Free RAM but the services doesnt crash anymore so I can access luci and such after 10+days, but with one major issue, there's this "NETDEV WATCHDOG: eth0 (mtk_soc_eth)" issue making the router to hangup for a few seconds and kill the 2.4ghz wifi (will recover on its own if you give it some time) and this happens a couple times in a single day.

im only using R4A 100M as a Access Point, no extra things, but it seems its plagued with issue using OpenWRT. So either you choose 19.07.3 and just put a cronjob for scheduled reboot due to RAM issue or deal with 19.07.4 plagues with NETDEV WATCHDOG issue popping up all the time.

Does the following help?

im not really sure about it, can you link me for the firmware so I can try it out?

--force-depends is a bit of a nasty hack basically your ignoring all errors generated because your installing software that was designed for a different kernel version. I often suggest it for getting luci on openwrt for those who need a quick simple solution and I know it generally works but defiantly won't work for all software, and i normally recommend to people to then sysupgrade to a firmware with luci included (using luci) after for stability. Just to explain why you may have seen me suggest this in the past on here.

If your getting kernel errors when trying to install you should try a more current snapshot or build your own with the software you need included.

@zandatsu07 ...or if you plan to use a snapshot rather than custom build, then install all the packages you require on the same day the snapshot was released as this should avoid depedency mismatches. Remember to use "opkg update" prior to installing the packages.

1 Like

Why don't you just edit a backup image ,so the mac adresses are what you want them to be?

Flash it back and then OpenWrt will use these instead.
To be exact,they are in the Factory partition..

It shouldn't be needed. When he asked I thought he had already tried to do it using the official built in way, which is to use LuCI or edit the options files (he later stated he edited the option file and it worked). For the record, this should suffice, by editing the interface in LuCI and going to the advanced options:

If this way it doesn't work, then a bug in OpenWRT should be filled, since my build is based on the stable version and it is supposed to work.

1 Like

Yes,but i thought he wanted the mac address change to be permanent.

That's why i mentioned the editing of the backup file.

It's even possible to do it in OpenWrt itself,just needs the mtd-rw kernel module installed.

Hello.
What is the current level of performance of Last OpenWRT version? (i mean in the term of WAN speed, Wi-Fi speed, it is working on gigabit speed, as i have a full 1 GBPS band).
I owned currently version 4A Gigabit on the latest firmware version 3.0.24, can i install latest version with acecilia exploit?
Thanks!

I put the question, I give the response.
Tried today last @araujorm build but it's really a pain, WAN speed limited to about 550-600 Mbps (stock was 920-930 Mbps), 5 GHz Wi-Fi not even started.
Sorry, but returned to stock 3.0.24, there's more work needed to make a better version.
LE: no offense, I appreciate hard work needed to make a stable version, but, from what I can see, now it something like an "alpha" stage.