Notice: These modified firmwares work on CN version. They are different models. Please do not flash to models, like M2 HM2-G01. Notice: Aqara was not allow downgrade zigbee firmware from 0605 to 05XX officially!
The repository includes the following feature.
raw firmware
If using dd or bootloader to flash, need to use raw file with padded (boundary 0x20000).
modified firmware
a. The modified firmwares was enabled tty rx and telnetd.
b. Can use fw_update to update.
original firmware
fw_update linux.bin
run_ble_dfu.sh /dev/ttyS1 full_125.gbl 125 1
zigbee_msnger zgb_ota /tmp/ota_dir/ControlBridge.bin
tools
The aqaragateway tool can help user to flash firmware by xmodem. The UART TTL need to wired out and connected with PC. While wired out the UART of M1S, please use power board to provide 3.3V and 5V. Otherwise Gateway M1S will not work probably. Notice: Do not use the 3.3V from USBtoUART.
If flash finish successfully, it will display 'Programming filename.bin_raw Done!'
The gw_global_tool.ttl can help user to clear the password of admin in the gateway via UART. Please see the how-to