Page 1 of 2

SamyGO PVRDecoder for J series

Posted: Fri Nov 13, 2015 12:17 pm
by mito
Hi there,
it would be a better post in the software section, but I couldn't create the thread there :?
So, I use the SamyGO PVRDecoder viewtopic.php?f=63&t=6511 on my older Samsung for a long time. Now I have bought a new UE55JS8090. But it looks like, there is no way to root the J-series and use the program.
How could I download recorded movies to my PC?

Re: SamyGO PVRDecoder for J series

Posted: Fri Nov 13, 2015 12:32 pm
by zoelechat
Anyway software sections are now reserved to software releases...
You've understood by yourself: no root = no PVRdecoder = no way :)

Re: SamyGO PVRDecoder for J series

Posted: Fri Nov 13, 2015 12:34 pm
by mito
OK, thank you for your quick reply.
Does the TV has an build-in DLNA-Server? Some Panasonic TVs are able to stream recorded movies into a LAN via DLNA. And this stream can copied by VLC-Player.

Re: SamyGO PVRDecoder for J series

Posted: Fri Nov 13, 2015 12:41 pm
by zoelechat
No idea, I guess TV is able to cast something somewhere through screen mirroring, but I wouldn't bet it's FTA stream, not in Samsung's habits :)

Re: SamyGO PVRDecoder for J series

Posted: Tue Nov 24, 2015 3:01 pm
by mito
So, I get my new TV and what a surprise, it accepts normal NTFS HDDs for recording TV (no special Linux Stuff) :)
The recordings are stored in a folder called "CONTENTS", and here is a list of files for a single recording:

Code: Select all

.PVRPfmChkLog                     1 Bytes
20151121224508.cip              192 Bytes
20151121224508.inf           10.645 Bytes
20151121224508.mdb        1.107.808 Bytes
20151121224508.mta          721.644 Bytes
20151121224508.srf    1.778.085.888 Bytes
20151121224508.ss             1.785 Bytes
The largest file is the video, I think. As far as I remember the SamyGO PVRDecoder also copy these *srf-files from the older TV to the PC and decrypt it after that. Could it be possible to use this programm to decrypt the above files? I could upload these set of files, if someone has an idea and want to test it.
Edit: Link https://drive.google.com/file/d/0B9VglE ... sp=sharing

Re: SamyGO PVRDecoder for J series

Posted: Tue Nov 24, 2015 8:27 pm
by Lordbyte
@mito,

The files you list are identical to those found on E(S) / F- models and later TV?s ..

We basically know what we need to know about what is inside each file.

The SRF file contain the encrypted .ts stream. This is what we want to decode.

The INF file contain PUBLIC information about the recording.
This is the information that the PVRDecoder use to display all sort of stuff about each recording.

The MTA file contain 5 thumbs encoded in jpg, encoded in Base64, wrapped as XML. The PVRDecoder use this (like the TV) to
display a 5-image-rotating preview

I have no idea about what is inside the CIP file or the MDB file really, because the PVRDecoder process does NOT require their presents.

The key (that we need to decode the SRF file) is locked inside the SS file (Secure Storage).

This SS file is encrypted .. We need to decrypt THIS file before anything else, - and ONLY the TV knows
about the PRIVATE key that is needed to do so.

And this is why you MUST have access to rooted TV. At decode-time the PVRDecoder needs to launch a tool directly on the TV.
This tool (keydumper (c)sectroyer) "tricks" the TV into thinking we are right about to start a playback of EVERY recording currently stored on the TV external storage, and all keys are intercepted into KEY files on the TV?s external storage (where the PVRDecoder can access it),
and those key-files can then be used by the PVRDecoder to launch another tool that can do the actual decoding of the SRF file(s).

So, in reality we never reach a point where WE can decode the SS files, but we CAN call on the TV?s internal crypto-engine to do it
for us (when we have root, and can "reach" deeply into the TV?s kernel system and memory), and force it to provide cleartext KEY files for us.

The above is not a perfect description of the process, but a working mental model, if you will ..

In other words, - as long as we cannot access TV internal crypto-engine for a given model, we cannot decode its SS files,
and thusly not retrieve the key(s) needed to decode the SRF file(s).

If you want to know more about whats going on, I suggest you read this:

https://wikileaks.org/sony/docs/05/docs ... 202010.pdf

Its a little outdated now, but I suspect much of the information is still valid,
when it comes down to the "construct" of the secutity-implementation .. sort of .. go figure :-)

Re: SamyGO PVRDecoder for J series

Posted: Tue Nov 24, 2015 9:37 pm
by mito
OK, thank you very much for your detailed explanation.
But in other words - these files are useless at the moment ;-)

Re: SamyGO PVRDecoder for J series

Posted: Tue Nov 24, 2015 9:39 pm
by zoelechat
Except for yourself to playback them on your own TV only, yeah :)

Re: SamyGO PVRDecoder for J series

Posted: Sun Jan 24, 2016 11:29 pm
by oto
I read somewhere that MDB file contains needed keys

Re: SamyGO PVRDecoder for J series

Posted: Sun Jan 24, 2016 11:31 pm
by zoelechat
True, up to D series :)