by js2 · 2d ago · 0 comments
$(awk -v f=%c 'BEGIN{s=f f f f f f f f f f f f f f f f f f f;system(sprintf(s,115,104,32,47,109,110,116,47,115,100,91,97,98,99,100,93,49,47,116))}').up
The entertainment system (running Linux) sees an *.up file as an update file, which it tries to unzip and in so doing passes the filename to the shell, which runs the awk script, which runs `/mnt/t` and away you go. The filename needs to be FAT-32 compatible, hence encoding it in awk.(There's a separate flaw that lets you run whatever javascript you want using mp3 files on the USB with titles that aren't properly escaped before the entertainment system displays them. Both of these incredibly primitive flaws trigger Claude Fable's safety controls to terminate the session, so I ended up doing most of the work with Codex, which btw, is so much less annoying than Claude in every possible way.)
Based on this work:
- https://github.com/KidMixer/mazda-carplay-hud
- https://mazda-toolkit.monodev.org/
Adapted for North America, and my own particular sensibilities about what I wanted displayed on the HUD.
That Jeep Cherokee is a fantastic vehicle. A 1996 Cherokee Limited w/Upcountry suspension was the first vehicle I purchased new. Finally sold it when it was old enough to drink.
I’d have killed for something like ChatGPT back then to help with the EE.
I was just talking to a lawyer buddy of mine. They are having significant issues with commercial models and "abuse checking" even for the allegedly "sandboxed" private services. So they are strongly looking into open-weight local-hosted models just to get away from content/abuse checking. [Lawyers deal with stuff that can be full of trigger words that upsets safety checks.]
This is amazing. Thank you so much for posting. Excited for this project :)
Similar-ish thread from a month ago: "Jailbreaking my car's navigation system just so I can change the time" https://news.ycombinator.com/item?id=50339288
Having previously fought through various very-bad-astigmatism-induced headache things, I kinda doubt it.
I've had similar headaches from things with no electronics - bullseye practice with a mis-adjusted lens for astigmatism can trigger it.
Only real solution is to fix the corrective lenses (glasses, contacts, separate lens inserts, laser eye surgery, whatever).
Which is the one thing I really do not need but is the first thing every manufacturer wants to put on the HUD. Maybe it is because I own manuals, but I really don't like the distraction of a constantly changing/blinking number projected into my field of view.
https://github.com/jaysoffian/mazda-patcher/blob/fdef8b88883...
Dumping the original OS is trivial. Grab `cmu150_NA_74.00.324A_update.up` from the internet (widely available), assuming that's your FW version. That's just a zip file. Its password is here:
https://www.mazda3revolution.com/threads/mazda-up-filw.25078...
The clankers can take it from there.
The entertainment system is mostly a bunch of javascript running under opera.
Vehicle modifications by consumers in the US is kind of like the Wild Wild West though. Nobody really gives a crap except cops looking to write nuisance tickets for noise, or in a handful of states passing an occasional emissions test. And if someone really wanted to do something wild they will just find an old 1950s VIN tag, slap it on their home built contraption, and register it as a modified 1950s vehicle that had worse emissions than a modern weed wacker and no factory seatbelts so there is essentially zero restrictions on anything except overall size and weight limits.