8000 GitHub - Pavanayi1/KTM-Nav-GEN3: Free, on-device, open-source companion app that mirrors Google Maps turn-by-turn navigation to a KTM Gen-3 motorcycle dashboard. No data collected. · GitHub
[go: up one dir, main page]

Skip to content

About

Free, on-device, open-source companion app that mirrors Google Maps turn-by-turn navigation to a KTM Gen-3 motorcycle dashboard. No data collected.

Topics

Resources

Stars

56 stars

Watchers

2 watching

Forks

Repository files navigation

OpenDash logo

Navigator Gen3

Google Maps turn-by-turn, phone notifications and ride analytics on the Gen-3 KTM and Husqvarna dash.
On-device only. No account, no server, no data collection.

Download the latest APK  |  Compatibility  |  Known issues  |  MIT licence

Unofficial beta. Not affiliated with KTM or Husqvarna, or with any other Gen-3 navigation app (for example Navigation for KTM (Gen 3) on the Play Store, an independent project; see #3).

Caution

Only download Navigator from this repo's Releases page. A fake copy of this project (account Satsumaassortativemating71 and its github.io site) offers a "download" that is Windows malware in a .zip file. See issue #9.

  • The real app is only ever an .apk file, never a .zip, .exe or .cmd.
  • It is only published at github.com/Pavanayi1/KTM-Nav-GEN3. There is no website or mirror.
  • If you downloaded a .zip from anywhere else, do not open it. If you already ran something from it on a PC, disconnect it from the internet, run a full antivirus scan and change passwords you used on that PC.
  • Each release lists the APK's SHA-256 checksum so you can check your file.

What it does

Four jobs, all on your phone, with no account and no server.

Push to the dash Google Maps turn-by-turn, phone notifications, now-playing and idle info, mirrored onto the bike's own display over Bluetooth.
Pull from the handlebar The bike's four handlebar buttons become a controller for your phone — a D-pad over any app, or music transport.
Talk to your pillion A built-in Bluetooth intercom between your phone and your pillion's. Hold SET on the handlebar to talk; your music keeps playing.
Record and analyse the ride Rides record themselves as standard GPX, then come back as a map, charts, detected events, a smoothness score and a fuel estimate.

Rider Intercom — talk to your pillion (new in R76)

Your phone and your pillion's phone link directly over Bluetooth. No SIM, no data, no server. Voice plays on the media channel, so music keeps playing in stereo in both helmets and ducks while someone talks.

What you need

  • Rider: Navigator R76 or later (Android 10+).
  • Pillion: the standalone Rider Intercom companion app (download APK, Android 10+). Your pillion doesn't need the bike app. Any rider can also use Navigator itself as the other end, since both speak the same protocol.
  • A Bluetooth headset in each helmet is ideal. Phone speakers work for a test.

One-time setup

  1. Pair the two phones with each other in Android's own Bluetooth settings. The intercom only lists phones Android has already paired; it never pairs by itself.
  2. Open the intercom on both phones (Navigator: the INTERCOM tile on the home screen) and allow microphone, Bluetooth and notifications.
  3. On Xiaomi, Oppo/Realme, vivo, OnePlus, Samsung or Huawei phones, follow Keeping the call alive on the intercom's start screen. Those phones kill background calls unless told not to.

Every ride

  1. On one phone tap Host. On the other, pick that phone from the list and tap Join.
  2. Talk. The channel opens on your voice and closes half a second after you stop. If the other person is already talking you hear a short beep instead of talking over them. Hold to talk on screen overrides the voice detector.
  3. Start the call before you mount the phone. Android won't let an app switch the microphone on from the background, so starting a call is always a tap on the phone; the handlebar then controls it.

Handlebar control (rider)

Long-press UP to open the mode picker and choose Intercom. Then:

Button Does
SET, hold Push-to-talk: press opens your mic, release closes it
UP / DOWN Volume up / down (your pillion's voice and your music together)
BACK Noise suppression Off → Light → Strong (shown on the dash)
BACK twice End the call
UP long / DOWN long Mode picker / Google Maps, as in every mode

Pressing SET with no call running shows No intercom call on the dash. The mic always closes when you let go of SET, when the dash disconnects, when the call ends, or after 60 seconds of continuous hold.

Status: working phone-to-phone on the bench. Not yet road-tested. Range, wind noise at speed and screen-off survival on long rides are what the next rides will tell us. Reports welcome.


What works today

Silent auto-reconnect. Once paired, cycling the ignition off and on reconnects on its own in about a second — no accepting an "add device" prompt on the dash every ride. The app remembers your pairing keys and re-presents them, and keeps them across app updates, reinstalls and new phones. Verified on a KTM 390 Adventure across repeated ignition cycles.

Google Maps turn-by-turn, on your bike's dash. Start navigating and the Gen-3 centre display shows the turn arrow, distance, road name, ETA and remaining distance. The maneuver arrow — including roundabout exits, U-turns, keep/fork and ramps — is recognised by a small on-device neural network trained on Google Maps' own icons, because Maps puts no maneuver text in its notification.

Automatic bike detection. On connect it reads the dash's model, firmware and capabilities and shows what it found in the connection banner. Nothing to configure.

KTM and Husqvarna. They share the same dash electronics, and the whole app re-themes to match your bike — KTM dark and orange, Husqvarna light and blue. You pick on first run and can switch any time.

Brand select (KTM) Brand select (Husqvarna)

Handlebar remote — a real controller. Long-press Up from any screen opens a mode picker:

Mode Up Down Set Back
Controller move up move down tap = right · double-tap = open/select · hold = long-press tap = left · double-tap = back
Music tap = volume up · double-tap = next track tap = volume down · double-tap = previous play / pause —
Bike (off) — — — the buttons go back to the bike

Long-press Down opens Google Maps from anywhere. Every press is read on release, and the app tells a tap, a double-click and a press-and-hold apart using thresholds measured on the real hardware.

Turn sounds. Optional stereo approach beeps — left ear for a left turn, right for a right — that speed up as you near the corner and go quiet when you stop. Adjustable volume, swappable channels.

Overspeed alert. Plays on the alarm channel at full volume, so it's audible over wind and engine and sounds through Do Not Disturb.

The dash's idle screen. When you're not navigating, the dash rotates clock and date, the current track, and live weather (via Open-Meteo, no API key). When the next turn is 500 m+ away it can show the song instead of the road name, switching back as the turn approaches.

Notification mirroring with group chats and summary notifications filtered out so only real messages get through, emoji and unsupported glyphs stripped so text reads cleanly, and a one-tap quick-mute.

Ride recording and analytics. Rides save as standard GPX and come back as a real map coloured by speed with traffic stretches highlighted, a master time slider that scrubs the map marker and every chart together, harsh-acceleration / hard-braking / rough-road detection rolled into a 0–100 smoothness score, a fuel-cost estimate, and a traffic map that aggregates every ride into a picture of where you routinely lose time.

Diagnostics that earn their keep: symbol testing and turn-icon calibration to match glyphs to your exact dash, a per-slot dash text playground, and shareable logs — which is how bug reports get made.

Ride tools and sounds Engine-vibration calibration

Also new since v0.3.0-beta

Shipped in the R64–R76 builds. These have had less time on a bike than the list above.

Ride replay. Press play and the ride runs itself at 30×: a heading-oriented marker glides along the route with the camera following, the trail behind it at full strength and the road ahead dimmed, and every chart cursor advancing in step. The charts gained smooth curves, pinch-to-zoom into a shared time window, and tappable peak/dip values.

Crawl vs signal traffic. Traffic is now two distinct things, using engine state recorded per GPS point: creeping with the engine on is a crawl, fully stopped with the engine on is a signal, and engine off is never traffic — so a coffee stop stops being counted as a jam.

A traffic prediction mode built only from your own rides: a frequency model over location × weekday/weekend × time-of-day that needs at least four passes through the same spot before it will say anything, and always shows the sample count.

In-app music screen laid out one-to-one with the handlebar remote, so the screen teaches the buttons.

Ride backup and restore. Back up every ride and its sensor data to a single .zip, and restore it on a new phone — rides already on the phone are skipped, never overwritten. Switching phones no longer means losing your history or the traffic map built from it.

Auto-exit. The app closes itself after 10 minutes with no bike connected, so it doesn't sit running in your pocket on a day you never rode. The timer resets on connect and is suspended while a ride is recording.

A rebuilt interface across every screen: glove-sized targets, a focus ring on everything the handlebar remote can reach, and Settings split into eight labelled groups.

Home Rides Recording & backup
Pairing Onboarding

Privacy — nothing is collected, nothing leaves your phone

  • No accounts. No analytics. No servers. No data collection. No ads.
  • Everything runs on-device: the turn-icon model, notification handling, ride recording and analytics.
  • Your location, routes and notifications never leave the phone.
  • Two optional exceptions, both your choice: live weather for the dash idle screen (Open-Meteo, no key, sends only a coarse location), and notification summaries if you add your own Gemini API key — off by default.
  • The Rider Intercom sends your voice only to the one phone you connect it to, directly over Bluetooth. It never touches the internet and nothing is recorded.

Compatibility and setup

  • Tested on a KTM 390 Adventure (2025). It targets the Gen-3 "connected" dash that KTM's and Husqvarna's own apps use for turn-by-turn, so it should work on other 2020+ Gen-3 bikes — but 1290 / 890 / SMC and the Husqvarna models are still lightly tested. Reports and logs are very welcome.
  • You likely need the connectivity / Tech Pack active. The turn-by-turn dash feature appears to be gated behind that activation; without it the dash may not expose the nav feature to pair with. Not fully confirmed — testers with and without it, please report.
  • Pairing tips if the bike doesn't show up: put the dash into "add device" mode from its own connectivity menu first, make sure Bluetooth is on, and note that the app also lists devices already bonded to your phone. The first pairing needs the physical "add device" confirmation on the dash.
  • Android 16: sideloaded apps have notification access blocked until you enable "Allow restricted settings" (App info → three-dot menu) before granting it.

Known issues

  1. First pairing needs the physical "add device" confirmation on the dash. Expected, once per bike. (The very first reconnect after installing asks once more — that's when the keys are captured — then every ride after that is silent.)
  2. Turn-icon accuracy depends on your Google Maps version and your specific dash. If an icon looks wrong, correct it with the Symbol Test and Turn-icon Calibration screens.
  3. Husqvarna support has never been verified on a physical Husqvarna. It runs on the same dash protocol and should work, but all testing so far has been on a KTM.
  4. Engine detection uses the phone's motion sensor, needs a short calibration, and varies by phone and mount. Without it, traffic detection falls back to a time-based guess.
  5. Rough-road detection needs a ride recorded on v0.3.0 or later — older GPX files fall back to GPS-only event detection.
  6. The full analytics map needs a free Google Maps API key added at build time (below). Without one, everything still works via the built-in route sketch.
  7. Full vehicle telemetry (RPM, gear, coolant, fuel, TPMS) exists in the protocol but the dash rejects the writes. It is not available — help welcome.
  8. The Rider Intercom is new and not yet road-tested; see its section above.
  9. This is a beta. If something crashes or misbehaves, please open an issue or share your logs from Settings → Diagnostics, and include your bike model and firmware if you can.

Install (no build needed)

Grab the APK from the latest release (only from there: see the warning at the top), copy it to your phone and open it (you'll need to allow "install from unknown sources"). First-ever pairing needs the physical "add device" confirmation on the bike's dash. Your pillion installs the Rider Intercom companion app (download APK; see Rider Intercom).

If Android says "App blocked to protect your device", that's Play Protect, which blocks sideloaded apps that read notifications. In the Play Store open your profile → Play Protect → gear icon, turn off Scan apps with Play Protect, install, then turn it back on.

Build it yourself

Prerequisites: Android Studio (latest) or the command-line Android SDK; JDK 17 (bundled with Android Studio); Android SDK Platform 34 and build-tools.

git clone <this-repo>
cd <this-repo>

# point Gradle at your SDK (either export this or create local.properties)
echo "sdk.dir=$HOME/Library/Android/sdk" > local.properties   # macOS
# echo "sdk.dir=$HOME/Android/Sdk"        > local.properties   # Linux

./gradlew :app:assembleDebug
# -> app/build/outputs/apk/debug/app-debug.apk

Install to a connected phone with adb install -r app/build/outputs/apk/debug/app-debug.apk.

Optional — the full analytics map. Get a free key at console.cloud.google.com, enable "Maps SDK for Android", restrict it to package com.navigator.app plus your keystore's SHA-1, then add MAPS_API_KEY=your-key to local.properties before building.

On the phone: enable Notification access (required to mirror navigation and notifications); enable Accessibility only if you want the handlebar remote to control other apps; and disable battery optimisation so the app stays connected in the background.

The turn-icon model (ml/)

The classifier is trained from scratch on Google Maps' own publicly shipped, self-labeled maneuver icons — no proprietary weights. ml/train_maneuver_model.py reproduces app/src/main/res/raw/maneuver_model.tflite locally or on free Google Colab. The labeled dataset is generated on-device by a debug exporter (see ml/README.md).

Contributing — help wanted

This is an early, community-driven hobby project and contributions are very welcome, whether you ride one of these bikes or just enjoy reverse-engineering and Android/BLE work. Good places to start:

  • Full vehicle telemetry over the dash's PRPC channel — the service is present but the writes are rejected.
  • Older "MY RIDE" bikes need a second connection path (Bluetooth Classic + JSON).
  • Test on a physical Husqvarna and report how it goes.
  • More nav apps (Waze, OsmAnd, HERE) and notification sources.
  • Improve the turn-icon model with real captured icons.
  • Testing on other Gen-3 bikes and firmware, and reporting what works.
  • UI polish, docs, translations.

Open an issue with logs and details, or send a pull request. Please keep the project's core promise intact: on-device only, no data collection.

Disclaimer

Unofficial hobby project for Gen-3 KTM and Husqvarna dashes, provided as-is with no warranty. Not affiliated with KTM or Husqvarna. Ride responsibly — do not interact with your phone while riding.

License

MIT

About

Free, on-device, open-source companion app that mirrors Google Maps turn-by-turn navigation to a KTM Gen-3 motorcycle dashboard. No data collected.

Topics

Resources

Stars

56 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages

0