Just passing here to say thanks to @edeso and to confirm that his method worked for me (2GHz wifi and LAN only). Then upgrading to openwrt-22.03.3-ramips-mt76x8-xiaomi_mi-router-4a-100m-squashfs-sysupgrade.bin did the job :).
Note that it worked with a slightly different layout:
Nothing interesting in my reply. There is an new revision, and it requires 7663, 7615 etc. But there is no stuff at current snapshot (=
Building mage with custom dts and other stuff (.targetinfo, target/linux/ramips/image/mt76x8.mk, etc...) bring me error messages:
original post:
Found similar issue. Bought the R4A 100m router with international stock firmware (around december 2023). It has R4AC label on back side, After invasion found some strange thing with mtd layout:
mtd6: 00100000 00010000 “overlay”
and after flashing international firmware i've got a brick. Restoring via TFTP with international firmware gave no success. But R4A did.
After flashing last openwrt-ramips-mt76x8-xiaomi_mi-router-4a-100m-squashfs-sysupgrade.bin got successfully booted OpenWRT. But it without 5GHz wireless interface. Looks like there is some other revision on international R4AC with R4A flash layout.
I compiled the image about a week ago and my colleague @sergio-gimenez and i have been running it on 10 routers, all of them work perfectly. Thank you very much.
We had different layouts on different routers but the image still worked, here's another layout example:
actually, I have no idea how to cast users with review permission)
I hope that all valid PR will be merged at new release. Cause there is no other steps at special wiki page:
Fork the project to a public repo using GitHub web interface, clone the repo to your computer, create a branch for your changes, push these back to GitHub and submit a pull request.
So I have no an idea is there any other mechanisms to speedup this pull request)
I used this steps; You can clone repo with PR and checkout to billic:xiaomi-r4ac-100m-intl-v2 branch. Then you can follow main instruction and build own image)