New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M1S EU version #44
Comments
connect to xiaomi app for solderless root and downgrade or use via homekit controller. |
In this case the aqara n100 zigbee does not work. |
you can go back to aiot after downgrade. in 3.4.2+ they removed root entry point for aiot. btw: don't downgrade with m1s cn files. m1s eu use signed rootfs. |
Can you tell me where to get the Files for eu? |
you can extract rootfs/kernel with 7zip or strip 0x68 bytes header and extract with tar. make sure your hub is lumi.gateway.aeu01 and you know what you are doing if you don't want to solder or worse. |
Can you write how to flash it? I know how to solder, maybe through uart and Aqaragateway.exe will be easier? |
3.4.2 is removing the post_init.sh The fast way is using Aqaragateway.exe to downgrade.
|
|
download firmware to /data/ with curl. make sure you have enough empty space and check md5sum before downgrade. should be b405c3d649695206e3cc8ee6e23be1ed. |
Such commands? mkdir /data/bin |
before you do something it is always recommended to do full backup and send with nc/ftp. you can use http (not https) to download with wget directly. check with df before how much space you have. you may need ~26mb for firmware and tar extraction.
|
|
All manipulations after a full reset (10 times pressed the button). How can I clear more memory? |
|
maybe it is better to unpack/flash only rootfs not whole firmware (less space needed). wait for @niceboygithub he will guide you. |
download firmware bin to /tmp directly. /data/bin/curl -s -k -L -o /tmp/downgrade.bin https://cdn.aqara.com/cdn/opencloud-product/mainland/product-firmware/prd/lumi.gateway.aeu01/20220329120721_lumi.gateway.aeu01_AIOT_V3.4.0_0004.0616_20220328_3be1ed.bin; |
hub is in miot mode so fw expects miot ota and runs fw_miot_unpack, not fw_unpack. maybe he should use custom fw_manager.sh patched for this. |
The fw of M1S eu is signed. sorry for forgot that. |
Can you try this command?
|
It worked. But I can't lock the files. On chattr +i /data/scripts/post_init.sh -sh: chattr: not found. |
Great! Everything works. Thank you all very much. I will now write instructions for future generations and close the issues. |
|
Hello. Can you tell me, support for the Eu version is planned? Before version 3.4.2_0008, everything worked. Accidentally updated and it does not work.
The text was updated successfully, but these errors were encountered: