r/BimmerCode • • Oct 26 '26

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.

0 Upvotes

36 comments sorted by

View all comments

Show parent comment

2

u/That_M4_Guy Oct 26 '26

There was a AI coding tool which has previously contacted us via mod mail about possible endorsements which was basically nearly exactly what is being discussed here and i fed it some test questions while testing and vetting it and it definitely did hallucinate as it provided variable which did not even exist on that module of that generation and when questioned it stood its ground on being correct even when provided its relevant CAFD version.

Now i will admit it can be easily attributed to training data however either way the effect is the same where consumers can be misled with incorrect information which regardless of cause is still extremely harmful especially when some coding features have unintended side effects that experienced coders usually will already know about and be able to account for. An example that comes to mind is coding out auto stop and start on gen 2/3 B58s which sometimes require coding the DME to disable MSA, the problem comes with vehicles which have the 48v mild hybrid system. MSA being off does work correctly where auto stop and start is indeed disabled however on vehicles with 48v systems its also known to eventually cause issues with depleted 48v batteries since something with the charging logic on that system goes wonky when MSA is disabled.

Regardless on the technical verbiage on whether it is a genuine hallucination, putting an LLM in charge of modules and coding data that can easily cause thousands in damage is not something id recommend to anyone as of the moment. Maybe one day where we can truly characterize something as a true artificial intelligence rather than an LLM ill be more willing to experiment with it but for now there are too many physical and metaphysical barriers to make it something id call safe unless your willing to take on the major risks associated with early adopter syndrome.

1

u/opbmedia Oct 27 '26

I said the newest models which are only weeks old

1

u/That_M4_Guy Oct 27 '26

You seem more inclined to split hairs about verbiage rather than the main issue at hand being regardless of what new model you use the fundamental issue is LLMs in their current state are not yet capable of the type of extrapolation and entropy required to deal with BMW coding at a level where an LLM can be hooked up to a car and sufficiently and safely be used to code a vehicle without significant oversight by a qualified individual wherein it would be more efficient to preform the work directly rather than increase complexity for the sake of using the newest shiniest model as this technology has not even begun approaching anything remotely resembling maturity

1

u/opbmedia Oct 27 '26

If being precise and accurate is splitting hairs I will be happy to take that.

Also I already said in my first comment that LLMs are not capable of doing coding on proprietary hardware. I don't understand why you are so hung up about arguing with me about something that is accurate while not disagreeing with what I said anyway. Just because you said LLMs hallucinate and I said newer models rarely do?

Why does it even matter for you to put this much effort into arguing about ... what the newer models do, which you apparently are not aware (and that is okay if you are not in the business of testing and QAing AI models).

1

u/That_M4_Guy Oct 27 '26 edited Oct 27 '26

The problem you fail to understand is the fundamental bmw coding side of this problem, they can easily be tied into coding bmws because half of the coding files are XML files with a special header that is easily read from the car assuming you have the diagnostic address of the headunit which is widely known online for people who use UDS to preform module recoveries. Last I checked any model can easily modify XML files and would not take much work at all to be told to query an ip, change said XML, and upload it back to the car.

Regardless of the AI modeling your using hallucinations are not the only risk either because they cannot account for physical hardware without being told it explicitly exists with additional context that most users outside of knowledgeable users will have in which case using an LLM is entirely pointless in that workflow because your likely to spend more time giving an LLM all the require context to get the correct output anyways.

And as to your claim of being an AI researcher, that doesn’t say much as that job description covers anything from simple model training to actually building the underlying neural network and so doesn’t carry much weight especially in a subreddit dedicated to coding “proprietary” systems that are “impossible” to code by a computer when it’s literally editing XML.

Regardless if you’d like to contribute anything useful to the discussion about BMW coding I’d be happy to further entertain this, however if you’d like to continue to point out a title with little meaning in a field where unknowns and unintended behaviors of hacking other companies with models that “don’t hallucinate” but are specifically tested in a sandbox environment and yet somehow still radically go off the rails relative to its initial commanded test then please redirect your energy to something productive

1

u/opbmedia Oct 27 '26

however if you’d like to continue to point out a title with little meaning in a field where unknowns and unintended behaviors of hacking other companies with models that “don’t hallucinate” 

You might want to read the thing you are quoting before quoting it to make sure you are actually quoting it. Because you are hallucinating (the proper use of the word)