Page 4 of 19
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Thu Apr 12, 2012 9:48 am
				by shadowrunner256
				Hi,
first, thanks for all the work you guys are doing here!
I've tested some things, and want to give a little feedback...
I own a UE32D5700, PVR enabled via service menu, samygo app, DVB-S.
Copying all the files of a recording session with the same name to a folder via FTP, 'DRMDecrypt_x64_TEST.exe' works fine for SD (576i) and HD (720p). 1080i not tested yet.
Using the GUI i have exact the same symptoms as Spoza:
Spoza wrote:
Just a partial success here...
Movielisting now works fine (more or less... I see one strange character in one of the titles, but I don't have any details yet to report), but clicking Download button in the movielist window has still the same effect - "preparing download" window opens with the "...please wait..." message apeearing for a second or two and then both windows close and I'm back in the main window.
Trying to process a file manually downloaded to a local folder freezes the application during the decryption process and at the end it crashes.
so the only thing working is listing of the recorded movies.
The GUI is nice, and it would be even nicer with all functions working  
 
regards
 
			 
			
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Thu Apr 12, 2012 10:00 am
				by Hassan
				Sisternicky wrote:Ok,
hopefully, it is now fixed...
I implemented the Adaption Field Fix as well as some bugfixing in the FTP Download function. (and corrected the spelling error).
I also uploaded a binary 7z archive for those who do not want to use the installer.
Again, sorry guys that I have to use you as guinea pigs...
FTP didn't work for me but no need to FTP access.
I copied PVR files with "UFS Explorer" and then decryped .srf files with your program and it works for me.
Thank you very much my friend.
 
			 
			
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Thu Apr 12, 2012 10:58 pm
				by Spoza
				Just a short note - it's actually 
ADAPTATION field, not 
adoption field... using correct terminology helps understanding each other 

 
			 
			
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Fri Apr 13, 2012 5:02 am
				by Ilkku
				Now the decrypting is working for me. I use the method in Denny's first post. It's a bit painful, but doesn't matter. At least now I know I can save my recordings to blu-ray disk! 
I even tried it, tsmuxer accepts ******.ts and you can make it to AVCHD or blu-ray. Then burn it to UDF2.5 and PS3 accepts it. Next step for me is learn to convert .ts subtitles to blu-ray subtitles, but that's another story... 
Thank you Denny!
 
			 
			
					
				AW: Samsung PVR Content Decrypting tool - final
				Posted: Fri Apr 13, 2012 6:52 am
				by DEUS
				Ilkku wrote:Now the decrypting is working for me. I use the method in Denny's first post. It's a bit painful
What is painful there? Speed? If it is issuing the commands there are some possibilities with scripts
 
			 
			
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Fri Apr 13, 2012 12:21 pm
				by Ilkku
				DEUS wrote:What is painful there? Speed? If it is issuing the commands there are some possibilities with scripts
I know Sisternicky has done good scripts, but I use linux. As I'm not good at programming, I do it harder way. I'm used to it... 

 
			 
			
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Sat Apr 14, 2012 10:27 am
				by Sisternicky
				@Ilkku,
actually, the scripts are originaly from Denny, I just ported them to .NET and put them into a nice gui.
PS: You might be able to run it under Wine. I have not tried it yet. Unfortunatly, Mono does not recognize WPF that good, so there is no possibility for a native compilation.
PPS: There is a new version of DeSTRoi on the way that should get rid of some nasty bugs. It is in the final testing phase now (thanks @Spoza) and I'll upload it when I get the green light from him 

.
 
			 
			
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Sat Apr 14, 2012 12:41 pm
				by NeoMoucha
				great, looking forward to the new version, the last one doesn't work for me - "preparing download" and then bang and nothing...
			 
			
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Sat Apr 14, 2012 8:13 pm
				by Ilkku
				I made some studying with hex editor:
mdb1:
00000000   01 00 00 00  00 20 00 00  AD E7 E8 FA  07 49 DF DD
00000010   24 7C 9C 50  42 D3 05 FD  00 00 00 00  00 00 00 00
key1:
00000000   FA E8 E7 AD  DD DF 49 07  50 9C 7C 24  FD 05 D3 42
mdb2:
00000000   01 00 00 00  00 20 00 00  A8 2A 60 37  9A FA 60 91
00000010   B2 AE 3C 44  F0 4C 4F B3  00 00 00 00  00 00 00 00
key2:
00000000   37 60 2A A8  91 60 FA 9A  44 3C AE B2  B3 4F 4C F0
mdb3:
00000000   01 00 00 00  00 20 00 00  D7 83 39 1C  D6 2A 74 29
00000010   D4 CC AC 0E  A8 B6 E9 0E  00 00 00 00  00 00 00 00
key3:
00000000   1C 39 83 D7  29 74 2A D6  0E AC CC D4  0E E9 B6 A8
Three different mdb-files and drm.key-files. As merilix discovered, there is pattern in the mdb files. I even tried manually edit new drm.key file with data of .mdb and it works.
Does this pattern differ from your merilix, or why can I get your code work?
My TV is UE46D6507 and firmware is T-GASDEUC-1018.0
			 
			
					
				Re: Samsung PVR Content Decrypting tool - final
				Posted: Sat Apr 14, 2012 9:51 pm
				by Sisternicky
				Finally I got it right.
Tested and working 

 (hopefully for everyone now). I'd like to thank Spoza especially for helping me test my changes.
Here they are:
-- Fixed multithreading environment that caused some unexpected and weired things to happen
-- Improved memory usage. This should help to prevent performance degredation while running the program
-- Fixed some localization issues
-- Automated column width so that they do not cut off their content by default
-- Added merilix' Adaption Field fix, adjustable for each single file to convert and controlled by a central switch
-- Shows stats by default now
-- Fixed a crash bug when canceling download
hope you guys can use the program well  

 . As everytime, if you have any suggestions or discover any bugs, don't hesitate to pm me.
New Version 
viewtopic.php?f=22&t=2820&start=140#p30416