Jailbreaking my car's navigation system just so I can change the time blog.nns.e...

@best30

Jailbreaking my car's navigation system just so I can change the time blog.nns.ee · 233 points · 73 comments · HN thread

TL;DR A Estonian owner of a 2014 Renault Latitude (TomTom Carminat LIVE head unit) found that the clock could only be set through a settings menu that is loaded from a proprietary navigation SD card, which he had discarded. He reverse engineered the firmware, bypassed the card's DRM via a crafted master.script that abused a path traversal in a log command to write core_pattern, and gained root just to change a timezone offset from 180 to 120 minutes.

  • The head unit's Settings applet menu definition is read from the navigation SD card; without a correct card the Settings menu cannot be reached at all.
  • Replacement cards with a matching CID cost about 60 EUR shipped to Estonia, so the author chose to root the unit instead.
  • The SD card was mounted noexec and the rootfs read-only, and the update image was signed, so a modified firmware image was rejected.
  • The exploit used a LOG command with a ../ path traversal to write '|/bin/sh /media/sdcard/payload.sh' into /proc/sys/kernel/core_pattern, then triggered a coredump by running /bin/dbus-monitor, which aborts without a system bus.
  • Time is taken from GPS and stored as a minute offset in /mnt/flash/settings.dat; the unit has no timezone concept, and the author changed the offset from 180 to 120.

Discussion Commenters mostly treat the story as a symptom of a wider problem: car infotainment that is hard to update, locked to proprietary hardware, or missing basic controls like a clock set button. Threads branch into daylight saving time changes (including Canada dropping DST), GM's 2G/3G network shutdowns and GPS week rollover, and older VCR clock-setting jokes. The mood is amused and sympathetic, with some light teasing about the author's decision not to keep the SD card.

  • Car infotainment should expose simple controls like a clock set (many): Several commenters say a basic clock or DST toggle should always be present, and point to models that have physical clock buttons or a DST menu entry. Some argue that hiding the clock or hard-coding timezones is needlessly user-hostile.
  • CarPlay or Android Auto is the real fix (many): Commenters prefer phone projection because the phone's software gets updated, while automaker head units age quickly. They argue that the car's own clock often gets overridden anyway when CarPlay is active.
  • Just keep the SD card or ask for it (some): Several people say the author should have taken the SD card from the previous owner, since it was free and might be useful later. The author replies that the owner had already thrown it away.
  • Aftermarket head units are the practical answer (some): Commenters recommend replacing old OEM units with standard 2DIN aftermarket stereos, and note that this is what most owners in other markets end up doing.
  • Cars and embedded devices are generally badly designed (a few): Some attribute the problems to long automotive design cycles, outsourced firmware, and older hardware, arguing that the industry struggles with software.
  • Document your findings for future you (a few): A thread about engineering notebooks and personal wikis takes the view that the author's documentation is valuable because similar projects will come up again.

Links from the comments

#carHacking #reverseEngineering #embedded #daylightSavingTime #infotainment #drm