Applications for CI+ Devices

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Applications for CI+ Devices

Post by erdem_ua »

Himmm, could you enable debug and watch process from ExLink cable to identify where is the problem? Thanks.
mprotect
Official SamyGO Developer
Posts: 19
Joined: Sun Dec 06, 2009 4:41 pm

Re: Applications for CI+ Devices

Post by mprotect »

Erdem, I tried to decrypt an image encrypted with the patch-tool you developed. I get a message

Code: Select all

Decryption failed (final).
I think thats the error preventing successfull flashing.

Just feeding 16 bytes at the end of de-/encryption is the wrong way. You need to call a final-routine.
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Applications for CI+ Devices

Post by erdem_ua »

mprotect wrote:Erdem, I tried to decrypt an image encrypted with the patch-tool you developed. I get a message

Code: Select all

Decryption failed (final).
I think thats the error preventing successfull flashing.

Just feeding 16 bytes at the end of de-/encryption is the wrong way. You need to call a final-routine.
Himm, I am unaware of that. I thought that because 32 byte blocks used on AES. So thats corrupts the image than file not flashed.
I will check that script and try to fix that ASAP. Thanks.

EDIT:
I have investigate the script and saw that, I add padding bytes after the encryption, while writing to file! There is also problem on signature area which is null '\0' (0x00) instead of '0's (0x30). Signature needed to be in ASCII I think. About finalizing AES, In python, there is no finalize required. I fixed the scripts padding areas and it works as it Encryption_Update application if you update its salt section with "SamyGO__" string.

So lets try again to Flash your device with PRE3 release.
Thanks.
Last edited by erdem_ua on Sat Jan 09, 2010 12:58 pm, edited 1 time in total.
Reason: Updated for adding investigation results.
rubinho76
Posts: 13
Joined: Wed Dec 30, 2009 10:12 am

Re: Applications for CI+ Devices

Post by rubinho76 »

this failure comes when starting the Firmwarepatcher (pre3_0.16)

Code: Select all

 File "SamyGO.py", line 505
    print 'Error AES Block size is not 16!' )
                                            ^
greets
rubinho
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Applications for CI+ Devices

Post by erdem_ua »

rubinho76 wrote:this failure comes when starting the Firmwarepatcher (pre3_0.16)

Code: Select all

 File "SamyGO.py", line 505
    print 'Error AES Block size is not 16!' )
                                            ^
greets
rubinho
:x I really upset to myself. I am coding as a dump this days. That '(' needed to removed. There is also some problems too at CRC check code. I removed all and now its looks working. Now uploded the PRE4. Please test if you has a courage to venture this programmer mistakes.
mprotect
Official SamyGO Developer
Posts: 19
Joined: Sun Dec 06, 2009 4:41 pm

Re: Applications for CI+ Devices

Post by mprotect »

I just tested PRE4 a bit. After patching validinfo.txt looks like this:

Code: Select all

*007_exe.img_ 3961f0a*011_appdata.img_67487d54
I think there's missing a leading '0' in the checksum (checksum is right).
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Applications for CI+ Devices

Post by erdem_ua »

mprotect wrote:I just tested PRE4 a bit. After patching validinfo.txt looks like this:

Code: Select all

*007_exe.img_ 3961f0a*011_appdata.img_67487d54
I think there's missing a leading '0' in the checksum (checksum is right).
:lol: :) I though that I fixed that error at PRE4. Fixed in PRE5...
I don't know how much PRE release before release :)
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Applications for CI+ Devices

Post by erdem_ua »

At last. If you verify the update, than I will release final v0.16. It's really good to announce that in weekend holiday. :)

Post Reply

Return to “[B] Software”