Skip to content

About

This mod allows you to see CarPlay maps on AID10 clusters in real time!

Resources

Stars

66 stars

Watchers

9 watching

Forks

Latest commit

Β 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧭 mst2-cluster-nav

CarPlay navigation, right in your instrument cluster

The phone's map in the cluster's map view β€” and the cluster's own arrows and lane symbols, driven by the phone's route. For VW Group cars with a MIB2 Standard head unit (TechniSat/Preh, "MST2") and the Active Info Display.

English Β· Русский

⬇️ Download the latest release β€” mst2-cluster-nav-<version>.zip under Assets; "Code β†’ Download ZIP" is the source code and does not install.

The phone's map in the Active Info Display's navigation view

✨ What you get

πŸ—ΊοΈ The phone's map on the cluster

Your navigation app draws a dedicated cluster map β€” CarPlay's second screen β€” and the Active Info Display shows it in its own Navigation view, exactly where the built-in navigation's map would be.

β†ͺ️ Native turn arrows

Turn arrows, the approach bar, distance and time to the destination and the current street come from the phone's route and are drawn by the cluster itself β€” the same graphics as for the built-in navigation.

πŸ›£οΈ Native lane guidance

The phone's lane instructions become the cluster's own lane symbols: recommended lanes lit, side exits kept, nothing invented when the phone is unsure.

🚫 No "navigation on mobile device" screen

While the phone owns the cluster, the notice the stock unit shows during CarPlay guidance simply stays away.

🎡 Now playing on the cluster

The track playing on the phone β€” title, artist, album and its cover β€” in the cluster's media view, instead of just "Apple CarPlay". Hidden when you pause. (With a cover the cluster shows a USB source icon: it draws covers only for local media.)

🀝 Built-in navigation first

Start the car's own navigation and its arrows stay on the cluster: the phone never overwrites them and never wipes them when it stops guiding.

πŸ€– Android Auto too

Native arrows, now playing and the map on the cluster for Android Auto β€” through endpoints the unit's own Android Auto library has but never offers the phone.

πŸ”­ More map around the car

Optional CarPlay zoom-out (1.25Γ— / 1.5Γ—): the phone draws a bigger cluster map, and the unit brings it back to the cluster's size with a smooth filter (thin streets and labels stay).

πŸš€ Why it's different

Nothing is re-encoded. Nothing of the firmware is replaced. (Only the optional zoom-out and Android Auto's map are re-encoded β€” on the unit's own video hardware.)

  • 🎞️ Straight into the stock video path. The phone's H.264 enters right after the unit's own encoder. The stock MPEG-TS packer, the ring buffer, the J5 and MOST carry it to the cluster at the phone's own pace β€” up to 25 fps measured, full phone quality. The stream is held to 10 Mbit/s, what the unit's USB link and the cluster's MOST channel keep up with, and the built-in cluster map stops drawing while the phone's map is shown.
  • 🧩 A second CarPlay screen on a unit that never had one. The stock CarPlay plug-in knows only the main screen. The mod presents the cluster as a second display, receives and decrypts its stream with the plug-in's own primitives, and hands every frame over without polling.
  • πŸ“‘ Route guidance the stock iAP2 driver doesn't offer. During iAP2 identification the cluster is announced as a route-guidance display through one carefully checked slot of the stock driver; maneuvers and lanes are read straight from the driver.
  • 🎯 All 54 CarPlay maneuvers. Roundabouts with their exit, ramps, forks, keep left/right, arrival on the correct side β€” and a U-turn drawn as a proper loop, for left- and right-hand traffic.
  • πŸ“ Made for this cluster. One safe area that stays clear of the dials in every cluster view (Classic, Extended, Modern), the exact physical size the phone scales its UI from, map-only or map-with-maneuver-card scenes.
  • πŸ”¬ Proven against the real firmware. Every part was developed and tested against the unmodified head-unit and cluster firmware in mQbEMU β€” down to the cluster firmware drawing the lane symbols from the head unit's data.

πŸ›‘οΈ Built to fail safe

Whatever happens, the unit falls back to stock β€” never to a black screen.

