From 84c1c7133c609ef446a00bcfeb8dcb0f1a108bbd Mon Sep 17 00:00:00 2001 From: niceboy Date: Tue, 1 Jun 2021 02:55:44 +0000 Subject: [PATCH] Update firmware links. --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b95c76d..cde41a3 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ Then restart gateway by reboot command. cd /tmp wget -O /tmp/curl "http://master.dl.sourceforge.net/project/mgl03/bin/curl?viasf=1" chmod a+x /tmp/curl -/tmp/curl -s -k -L -o /tmp/linux.bin https://raw.githubusercontent.com/niceboygithub/AqaraM1SM2fw/main/original/M1S/3.2.4_0014.0520/linux_3.2.4_0014.0520.bin +/tmp/curl -s -k -L -o /tmp/linux.bin https://github.com/niceboygithub/AqaraM1SM2fw/blob/main/modified/M1S/3.2.4_0014.0520_mi_fw_ver_3.1.3_0011/rootfs_3.2.4_0014.0520_mi_fw_ver_3.1.3_0011_modification.bin fw_update /tmp/linux.bin -/tmp/curl -s -k -L -o /tmp/rootfs.bin https://raw.githubusercontent.com/niceboygithub/AqaraM1SM2fw/main/modified/M1S/3.2.4_0014.0520/rootfs_3.2.4_0014.0520_modified.bin +/tmp/curl -s -k -L -o /tmp/rootfs.bin https://github.com/niceboygithub/AqaraM1SM2fw/blob/main/modified/M1S/3.2.4_0014.0520_mi_fw_ver_3.1.3_0011/rootfs_3.2.4_0014.0520_mi_fw_ver_3.1.3_0011_modification.bin fw_update /tmp/rootfs.bin ``` Then restart gateway by reboot command. @@ -54,6 +54,18 @@ fw_update /tmp/rootfs.bin ``` Then restart gateway by reboot command. +## Flash H1 Custom firmware method +```shell +cd /tmp +wget -O /tmp/curl "http://master.dl.sourceforge.net/project/mgl03/bin/curl?viasf=1" +chmod a+x /tmp/curl +/tmp/curl -s -k -L -o /tmp/linux.bin https://github.com/niceboygithub/AqaraM1SM2fw/blob/main/original/H1/3.0.8_0001.0512/linux_3.0.8_0001.0512.bin +fw_update /tmp/linux.bin +/tmp/curl -s -k -L -o /tmp/rootfs.bin https://github.com/niceboygithub/AqaraM1SM2fw/blob/main/modified/H1/3.0.8_0001.0512/rootfs_3.0.8_0001.0512_modified.bin +fw_update /tmp/rootfs.bin +``` +Then restart gateway by reboot command. + For G2H, there is way to enable telnetd. ## How to check this component is working properly.