Turn a spare Android phone into a car dashboard, with a companion app for your main phone.
Features · How it works · Setup · Build · Support
linkproto/ is the small protocol library both apps share. Both apps are sideloaded, not published.
| 🔌 Car on/off detection | The charger (and optionally the car's Bluetooth) turns the car "on". "Off" waits until the signals have been gone for 20 s, to ride out the power dip while the engine cranks. |
| Wi-Fi on (to join your phone's hotspot), Do Not Disturb, auto brightness, screen on, dashboard to the front, dashcam on, and music resumes. | |
| ⏹️ Car Off routine | Pauses music, stops navigation and the dashcam, turns Wi-Fi off, shows a parked screen, then turns the screen off. |
| 🗺️ Map and navigation | Google map with in-app turn-by-turn (Navigation SDK) and place search with live suggestions. The map takes 60% of the screen, growing to 75% while a route runs. You can also navigate with Google Maps or Waze instead, or paste coordinates and Maps links. |
| 🎵 Now playing | This phone's player, or your main phone's music through Link, with play, pause and skip. |
| 🏠 Home and Fav | One tap to go home; Fav holds your saved places. |
| 🎥 Dashcam | Front or back camera, 3-minute clips, loop recording within a size limit, and a hard jolt locks the current clip. Sound is optional and off by default. |
| 🔋 Charge limit (root) | Pauses charging at 80% and resumes at 75%, to spare a battery that lives in a hot car. |
| 🌡️ Heat alert | Banner and notification when the battery gets hot. |
| 🌗 Day/night theme | Follows sunset at your GPS position. |
| 📍 Send places to the car | In Google Maps tap Share → Send to car, and the car starts the route. Short maps.app.goo.gl links are followed to the exact spot. Places shared while the car is away are queued until it connects. |
| 🔎 Search, Home, Fav and recents | Search from your phone with live suggestions. Searches run on the car phone's key, so your main phone needs none. |
| 🎶 Music from your phone | The car shows what's playing on your phone, through a Bluetooth AUX receiver for example, and controls it. Car Off pauses it; Car On resumes it once the car's audio is back. |
| 🎞️ Dashcam clips | Browse the car's clips by day, stream them with seeking, save them to your phone, and lock or delete them. |
| 🔒 Paired and quiet | Pair once with a 6-digit code. The link only runs while your hotspot is on. |
flowchart LR
M["Main phone<br/><b>CarDash Link</b>"] <-->|"Hotspot Wi-Fi<br/>places, music, clips"| C["Car phone<br/><b>CarDash</b>"]
M -->|"Bluetooth audio"| A["AUX receiver"] --> S["Car stereo"]
U["Car USB"] -->|"car on / off"| C
- Your main phone runs the hotspot, and the car phone joins it when the car turns on.
- The two apps log in to each other: each proves it holds the secret agreed at pairing.
- Dashcam videos stream straight from the car phone, using a key that changes on every connection.
- Nothing goes through the internet or any server.
The map, in-app navigation and place search need a Google Maps Platform key with billing enabled. The free monthly allowances cover personal use. CarDash Link needs no key.
- In Google Cloud, enable Maps SDK for Android, Navigation SDK and Places API (New), then create an API key.
- Restrict the key to Android apps (package
com.cardash.appplus the SHA-1 of your signing key) and to those three APIs. Setting daily quota caps is also a good idea. - Add
MAPS_API_KEY=...tolocal.propertiesin the project root. That file is git-ignored, so the key never reaches the repository.
Tip
Without a key, CarDash still works: a speedometer replaces the map, and routes open in Google Maps or Waze.
Factory-reset the phone and skip Google sign-in: Device Owner can only be set on a phone with no accounts. Enable USB debugging, plug it in, then run this from Git Bash:
./setup.sh --buildThis installs CarDash, makes it Device Owner and the home screen, and grants its permissions. Afterwards you can sign in to Google and install Google Maps and YouTube Music.
Enable USB debugging, plug it in, then run:
./setup-link.sh --build- Turn on your main phone's hotspot and let the car phone join it.
- In CarDash Link, tap Pair.
- On the car phone, enter the code under Settings → Phone link.
Important
To remove CarDash, use Settings → System → Release Device Owner… on the car phone first. A Device Owner app can't be uninstalled until it's released.
- Device Owner. This lets CarDash:
- remove the lock screen and turn the screen off;
- toggle Wi-Fi and Bluetooth (blocked for normal apps since Android 10);
- grant its own permissions;
- pin itself as the home app;
- start the dashcam from the background.
- Root (Magisk) is only used for the charge limit. On the OnePlus 5, pausing charging also cuts USB power, so the phone runs on battery while it holds at 80%.
- Hotspot instead of the internet. It's free, needs no server, and keeps your places and clips between your own two phones.
./gradlew assembleDebug testDebugUnitTestThe APKs end up in app/build/outputs/apk/debug/ and link/build/outputs/apk/debug/. The unit tests cover:
- car on/off logic, the charge limiter and dashcam loop cleanup;
- sunrise/sunset times;
- coordinate and Google Maps link parsing;
- the link protocol, including pairing proofs, and HTTP byte ranges.
CarDash is released under the MIT License.
Maps, navigation and place search are provided by Google Maps Platform under its Terms of Service. Those SDKs are not open source. Both apps list their open-source licences in-app. The Lexend font is used under the SIL Open Font License; see licenses/Lexend-OFL.txt.
If CarDash is useful to you, you can buy me a coffee on Ko-fi. Thank you!