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

Cherry picking alone wont work. There were a lot of changes with syntax during the past months. I've tried to manually inspect and merge changes while I get no compilation errors, I'm unable to boot the device so I had to resort to Win PXE to reflash stock ROM. Hopefully those who were able to compile upload their repo for us to compile too. :slightly_smiling_face:

1 Like

It turns out I think we have been geo-blocked! I had to use a Chinese proxy to download the stock firmware for the 4A 100M and I've re-uploaded it here:
https://anonfile.com/z2ida431o4/miwifi_r4ac_firmware_e9eec_2.18.58_bin

2 Likes

Hello,

I have telnet access thanks to this video: https://www.youtube.com/watch?v=VxzEvdDWU_s

The problems is that I can not download the openwrt firmware from anonfile, someone could upload to an other repository?

Thanks for your help.

1 Like

The download link doesn't work anymore. Would you be so kind to upload 19.07.3 again, please.

1 Like

Hello,

I installed this firmware: https://github.com/acecilia/OpenWRTInvasion/tree/master/firmwares/OpenWrt

The problem is that it has no LuCI, and when I try to install I have this:

# opkg install luci
Installing luci (git-20.145.56006-f6f4005) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci_git-20.145.56006-f6f4005_all.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      kernel (= 5.4.42-1-dbf4f203d2a50343b47363720878f043)
 * opkg_install_cmd: Cannot install package luci.

Is there any other OpenWRT image with LuCI?

Best regards.

Uploaded to my firefox account for 7 days
mir3g-v2_owrt_19.07.3

1 Like

Mirror link for mir3g-v2_owrt_19.07.3.zip :

https://gofile.io/d/f27XXB

4 Likes

MIR4A arrived today :grinning: - hence my first post as this device is not supported for such a long time yet and I don't want to brick it on first flash...
@Zorro/galotzas Can I just build my own image using imagebuilder from here: https://downloads.openwrt.org/releases/19.07.3/targets/ramips/mt7621/ to reproduce this image?
Did you make any adjustments?

THX 2 @Zorro !

  1. Sysupgrade from 19.07.2 to 19.07.3 is flawless. Main Settings remain as is. Theme is changed back to Bootstrap should you use another one but re-download it and thats it.
  2. IPerf3' #ing:
    [ ID][Role] Interval Transfer Bitrate
    [ 5][RX-S] 0.00-30.04 sec 1.16 GBytes 332 Mbits/sec receiver
    [ 8][TX-S] 0.00-30.04 sec 153 MBytes 42.6 Mbits/sec sender
    looks similar to here.
  3. :+1:
1 Like

Plenty, try the link Zorro just posted:

Did you click the anonfile link the right click on the "download" button to get an actual link to download with?

1 Like

Hi i have the chinese version (not the global) of the mi 4A gigabit edition.
I have problems to flash the zip files, ive tried https://anonfile.com/D7Y5V21fo9/mir3g-v2_owrt_19.07.3_zip several times,
curl command (i have directly renamed it to "firmware.bin")is ok and its downloaded to /tmp directory, then i do: "mtd -e OS1 -r write firmware.bin OS1" but then it always end in a bricked box (orange led flashing for about 30min)

use this instead.
https://gofile.io/d/c4sJlN
Actual link to download should be like (https://srv-file9.gofile.io/download/c4sJlN/openwrt-19.07.3-ramips-mt7621-xiaomi_mir3g-v2-squashfs-sysupgrade.bin)

openwrt-19.07.3-ramips-mt7621-xiaomi_mir3g-v2-squashfs-sysupgrade.bin

sha256 checksum:139100b4bd18876b5d2fa688e17d84fcbcebaba416be9a60ed6996e1417a793d

root@XiaoQiang:/tmp# curl https://srv-file9.gofile.io/download/c4sJlN/openwrt-1
9.07.3-ramips-mt7621-xiaomi_mir3g-v2-squashfs-sysupgrade.bin
curl: (35) ssl_handshake returned - PolarSSL: (-0x7780) SSL - A fatal alert message was received from our peer

this is what i got (rightclicked "download" button and copied it)

what about wget?

wget https://srv-file9.gofile.io/download/c4sJlN/openwrt-19.07.3-ramips-mt7621-xiaomi_mir3g-v2-squashfs-sysupgrade.bin

if it didn't work here is another link:
https://anonfiles.com/Pez3e63ao0/openwrt-19.07.3-ramips-mt7621-xiaomi_mir3g-v2-squashfs-sysupgrade_bin

1 Like

2nd Link worked for me thank you

1 Like

Thanks!

The file in the firefox share works great.

When will this router goes to stable OpenWRT official build?

Best regards.

I'm glad the file helped you. As for when it will become stable, we hope for the next major release

1 Like

@Zorro any chance I can rebuild this with imagebuilder? I would like to include some custom packages e.g.
openwisp_config and files

hello ,
my 4a currently run 28.62 (chinese version) and i'm trying to get root access by using invasion script.

i'm already tried with legacy and v02( router must have internet ) but still failed.
-- already installed pycrypto and python well executed

any clue ?
Thanks