Greetings everyone!
I’m real newbie this wold and need step by step teaching.
I follow Paul instructions but my biggest problem was ssh connection, every time I need insert
“-oHostKeyAlgorithms=+ssh-dss” ,I modified firmware_uprgade.sh, everything goes almost good.
last minute updating and its give error, that box reading every minute Tuya_start or do something
but in time gateway reboots and putty showing serial gateway is enabled.
but I try install HA integration but its not working (serial connected putty show connection, status led goes on and connection closed. nothing error not showed.
I try again hardware upgrade but its do nothing, only ask 3 times password.
and not working.
Traceback (most recent call last):
File “/Users/jouni/Desktop/lidl/upgrade_ncp.py”, line 91, in
upgrade_ncp(args.ip, args.port, args.firmware)
File “/Users/jouni/Desktop/lidl/upgrade_ncp.py”, line 26, in upgrade_ncp
while s.recv(1) != b"\x00":
^^^^^^^^^
im using mac mini and terminal, python 3.11.2
ssh connection works if usin -oHostKeyAlgorithms=+ssh-dss [email protected]
SOLVED!
but i dont know what i do…i try again and i only use -d (debuggin) and restart all, computer,gateway, and try again.
its working perfectly now!
I am unable to escape the bootloader. I have tried both PuTTY on windows and minicom on linux.
Yes, my TX and RX lines are crossed, and yes, my TTL adaptor is working as once the boot process is complete, I can hit enter, get the login prompt, etc.
Hello I hope someone can help me I got the Lidl gateway and wanted to flash the and because I already have Passwort Kek now I connected to win10 putty ssh I enter root but I can’t enter a except Enter he takes nothing on.
What I have done wrong.
I’ve connected via the Fritzbox 6370 because the getaway is drann which is not connected to the Internet
I think I have successfully updated the fw by instructions on Blakadder-page but how am I able to confirm everything is ok?
I’ve seen few ask the question below prior but can’t see to been answered to fit my need.
The problem I have is the ZHA doesn’t connect to socket://192.168.1.xxx:8888( or 8088, seen both in instructions) with any combination of speed and dfc. I am able to connect just fine via ssh so IP hasn’t changed anywhere. I do not think I have changed the def port to anything else.
I tried the Z2MQTT as well but can’t get that to work for some reason( doesn’t stay on for one and documentation-page ends in an error. Reinstalled it few times) so ZHA is the one to go with for now.
Hello
My firstLidl gateway was dead, bought another used one. This time I managed to interrupt the boot and enter the busybox!!
But I’m blocking now to get the root password!! I run the python script (python 3 installed!) after entering the “auskey” I have this error message:
“UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe6 in position 0: ordinal not in range(128)”
I searched everywhere including on the 430 messages of this topic but found nothing!!
I ran the python scrypt on different machines (debian, ubuntu with putty and windows with power shell) but I still have this message.
I modified the script: “utf-8” instead of “ascii” without success! It works in Latin-1!! But the characters are useless!
Sorry to bother with this but if anyone has any idea I take!!
And sorry for my english !!
Thank you
Hello
Does this command sounds ok? #!/bin/sh
should it not be !/bin/sh?
I took it from the website I follow to hack the LIDL gateway.
Can somebody explain what this command do excately ?
Thanks
Hello
I have the following error in putty serial communication /tuya/tuya_start.sh: line 9: /tuya/serialgateway: Permission denied
is it linked to -rw-r--r-- 1 root 0 69485 Jan 1 00:20 serialgateway
shall I change something with chmod command to serialgateway directory ?
Hi Paul
Thanks for all sharing on this gateway freeing up
I have this value on the serialgateway.bin I downloaded
4bb59358e6db08192e8aeda3f8d0e646 serialgateway.bin
It does not match at all with the value in the post.
Is this value correct … I guess not
I downloaded the file thru WSL
Thanks for your rely
I have success with locked bootloader, with no ESC enabled. I unsolder flash memory from TUYA-ZHUB, read it and save fulflash to file using CH341A prog. I Cut from address 0x00200000 with length 0x200000 (to address 0x00400000) rootfs using HexEdit and save to file rootfs.bin. Using instruction from Hacking the Silvercrest (Lidl) Smart Home Gateway - PaulBanks.Org i change symlink to file with known password and recreate squashfs. In hex editor i paste new newroot.bin partition to address 0x00200000 of fullflash, reflash the memory ic, solder it back to ZHUB and have root access in serial terminal. After that i start internal ssh server with cmd /tuya/tuyadropbear -p 22.
Using this instruction Cloud-free integration with Home Assistant - PaulBanks.Org i have working coordinator and connect to zeegbe2mqtt.
In step 2 on: “Cloud-free integration with Home Assistant - PaulBanks.Org” I made a copy paste error resulting in the loss of the original /tuya/tuya_start.sh on my 2nd edition Lidl gateway (the one with the rounded edges and esc enabled bootloader). Can someone please post the content of their /tuya/tuya_start.original.sh please (if it does not contain unique identifying data)?