Skip to content
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

ppsapp patch request #1

Open
JonSingleton opened this issue Mar 24, 2021 · 6 comments
Open

ppsapp patch request #1

JonSingleton opened this issue Mar 24, 2021 · 6 comments

Comments

@JonSingleton
Copy link

JonSingleton commented Mar 24, 2021

Currently gathering the necessary tools to patch this myself with your guide (https://github.com/guino/ppsapp-rtsp)

On the off-chance someone is able to patch it while I'm learning to do it and has it done before I'm finished (unlikely, but I mean you never know, right?) I wanted to post the files here.

:8090/devices/deviceinfo output:
{
"devname": "Smart Home Camera",
"model": "Mini 11S",
"serialno": "062356602",
"softwareversion": "4.0.2",
"hardwareversion": "M11S_A2_V10_F37",
"firmwareversion": "ppstrong-a3-tuya2_merkury-4.0.2.20200929",
"identity": "MR2008102100915420",
"authkey": "2krLEm9VmKr2edKEneGY8PY6patIsrB6",
"deviceid": "pp019296dcab2e021383",
"pid": "aaa",
"WiFi MAC": "dc:29:19:93:84:ff",
"ETH MAC": "00:00:00:00:00:00"
}

And just in case:
mem=64M console=ttySAK0,115200n8 loglevel=10 mtdparts=spi0.0:256k(bld),64k(env),64k(enc),64k(sysflg),3m(sys),4032k(app),640k(cfg) ppsAppParts=5 ip=0 - ip=30;/mnt/mmc01/initrun.sh)&:::::;date>/tmp/hack;(sleep

I tried to utilize the ppsapp from ppstrong-a3-tuya2_merkury-4.0.6.20210207 but as expected it did not work. I did receive two boot chimes, but RTSP doesn't work using the two URLs and after a few minutes the device reboots itself, prompting the two chimes again.

--deleted--

@guino
Copy link
Owner

guino commented Mar 24, 2021

The tools are the same but the way to patch this version is actually described here : https://github.com/guino/Merkury1080P#customization

I can probably patch it for you today.

@guino
Copy link
Owner

guino commented Mar 24, 2021

snap/mjpeg address: 037b3ac
play.cgi address: 037bb1c

@guino
Copy link
Owner

guino commented Mar 24, 2021

Here's the patch: guino/ppsapp-rtsp#1 (comment)

Now I hope you didn't screw something up on your flash by running 4.0.6 patch on a 4.0.2 firmware -- I would start the board without a ppsapp file in the SD card first to see if it works normally (with the phone app) then once you verified everything is in working order you should be able to run your patched ppsapp.

@JonSingleton
Copy link
Author

You sir, are a gentleman and a scholar. I was in the midst of setting up ghidra and realized the lawn wasn't going to mow itself. I can verify that the file you provided was successful in opening up RTSP. Thank you very much for this.

regarding testing the incorrect firmware, I took a calculated risk. One that really wouldn't have cost me if the camera had been broken - still within the return period.

@guino
Copy link
Owner

guino commented Mar 25, 2021

@JonSingleton I am glad things worked out -thanks for reporting back!

@JerresonJ
Copy link

JerresonJ commented Mar 27, 2022

REMOVED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants