I don’t know, I don’t have the device myself so can’t test, but let’s hear from others on this thread what their findings are.
Regarding your nand chip, it will require a bunch of patches to read 5 bytes IDs, enable OTP support, and >10 patches in between..
Then we still have the issue of the qpic-spi-snand driver which only supports 4 and 8-bits ECC.
I’ve taken a look at U-boot, they’re simply ‘faking’ it to be a 4-bits ECC chip in source.
No, that device has a chip from the ipq8074 family and the nand controller is different with a different driver which does support that chip. The one in ipq5018 and ipq9574 is relatively new and its driver was only recently upstreamed and will need to mature..
Same, RA72.
root@XiaoQiang:~# dmesg | grep nand
[ 1.835386] QPIC controller support serial nand.
[ 1.840723] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0x11
[ 1.845199] nand: GigaDevice F50D1G41LB(2M) SPI NAND 1G 1.8V
[ 1.851573] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.857553] 22 ofpart partitions found on MTD device qcom_nand.0
[ 1.864600] Creating 22 MTD partitions on "qcom_nand.0":
From the sticker:
xiaomi-router-ra72_miap4b2c
CMIIT ID:2020AP14455
SN: 30322/F0ZM57132
CCC
root@OpenWrt:~# dmesg | grep nand
[ 0.998344] spi-nand spi0.0: unknown raw ID c8117f7f00
[ 0.998409] spi-nand: probe of spi0.0 failed with error -524
Still have the "initramfs" message within the web interface,
RA72, CMIIT ID:2020AP14455.
CQC
SN:30322/F0ZR1XXXX from the sticker
will check back tomorrow, need to sleep.
msacco
May 13, 2025, 11:23am
404
This is mine, not sure what that should say though? Are there models that are different?
Thanks.
I managed to upload the file to filebin
dmesg_sysupgrade.txt
Filebin | 9yfmq83fbcmuvut6
this looks good. It looks like you flashed it, correct? (after loading the initramfs image)
if so, can you confirm whether the steps documented in this post are correct?
I'm preparing to submit a PR, but since I don't own the device, can you validate these flash instructions?
Flash instructions:
Download XMIR Patcher: https://github.com/openwrt-xiaomi/xmir-patcher
First flash a ubinized OpenWrt initramfs that will serve as the intermediate step, since
OpenWrt uses unified rootfs in order to fully utilize NAND and provide enough space for
packages, through either of the below two methods:
Installation via XMIR Patcher:
1. Load the initramfs image: openwrt-qu…
1 Like
Only the last command is wrong, it is missing an "r"
sysupgade is correct sysupgrade
2 Likes
And the xmir patcher, perhaps you can elaborate on the commands so I can add it to the commit message?
This is mine, xmir patcher wrongly the factory then sysupgrade bins, the interface works, but in initramfs. Any way to flash stock firmware back ? Not my main router just checking.
The xmir-patcher options are:
If you need to change the router's IP.
To enable SSH
To read the router's information.
Use MiWIFI Repair Tool
Process identical to AX3600
[OpenWrt Wiki] Xiaomi Mi AIoT Router AX3600
Does this mean I won the lottery?
msacco
May 13, 2025, 3:27pm
414
Thanks for the reply, no I haven't checked anything. This is currently my main and only router, and I do not wish to brick it somehow.
What is the command to check the chip I have?
Edit:
dmesg | grep -i nand
[ 0.211313] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.912454] QPIC controller support serial nand.
[ 1.917738] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0x11
[ 1.922310] nand: GigaDevice F50D1G41LB(2M) SPI NAND 1G 1.8V
[ 1.928626] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.934642] 22 ofpart partitions found on MTD device qcom_nand.0
[ 1.941667] Creating 22 MTD partitions on "qcom_nand.0":
Is that a gg? :x
msacco
May 13, 2025, 6:17pm
417
FML
Been waiting for years for it to be supported, and when it's close mine is not supported.
Sorry didn't went though all the messages, is it possible that it could be working in the future? Or no way?
And thanks for all the work and testing done here.
It will require some work but I don’t see why it can’t be supported
2 Likes
msacco
May 13, 2025, 6:33pm
419
Means there's still some hope left