![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
BMW Garage | BMW Meets | Register | Today's Posts | Search |
![]() |
![]() ![]() |
BMW 3-Series (E90 E92) Forum
>
Transmission remap - Let's do it ourselves
![]() |
![]() |
06-28-2015, 07:46 PM | #221 |
Banned
809
Rep 1,630
Posts |
Nice work MIK352tds! Given synchronicity issues I often see in datalogging, that looks like a good fit.
![]() Last edited by DWR; 06-28-2015 at 08:04 PM.. |
Appreciate
0
|
06-28-2015, 09:51 PM | #222 | |
Banned
809
Rep 1,630
Posts |
Quote:
![]() |
|
Appreciate
0
|
06-29-2015, 08:52 PM | #225 | |
Banned
809
Rep 1,630
Posts |
Quote:
![]() So, I guess we still need to figure out the Cyclic Redundancy Check? In the meanwhile, I think I'll repeat the datalog experiment you did, with the stock cal file in my vehicle, and see if the map locations coincide with your results. Good job, Mik. ![]() |
|
Appreciate
0
|
06-30-2015, 08:33 AM | #226 | |
Major
![]() ![]() 808
Rep 1,192
Posts |
Quote:
![]() Anyone with expertise on cryptology here? |
|
Appreciate
0
|
06-30-2015, 08:58 AM | #227 |
Major
![]() ![]() 808
Rep 1,192
Posts |
Found something about a weakness in the RSA signatures:
Looks like with that we'd be able to extract the public key using two signed cal files and then would be able to sign the moded cal file ourselves. |
Appreciate
0
|
06-30-2015, 12:08 PM | #228 |
Banned
809
Rep 1,630
Posts |
Looked over the attachment, got to love mathematics if you want to understand cryptography. Hopefully, the open source program will work. Is that your thought also?
Last edited by DWR; 06-30-2015 at 12:16 PM.. |
Appreciate
0
|
06-30-2015, 02:37 PM | #229 | |
Major
![]() ![]() 808
Rep 1,192
Posts |
Quote:
From what I've been reading today, we'd have come to a full stop here. BMW uses a RSA asymmetric signature which means that with the public key you can authenticate (verify the correct signature) in the file but you need the secret key in order to sign the file. |
|
Appreciate
0
|
06-30-2015, 04:26 PM | #230 | |
Banned
809
Rep 1,630
Posts |
Quote:
So, does that put a question mark on JA Tuning's flash box? Or are they in the know? |
|
Appreciate
0
|
06-30-2015, 05:56 PM | #232 |
Banned
427
Rep 1,036
Posts |
You mean JFA or JR? Both sell a "flash box" and neither are actually the manufacturer of it. I can dig up the company if you need it.
|
Appreciate
0
|
06-30-2015, 05:58 PM | #233 | |
Major
![]() ![]() 808
Rep 1,192
Posts |
Quote:
But for us it seems to be end of the story. ![]() Thank you for all the hard work. It's been a pleasure working with you and we have learned a lot. Also thanks to the other contributers. |
|
Appreciate
0
|
06-30-2015, 06:35 PM | #234 | |
Banned
427
Rep 1,036
Posts |
Quote:
|
|
Appreciate
0
|
06-30-2015, 06:56 PM | #235 |
Colonel
![]() 213
Rep 2,210
Posts |
I really don't know anything about the RSA signatures, but why does it change if you just change text in the file? I also don't get why an open file would have a digital signature at all.
|
Appreciate
0
|
07-01-2015, 01:49 AM | #236 |
Banned
809
Rep 1,630
Posts |
|
Appreciate
0
|
07-01-2015, 01:56 AM | #237 | |
Banned
809
Rep 1,630
Posts |
Quote:
|
|
Appreciate
0
|
07-01-2015, 06:44 AM | #238 | |
Major
![]() ![]() 808
Rep 1,192
Posts |
Quote:
When the program or cal file is flashed, the bootloader checks the file by recalculating the Hash value and decrypting the signed hash value from the file using the public key stored in the bootloader. Those two hash values are then compared. If they match it's good to go, if they don't - stay in bootloader mode. |
|
Appreciate
0
|
07-01-2015, 06:52 AM | #239 | |
Major
![]() ![]() 808
Rep 1,192
Posts |
Quote:
The bootloader is a section in the ECU that usually doesn't get reflashed, but it is possible to be reflashed through a special configuration in WinKFP. The thing is: You need a new bootlaoder that doesn't check for the signature of the new program/cal file afterwards. Where are we going to get that from? |
|
Appreciate
0
|
07-03-2015, 09:42 AM | #241 | |
Major
![]() ![]() 808
Rep 1,192
Posts |
Quote:
|
|
Appreciate
0
|
07-04-2015, 05:45 PM | #242 |
Major
![]() ![]() 808
Rep 1,192
Posts |
Alpina B3 cal
In a desperate attempt to try something we haven't confirmed yet, I substituted the Cal A7610591.0da with the Alpina file A7615836.0da from the GKE215 folder. The HW numbers are just one number apart 7591971A.0pa vs 7591972A.0pa and differ marginally.
It flashed ok and didn't complain about checksums or signatures... ... but it didn't shift out of Park either. And it had this awful message about transmission failure on the CIC. At least we have confirmation now. Alpina B3 does not work for the 335d. ![]() |
Appreciate
2
|
![]() |
Bookmarks |
|
|