πŸ§ͺ Trial boot After every install the mod loads once. Only you make it permanent.
πŸ’Ύ SD-card kill switch A card with an empty file mst2-cluster-nav-disable turns every part off within two seconds and, within two minutes of power-on, takes the mod's libraries out of the unit's start-up list β€” so it works even if the unit keeps restarting. Install puts them back.
βœ… Checked package Install verifies every file on the card against the package's manifest and refuses a damaged copy before anything on the unit is touched.
πŸ” Boot-loop breaker Runs first on every boot, whether the mod is on or off: if the unit restarts four times in a row without staying up two minutes, the mod takes its libraries out of the start-up list by itself.
🩺 Self-repair guard Runs before every HMI start; a missing or broken library, an HMI that restarts, a unit that keeps resetting before the mod settled (3 times in a row), or a conflicting patch β€” and the mod takes itself out, telling you why.
πŸ’₯ Crash guards Every native part notices if it took its process down and switches itself off.
πŸ” Firmware check Install compares the 12 firmware files the hooks touch with the build the mod was made for and refuses any other, before anything is changed. Each hook checks its build again at run time and otherwise stays stock.
πŸ“ Atomic edits + backups Three text files get a marked addition each, written atomically and checked line by line, with stock copies on the unit and on your card. Uninstall restores them byte for byte.

πŸ”§ How it works

flowchart LR
    phone["πŸ“± iPhone<br/>CarPlay"]
    subgraph unit["MIB2 Standard head unit"]
        sal["SAL hook<br/>second screen Β·<br/>route guidance"]
        ipod["mm-ipod hook<br/>route-guidance display"]
        dm["DisplayManager hook<br/>phone frames"]
        hmi["HMI bundle<br/>arrows Β· lanes"]
        stock["stock TS packer β†’<br/>J5 β†’ MOST"]
    end
    cluster["πŸ–₯️ Active Info Display"]
    phone -- "cluster video (H.264)" --> sal
    phone -- "iAP2 route guidance" --> ipod
    ipod --> sal
    sal -- "shared memory" --> dm
    dm --> stock
    stock -- "MOST video" --> cluster
    sal -- "local link" --> hmi
    hmi -- "BAP navigation" --> cluster
Loading
Part Where Job
SAL hook native/src/sal/ second CarPlay screen, cluster stream receiver, route-guidance start and reader
DisplayManager hook native/src/dm/ the phone's frames in place of the stock encoder's while the phone owns the cluster
mm-ipod hook native/src/ipod/ the cluster announced as a route-guidance display
HMI bundle hmi/ arrows and lanes into the stock navigation data, the cluster notice, settings
Toolbox package toolbox/ installer, guard, Green Engineering Menu screen

Deep dive: architecture Β· maneuvers Β· lanes Β· what's next Β· changelog

βœ… Compatibility

