1.4.6_0012 is current firmware and it’s fine. just don’t update to something higher. you can’t downgrade firmware with ota. there is some way to fix it, but you need to open device and use uart.
Hi rezmus,
Could you please give the instruction to downgrade hub firmware through UART. I am ready to try.
Hi, I also upgraded the firmware to v1.4.7_0063 before reading this forum…
all you do is on your own risk read post #92 and #108 of this thread. you have to solder uart and break boot process with micro switch, so gateway goes into bootloader. once you are in bootloader i will tell you what to do next to make it boot from the 2nd slot which keeps previous firmware.
edit: don’t enable rootfs check, because it won’t help you. just go into bootloader. we need to change boot_info partition to make it boot from the other slot.
Hey AlexxIT,
did you already find a solution to control yeelight mesh lights with this Multinote Gateway?
It would be perfect
Hi, I have a ZNDMWG03LM gateway and firmware v1.4.6_0043. After adding HACS to HA I can add a gate (according to AlexxIT instructions) But unfortunately the gate does not show me the temperature and the sockets connected to it.
When adding the gate to the HA, the socket and sensors are visible.
Can I count on your help?
Thank you
you probably have global ZNDMWG02LM
I’m sorry I actually have ZNDMWG02LM in the application on the Xiaomi Home phone is identified as lumi.gateway.mgl03. Will this gate work with HA?
Thank you for your help
not without device opening and uart adapter. i will write more when i have device myself.
I understand, I will wait for the problem to be solved.
Thank you for your help
I tried to connect via uart and did not receive any messages in the terminal for any combination of rx / tx, and no messages when pressing the switches. After that I turned on the gateway as usual and it looks like my gateway is dead. maybe it was just a coincidence. When power is on, orange led will light up, then purple led light and that’s all, it does not react to pressing the reset button ( >10 seconds).
It looks like it’s easier to buy a new gateway than flashing
try 10x click. i had solid orange, then blinking blue once, but it went away. sure atm best way is to buy new cn hub (pretty cheap), but soon we can expect factory firmware 1.4.7_XXXX.
It seems that I’m very close to finally get the white round brick despite of help of great people of this tread…
Soldered UART, seen endless rebooting, clicked TP16 to TP13, and here is a map of my partitions after oot_sum_check on and reboot:
Realtek RTL8197F boot code at 2019.11.25-17:17+0800 v3.4T-pre2.1 (993MHz)
-- version: 1.0.2.005 --
Info: Load boot_info success!
=== bootloader for mijia_gw ===
boot_info: ver:0
kernel: newest:0, curr:0
rootfs: newest:0, curr:0
**kernel[0]: sum:0x0000, size:0, fail:0**
** [1]: sum:0x0000, size:0, fail:0**
**rootfs[0]: sum:0x0000, size:0, fail:0**
** [1]: sum:0x0000, size:0, fail:0**
root_sum_check: off
watchdog_time: 0
boot_version: 1.0.2.005
priv mode
**Info: kernel 0 is invalid**
**Info: kernel 1 is invalid**
Warn: all kernels are invalid !
---Ethernet init Okay!
03LM is not restarting endlessly any more; root_sum_check on|off worked once, but not changing anything else any more - after restart I always get the same set of empty partitions
Do you think there is a way to push an external backup of kernel or rootfs partitions via UART?
Maybe any other chance to unbrick?
Any ideas?
how did you break it in first place? your boot_info partition if wiped. you have to fix it from bootloader. do you remember which firmware you had before it became all 00? maybe older uart log.
I’ve followed instructions from @ serrj-sv (Xiaomi Mijia Smart Multi-Mode Gateway (ZNDMWG03LM) support), uploaded mtd0-10 partitions to my compter, did all sqash/unsquash things (so I have all partitions saved… outside of the white brick) and it seems like something gone wrong when I either uploaded an updated image to 03LM or when I put the partition back to its place. Most probably the second.
Yes, you’re right, it woudl be great to fix the boot-info and/or other partitions, but I don’t see how to do it. “Help” topics shows that there are operations to work with NVRAM, but no hints how to use them.
I don’t remember, which version of FW I had… Probably it isn’t important - if there is a way to pass saved files to the device - it will be restored.
Well, I was able to get the data by uart. TP14 is TX, TP4 is RX.
I understood why I had an empty terminal. For the text to appear, you had to send something, for example ‘?’. For this I used the serial monitor built into the Arduino ide (34800 with NL).
I have equal condition
ready for any manipulations and experiments, soon 11.11 and I’m going to buy a new one
show you uart log. do you have purged boot_info as well? show backup of your mtd1 that you made before (if you did).
log https://pastebin.com/VRPEmpF5
I have no backups, i think, the gateway died during attempts to close contacts TP5-12 / TP 16-13. Perhaps, trying to get at least some output in uart, I pressed them in a deadly combination