[APP] SamyGO SPMdecrypt E/F/?

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

[APP] SamyGO SPMdecrypt E/F/?

Post by bugficks »

lib to decrypt widgets, supports .img files.
maybe it works on D as well.

- 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
SpoilerShow

Code: Select all

[SPMdecrypt] SamyGO SPM decrypter v0.1 - (c) bugficks 2013
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] Found /dtv/usb/sda1/SPMdecrypt/111199001564/widget.license
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199001564/config.xml.spm' -> '/dtv/usb/sda1/SPMdecrypt/111199001564/config.xml'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199001564/css/style.css.spm' -> '/dtv/usb/sda1/SPMdecrypt/111199001564/css/style.css'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199001564/css/main.css.spm' -> '/dtv/usb/sda1/SPMdecrypt/111199001564/css/main.css'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199001564/javascript/main.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/111199001564/javascript/main.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199001564/javascript/define.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/111199001564/javascript/define.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199001564/index.html.spm' -> '/dtv/usb/sda1/SPMdecrypt/111199001564/index.html'
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] Found /dtv/usb/sda1/SPMdecrypt/121299000101_img/widget.license
[SPMdecrypt] Temp mounting /dtv/usb/sda1/SPMdecrypt/121299000101_img/121299000101.img -> /dtv/usb/sda1/SPMdecrypt/121299000101_img/img.
[SPMdecrypt] cp -R /dtv/usb/sda1/SPMdecrypt/121299000101_img/img/* /dtv/usb/sda1/SPMdecrypt/121299000101_img.
[SPMdecrypt] Unmounting /dtv/usb/sda1/SPMdecrypt/121299000101_img/121299000101.img.
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/css/ce.css.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/css/ce.css'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/css/main.css.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/css/main.css'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/css/scrollable.css.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/css/scrollable.css'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/config.xml.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/config.xml'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/install/config.xml.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/install/config.xml'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/firebug-lite.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/firebug-lite.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/jquery-1.6.2.min.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/jquery-1.6.2.min.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/main.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/main.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/radiotime.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/radiotime.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/rsh.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/rsh.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/setup.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/setup.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/ui.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/javascript/ui.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/rt-tools/js/radiotime.js.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/rt-tools/js/radiotime.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/rt-tools/swf/mplayer-AS2.swf.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/rt-tools/swf/mplayer-AS2.swf'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/rt-tools/swf/mplayer.swf.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/rt-tools/swf/mplayer.swf'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/1280x720.css.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/1280x720.css'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/121299000101_img/index.html.spm' -> '/dtv/usb/sda1/SPMdecrypt/121299000101_img/index.html'
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] done...

Code: Select all

Changelog
v0.1.1 Added E support (*.CMK)
v0.1.0 Initial release
libSPMdecrypt-v0.1.1.zip
You do not have the required permissions to view the files attached to this post.

zoelechat
Official SamyGO Developer
Posts: 8455
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [APP] SamyGO SPMdecrypt F/?/?

Post by zoelechat »

Not sure to understand what's the real use of such module... :)
Anyway, it does not seem to work on E (at least mine/Mstar). It is well injected and launched but files are not the ones expected (at least extensions?):
-Most widgets in /mtd_rwcommon/widgets/normal are not encrypted
-Can't find any _img/.img at all
-I found some which are encrypted but the file notifying it is widget.signature (128 bytes), not widget.license
-Encrypted files are .CMK, not .SPM

Code: Select all

[SPMdecrypt] SamyGO SPM decrypter v0.1 - (c) bugficks 2013
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] done...
I do NOT receive any PM. Please use forum.

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: [APP] SamyGO SPMdecrypt F/?/?

Post by bugficks »

e.g. modifying a widget and move it to /mtd_rwcommon/widgets/user directory
seems like E widgets are different. can you pm me a widget dir w/ encrypted files?

on F you have e.g.

Code: Select all

mount | grep widgets
/dev/loop0 on /mtd_rwcommon/widgets/manager/10130000000 type squashfs (ro,noexec,relatime)
/dtv/loop4 on /mtd_rwcommon/widgets/normal/111199001564 type squashfs (ro,noexec,relatime)

ls -la /mtd_rwcommon/widgets/normal/111199001564_img
drwxr-xr-x    1 root     0                5 Jan  1 01:01 .
drwxr-xr-x    1 root     0               27 Jan  1 02:29 ..
-r-xr-xr-x    1 root     0          5443584 Jan  1 01:01 111199001564.img
-r--r--r--    1 root     0             1246 Jan  1 01:01 config.xml.spm
-r-xr-xr-x    1 root     0                7 Jan  1 01:01 version.txt
-r-xr-xr-x    1 root     0               57 Jan  1 01:01 widget.info
-r--r--r--    1 root     0              748 Jan  1 01:01 widget.license

ls -la /mtd_rwcommon/widgets/normal/111199001564
drwxr-xr-x    5 root     0              162 Apr 15  2013 .
drwxr-xr-x    1 root     0               27 Jan  1 02:29 ..
-rw-r--r--    1 root     0             1246 Apr 15  2013 config.xml.spm
drwxr-xr-x    2 root     0               56 Apr 15  2013 css
drwxr-xr-x    2 root     0              280 Apr 15  2013 images
-rw-r--r--    1 root     0             1141 Apr 15  2013 index.html.spm
drwxr-xr-x    2 root     0               55 Apr 15  2013 javascript
-rwxr-xr-x    1 root     0                7 Apr 15  2013 version.txt
-r-xr-xr-x    1 root     0               57 Apr 15  2013 widget.info
-rw-r--r--    1 root     0              748 Apr 15  2013 widget.license

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: [APP] SamyGO SPMdecrypt E/F/?

Post by bugficks »

added E support
zoelechat wrote:Works perfectly! :)

Here's log (Just kept a few lines, it was huge big):
SpoilerShow

Code: Select all

[SPMdecrypt] SamyGO SPM decrypter v0.1.1 - (c) bugficks 2013
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] Looking for *.cmk in /dtv/usb/sda1/SPMdecrypt/
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/API/AppsEventMgr.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/API/AppsEventMgr.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/API/AppsPlugin.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/API/AppsPlugin.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/API/Download/DownloadAPI.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/API/Download/DownloadAPI.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/API/HAHubSiteAPI.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/API/HAHubSiteAPI.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/API/NETSocketObj.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/API/NETSocketObj.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/API/PMSOpenAPI.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/API/PMSOpenAPI.js'
(...)
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/Util/UserInfo.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/Util/UserInfo.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/Util/Util.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/Util/Util.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/10120000099/Util/XMLDataUtil.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/10120000099/Util/XMLDataUtil.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199000560/app/config.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/111199000560/app/config.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199000560/app/DataCacheManager.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/111199000560/app/DataCacheManager.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199000560/app/dummy.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/111199000560/app/dummy.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199000560/app/fitness1.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/111199000560/app/fitness1.js'
(...)
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199000560/lang/zu.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/111199000560/lang/zu.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199000560/Noom_auth.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/111199000560/Noom_auth.js'
[SPMdecrypt] Decrypting '/dtv/usb/sda1/SPMdecrypt/111199000560/Withings_auth.js.cmk' -> '/dtv/usb/sda1/SPMdecrypt/111199000560/Withings_auth.js'
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] done...
can someone w/ D test it too please?

User avatar
juusso
SamyGO Moderator
Posts: 10125
Joined: Sun Mar 07, 2010 6:20 pm

Re: [APP] SamyGO SPMdecrypt E/F/?

Post by juusso »

ok, just need encrypted widgets first... will. here soon ;-)
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

theslydog
Posts: 21
Joined: Mon Dec 16, 2013 12:09 pm

Re: [APP] SamyGO SPMdecrypt E/F/?

Post by theslydog »

Do you have to run the Telnet Enabler on the USB to run these commands or is tenlet enabled with Samygo?

If you ftp the widgets to your pc can you just copy them onto the USB in the correct folder /dtv/usb/sda1/SPMdecrypt and that will do?

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: [APP] SamyGO SPMdecrypt E/F/?

Post by bugficks »

theslydog wrote:Do you have to run the Telnet Enabler on the USB to run these commands or is tenlet enabled with Samygo?
theres is some pseudo telnet shell running on port 23 w/ samygo. real telnet requires a kernel module.
it doesn't support 'cd' command so you need to change every command from first post to use full paths
If you ftp the widgets to your pc can you just copy them onto the USB in the correct folder /dtv/usb/sda1/SPMdecrypt and that will do?
yar, im looking for /dtv/usb/sd*/SPMdecrypt directories

