Page 1 of 1
[App] srf decrypt for HKMFK/JZM
Posted: Thu Mar 22, 2018 3:16 pm
by racocvr
Command line tool to convert a .srf file to decrypted .ts file. I only tested it on HKMFK so no idea if it works on other firmware types.
Install:
- copy srf_decrypt from the zip to the tv (i.e. $SYSROOT/usr/bin)
- add exec attribute if necessary (chmod 755 $SYSROOT/usr/bin/srf_decrypt)
Usage:
Code: Select all
# srf_decrypt <full_path_to_srf_file>
ex: srf_decrypt /opt/storage/usb/sda2/CONTENTS/19700101022506.srf
Output:
- a new .ts file will be created in the same directory containing the .srf file. Make sure enough free space is available.
Change log:- v0.1 - First release
- v0.2 - Fixed support for files larger than 2Gb
Re: [App] srf decrypt for HKMFK
Posted: Thu Mar 22, 2018 3:51 pm
by zoelechat
At first I thought "but!? we already have got drmdecrypt and ffmpeg?! Yet another faster one?"... You should have told that one doesn't need prior key

I confirm works as well on T-JZM.
Btw, SYSROOT is full exec (at least released one), no need for chmod
Re: [App] srf decrypt for HKMFK
Posted: Thu Mar 22, 2018 6:29 pm
by racocvr
Yes, on K there is no key dumper so I wasn't able to make drmdecrypt nor ffmpeg work here.

Thanks for testing on T-JZM.
Re: [App] srf decrypt for HKMFK
Posted: Thu Mar 22, 2018 6:32 pm
by zoelechat
Actually there is a keydumper, read carefully at the end of root procedure, you just have to take it from J sysroot.
At least your stuff is not copyrighted, will include. Thanks for sharing it

Re: [App] srf decrypt for HKMFK/JZM
Posted: Thu Mar 22, 2018 7:07 pm
by racocvr
tzpvrdmpkeys from J doesn't work here

I though that's why it wasn't included on K
Code: Select all
localhost~ # tzpvrdmpkeys
Tizen PVR key dumper v0.2.0 - (c) bugficks 2016
[E] dlopen error libpvr_drm_client.so.0: cannot open shared object file: No such file or directory
Re: [App] srf decrypt for HKMFK/JZM
Posted: Thu Mar 22, 2018 7:25 pm
by zoelechat
First news to me, not easy to be aware when nobody reports nothing (works on JZM). One more good reason to include in next sysroot version

Re: [App] srf decrypt for HKMFK/JZM
Posted: Thu Mar 22, 2018 8:04 pm
by juusso
Nice, very good!
Re: [App] srf decrypt for HKMFK/JZM
Posted: Thu Mar 22, 2018 9:48 pm
by zoelechat
juusso wrote: ↑Thu Mar 22, 2018 8:04 pm
Nice, very good!
Bon appétit !
@racocvr
I've just added optional destination filename for srf_decrypt to be compliant with srf2ts.sh ts naming.
K sysroot now updated and including it
(cf. changelog)
Re: [App] srf decrypt for HKMFK/JZM
Posted: Thu Mar 22, 2018 10:55 pm
by racocvr
Great! I like the srf2ts.sh ts naming way more than the default "timestamp" srf names
