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 #25

Open
kc0gfv opened this issue Apr 1, 2022 · 6 comments
Open

ppsapp patch request #25

kc0gfv opened this issue Apr 1, 2022 · 6 comments

Comments

@kc0gfv
Copy link

kc0gfv commented Apr 1, 2022

Good day,

I cannot seem to find a compatible patched ppsapp and would like to know if you could patch it for me.

:8090/devices/deviceinfo output:

{
"devname":"Smart Home Camera",
"model":"Mini 11S",
"serialno":"062426290",
"softwareversion":"4.0.0",
"hardwareversion":"M11S_A2_V10_F37",
"firmwareversion":"ppstrong-a3-tuya2_merkury-4.0.0.20200911",
"identity":"MR2008250201433237",
"authkey":"SKmqcp0v29vjCPHp4lDyul8OAvbkGmVL",
"deviceid":"pp01fc0d938ca03d0f92",
"pid":"aaa",
"WiFi MAC":"dc:29:19:55:fb:0d",
"ETH MAC":"00:00:00:00:00:00"
}

ppsapp.zip

@guino
Copy link
Owner

guino commented Apr 1, 2022

@kc0gfv 4.x versions usually don’t require patching, please try it with this information and let me know: #9 (comment)

@kc0gfv
Copy link
Author

kc0gfv commented Apr 1, 2022

Maybe I am still doing something wrong... Using the information you sent, I tried to follow the instructions. I do not even see an option for ONVIF in the json file.

image

I also did as another thread suggested and removed the # from the custom.sh file but that does not seem to have done anything either.

@guino
Copy link
Owner

guino commented Apr 2, 2022

@kc0gfv I have never seen a 4.0.0 firmware until now so it is possible that it doesn’t have the built in onvif function like newer 4.x firmware.

Please confirm that you enrolled the device in the phone app (and it works there) or it may not have all the settings in the json file until you do it.

If you confirm it I can look at making a patch for this specific version - it may take a little longer than usual as I’ve been recovering from covid.

@kc0gfv
Copy link
Author

kc0gfv commented Apr 2, 2022

Sorry for the long delay, I was at a remote job site all day yesterday and got home later then expected...

Yes, the device has indeed been enrolled on the phone app. I have actually been using it "normally" for a couple of years now. No worry about how long it takes to make a patch. You are doing a wonderful service and I can absolutely be patient and wait for as long as needed :).

I will also continue tinkering with it and try to figure out if it is still something simple I am missing and if I do figure something out I will let you know.

@guino
Copy link
Owner

guino commented Apr 2, 2022

@kc0gfv I will open your 4.0.0 firmware in ghidra and take a look, since there’s no onvif in the configuration it probably has old rtsp code still in there.

@guino
Copy link
Owner

guino commented Apr 2, 2022

@kc0gfv your 4.0.0 version doesn't have the new ONVIF code and it doesn't have the old RTSP code either. If you really want RTSP I would check if there's a firmware update in the phone app (and even try a different app like Tuya, Smartlife to see if one of them shows an update). You can upgrade the firmware without the SD card installed, then you should be able to just remove the home folder from the SD card and on the next boot it will copy the new ppsapp to it (you should not need to 'install' the hack again after the firmware update).

If you want to use the current firmware you can use MJPEG with snap/mjpeg.cgi address: 0x029f584
Play.cgi should work with this addres: 0x029fcf4

This was probably an early version of firmware where they removed the old code and didn't have all newer code ready yet.

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

2 participants