Applications for CI+ Devices
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: Applications for CI+ Devices
Himmm, could you enable debug and watch process from ExLink cable to identify where is the problem? Thanks.
Re: Applications for CI+ Devices
Erdem, I tried to decrypt an image encrypted with the patch-tool you developed. I get a message
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.
Code: Select all
Decryption failed (final).
Just feeding 16 bytes at the end of de-/encryption is the wrong way. You need to call a final-routine.
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: Applications for CI+ Devices
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.mprotect wrote:Erdem, I tried to decrypt an image encrypted with the patch-tool you developed. I get a messageI think thats the error preventing successfull flashing.Code: Select all
Decryption failed (final).
Just feeding 16 bytes at the end of de-/encryption is the wrong way. You need to call a final-routine.
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.
Reason: Updated for adding investigation results.
Re: Applications for CI+ Devices
this failure comes when starting the Firmwarepatcher (pre3_0.16)
greets
rubinho
Code: Select all
File "SamyGO.py", line 505
print 'Error AES Block size is not 16!' )
^
rubinho
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: Applications for CI+ Devices
rubinho76 wrote:this failure comes when starting the Firmwarepatcher (pre3_0.16)
greetsCode: Select all
File "SamyGO.py", line 505 print 'Error AES Block size is not 16!' ) ^
rubinho

Re: Applications for CI+ Devices
I just tested PRE4 a bit. After patching validinfo.txt looks like this:
I think there's missing a leading '0' in the checksum (checksum is right).
Code: Select all
*007_exe.img_ 3961f0a*011_appdata.img_67487d54
- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: Applications for CI+ Devices
mprotect wrote:I just tested PRE4 a bit. After patching validinfo.txt looks like this:I think there's missing a leading '0' in the checksum (checksum is right).Code: Select all
*007_exe.img_ 3961f0a*011_appdata.img_67487d54


I don't know how much PRE release before release

- erdem_ua
- SamyGO Admin
- Posts: 3126
- Joined: Thu Oct 01, 2009 6:02 am
- Location: Istanbul, Turkey
- Contact:
Re: Applications for CI+ Devices
At last. If you verify the update, than I will release final v0.16. It's really good to announce that in weekend holiday. 
