Comments (17)
All things made before have getting root access is from the bootloader.
Then you is having the root password you can doing one normal boot and login as root and the best way is with serial console and not SSH if having problems.
from lidl-gateway-freedom.
All things made before have getting root access is from the bootloader.
Then you is having the root password you can doing one normal boot and login as root and the best way is with serial console and not SSH if having problems.
I'm not able to login even with console... i try restart the process to get the password, but the password the script returns is the same as the first time... but even with that i cannot login
from lidl-gateway-freedom.
i try restart the process to get the password, but the password the script returns is the same as the first time... but even with that i cannot login
Hi. Did you connect the gateway to the internet before you did the process? People have reported that the root password was changed after connecting to the internet. If that is the case, you will need to edit the squashfs image and upload a modified version.
from lidl-gateway-freedom.
i try restart the process to get the password, but the password the script returns is the same as the first time... but even with that i cannot login
Hi. Did you connect the gateway to the internet before you did the process? People have reported that the root password was changed after connecting to the internet. If that is the case, you will need to edit the squashfs image and upload a modified version.
I only attach it to the network cable... that network cable have internet... i don't install any app or do any kind of configuration... do the software call to internet alone?
from lidl-gateway-freedom.
I only attach it to the network cable... that network cable have internet... i don't install any app or do any kind of configuration... do the software call to internet alone?
Yes, it contacts the tuya servers on startup - that's how it becomes available through the cloud. And that process seems to change the root password. I had this problem myself. There's details of how you can use rootfs_tool.py
in the forum thread here
from lidl-gateway-freedom.
@challs so i should dump the rootfs to get the password?
I can't follow the topics in the link you posted... can't find toolfs_tool.py reference
from lidl-gateway-freedom.
@challs so i should dump the rootfs to get the password?
Yes.
I can't follow the topics in the link you posted... can't find toolfs_tool.py reference
That's rootfs_tool.py, (begins with 'r' not 't')
Look for chaisaeng's post, which begins:
Hi challs,
Iām trying to get root access to my device but not quite success yet.
I follow the instruction on [Hacking the Silvercrest (Lidl) Smart Home Gateway - Paul Banks DOT Org ](https://paulbanks.org/projects/lidl-zigbee/) as followed
* Execute: `python dump_flash.py --serial-port /dev/ttyUSB0 --output-file rootfs.bin --start-addr 0x200000 --end-addr 0x400000` ==> This step took me around 40 Minutes
from lidl-gateway-freedom.
@challs ok find it.
This step are all in the a host computer, none of them are in the device correct?
from lidl-gateway-freedom.
Yes that's correct. dump_flash.py
runs the needed commands through the serial line from the host computer.
from lidl-gateway-freedom.
@challs that i already do, but the next one are the the host also ?
The second step... sudo unsquashfs ...
from lidl-gateway-freedom.
Those that say 'in bootloader screen' (ipconfig
, autoburn
, FLW
) are to be executed on the device.
All the others such as sudo unsquashfs
need to be executed on the host computer.
from lidl-gateway-freedom.
@challs ok i think i can follow everything... only missing the right way to upload the file ... can you point me the right direction please?
from lidl-gateway-freedom.
The upload part is
Upload the file newroot.bin in binary format using tftp
I used this command:
$ tftp 172.28.1.6 -m binary -c put newroot.squashfs
There's a slightly more verbose description in my earlier comment in the thread.
Also, it is important to make sure you use binary mode tftp.
from lidl-gateway-freedom.
@challs well now i'm loose... if i upload the newroot.squashfs where will we use the newroot.bin ?
The tftp command is issued in the bootloader prompt correct?
Also, in the link you posted you have two ips, what is what? What is the ip of tftp server?
from lidl-gateway-freedom.
I did my conversion earlier than chaisaeng, who had an easier workflow when he documented the list. So you should adjust the tftp command to use the name of the file which you have, which is probably newroot.bin.
The tftp command is executed on the host. I'm using linux so it might be slightly different on a Windows machine.
from lidl-gateway-freedom.
@challs i'm also using linux, my tftp server is on 192.168.1.90... what should i do? I'm a little confused about all the differents ips in the posts
from lidl-gateway-freedom.
Ok its is done
On bootload ipconfig 192.168.1.92
On host that is with the ip 192.168.190, but the tftp command i must use also 192.168.1.92
tftp 192.168.1.90 -m binary -c put newroot.iso
from lidl-gateway-freedom.
Related Issues (20)
- Dual mode - local and Tuya cloud HOT 4
- Wrong "root.html" HOT 1
- Content tuya_start.original.sh HOT 4
- Issue decoding password via script HOT 6
- Root passw known, Gateway keeps on rebooting
- Segmentation fault HOT 1
- Moes Tuya ZigBee Gateway Support HOT 4
- firmware_upgrade.sh HOT 2
- Freed gateway disturbs Tuya sensors? HOT 3
- segmentation fault on SGWZ 1 A2 HOT 1
- MQTT for ESP NOW Support possible?
- Support for Tuya ZW05B0 HOT 12
- Need TFTP Guide HOT 1
- Revision 2 of the gateway HOT 2
- lost startup script
- Can't decrypt Root Password using lidl_auskey_decode.py HOT 1
- Restore the original dump
- Lidl Silvercrest Zigbee Gateway Model HG07132 HOT 7
- Lidl Silvercrest stopped working HOT 2
- Information on retro engineering Silvercrest (Lidl) Smart Home Gateway
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lidl-gateway-freedom.