Open mshuflin opened 3 years ago
@mshuflin hard to say without seeing the url responses. I would stay away from battery powered devices because they are more likely to be running RTOS than linux and they’re possibly not going to be always on.
I am not sure if you have specific reasons to root the device but if you’re still shopping I always recommend buying a device that has all features you need instead of trying to mod it. I understand there are factors such as price and availability but I would only go thru the trouble of rooting if I had to.
Thanks @guino for your quick reply. I am looking for a fully cloudless option that can integrate with Home Assistant, node red, and/or MQTT.
@mshuflin the only cameras that would allow for that without rooting would be the ones that have the 'remote event log' or 'event server' feature which allow you to enter the ip address of a server to receive camera events (including motion detection) which you could create in the same computer/server that runs home assistant.
Obviously many people have done what you want with a range of tuya cameras (using with the posted information) but it can be a gamble finding a device with a rootable version. If you're going to buy without knowing details I would recommend buying from place where you can easily return the camera if it isn't what you need.
Thanks for the advice, I will order (and return if it does not work) and report back here
Here are my results: I could not get any response from any port other than 6668.
from http://192.168.0.170:6668/devices/deviceinfo I received:
��Uª����������û����3.3������PÖ���Æ¥¿LˆÂéά<[•Çl¬MBxpsÀdW:4ågAb¢%ªäËCžuHÈŤ“iÐ.Þë}´iñç?|šl޾زTƒÃ”ËÿcŠï'owp†äý3#.ž²TSF!¾úŒ†û~ïP¾ÙÚ©Ä(SñA€x4R“}[@/pQçD‹+Ÿ®ŸÑöaåÕEÇÆZøÕßÙ¯ËÙç‚73vÕØ|ŸRß¾I]bd¬x’26ŽIÓª¼ê£+ž|1¢¦:¹Øq¶’±ÁÇTËþ‹€Fò¥}¬¥ÜÕ%wïÏPô쨆��ªU
and similarly garbled text from other urls.
@mshuflin did you add in ppsFactoryTool.txt to the SD card to see if any other ports open (80 or 8090) ?
The output you got for port 6668 id the standard tuya api port which isn't useful for anything else.
It turns out this model does not have an SD card. The back has a USB port.
@mshuflin it most likely has a SD card slot inside (if you open it) - I have no way to tell how easy it is to access it.
I was able to open it fairly easily, here is what it looks like:
@mshuflin Your UART is likely the top left 4 holes on the 2nd picture posted (and flash chip looks like the one next to the holes --I couldn't read the numbers on it from the picture). If there's any SD card slot it would likely be behind the top board (where the camera lens are mounted). Without a SD card slot the only hope of making any mods would be using a UART/hardware programmer to read the firmware, modify it and flash it back. Depending on the bootloader it may only be possible to do it with the hardware programmer and having no SD card storage would limit you to AT MOST enabling RTSP/ONVIF (if included in the code at all).
If you have a heat-gun and programmer you can read the flash and I can review it to tell you what is possible to do. If you don't have the tools or familiarity with it I would stop now before risking breaking the device -- you could sell/return it and get another if you really require extra features.
I have the same doorbell. All ports on the device are closed, I tried all your options with ppsFactoryTool.txt and none worked. I connected to the UART pin, but it seems to be a dead end, since I cannot send commands, and the output to the console looks like this:
I managed to connect with clamps to the XM25QH64AHIG chip and download the firmware from it (https://drive.google.com/file/d/1I0fIbhhVVQDAoBq6kRFSbFJtjyMji2IE/view?usp=sharing)
Next, I ran binwalk -e -M
like in your example
When unpacking it, I received only two files u-boot.bin and EasyCam.bin, which are not further unpacked. It seems their structure is different from what you had. Unfortunately, I have no experience in decompiling and changing firmware, please tell me what steps can I try next?
Taking a quick look at the binwalk output it seems to confirm this device runs RTOS which greatly limits the options for making any changes (only hardware programmer would work for minimal changes). Did you try typing anything on the UART to see if there was any way to interact with it? Usually the RTOS application has some sort of pseudo terminal which allows a few basic commands but I would not expect anything useful from it.
This maybe crazy. But I remember the old 720p doorbell camera had a sticker on the circuit modules with "admin" and "password". The sticker was behind the board, unscrew the board and check behind it. I can't recall if that was for connecting with a NVR or to login to a config.
The login info on that sticker was not the same as the sticker under the battery cover, which had the wifi AP login info
I am looking at tuya-based video doorbells available in my region and this one seems quite common. https://shopee.com.my/product/361966449/8762138469?smtt=0.208419637-1628041873.9
Is there a possibility that these doorbells can be rooted? Thanks!