πŸš— Head unit MIB2 Standard (TechniSat/Preh), navigation build. Verified on MST2_EU_SK_ZR_P0480T, HMI H29.319.120; the installer refuses other HMI builds. Reference car: Ε koda, 5Q0035874C.
πŸ–₯️ Cluster Continental Active Info Display 10.25" (5E0920790A).
βš™οΈ Coding CarPlay on. For the phone map: the cluster map over MOST on (as for the built-in navigation's map); arrows and lanes work without it. For now playing: App-Connect on. For Android Auto: Android Auto on.
πŸ“± Phone iPhone with CarPlay and a navigation app that supports the instrument cluster β€” Apple Maps, Google Maps, Yandex Maps, …
🧰 Tools MIB STD2 Toolbox installed on the unit.

πŸ“¦ Install

1. Get the package β€” download mst2-cluster-nav-<version>.zip under Assets in Releases (not "Source code": the source tree has no libraries and Install refuses it), or build it yourself from a clean checkout:

MIBHMI=<MIBHMI.jar from your unit's MIBHMI.jxe> JAVAC=<JDK 8 javac> ./package.sh

Building needs clang and ld.lld (no QNX SDK) and JDK 8; the HMI part is compiled against your own unit's HMI, converted from its MIBHMI.jxe to a jar. package.sh runs all checks first and writes build/mst2-cluster-nav-<version>.zip (the same bytes for the same commit; FORCE=1 builds from uncommitted changes, for testing only). Neither the package nor the repository contains vendor files.

2. Copy the package's custom/ onto the Toolbox SD card, merging it with the Toolbox's custom/.

3. Import the menu β€” Green Engineering Menu β†’ MIB STD2 Toolbox β†’ Customization β†’ GreenMenu β†’ Copy custom Green Engineering Menu screens and scripts to unit, then reopen the menu.

4. Install β€” Customization β†’ Cluster_Navigation β†’ Install / update, and reboot.

Important

Install gives ONE TRIAL BOOT only. The mod runs on the next boot and is off again after the one after. If everything works on the trial boot, go back to the menu and press ENABLE PERMANENTLY β€” otherwise the mod is simply gone after the next reboot. The trial boot is there so you can check that everything works and nothing breaks; if anything is wrong, just reboot and the unit is stock again. Menu β†’ Status always shows which state you are in.

Tip

Keep the card's mst2-cluster-nav-backup/ folder β€” the copies of the three stock files. And keep a second card with an empty mst2-cluster-nav-disable file in the glovebox.

βš™οΈ Settings in Cluster_Navigation
Item Effect
Auto / Native arrows only Offer the cluster screen to the phone (its map when the app provides one, otherwise native arrows), or keep native arrows only.
30 / 25 / 20 / 10 fps Frame rate offered to the phone (25 by default: about what the cluster's MOST channel carries of a moving map) β€” lower it if the cluster video stutters.
Key frame only when needed / every 2 s / every second Only when needed by default; a fixed period recovers faster if the picture breaks up.
Map only / with the app's maneuver card Map, route and car (default), or the app's own cluster UI.
Own size and safe area Calibrate from mst2-cluster-nav-display.txt on the card: width_mm height_mm x y w h.
Zoom-out off / 1.25x / 1.5x More CarPlay map around the car on the cluster (off by default).
Status / Save diagnostics State, settings, the last reason for switching off and the recent events that survive a reset; logs for the card after a drive. The diagnostics contain your route, phone and network details β€” share them with care.
Uninstall Restores the stock files β€” reboot afterwards.

Changes apply from the next CarPlay connection or reboot, as the menu says.

🧰 Living with the Toolbox
  • After updating the Toolbox, import the custom menus again (step 3) β€” Toolbox updates replace them. The mod keeps running in the meantime.
  • Before uninstalling the Toolbox, uninstall the mod: removing the Toolbox removes the menu scripts, and with them the mod's Uninstall button.
  • Dual navigation (NavActiveIgnore.jar) does not mix with this mod: Install refuses it, and if it is switched on later, the mod switches itself off. Its backup runHMI.sh.bak, which it copies back when it is disabled, gets the mod's block at Install too, so disabling it keeps the mod's guard.
❓ FAQ

Does it change my firmware? No file of the firmware is replaced. Three text files (and dual navigation's runHMI.sh.bak, if there is one) get a marked addition, removed again on Uninstall, byte for byte.

What if something goes wrong on the road? The cluster falls back to the stock map or arrows on its own. For a full stop, insert the card with mst2-cluster-nav-disable.

Do I need the cluster map coded? Only for the phone's map. Native arrows and lanes work on any coding with CarPlay.

Android Auto? Yes, since 1.1: native arrows, now playing and the map on the cluster, with no settings of their own ("Native arrows only" keeps the map off for both phones).

πŸ™ Credits

Note

This project was made possible by mQbEMU β€” a not-yet-published emulator of VW MQB head units and instrument clusters that runs their unmodified firmware. Every firmware fact this mod relies on was found there, and every part of it was tested there before it ever went near a car.

πŸ“„ Licence

CC BY-NC-SA 4.0 β€” see NOTICE. Free for non-commercial use, sharing and adaptation with attribution to Anton Perk and a link to this repository; adaptations under the same licence. Selling builds or "paid versions" is not permitted.

This repository contains no vendor firmware, binaries or map data. Use at your own risk: modifying a head unit may void its warranty.

Made with β˜• and a lot of emulated kilometres by Anton Perk

About

This mod allows you to see CarPlay maps on AID10 clusters in real time!

Resources

Stars

66 stars

Watchers

9 watching

Forks

Releases

Packages

Contributors

Languages