Samsung PVR Content Decrypting tool - final

Here is information about customize your D series firmware..:!:This forum is NOT FOR USER questions or problems but DEVELOPER.

Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Re: Samsung PVR Content Decrypting tool - final

Post by Denny »

1st post updated

enjoy
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV
gooseye
Official SamyGO Developer
Posts: 132
Joined: Sat Dec 11, 2010 11:32 am

Re: Samsung PVR Content Decrypting tool - final

Post by gooseye »

Thanks Denny!
idbirch
SamyGO Project Donor
Posts: 72
Joined: Fri Nov 20, 2009 11:56 am

Re: Samsung PVR Content Decrypting tool - final

Post 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?
Denny
Official SamyGO Developer
Posts: 350
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Re: Samsung PVR Content Decrypting tool - final

Post 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 ^..^
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV
gooseye
Official SamyGO Developer
Posts: 132
Joined: Sat Dec 11, 2010 11:32 am

Re: Samsung PVR Content Decrypting tool - final

Post 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.
gooseye
Official SamyGO Developer
Posts: 132
Joined: Sat Dec 11, 2010 11:32 am

Re: Samsung PVR Content Decrypting tool - final

Post 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.
gooseye
Official SamyGO Developer
Posts: 132
Joined: Sat Dec 11, 2010 11:32 am

Re: Samsung PVR Content Decrypting tool - final

Post 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.
gooseye
Official SamyGO Developer
Posts: 132
Joined: Sat Dec 11, 2010 11:32 am

Re: Samsung PVR Content Decrypting tool - final

Post 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).
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “[D] Firmware”