-
Notifications
You must be signed in to change notification settings - Fork 4
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
Patch Request - 2.7.12 Firmware for 720p #44
Comments
@dmidthun you may want to check the file -- the one you attached is 778Kb when most ppsapp files are 2MB+ in size. Maybe it didn't upload correctly because it was posted as s .txt (you should try just zip it and post it). If by any chance the file on the SD card is the same size (778Kb) then you may have removed the SD card too early after the first boot (before it could write the entire file) -- in which case you just have to delete the 'home' folder from the SD card and reboot to recreate a new home folder with a fresh copy of ppsapp in it. The file size is likely why ghidra was crashing. |
@guino Not sure why. Did what you suggested and have the file... I tried following the instructions to patch on my own, but I think Tuya / Merkury has made a major revamp to their code and I am not savvy enough. (laughs). attaching the ppsapp that I got. changed cameras and SD cards 3 times and I got ghidra to work, so I know this one is good. |
@dmidthun this one seems the right size I'll take a look and let you know. |
@dmidthun you can try the patch below with these instructions: #1 ppsapp-rtsp.zip |
I followed #1 and had this file generated. I can hear 2 beeps after booting, but can neither access by |
@ZikangXiong can you post a zip of your SD card contents (without the SDT folder) ? your ppsapp seems to be patched correctly. Most of the time the issue is something with wrong filename, location or wrong file. |
--deleted-- Here is the structure.
|
@ZikangXiong First issue is your busybox was not downloaded correctly. Please download it from this link: Next your snap/mjpeg.cgi files have Your ppsapp file seems fine (patched correctly and in the correct location), so rtsp://ip:8554 should work , but please note this is not a web browser URL -- you have to use an application like VLC to play it. Also note it has been reported that VLC for macOS sometimes fails to play the rtsp feed from these devices. You can always download an app for RTSP on your phone and try it that way. Make sure there's no user/password for the RTSP url. I would suggest fixing the busybox and testing the mjpeg first (http://user:password@ip:8080/cgi-bin/mjpeg.cgi as you described above), that's just so we know for sure the IP didn't change on you and that the files are being used. I did take another look at the patch and looks correct as far as I can tell but I don't have a device on firmware 2.7.12 to test it. Let me know how that goes. |
It works like a charm now. I suppose that the busybox is the issue, should have read your instruction more carefully. Thank you for such detailed explanation and remove the file containing my Wi-Fi password :-) |
I tried following the instructions to patch myself, but Ghidra kept crashing on both my linux and win machines... please let me know if you need anything else. Just RTSP is needed, as I dont think Onvif is available, and I dont use the cgi scripts.
/devices/deviceinfo:
{"devname":"Smart Home Camera","model":"Mini 7C","serialno":"061512432","softwareversion":"2.7.12","hardwareversion":"M7C_AK_V10_1245","firmwareversion":"ppstrong-a2-tuya2_geeni-2.7.12.20220621","authkey":"","deviceid":"","identity":"","pid":"aaa","WiFi MAC":"dc:bd:7a:82:46:6b"}
/proc/cmdline:
mem=64M console=ttySAK0,115200n8 mtdparts=spi0.0:256k(bld)ro,64k(env)ro,64k(enc)ro,64k(sysflg)ro,2496k(sys),4608k(app),640k(cfg) ppsAppParts=5 ip=0 - ip=30;/mnt/mmc01/initrun.sh)&:::::;date>/tmp/hack;(sleep
--deleted--
The text was updated successfully, but these errors were encountered: