Xiaomi Mijia Smart Multi-Mode Gateway (ZNDMWG03LM) support

Hi, I don’t have access to device right now, so I’ll try to guide you by memory.

You need to assemble 2 micro switch buttons:

  1. between TP5 and GND (TP12 for example)
  2. between TP16 and GND (TP13 for example)

Switch [1] will reboot device every time you press it.
Switch [2] will interrupt communication between flash chip and CPU

Connect console cable, reboot device. Inspect boot messages, make yourself familiar with boot process. Most probably your device is rebooting constantly.

At some point you should see message like “checking kernel 1” or something like that. Immediately, once you see this message start clicking repeatedly button [2]. check will fail and it will start “checking kernel 2”: continue clicking. When it fails second time boot process will be interrupted and you will see bootloader prompt. From there you need to ENABLE rootfs check (I don’t remember exact command, just check all commands with “?” or “help”). After this - reboot and gateway should boot now, but you are not done yet.
You booted from backup rootfs, now you need to flash backup of original rootfs to gateway. When done, try to reboot and make sure you booted from primary rootfs. When ready - disable rootfs check using “boot_ctrl” command.

1 Like