|
|
|
|
|
|
BMW Garage | BMW Meets | Register | Today's Posts | Search |
|
BMW 3-Series (E90 E92) Forum
>
Transmission remap - Let's do it ourselves
|
|
09-01-2015, 12:26 AM | #265 |
Private
10
Rep 73
Posts
Drives: 2011 335d
Join Date: Jul 2015
Location: Houston
|
Was the 335d offered in Europe with a manual gearbox? I know that none of the NA models were. Man, now that would be a kick in the seat of the pants if it was. I know that reliability would be a possible concern but there are cars out there, that have more HP and torque than the d, with manual boxes out there.
__________________
2011 335d:Mostly stock for now
2007 BMW K1200s: PCIII |
Appreciate
0
|
09-01-2015, 08:22 AM | #267 |
Banned
799
Rep 1,630
Posts |
Yep, there is a good amount of upgrade parts, including torque converters. It is actually pretty strong in stock form. The Aussies have really made it perform in their Fords by remapping, without touching the internal parts. And the story gets better. Input shaft is the first upgrade needed, so you don't even need to open up the transmission. Of course, if you need to hold 1000Nm, then it needs to be opened up. Oh, to have that problem!
|
Appreciate
0
|
09-01-2015, 06:09 PM | #268 | |
Colonel
1002
Rep 2,287
Posts |
Quote:
|
|
Appreciate
0
|
09-02-2015, 06:51 AM | #269 | |
Major
808
Rep 1,192
Posts |
Quote:
|
|
Appreciate
0
|
09-23-2015, 04:03 PM | #270 | ||
Second Lieutenant
101
Rep 292
Posts |
This is the best thread on this site, IMO. Decoding these maps is not a wasted effort, even if we currently lack a way to bypass the RSA check.
Quote:
Quote:
Thinking out loud from here on... To summarize the options at this point: - Crack the RSA signature and get the private key (not happening) - Obtain the RSA private key from someone at BMW (likely not happening) - Bypass the RSA check in the bootloader (best option) - Find out where the public key is stored in the bootloader and overwrite it with the public key from our own generated private/public key pair (may be easier than the option above, but not as ideal) I believe the best option is to completely disable the RSA check, considering we don't know over which data the hash is generated or which hash algorithm they use. What we need to know: 1. Can we flash the bootloader at all? There is an option in WinKFP for this, but does it work? Does this allow us to flash any arbitrary image to that memory region? Or does WinKFP check the signature of the bootloader? I have no clue how this process works. 2. If so, can soneone point me in the direction of the bootloader binary? 3. Does the bootloader check the signature of the image before it commits it to flash? There are a number of ways flashing the bootloader can be implemented internally. Normally, the CPU boot straps to the bootloader in FLASH, which then copies itself to RAM and continues execution from there (where it then copies the main image to RAM and eventually jumps there). This is how the bootloader is able to seemingly overwrite itself. This also gives it the opportunity to check the signature of the complete bootloader image in RAM before it writes it to FLASH. This would be BAD. Ideally, the bootloader just copies block by block directly what it's fed from the OBD port I would assume the bootloader itself has to be unencrypted at least during early boot. It may check a signature of itself during early init, so this would have to be bypassed as well if we modified the boot loader to bypass the main RSA check of the complete image. The only way I could see any of this happening would be if we found out which CPU the thing uses and got access to a development board with a debugger. Not impossible, since I'm sure there are plenty of engineers here. Then we could examine the loader and look for patters of where it's probably creating a hash (a read of an address that is far away). Also, some devices already exist which can modify portions of the TCU's memory. The TCU which we use is the GS19 created by Bosch. Device FRC3221S on this site: http://www.evc.de/en/product/spiwizard/parts.asp has the ability to program this, but it's for VAG cars, not BMW. I bet the boot loader is very similar... EDIT: I see this device only supports "data area". I'm not sure what they mean by that, but DATA usually refers to things other than code. Code is usually referred to as TEXT or program. Sorry for the rant. |
||
Appreciate
1
|
09-23-2015, 08:05 PM | #271 | |
Banned
427
Rep 1,036
Posts |
Quote:
|
|
Appreciate
0
|
09-23-2015, 08:47 PM | #272 | |
Major
808
Rep 1,192
Posts |
Quote:
1. The bootloader files come as .bfa or .0ba files. I have not et seen a SP-daten distribution that contains a .bfa or .0ba for the GS19. Or I'm not looking at the right place... 2. Sorry, no clue. 3. If I was the developer of the TCU and had a signature on the program and data, I sure would include one for the bootloader as well. So flashing a modified bootloader over WinKFP would most likely not work. However, your other idea is the most promising. If we get our hands on a used mechatronic unit we could take it apart, find out what micro it is using and get a debugger connected, read out flash, find bootloader signature check, disable and flash it back. Then we could connect that mechatronic unit to a car and try to flash it with a modified cal and see if it works without risking to brick a good transmission. Anyone around with a broken transmission here? |
|
Appreciate
0
|
09-24-2015, 07:54 AM | #274 |
Second Lieutenant
101
Rep 292
Posts |
Another hacky option is to figure out exactly what kind of CAN messages are exahcnged between the TCU and the rest of the car and make a translator so we can use the Ford TCU. Since the mechanical workings of the 6r80 are basically identical to the 6HP26, which is basically the same as the 6HP21, we may be able to have that TCU control the trans.
But I'm sure the interface between the TCU and the rest of the car is different. I know I can make the translator, but figuring out what messages mean what is a pretty time consuming task (but it can be done, which is how devices like the JB4 exist). |
Appreciate
2
fastboatster427.50 |
09-24-2015, 03:04 PM | #275 | |
Lieutenant
152
Rep 453
Posts |
Quote:
I cannot see why we would want to read/write the program/code portion of the file - we just need to alter the maps in the data area. ..And on a sidenote, I talked a bit to JF Automotive about their gearbox remaps. They still have _no_ data to back up their claims about faster shifting and sooner lockup. I'm not impressed. But we could always buy one and snoop the data from it to see what it really is doing. |
|
Appreciate
0
|
09-24-2015, 08:08 PM | #276 | |
Major
808
Rep 1,192
Posts |
Quote:
Gateways are easy to program - but which hardware would you use? |
|
Appreciate
0
|
09-25-2015, 08:21 AM | #277 | |
Second Lieutenant
101
Rep 292
Posts |
Quote:
As for the hardware, something like an Atmel AT90CAN128 might do the trick. It might require an external CAN transciever; I haven't looked in to the specific hardware much yet. I have used Atmel MCUs in the past, and they were always easy to get working. There are probably many example projects using a CAN controller. This seems like a great project for a junior level Electrical/Computer engineering student. Maybe I can see if my school would be interested in helping out lol |
|
Appreciate
0
|
09-25-2015, 10:08 AM | #278 | ||
Major
694
Rep 1,443
Posts |
Quote:
|
||
Appreciate
0
|
09-25-2015, 05:59 PM | #279 | |
Banned
427
Rep 1,036
Posts |
Quote:
"Thank you for your email and enquiry. We develop, build and sell complete vehicles. In the USA for example the BMW ALPINA B7 and the BMW ALPINA B6 xDrive Gran Coupe, which are officially sold and marketed through BMW of North America. As such, we do not engage in any tuning or similar after-market modifications. Our vehicles, engines, transmissions and chassis are developed over a 24 months period with vehicle testing according the manufacturer standards. Our corporation with BMW prevents us from passing on proprietary information. We hope you understand we are not able to help in this matter - however, we appreciate your endeavour, there need to be more diesel enthusiasts in the USA. On a sidenote, we do have an ALPINA specific transmission software, hardware changes are primarily required to deal with increased torque etc. In the current F3x based BMW ALPINA diesel models we actual use the 8HP70 tranmission from our V8 models to deal with the torque." |
|
Appreciate
1
|
09-25-2015, 09:13 PM | #280 | ||
Major
694
Rep 1,443
Posts |
Quote:
|
||
Appreciate
0
|
09-26-2015, 10:29 AM | #281 | |
Major
808
Rep 1,192
Posts |
Quote:
|
|
Appreciate
0
|
09-27-2015, 01:33 PM | #282 | ||
Ballin' out of control.
525
Rep 1,289
Posts |
Quote:
Gearbox Software from old to new transmission transmitting 6HP Quote:
Sounds like he might be able to help.
__________________
Alpina B3 Flash/BMS OCC/ER CP/ETS 5/HKS BOV/M3 Control Arms
|
||
Appreciate
1
|
09-27-2015, 04:16 PM | #283 | |
Lieutenant
152
Rep 453
Posts |
Quote:
I live in Denmark, not far from Frankfurt.. |
|
Appreciate
0
|
09-28-2015, 12:47 PM | #286 |
Colonel
1002
Rep 2,287
Posts |
A few quick questions and comments:
1. Are you sure the Boot loader is not part of the OPA file? It seems like most of the newer ECUs do not have a separate boot loader in the Daten folders. 2. I was digging through the OPA files yesterday and could not easily locate the sections that contain the RSA signature. It's easy to spot in the Parameter section ODA files. 3. If the ECU checks the RSA signature for the Parameter section, could Winfkp be part of the signature check for the boot loader? What other purpose would the authorization files in the Winfkp installation have? Last year, I did a quick disassemble on Winfkp itself and it seemed to be full of authorization routines. Winfkp being a small executable can probably be beaten. Pprobably not by me, but someone with more experience. Just thinking, |
Appreciate
0
|
Bookmarks |
|
|