Xiaomi MiWIFI Mesh Router (D01) support


1 Like
1 Like

Good work.

Why not squashing everything between kernel1 and cfg_bak into a big single writeable ubi partition?

Or implement real dual partition layout with added u-boot env support.
u-boot env support has to be added here:

You should add a install description to the commit message and some details about how specs.

at this moment ive kept stock as a backup system, it can be easy switched modifying one ubootenv var
imo 40Mb (23Mb free) is enuff space to start with

1 Like

@stas2z could you please explain a bit how you managed to flash OpenWRT? Maybe is helpful for the MIRouter 4A, which at the time has no easy way for flashing (Xiaomi Mi Router 4A Gigabit Edition (R4AG/R4A Gigabit): fully supported but requires overwriting SPI flash with programmer) :slight_smile:

ive already answered similar question here

Nice. Yes, agree, the firmwares do not include telnet/ssh. I managed to get a shell on the Xiaomi 4A by using netcat: https://security.stackexchange.com/questions/53345/can-pipe-shell-nc-pipe-achieve-remote-shell

sure, netcat is a nice solution, ive used netcat when i tried to upload standalone busybox binary to it
but to use netcat you need to get access to the shell anyway

1 Like

Where did you find a stand-alone busybox?

I assume he built a static busybox with the sdk.

Or from here: https://www.busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/

1 Like