theslydog
Posts: 21
Joined: Mon Dec 16, 2013 12:09 pm

Re: [APP] SamyGO SPMdecrypt E/F/?

Post by theslydog »

bugficks wrote: theres is some pseudo telnet shell running on port 23 w/ samygo. real telnet requires a kernel module.
it doesn't support 'cd' command so you need to change every command from first post to use full paths
If I just open Putty and connect it comes up with: shell>
Does that sound right?
I am having trouble changing permissions.
chmod +x /mtd_rwcommon/SPMdecrypt/samyGOso

Edit: using ftp I get
Command: SITE CHMOD 775 samyGOso Response: 500 Unknown command
Last edited by theslydog on Fri Dec 20, 2013 12:16 pm, edited 1 time in total.

User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: [APP] SamyGO SPMdecrypt E/F/?

Post by bugficks »

yar thats it.
hmm no idea, chmod should work. maybe try chmod 755 ?

theslydog
Posts: 21
Joined: Mon Dec 16, 2013 12:09 pm

Re: [APP] SamyGO SPMdecrypt E/F/?

Post by theslydog »

I get unknown command with ftp so maybe I will have to reset the tv and start again.

I used the SamyGo and data files from here. Maybe these are not quite correct.
http://www.eyeondemand.com/2013/11/06/h ... smart-hub/

Post Reply

Return to “[F] Software”