When it comes to tunes, the only option I know of is Uprev (
https://www.uprev.com/secure/). However, their software only works with specific ECUs, and I believe the one you need will have to come from the 2003-2004 M45.
I don't know exactly which part number you'd be looking for, but perhaps speaking directly to UpRev might get you sone answers. Maybe they can even unlock all ECUs by now.
Keep us updated.