[App] decrypt spm J/K/M
Posted: Thu Nov 11, 2021 11:55 am
Binary that decrypts individual encrypted widget files (*.spm).
Extract decrypt_spm to SYSROOT/usr/bin, and find ID of widget you want to decrypt files using command:
There get "app_package_name" value, e.g.:
Then you'll find widget.license file to be used as first arg of decrypt_spm:
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
Code: Select all
usage: decrypt_spm <license_file> <spm_file>
Code: Select all
wascmd -l
Code: Select all
[...]
--------------app_tizen_id =9Ur5IzDKqV.TizenYouTube-------------
--------------app_package_name =9Ur5IzDKqV-------------
[...]
Code: Select all
/opt/usr/apps/<app_package_name>/res/widget.license
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