niceboygithub / AqaraM1SM2fw

Aqara Gateway M1S (ZHWG15LM) , P3(KTBL12LM), H1(QBCZWG11LM), M2 (ZHWG12LM) Firmwares
164 stars 27 forks source link

H1 gateway modified firmware latest version #58

Closed miniknife88 closed 1 year ago

miniknife88 commented 1 year ago

Hopefully the latest version of the modified firmware can be provided,please tell me how to extract the original firmware

niceboygithub commented 1 year ago

Do you flash the old modified firmware?

miniknife88 commented 1 year ago

yes,what do i need to do?currently using version 3.4.0_0004.0617,latest version 3.5.0_0013.0736

niceboygithub commented 1 year ago

My way, (not best way)

  1. telnet to H1
    setprop persist.app.debug_log true;
    getprop persist.app.debug_log
    reboot

    check by getprop to make it is tru

  2. telnet to H1 again
    tail /tmp/*.txt | grep http
  3. go to aqara home to do firmware upgrade
  4. when you see the url in step, ctrl-break the tail command and reboot immediately to prevent it update to last firmware.
miniknife88 commented 1 year ago

ctrl-break the tail command and reboot,that's it?

wcl272560 commented 1 year ago

The URL has been obtained according to your steps

https://cdn.aqara.com/cdn/opencloud-product/mainland/product-firmware/prd/lumi.gateway.sacn01/20221207180313_lumi.gateway.sacn01_AIOT_V3.5.0_0013.0736_20221205_c25285.bin

what to do next?

niceboygithub commented 1 year ago

I already uploaded the firmware.

wcl272560 commented 1 year ago

Thanks!