Skip to content
Emulator000Public

About

Your phone's apps on the car's screen: a launcher made for the car that works with Android Auto, inside it or full screen with a flashed wireless adapter. Free and open source.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Car Droid: your phone's apps on the car's screen

Car Droid

Your phone's apps, on the car's screen.

Car Droid is a launcher made for the car. Open any app on your Android phone, the web or the streaming services you pay for on the car's display, and use them with the car's touchscreen. It works with Android Auto, over a cable or wireless, and your phone needs no root. Free and open source.

cardroid.cc · Download · User guide

What you can do

  • Navigation beside anything else. Google Maps or Waze on the driver's side, your music or another app next to it, or in a floating window.
  • Every app you already have. Android Auto shows only a few apps made for it; Car Droid opens the rest of your phone, sized for the car, while the phone's own screen stays dark in your pocket.
  • Films and series for passengers. Your streaming services in a Watch panel of their own, with the protected playback they need. Video pauses while the car moves.
  • Video calls while parked, the whole web in Chrome, and your phone's desktop (such as Samsung DeX) on the car's screen.
  • No Android box to buy. Everything runs on your phone, with its processor, its apps and accounts and its mobile data, instead of a second Android on a budget chip in a box.

Two ways to use it

With only the app. Nothing to flash: Car Droid opens among Android Auto's apps, in its map area, on any car with Android Auto, by cable or wireless.

Full screen with a Car Droid key. A supported wireless Android Auto adapter, flashed once from your computer with Car Droid Flasher, gives Car Droid the car's whole screen. Android Auto stays one tap away, and the flasher keeps a full backup to go back to the original software at any time.

Get started

  1. Install the Car Droid app from the releases (Android 11 or newer) and follow its setup guide. To get each new version as it comes out, add it to Obtainium.
  2. In the car, open Car Droid among Android Auto's apps.
  3. For full screen, flash a supported key with Car Droid Flasher (Windows, macOS, Linux) and tap Show on the car in the app.

Every step, with pictures, is in the user guide and on cardroid.cc.

Safety first

Car Droid follows the driving status your car reports: video pauses while the car moves. Passenger mode keeps it playing for passengers; it is off by default and only ever turned on on purpose. The driver must never watch the screen while driving, and local traffic law comes first.

Good to know

  • Apps that protect their videos (the Netflix app, for one) show them black on any screen but the phone's own. Many services play from their websites in the Watch panel instead.
  • Android Auto lists only apps installed from Google Play, so the app installs itself once more through Android's installer to appear there. The setup guide does it with you.
  • Supported keys today: the smartBox wireless adapter. Flashing removes CarPlay from it.
  • Car Droid works with Android Auto as any phone does. It is an independent project, not affiliated with, endorsed or sponsored by Google or any other company named here; Android and Android Auto are trademarks of Google LLC.

For developers

How it works

 with only the app:   phone ──USB or wireless Android Auto──▶ car     (Car Droid among its apps)
 full screen:         phone ──Wi‑Fi──▶ Car Droid key ──USB──▶ car      (flashed wireless adapter)

Inside Android Auto, Car Droid is a navigation app of Android Auto's Car App Library whose map surface holds its launcher. With a key, the key relays the phone's Android Auto session to the car message for message, as the stock adapter does; in full screen it replaces only the pictures of Android Auto's video stream with those the app sends (H.264 from the phone's hardware encoder) and returns the car's touches. On the phone, a small helper with the shell's rights, started by the app through wireless debugging, creates the car's displays and injects the touches.

Keys are recognised by how they behave, not by a list of USB ids, and everything specific to a model lives in its profile (profiles/keys/<key>/): adding a key is adding a folder.

Building

The Rust workspace (the desktop tools, the key agent, the protocol) needs a stable Rust toolchain, SDL3 and OpenSSL 3:

cargo build --release
cargo test --workspace        # the tests also need squashfs-tools (mksquashfs, unsquashfs)

Without a system SDL3: --no-default-features --features car-emulator/sdl-build-from-source. The Android app is a Gradle project in apps/companion/ (JDK 21 and the Android SDK; see its README). Windows and macOS builds, the key build, testing without a car and key images are in docs/development.md; the project's rules and conventions in AGENTS.md.

Repository layout

Path What
apps/companion the Car Droid app (Android): :core plain Kotlin with JUnit tests, :app the app
apps/flasher cardroid-flasher, Car Droid Flasher: the desktop wizard that backs up and flashes keys
apps/key-tool cardroid-key, the command line tool under the flasher
apps/key-agent cardroid-key-agent, the agent's PC build (desk mode)
apps/car-emulator cardroid-car, a head unit on the PC for testing (SDL3)
apps/mirror-standin cardroid-mirror-standin, plays the app's side channel with a test pattern
crates/cardroid-protocol sans-IO Android Auto protocol core: frames, TLS, messages, both roles
crates/cardroid-headunit head-unit behaviour: car profiles, channels, session driver
crates/cardroid-usb device detection, accessory switch, device profiles
crates/cardroid-keyagent the key agent: relay, full screen, side channel, driving policy
crates/cardroid-key flash layout, verified backups, flashing, key images
crates/cardroid-screens, crates/cardroid-brand the key's screens; the brand's tokens for every target
crates/cardroid-fakephone a scripted phone used by the tests
profiles/ car, device and key profiles
contrib/ the key build, the release build, udev rules
assets/brand, web, site the brand, the web kit and the website

Contributing

Issues and pull requests are welcome: see CONTRIBUTING.md. Report security problems as SECURITY.md says, not in public issues.

Prior art

Car Droid builds on what the open-source community figured out: aasdk and OpenAuto, android-auto, aa-proxy-rs, WirelessAndroidAutoDongle, AARE and scrcpy. Borrowed code names its source in the file it lives in.

License

GPL-3.0-or-later: see LICENSE. Bundled fonts and icons keep their own licences, beside them.

About

Your phone's apps on the car's screen: a launcher made for the car that works with Android Auto, inside it or full screen with a flashed wireless adapter. Free and open source.

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages