Giter Site home page Giter Site logo

raintwoto / aqaram1sm2fw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from niceboygithub/aqaram1sm2fw

0.0 1.0 0.0 411.84 MB

Aqara Gateway M1S (ZHWG15LM) , P3(KTBL12LM), H1(QBCZWG11LM), M2 (ZHWG12LM) Firmwares

Makefile 1.24% C 18.05% Shell 80.71%

aqaram1sm2fw's Introduction

Aqara Gateway M1S (ZHWG15LM) M2 (ZHWG12LM) P3 (KTBL12LM) H1 (QBCZWG11LM) Firmwares

Notice: These modified firmwares do NOT support EU version. They are different models. Notice: Aqara was not allow downgrade zigbee firmware from 0605 to 05XX officially!

The repository includes the following feature.

  1. binutils
  • Use fw_update to update firmware.
  • User boot_ctrl switch slot 0 or slot 1.
  • Better Busybox
  • Dropbearmulti for ssh
  • dgbserver
  • mosquitto 1.6.4 (copy mosquitto to /data/bin to run as public)
  • minidlnad (copy minidland to /data/bin and copy minidland.conf to /data/etc)
  • post_init.sh (for M2 above 3.0.7_0008_0515, you can copy to /data/scripts/post_init.sh before upgrade 3.0.7_0008_0515, it will enable tty and telnetd without modified rootfs)
  1. raw firmware

    If using dd or bootloader to flash, need to use raw file with padded (boundary 0x20000).

  2. modified firmware

    a. The modified firmwares was enabled tty rx and telnetd.

    b. Can use fw_update to update.

  3. original firmware

  • Roll back to original firmware or upgrade firmware by fw_update.
fw_update linux.bin
  • Update BT firmware by run_ble_dfu.sh, for example:
run_ble_dfu.sh /dev/ttyS1 full_125.gbl 125 1
  1. update zigbee firmware
zigbee_msnger zgb_ota /tmp/ota_dir/ControlBridge.bin
  1. stock firmware

  2. 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.3 from USBtoUART.

    If flash finish successfully, it will display 'Programming filename.bin_raw Done!'

Buy Me A Coffee

aqaram1sm2fw's People

Contributors

niceboygithub avatar raintwoto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.