[App] decrypt spm J/K/M

Software related to Samsung M/Q series TVs.
Please don't create any new topic here unless you have software to post/release.

zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

[App] decrypt spm J/K/M

Post by zoelechat »

Binary that decrypts individual encrypted widget files (*.spm).

Code: Select all

usage: decrypt_spm <license_file> <spm_file>
Extract decrypt_spm to SYSROOT/usr/bin, and find ID of widget you want to decrypt files using command:

Code: Select all

wascmd -l
There get "app_package_name" value, e.g.:

Code: Select all

[...]
--------------app_tizen_id                          =9Ur5IzDKqV.TizenYouTube-------------
--------------app_package_name                      =9Ur5IzDKqV-------------
[...]
Then you'll find widget.license file to be used as first arg of decrypt_spm:

Code: Select all

/opt/usr/apps/<app_package_name>/res/widget.license
Encrypted files are to be found in widget folder too, often in a squashfs image with .tmg extension (you can browse with 7zip for example). Anyway if you need to decrypt spm files, it means you know where they are :)
Only one file (.spm passed as 2nd arg) is decrypted at once and written to original folder, make batch by yourself if needed.

Credit goes to @racocvr
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.
JeppeTh
SamyGO Project Donor
Posts: 170
Joined: Wed Oct 02, 2013 11:29 pm

Re: [App] decrypt spm J/K/M

Post by JeppeTh »

Hmm - this sounds like what I have been looking for. Great! Too bad lightning broke my router and the TV upgraded :roll:
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] decrypt spm J/K/M

Post by sectroyer »

JeppeTh wrote: Wed Apr 13, 2022 8:50 pm Hmm - this sounds like what I have been looking for. Great! Too bad lightning broke my router and the TV upgraded :roll:
Really strange, I had many router problems and if they break they block everything not allow updates :D
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
JeppeTh
SamyGO Project Donor
Posts: 170
Joined: Wed Oct 02, 2013 11:29 pm

Re: [App] decrypt spm J/K/M

Post by JeppeTh »

Haha - yeah desperate for internet I connected another old router without thinking :oops:
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] decrypt spm J/K/M

Post by sectroyer »

JeppeTh wrote: Wed Apr 13, 2022 11:24 pm Haha - yeah desperate for internet I connected another old router without thinking :oops:
So user error :D what FW do you have ?
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
JeppeTh
SamyGO Project Donor
Posts: 170
Joined: Wed Oct 02, 2013 11:29 pm

Re: [App] decrypt spm J/K/M

Post by JeppeTh »

Yep, K 1243.2
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] decrypt spm J/K/M

Post by sectroyer »

JeppeTh wrote: Thu Apr 14, 2022 5:04 pm Yep, K 1243.2
This one should be rootable with latest method. Did you check ?
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
JeppeTh
SamyGO Project Donor
Posts: 170
Joined: Wed Oct 02, 2013 11:29 pm

Re: [App] decrypt spm J/K/M

Post by JeppeTh »

Ok I've missed that you have released root for later. I'll try 😊
zouhirzed
Posts: 8
Joined: Thu Feb 07, 2019 11:35 am

Re: [App] decrypt spm J/K/M

Post by zouhirzed »

can we encrypt back to tmg(spm files) after modifying files and generate widget.license somehow with this or other utility?
I'm also trying to extract app installed from tizen store and extract widget.license and app.tmg to use them in another no rootable tv (usb auto install with userwidget) is this even possible ? thanks
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] decrypt spm J/K/M

Post by zoelechat »

Don't think so. You'd need to create a new custom widget using Tizen Studio.
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[M/Q] Software”