Page 1 of 1

[APP] SamyGO "SPMdecrypt" for C series so it's CMKdecrypt

Posted: Mon Sep 22, 2014 6:14 pm
by Mkò
This is not my work is from Bugficks.
Download
C_libSPMdecrypt-v0.1.1 for C_series.rar
Usage
SpoilerShow
- copy widgets you want to decrypt to usb stick /SPMdecrypt
e.g. /mtd_rwcommon/widgets/normal/10120000099_img -> /dtv/usb/sda1/SPMdecrypt/10120000099_img

- copy contents from zip to e.g. /mtd_rwcommon/SPMdecrypt
- cd /mtd_rwcommon/SPMdecrypt
- chmod +x samyGOso
- ./samyGOso -p $(pidof exeTV || pidof exeDSP) -l $(pwd)/libSPMdecrypt.so
- cat /dtv/SPMdecrypt.log
With this app you can decrypt *.cmk files of widgets and the widget manager too, you can also decrypt native widget *.so patch such as the playready patch.
it seems that there is a method for execute *.so patch from widget in c series too infact the playready patch that i decrypted is composed by libdumptest.so and libSDL_image.so.
Another interesting widget that i found is the game widget usb laucher that has in it libGPlayerUSBLauncher.so.
IT's time to play with widget. :D

ps. for ther moderator please update this http://wiki.samygo.tv/index.php5/Injectso_patches
This is not my work is from Bugficks.

Re: [APP] SamyGO "SPMdecrypt" for C series so it's CMKdecrypt

Posted: Mon May 18, 2015 3:00 pm
by sectroyer
For me this patch didn't work (it simply crashed exeDSP at "strange place") so I made something simple/harder to use but more stable :)
It simply decrypts all files passed in command line for example:

Code: Select all

samyGOso -d -A -B -l /tmp/libDumpCMK.so /tmp/test1.js.cmk /tmp/test2.js.cmk
If you want to decrypt more files better put them on usb and do like this:

Code: Select all

find /dtv/usb/sda1/SPMdecrypt/ | grep \\.cmk  > cmks.txt
after that simply run this bash line:

Code: Select all

for i in `seq 50`; do echo "CMK: $i"; samyGOso -d -A -B -l /tmp/libDumpCMK.so `head ./cmks.txt -n 10 | tr '\n' ' '`; cat ./cmks.txt | tail -n +10 >out.txt; mv out.txt cmks.txt ; sleep 5; cat /dtv/DumpCMK.log; done