Looking for BIN to BMW intelhex

That4chanhackerguy

Specialist
May 27, 2022
54
8
0
Hey everyone, I'm looking for a tool to convery .BIN into 0PA files, there are easily options availible to do .bin to .0da however im needing to pull and covert the program space for some R&D.
 

808AWD325xi

Lurker
Nov 27, 2016
21
11
0
Moline, IL
Ride
2009 335i
I don't think you'll find that anywhere, at least not for the MSD80 and MSD81. Some tools exist for other DMEs. NCS dummy can correct the checksums, but correctly signing the 0pa file so that it passes RSA verification is the tricky part.

If you know C#, there are open source flashing projects that could be adapted to the MSD80/MSD81. They bypass RSA verification by modifying the boot loader and allow you to read the entire memory contents which is not reflected in a 0pa alone.
 

That4chanhackerguy

Specialist
May 27, 2022
54
8
0
This is what I’m really looking for in particular for MSD80, I can provide BIN before and after. However the RSA bypass someone provided allows me to flash but I’m more needing to read
 

That4chanhackerguy

Specialist
May 27, 2022
54
8
0
I don't think you'll find that anywhere, at least not for the MSD80 and MSD81. Some tools exist for other DMEs. NCS dummy can correct the checksums, but correctly signing the 0pa file so that it passes RSA verification is the tricky part.

If you know C#, there are open source flashing projects that could be adapted to the MSD80/MSD81. They bypass RSA verification by modifying the boot loader and allow you to read the entire memory contents which is not reflected in a 0pa alone.
Any info on those though would be nice
 

808AWD325xi

Lurker
Nov 27, 2016
21
11
0
Moline, IL
Ride
2009 335i
PM sent. With regards to macadam76's BMW-IntelHexToBin, the file you're looking for is BMWFileCreator.exe, which usually floats around as BMWFileCreator.rar.
 

That4chanhackerguy

Specialist
May 27, 2022
54
8
0
I did use that tool but does not seem to be correct for MSD80/81 DMEs it spit out incorrect info maybe the file creator could help
 

carabuser

Lieutenant
Oct 2, 2019
888
1
788
0
UK
Ride
Z4 35i & 335i
You can create something with SREC but you need to do a little post-processing as BMW use a slightly different format.

The proper tool for the job is PAFMaker, that's what BMW engineers use to generate 0pa and 0da from binary. This tool also signs (if you have the private key) and calculates the checksums.
 
  • Like
Reactions: 808AWD325xi

That4chanhackerguy

Specialist
May 27, 2022
54
8
0
You can create something with SREC but you need to do a little post-processing as BMW use a slightly different format.

The proper tool for the job is PAFMaker, that's what BMW engineers use to generate 0pa and 0da from binary. This tool also signs (if you have the private key) and calculates the checksums.
Thank you for that I have searched up and down for PAFMaker and only came to a post stating it was part of standard tools development and a dead link. If you have it could you PM it to me?