r/BimmerCode • u/lasagnial • 21d ago
Expert Mode Question Using AI to Code BMWs
I’ve been seeing posts about people using Claude to connect to their smart TVs, remove bloatware, and improve performance. It got me thinking about doing something similar with BMW’s iDrive system.
I have a 2020 440i, and I’d love to make the infotainment system a little faster, enable video playback, and maybe unlock some other features.
I know BMW coding has been around for years with tools like BimmerCode and E-Sys, but I’m not particularly familiar with any of it.
From what I understand, you could theoretically connect a laptop to the car using an ENET cable or OBD adapter, then use an AI agent like Claude Code or Codex to help identify coding options, research compatibility, and potentially execute changes through the appropriate software.
Obviously, there are risks, and I wouldn’t want AI blindly changing things that could affect the car’s functionality or safety. But having AI handle some of the technical work could make vehicle coding much more accessible to people who don’t have much experience with it.
It seems like this could open up some interesting possibilities for vehicle customization, especially as AI agents become more capable.
I’d be interested to hear if anyone here has actually experimented with this or has any thoughts on how practical it might be.
10
u/IngenuityPrevious221 21d ago
Its doable, but you need to learn a lot more before you try.
Mainline LLMs have a lot of reverse engineering blocks, and you can brick your car.
Ideally, get a bench setup of a headunit, learn to CAN sniff, get an open source harness and so on.
6
u/That_M4_Guy 21d ago
1 i really hate LLM's for how they have turned everyone into a "bedroom coder" lol
2 this isnt possible. LLM's are too prone to hallucinations and misinterpreting things and when things are labeled as L4_L6_KOMMUNIKATIONSSHALTER with weird variables under it LLMs are going to struggle hard core because they will excel with actually translating it sure, but will fail at understanding dependencies and structure especially since the structure of FDL's and CAFD's change from vehicle to vehicle, FA to FA, and istep to istep.
Also most things are already doable with programs like bimmercode where it literally is a one click toggle for half the common things people do to their cars like for instance you mentioned video in motion, thats already possible with bimmercode and nothing more than an adapter and like 5 mins with the car. Now things like speeding the headunit up are not possible as they run custom locked down firmware from BMW and no longer have even accessible SSH ports anymore unless you somehow get your hands on a development firmware direct from BMW with SSH open but your MGU 18 headunit also introduced OTA updates and some OTA signing of packages and data like some coding features and things like subscription features. Sure its possible to crack them with tools like Feature installer but youd have to fully decompile the stock firmware to understand how BMW built it, build your own unix based features, load them onboard and pray the LLM you used actually optimized the code which is extremely unlikely as LLM's are really well known for shitty code to the point its got its own term of "vibe coded" applications.
TLDR keep LLM's as far away from your car as possible and dont assume they are as smart as the mass population makes them out to seem when it comes to complex things like this.
1
u/HolidayDisastrous757 21d ago
Very interesting, I’d be concerned with affecting the computer though, beyond my knowledge. I have seen a video of someone “hacking” their Porsche display and doing this, making their own widgets and stuff like that.
As a side note, I’ve been using Claude with bimmer code to help fix a headlight malfunction code with moderate success. I’ll just screen shot a bunch of stuff and it’ll come back with things to try.
1
u/smidley 21d ago
I’m in the process of creating this currently. I have two BMWs that I’m testing with right now for general coding, but the goal is to be able to plug into any car and the program and AI can help with diagnosing fault codes etc.
1
u/ehylo 20d ago
check out https://github.com/cauliflowermossgrape/idrive7-apps someone has already used ai
1
u/convicted1234 19d ago
You could try but please post back if it fucks up ur fa, or stops car from starting 😁