Replies: 32 comments 33 replies
-
cff has its own chksum. |
Beta Was this translation helpful? Give feedback.
-
I suppose I need to clarify what I'm trying to achieve. I'm a car tuner and most of my work involves MB platforms so I tried the tool and exported the CFF File segments to binary form and when I checked the exported file it had maps as I expected, now lets say I modified a map then use the tool to inherit the modified bin to the segment using "Export Spliced File CFF". To make things easier I'll name the new exported CFF as "foo.cff" . Is this foo.cff is already checksum calculated and is it ready to be flashed or do I have to calculate the checksum once I modified the map before inheriting and exporting foo.cff CFF I'm testing is for the ECU (MED177) |
Beta Was this translation helpful? Give feedback.
-
once you modified "original" flash, lets say with winols it must correct cks so all you need to match adresses of segment area to be exported for cff. |
Beta Was this translation helpful? Give feedback.
-
So I am going to calculate checksums using winols then I'll use the tool to export flash. I'll use vediamo to flash the software and I'll be back with feedback if It was a success or not Thanks for your replies. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay, did first test on flashing MED177 after modifing the extracted segment without making checksum correction for the binary, inherited it into the CFF (tool did CFF checksum), flashed it and got "Signature Failed". I thought I could fool it and pass the Signature check without making checksum correction for the binary. Next test is going to be checksum for both of them, hopefully we could mod other modules with the help of this amazing tool. |
Beta Was this translation helpful? Give feedback.
-
So I modified the bin file and did the checksum then I inherited into the CFF file and the tool did the checksum for CFF, I tried to flash it using Vediamo and once it completed it showed a message "Signature Failed". I tried to flash the binary file with another tool and it was OK so I think maybe their is another check which checks the integrity of the file. Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
Do you have an idea to bypass this check? |
Beta Was this translation helpful? Give feedback.
-
upload a modified flash you wish to be exported to cff. Ill fix software checksum. So you can compare what is your wrong step |
Beta Was this translation helpful? Give feedback.
-
https://mega.nz/file/QyRigYwK#trNvymXcy7Z2FaBrOf_ol3yPDPBuka9HvEk8F9w2-M8 Here is a modified flash |
Beta Was this translation helpful? Give feedback.
-
it is BOSCH MED17.7.1 1037540338 it is 1579033700 cff 1579033700_134500_803FDF00 is CS block segment you havent fixed |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay had too much work to do, Feezex thanks for the help and I tried your checksum but didn't work here is a pic |
Beta Was this translation helpful? Give feedback.
-
post cff you tried to flash and mod file you trying to export |
Beta Was this translation helpful? Give feedback.
-
since the feature was added by my request ive tried it with cr4_nfz with no success long time ago. At that spot i thought i made something wrong (Flash sector names orso). Now we see that it wasnt. Ill try to make trace while flashing. |
Beta Was this translation helpful? Give feedback.
-
Dear @jglim i would like to hear from you :
|
Beta Was this translation helpful? Give feedback.
-
What I recall that for example MED177 has 2 checksums blocks sometimes when I use WinOLS to make the checksums it does change the last block and approx 4 bytes before the starting of the maps. Does that have something to do with it? I saw some other tuners use a private tool which is not public that can flash TCU or CPC directly without using Vvediamo. Only J2534 + the private software. Maybe if you could think of a solution that would flash directly without Vediamo we could bypass that last check? That private tool flashes BIN file not CFF. |
Beta Was this translation helpful? Give feedback.
-
S1872210.zip |
Beta Was this translation helpful? Give feedback.
-
17:14:52 Request: |
Beta Was this translation helpful? Give feedback.
-
maps write can trace.zip |
Beta Was this translation helpful? Give feedback.
-
Notes on the cff algo.
|
Beta Was this translation helpful? Give feedback.
-
Vediamo CAN verification log for sucess flashing |
Beta Was this translation helpful? Give feedback.
-
Got another hint from cxf. |
Beta Was this translation helpful? Give feedback.
-
DS: FN_Start_Check_Checksum_Routine Checksun Routine starten |
Beta Was this translation helpful? Give feedback.
-
Good luck guys on the hard work hope you get to a solution |
Beta Was this translation helpful? Give feedback.
-
have you think about removing CCC blocks? Im thinking of compare similar cffs to determine all 3 blocks. 1 and 3 is easy, but second string have pre bytes, which must be removed to set Number of securities to 0 (as far as i think- it is). |
Beta Was this translation helpful? Give feedback.
-
One more thought. |
Beta Was this translation helpful? Give feedback.
-
To make comparison i took same smr-d file that have correct name for thing we call CCC. and a string drom CFF |
Beta Was this translation helpful? Give feedback.
-
Since Caesar does signature check i decided to check c32s.dll from vediamo package. |
Beta Was this translation helpful? Give feedback.
-
How about using unsecured cff as a sketch - modify flashkey, meaning, qualifier, priority etc. |
Beta Was this translation helpful? Give feedback.
-
variant id is stored in flash offsets section and can be easily modified, but we knew nonthing about hardcoded part.. |
Beta Was this translation helpful? Give feedback.
-
hello together I have read your discussion with enthusiasm |
Beta Was this translation helpful? Give feedback.
-
Really a powerful project and thanks for the hard time and effort that you've put in the development of this tool.
I am willing to help and contribute in any testing involved but will be testing on my own vehicle so we could take this project to the next level.
I have some concerns:
Beta Was this translation helpful? Give feedback.
All reactions