|
|
|
|
|
|
BMW Garage | BMW Meets | Register | Today's Posts | Search |
|
BMW 3-Series (E90 E92) Forum
>
Transmission remap - Let's do it ourselves
|
|
02-03-2017, 02:45 PM | #1937 | ||
Second Lieutenant
101
Rep 292
Posts |
Quote:
When you say the keys are usually stored in plain text, do you mean like actual ASCII characters? That seems like a rather unusual approach for storing a number within something like a bootrom, but I bet it helps to make it a little easier to identify when looking at a dump of the binary. ASCII strings seem to stand out, especially when your viewer has the ASCII view on the right side (like WinHEX or something). Quote:
As for this new tool, I'm curious about how it works. I was under the impression that they didn't actually crack the RSA key, but rather, the "bootrom programming mode" authentication key (I'm assuming that's the level 3 security access key). This then allowed them to write to the bootrom. At that point, it seems like you can then either replace the BMW public key with your own so you can sign your own images, or modified the code to bypass the check completely. |
||
02-03-2017, 05:12 PM | #1938 | ||
Captain
253
Rep 775
Posts |
Quote:
Quote:
They probably found a way to bypass the RSA check. Generally that involved changing the pointers for the RSA check so that you can flash and execute your own code while the module thinks it's authorized. Alternatively they may have figured out how to wipe the boot sector with one of the security access levels (I don't think Level 3 would do it, but levels 4 and 5 might -- I haven't worked on any of those yet) For the older modules, the key I published should at least allow someone to flash those GKEs. |
||
02-04-2017, 09:35 AM | #1939 | |
Major
808
Rep 1,192
Posts |
Quote:
|
|
Appreciate
0
|
02-04-2017, 01:00 PM | #1940 |
Lieutenant
171
Rep 494
Posts |
I have access to pretty decent computing resources (80 physical cores + RAM in several Terabytes). Let me know if i can be of any help.
__________________
JR Auto tune and Bohl Diesel Downpipe - KWv2 coils - Apex Racing 18" EC7 wheels wrapped in Michelin PSS 245/275 F/R - Zimmerman cross drilled rotors F/R with Hawk HPS pads - SS brake lines - Motul RBF 600 - ADD W1 oil catch can - BMW performance CF spoiler
|
Appreciate
0
|
02-05-2017, 04:23 PM | #1941 | |||
Colonel
1002
Rep 2,287
Posts |
Quote:
I'd like to repeat, great write up. With this information can you resolve and calculate the calibration file, RSA signature for the GKE211? In other words would it be possible to write a script to create a valid RSA signature on a modified calibration file? It's not like I'm having great success with official files but it would be nice to know how far this can go. |
|||
Appreciate
0
|
02-07-2017, 06:16 PM | #1942 | |
Captain
253
Rep 775
Posts |
Quote:
Basically what you'd have to do is find the RSA pointers, calculate the MD5 for that chunk of data, byte swap and reverse the md5, sign that with the private key, and insert the newly generated signature into the calibration. The other thing that one can do is change the RSA pointers to cover a short range of bytes that never change, calculate a signature for that range, and then just insert that signature into any file you make without having to resign the file every time. |
|
Appreciate
0
|
02-08-2017, 12:42 PM | #1944 |
Major General
397
Rep 5,613
Posts |
Anyone remember that guy who spent 500 GBP on a tranny tune?
|
Appreciate
1
RBT-Tuning714.50 |
02-11-2017, 04:10 PM | #1945 |
New Member
1
Rep 12
Posts |
Ive got a uk car, 2006 e91 330d. My hardware number is (i think) 7587969, is this on the supported list? Ive looked at the compatibility chart and it says vu92 type code which mine is. I really hope it is!!
|
Appreciate
0
|
02-12-2017, 06:44 AM | #1946 |
715
Rep 755
Posts |
Look at the bottom of the list. If you are in the 2006/2007 bucket it might not be supported, despite listed. You're hardware number points to the old TCU, so no luck at the moment, sorry.
|
Appreciate
0
|
02-12-2017, 06:57 AM | #1947 | |
Private First Class
31
Rep 100
Posts |
Quote:
Most easily identified by the solenoids. 10 bolt mecha doesn't have any bright orange solenoids: We'll just have to wait. |
|
Appreciate
0
|
02-15-2017, 04:10 AM | #1948 |
Lieutenant
152
Rep 459
Posts |
Just a quick update from me - the app is absolutely awesome. It is far more robust than I would have imagined a beta version would be. I have tried two of the OTS maps (Stage1+2), and I have tried to flash a "custom" tune. (Custom is just flashing the backup the app makes as the first thing, in order to test the custom flash capabilities). There is extensive sanity check to the custom file before flashing it to the TCU. Overall I'm quite impressed.
|
Appreciate
8
|
02-16-2017, 12:46 PM | #1949 |
Second Lieutenant
101
Rep 292
Posts |
I have a few questions regarding how this tool will work once it's released.
For the OTS maps, are there separate versions of each OTS map based on every possible stock software revision, or are the OTS maps based on a common revision which would get flashed to every car regardless of its original stock software revision? If there are separate OTS map versions, does this tool automatically read the UIF to determine the current software version, then use that to choose the appropriate version of the desired OTS map? I ask because my UIF doesn't necessarily reflect what's actually on the TCU. My last question is regarding the custom flashing capabilities. My N55 car currently has the Alpina B3 flash. Will this tool be able to read that image out and reflash a modified version if it (assuming I made the modifications myself, of course)? Or are there limitations on which factory software revisions can be customized/cksum corrected/etc? |
Appreciate
0
|
02-16-2017, 04:02 PM | #1950 | |
Lieutenant
152
Rep 459
Posts |
Quote:
The first thing you do in the app - before you're allowed to flash anything - is to make a full 1MB backup of your current TCU. This can be an Alpina, ori BMW or whatever. This file you can edit - as long as you do not touch some areas of the file. (as far as i know you're not allowed to touch the program part of it, only calibrations part). That means you can alter your Alpina file - and then flash your modified alpina as a custom tune. This is what I have done right now for my 325d. ..But please be aware - the alpina file does have the same maps as a std. BMW file - but it uses them in a different manner. It is not a big issue, just takes quite some longer time to find out how it uses the maps. Also IMHO the Alpina file is pretty "advanced" already, it is hard to find huge gains in it. |
|
Appreciate
1
Unklejoe101.00 |
02-16-2017, 04:07 PM | #1951 |
Lieutenant
152
Rep 459
Posts |
A question for you guys that have been tinkering with the files and/or datalogging.
The shiftmaps have Throttle% as input - and then columns for up changes and down changes. The output is output shaft speed. So far so good. I have made some alterations to an alpina file - in order to lower the shiftpoints to better suit a diesel. This goes perfectly well - apart from 100% throttle. I did some TestO logging today, and i can the that OSS is well above the shiftpoints set in my file for the current gear (in all shiftmaps!) - but it does not change gears - just bounces of the limiter. Does anybody have any idea why it does not adhere to the shiftmaps @ 100% throttle? Everything below(~90%) is perfectly fine. 5th from 58km/h 4th from 39km/h and so on. |
Appreciate
0
|
02-16-2017, 04:21 PM | #1952 | |
Second Lieutenant
101
Rep 292
Posts |
Quote:
Are you developing/using an XDF file for the Alpina B3 firmware? Do you plan to continue using the Alpina B3 as your "base"? Or do you plan to switch to a regular BMW firmware due to the difficulty in figuring out how the Alpina B3 firmware uses its maps? |
|
Appreciate
0
|
02-16-2017, 04:24 PM | #1953 | |
Lieutenant
152
Rep 459
Posts |
Quote:
What you would like to achieve should be quite easy to accomplish. |
|
Appreciate
0
|
02-16-2017, 04:40 PM | #1954 |
Second Lieutenant
101
Rep 292
Posts |
Also, is there an easy way to run Android on a Linux/Windows PC so that I don't have to buy a phone just for this?
I know there are a few Android emulators out there (and the Android-x86 project), but I'm curious if this will work under that environment. |
Appreciate
0
|
02-17-2017, 03:49 AM | #1955 |
Lieutenant
152
Rep 459
Posts |
I'm running Android x86 (The CM13 variant) - and the latest version of the tool seems to support it fully.
|
Appreciate
2
Unklejoe101.00 BionicYeti15.50 |
02-17-2017, 12:21 PM | #1957 | |
715
Rep 755
Posts |
Quote:
|
|
Appreciate
0
|
Bookmarks |
|
|