guino / Merkury1080P

Merkury1080P (CW017) Rooting and Customization
78 stars 16 forks source link

ppsapp patch request #1

Open JonSingleton opened 3 years ago

JonSingleton commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

guino commented 3 years ago

Here's the patch: https://github.com/guino/ppsapp-rtsp/issues/1#issuecomment-806203138

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 commented 3 years ago

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 commented 3 years ago

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

JerresonJ commented 2 years ago

REMOVED