Page 3 of 13

Re: Samsung PVR Content Decrypting tool - final

Posted: Fri Nov 25, 2011 11:39 pm
by Denny
1st post updated

enjoy

Re: Samsung PVR Content Decrypting tool - final

Posted: Sat Nov 26, 2011 12:07 am
by gooseye
Thanks Denny!

Re: Samsung PVR Content Decrypting tool - final

Posted: Sat Nov 26, 2011 12:13 pm
by idbirch
Haven't tried this yet as I will need to set up a Linux VM but does the DRM key change for every recording?

Re: Samsung PVR Content Decrypting tool - final

Posted: Sat Nov 26, 2011 12:49 pm
by Denny
idbirch wrote:Haven't tried this yet as I will need to set up a Linux VM but does the DRM key change for every recording?
yes, each srf has random generated key whitch you can extract for each file trom tv,
then compile sources under cygwin/visual studio, so u dont need extra vm linux machine ^..^

Re: Samsung PVR Content Decrypting tool - final

Posted: Sun Nov 27, 2011 11:04 am
by gooseye
Hi Denny. I think there's a problem @ 4GB now. Looking at the x86 source, you're declaring filesize etc as ulong (32bits), not uint64.

Re: Samsung PVR Content Decrypting tool - final

Posted: Mon Nov 28, 2011 12:19 pm
by gooseye
The key-gathering part of the process must be run on the TV itself (drmget). After that, you can perform the decrypt on any available & preferably fast machine.

Re: Samsung PVR Content Decrypting tool - final

Posted: Mon Nov 28, 2011 9:15 pm
by gooseye
No-one else seeing the 4GB problem? Denny pm'd me to say he is busy on other stuff, so I grabbed a linux live cd & recompiled drmdecrypt_x86. I changed just one line in main():

unsigned long long filesize = 0, i , j, dec_count = 0;

I'm having trouble mounting the TV's samba share on this knoppix live cd setup to test it, but if someone else wants to try, here's the new x86 build.

Edit: Removed file, tested NOK. Will read up on typedef off_t & large file support in c.

Re: Samsung PVR Content Decrypting tool - final

Posted: Sat Dec 03, 2011 3:52 pm
by gooseye
I fixed the 4GB issue, 32bit linux x86 version and sources attached. Compile with

Code: Select all

gcc aes.c drmdecrypt_x86.c -o drmdecrypt_x86
Hopefully Denny will find time to incorporate in the arm version for TV - all changes related to 32/64bit issues & are marked in _x86.c source. (There's some %llu in printf()'s too, not marked).