Skip to content

About

Wired Android Auto for the original BMW NBT head unit (QNX 6.5 x86): hardware video, iDrive controller, cluster navigation

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

 
 

Repository files navigation

NBT Android Auto

CI

Android Auto for the original BMW NBT head unit, using its existing display, audio system and iDrive controller. NBT Evo and CIC are not supported.

Requirements

  • Original BMW NBT, not NBT Evo or CIC.
  • SSH root access to the head unit.
  • Linux or WSL laptop connected to the car by ENET; see the head unit SSH guide.
  • Android phone and USB cable.

Enable SSH

Stock NBT does not accept SSH logins. The developer used FeatureInstaller to unlock it; this can take several attempts and may report an error even when it succeeds. Check the connection using the head unit SSH guide.

Alternatively, follow the serial-port SSH guide. Unlocking SSH changes the head unit's configuration and is at your own risk.

Install

If upgrading from a version before the executable rename, uninstall the old package and restart iDrive first. The installer does not migrate old files.

  1. Build a payload in the QNX VM using the development guide, or unpack a matching Python payload archive. Check Releases for availability; older upstream releases do not contain this merged version. No prebuilt release of the merged version is currently available.
  2. Connect ENET, switch on the ignition and install the Python dependency:
    pip3 install "paramiko>=3.4,<4"
  3. With installer/payload/ present, run the GUI or CLI:
    python3 installer/nbt_aa_installer.py
    # or
    python3 installer/nbt_aa_installer.py --cli install
  4. Enter the NBT address and root password, then install. Restart iDrive, connect the phone over USB and select Multimedia → Android Auto.

The installer verifies uploaded files, does not store the password and can remove its two installation folders. See the installer guide for WSL, host-key checking, recovery and uninstall details.

How it fits together

flowchart LR
    Phone["Android phone"] <-->|USB / Android Auto| AA["nbt_android_auto<br/>protocol and session"]
    HMI["iDrive plugin<br/>menu and status"] -->|starts| Boot["boot.sh"]
    Boot --> Supervisor["native_service<br/>session supervisor"]
    Supervisor --> AA
    Supervisor --> Knob["nbt_knob"]
    Supervisor --> Cluster["nbt_cluster"]
    Supervisor --> VideoSwitch["nbt_hwvideo"]
    AA -->|H.264 / annexb.fifo| HTTP["fifo_http"]
    HTTP -->|HTTP| Decoder["decode_runner / Cinemo"]
    Decoder --> Display["NBT display"]
    VideoSwitch -->|switches video layer| Display
    Controller["iDrive controller"] --> Knob
    Knob -->|input.fifo| AA
    AA -->|navigation / nav.state| Cluster
    Cluster -->|HUDTerminal| Instrument["Instrument cluster"]
    AA -->|USB audio / f6 by default| Audio["Car audio"]
Loading

The supervisor manages the phone session and its helper processes. The plugin provides the iDrive entry point; nbt_hwvideo switches the stock video layer to the decoded stream. See the source map for process and source-file details.

Configuration and diagnostics

Optional switches are files in /var/opt/hmi/data/rw/NbtAndroidAutoRT/. Restart the Android Auto service after changing them, unless noted otherwise.

File Effect
aa-audio Use the browser USB audio route instead of f6.
bt-audio Use Bluetooth audio instead of USB.
aa-volume-off Disable software media-volume adjustment.
prompts-off Disable prompts over other car audio sources.
radio-keys Opt into the F07 radio-panel skip map. Not yet verified on this fork; an existing mfl.map takes precedence.
video.fps Set the video ACK rate limit (0–60; default 20, 0 disables the limit).
video.gate.off Disable decoder-paced video ACKs; the rate limit still applies.
video.trailing-aud Experimental: send an early H.264 frame separator on the stock video path. Host parser only; no confirmed head-unit latency improvement.
video.drop-idr Experimental: request a fresh keyframe after a video queue drop by briefly cycling phone video focus. Off by default; not yet car-tested.
tls-allow-date-errors Allow expired or not-yet-valid phone certificates; other certificate checks remain enforced.
incident-logging Enable bounded persistent incident snapshots and event logs.
extended-log-history Keep bounded service-run records in history/ and boot-log history starting at the next head-unit boot.

Baseline logs and restart snapshots are enabled without these switches. Logs can contain phone and vehicle details; review them before sharing. More options and the test checklist are in CAR-TEST-aa-dev.md. usb-events.txt captures recent USB controller messages around session transitions seen by the log watcher. It can include unrelated bus events and can miss very short sessions.

For a bug report, use Save diagnostic logs in the installer and attach the ZIP to an issue. Include the car model, build year, NBT software level and phone model.

Development

Vehicle binaries are built in a QNX 6.5.0 VM. Start with development, build and debug commands, and contributing. The open toolchain is experimental and not the supported vehicle deployment path.

Technical notes: video, cluster, Android Auto, and audio.

Credits and license

This fork brings together the original JayJay3071/nbt-android-auto and the valinet and adityadroid forks. Parts of the Android Auto core and controller code come from NBT-AAD by nanaisu.

Licensed under PolyForm Noncommercial 1.0.0: noncommercial use only. Third-party notices are in NOTICE.md.

Required Notice: Copyright (c) 2026 nanaisu - NBT-AAD (https://github.com/Sq00ky/Supra-iDrive6-Android-Auto)

Disclaimer

This unofficial hobby project is not affiliated with BMW AG, Google LLC or Harman. BMW, iDrive and Android Auto are trademarks of their respective owners.

You modify your head unit at your own risk. There is no warranty; the authors are not liable for damage or warranty claims. Experiments have crashed and restarted the head unit, and limited parked testing does not establish safety. Follow local traffic laws and do not operate the phone or system in a way that distracts you while driving.

About

Wired Android Auto for the original BMW NBT head unit (QNX 6.5 x86): hardware video, iDrive controller, cluster navigation

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages