Coder Social home page Coder Social logo

Comments (16)

tateconcepts avatar tateconcepts commented on July 28, 2024 1

@guino useful tool being covered at BH this year. Might be worth looking into here https://github.com/onekey-sec/unblob

from merkury1080p.

guino avatar guino commented on July 28, 2024

@writemike based on the information you posted it should likely work with the steps from https://github.com/guino/Merkury1080P#conclusion -- there's almost no risk in trying as it should not break anything if it doesn't work.

from merkury1080p.

writemike avatar writemike commented on July 28, 2024

Thanks @guino , I have spent a few hours messing around with it and haven't had any luck yet. I was more asking if anyone has been successful in re-flashing a 5.x firmware version to get a local RTSP stream? Have you heard of anyone being successful on the 5.x firmware version? Thanks.

from merkury1080p.

guino avatar guino commented on July 28, 2024

@writemike someone was able to root this version (5.2.4) and enable onvif:

ppstrong-a3-tuya2_lsc-5.2.4.20211015 M16S_A2_V10_MIS ea82f8dee86047a82404b9bdc715ae75 Mini 16S

The above is the only 5.x version for which I have received confirmation of rooting -- many 5.x firmware versions run non-linux firmware (so rooting won't work).

from merkury1080p.

tateconcepts avatar tateconcepts commented on July 28, 2024

I have the same issue with one from Amazon. The script does run as I see its contents on the SD card but I didn't see the ip=30... and nmap revealed no other access.

"devname":"Smart Home Camera",
"model":"Mini 7S",
"serialno":"*****",
"softwareversion":"5.2.8",
"hardwareversion":"M7S_A5_V10_MIS1",
"firmwareversion":"ppstrong-a5-tuya2_general-5.2.8.20220222",

from merkury1080p.

guino avatar guino commented on July 28, 2024

@tateconcepts unfortunately it is entirely possible that 5.2.8 one one device may run linux and 5.2.8 on another device runs rtos. It is also possible that new/emerging hardware uses different addresses from older device and thus won't work with the existing methods. If you've tried the 1080P process with a few different SD cards then the only way to know for sure would be opening the the device and using UART or a Hardware programmer -- I don't advise either unless you're knowledgeable with electronics and have the required equipment.

from merkury1080p.

tateconcepts avatar tateconcepts commented on July 28, 2024

Thanks @guino I did follow the directions in (https://github.com/guino/ppsapp-rtsp) and I think I patched all three instructions. I clicked save and then copied the home directory and contents over and then started the camera. However, I still see the following at http://IP:8090/proc/self/root/home/cfg/tuya_config.json

{"version":1,"sleep_mode":0,"alarm_fun_onoff":0,"alarm_fun_sensitivity":1,"alarm_fun_mode_switch":0,"alarm_fun_time_start":0,"alarm_fun_time_end":0,"flip_onoff":0,"light_onoff":1,"night_mode":0,"sound_detect_onoff":0,"sound_detect_sensitivity":0,"watermark_onoff":1,"event_record_time":60,"enable_event_record":2,"record_enable":1,"motion_trace":1,"motion_area_switch":0,"motion_area":"","motion_tracking":0,"cry_detection_switch":0,"humanoid_filter":0,"loudspeaker_vol_pct":100,"flight_main_mode":0,"static_ip_enable":0,"onvif_enable":0,"onvif_pwd":"admin","pan_default":-1,"tilt_default":-1,"sound_light_switch":0}

Maybe I'm not doing something correct?

Attaching ppsapp
original
SHA1: EBF96F4FFE59152E653A6FC6B62616460C17EC79
home.zip

modified
SHA1: B55EDBC5EDCB0E0CBFFAA7654EB8D84E8A728B34 at 0001fcc8
home.zip

from merkury1080p.

guino avatar guino commented on July 28, 2024

@tateconcepts The zip files you posted have the same home/app/ppsapp file in them (no difference) -- the ppsapp is for a 4.0.6 firmware ( ppstrong-a3-tuya2_merkury-4.0.6.20210310 -- contrary to what you posted above as "5.2.8" ), so I assume you're working on a different device now ?

If you use Ghidra for anything it will not patch the ppsapp file for you. You have to use a hex editor for that, then you have to place the ppsapp file on the root of the SD card for it to be used, the copy under home/app is just your original/backup.

from merkury1080p.

tateconcepts avatar tateconcepts commented on July 28, 2024

That's odd. I don't think so.

Here's proc/cmdline

console=/dev/null mtdparts=spi0.0:256K@0x0(BOOT),3072K@0x40000(sys),4288K@0x340000(app),448K@0x770000(cfg),64K@0x7E0000(enc),64K@0x7F0000(sysflg) mem=64M memsize=64M pcbversion=S2S_A5_V10 sensor=mis2006mipi model_name=Mini-7S

devices/deviceinfo

{"devname":"Smart Home Camera","model":"Mini 7S","serialno":"","softwareversion":"5.2.8","hardwareversion":"M7S_A5_V10_MIS1","firmwareversion":"ppstrong-a5-tuya2_general-5.2.8.20220222","identity":"","authkey":"","deviceid":"*****","pid":"aaa","WiFi MAC":"9c:1c:37:ac:1f:fb","ETH MAC":"9c:1c:37:ac:1f:fb"}

from merkury1080p.

guino avatar guino commented on July 28, 2024

@tateconcepts Can you try posting a zip of the ppsapp file only?

I have a lot of zip files downloaded that I look at but I know I downloaded it from above (several times) to confirm.

from merkury1080p.

tateconcepts avatar tateconcepts commented on July 28, 2024

I think what occurred is I used the same SD card to attempt to start my older unit. It likely took the data from that older camera, which oddly enough stated it was Done! on the newer (the older will no longer get an IP address) when using /proc/self/root/mnt/mmc01/hack. At the moment, I'm able to get what I've shared but that's all. I cannot access any other aspects so far.

from merkury1080p.

guino avatar guino commented on July 28, 2024

@tateconcepts you can use the same SD card but before using it on another device you have to format it -- if you mix files for different devices I have no idea what can happen and you can possibly damage the device.

If your older device (4.0.6 firmware) doesn't work without SD card it likely has some sort of hardware issue.

from merkury1080p.

tateconcepts avatar tateconcepts commented on July 28, 2024

from merkury1080p.

tateconcepts avatar tateconcepts commented on July 28, 2024

Update, 2nd from Amazon. This supplier no longer has working cameras. There's also a subreddit on the geenie site along with other bug bounties that likely caused this to no longer work. I think it's time to do another SPI connection @guino and see if this is even possible on this model.

from merkury1080p.

guino avatar guino commented on July 28, 2024

@tateconcepts let me know if I can help with anything. If you can find/post the reddit about the bugs I'd like to take a look too.

from merkury1080p.

tateconcepts avatar tateconcepts commented on July 28, 2024

I was able to locate a suitable model, the same as described in the article and this worked with the 4.0.7 firmware. The bugs listed were probably already resolved. I saw them earlier in the year. https://github.com/IoT-SP-Lab/Merkury_Geenie_Disclosure

from merkury1080p.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.