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

I suggest you to build your own firmware using snapshot,the opkg there is working fine for me and i can install package with no probs

Thank you for the reply.

As far as i can see, people can install packages and reach Luci interface without any problem with @araujorm's firmware. I was asking the question according to that.

The firmware i'm using right now is my own build and i think it's not worth all of the efforts (Installing Ubuntu, downloading packages, compiling etc.) for just a few bytes. I'm talking about just for my purposes ofcourse.

It's more convenient for me to use prebuild firmware.

Hi.

Using Luci doesn't work correctly, because that way it doesn't use my repo as override. Connect via SSH, do a opkg update and opkg install from there.

But my build is outdated, and I'm not maintaining it at the moment. If anything isn't working, try using the ones from @db260179 as he provides the image builder with everything you should need.

Snapshots will change on a daily basis, so today updates will work, tomorrow they wont without flashing the sysupgrade image again. This snapshots are only for development testing, not for daily usage.

I'm aware of your build is being outdated but it's newer than i'm using right now (19.07.3). With the build i use, everything works without a problem except WiFi. WiFi performance and speeds are not stable. I just wanted to take advantage of the fixes for MT76 drivers. That was my goal.

I think it's better to wait for 20.xx in my case.

Thank you again for your answers @araujorm @db260179. Cheers.

Anyone have any idea why I lose connectivity to lan devices that are connected via wifi?
It happens after about 12 hours and only rebooting the rooter fixes the issue for me.

I've seen it mentioned in several threads with no real solutions. changing GTK delay didn't help.

Try using the setting "Disable Inactivity Polling" within the advanced settings of the WiFi config.

1 Like

@araujorm Hi Bro.

When will your new version ?

@ooemir probably won't make one, at least any time soon... @db260179 builds are the way to go if you want to keep updated.

But I do not want to change an adapter. I use it out of the box.

I managed to get the chinese firmware loaded today.

Notable differences in rom layout.

miwifi_r4ac_firmware_2c4a7_3.0.5_INT.bin
dev: size erasesize name
mtd0: 01000000 00010000 "ALL"
mtd1: 00020000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00010000 00010000 "crash"
mtd5: 00010000 00010000 "cfg_bak"
mtd6: 00200000 00010000 "overlay"
mtd7: 00da0000 00010000 "OS1"
mtd8: 00c40000 00010000 "rootfs"

miwifi_r4ac_firmware_e9eec_2.18.58.bin
dev: size erasesize name
mtd0: 01000000 00010000 "ALL"
mtd1: 00020000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00010000 00010000 "crash"
mtd5: 00010000 00010000 "cfg_bak"
mtd6: 00100000 00010000 "overlay"
mtd7: 00c60000 00010000 "OS1"
mtd8: 00b00000 00010000 "rootfs"
mtd9: 00240000 00010000 "disk"

  • Mark

Hi all.
Is there anyway to run zapret on this router? Which is an anti-censorship utility designed to bypass the DPI systems by the way.

Normally it should work on openwrt but the flash size of this device does not enough for git clone process. However it's working fine on ram (/tmp). But you know... It's on RAM ¯\ _ (ツ)_ /¯

So can anyone make it smaller for this device? I mean a debloated fork especially for this cpu's architect.

Thank you. Have a nice day!
ulpian

1 Like

Hi all,
one week ago I decided to install openwrt on my mi4a gigabit edition (eu firmware). I used OpenWRTInvasion and all was fine.
But the firmware used with that guid is without GUI, so I tried first to install gui via packet-manager but, I don't remember, It was an error. Then I tried to upgrade system packages and the router went in stuck.

Now I'm trying to restore to original firmware but the blue led is blinking since 1 hour and nothing happens. Could you help me to understand how to move on?

Thank you very much! Have a great day.
F

Use @hoddy recovery guide via TFTP boot.

1 Like

If you using hoddy's guide make sure to "Allow" the Dialog Box pops up(I think that's Windows Security Alert) if you didn't Allow that thing the flashing will not progress....you'll notice there's a "B:O:T:0" in the logs while flashing if you saw that in your logs it's successful and wait the process to finish

Anybody know where I can get r4ac_firmware_e9eec_2.18.58.bin? Dowloads at miwifi.com have access denied issues.

Can someone help with this error? Why I can not install any program?

root@OpenWrt:~# opkg install relayd
Installing relayd (2020-04-25-f4d759be-1) to root...
Collected errors:
 * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg relayd needs 9
 * opkg_install_cmd: Cannot install package relayd.

root@OpenWrt:~# mount

rootfs on / type rootfs (rw)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
> root@OpenWrt:~# df -h
> Filesystem                Size      Used Available Use% Mounted on
> tmpfs                    60.4M      1.0M     59.4M   2% /tmp
> tmpfs                   512.0K         0    512.0K   0% /dev
have 0kb available on filesystem

Hi guys,
When will stable version be released?

1 Like

you can track the progress here. other than that, no one really knows.

edit: another thing that is not clear, is if those of us using araujorm's builds will be able to simply upgrade to the official builds. there might be a more complicated procedure than a simple upgrade using luci

1 Like