# How Car Droid works

> How Car Droid puts your phone’s apps on the car’s screen: inside Android Auto with only the app, or full screen with a flashed wireless adapter.

Car Droid needs what you may already own: an Android phone and a car with Android Auto. For the whole screen, add a supported wireless Android Auto adapter. The app does the rest.

### Inside Android Auto

Nothing to flash. Car Droid opens among Android Auto’s apps, in its map area, on any car with Android Auto: a cable, built-in wireless or a wireless adapter.

- Only the phone app

- Android Auto’s bar stays around it

- Any car with Android Auto

### Full screen, with a Car Droid key

Flash a supported wireless adapter once and Car Droid can take the car’s whole screen. Android Auto stays one tap away, and the key passes it to the car as the original did.

- The car’s whole screen

- Android Auto one tap away

- Backup first, restore any time

## With only the app

Android Auto lets navigation apps draw their own map. Car Droid is one of them: in the area where a map would be, it draws its launcher, and Android Auto encodes it and sends it to the car like any map. The car’s touches come back to Car Droid the same way.

Android Auto lists only apps it believes came from Google Play. Car Droid is installed from its website, so the app installs itself again once through Android’s own installer, naming Google Play as the source. You tap Update once; Android Auto’s developer settings are not needed.

Because Car Droid is inside Android Auto, it follows the speed Android Auto reports: while the car moves it pauses its whole picture, unless you said yes to passenger use.

## Full screen with a Car Droid key

To the car, a Car Droid key is a phone on a cable. To the phone, it is a wireless car. The key relays the phone’s Android Auto session to the car message for message, as the original adapter does, and adds nothing of its own toward the car.

When you tap Show on the car, the key replaces only the pictures in Android Auto’s video with the ones Car Droid sends from the phone: H.264 from the phone’s hardware encoder, at the car’s size and frame rate. The sound stays Android Auto’s own. Holding the screen’s corner or the car’s Home key goes back to Android Auto, and so does the car starting to move, unless passenger mode is on.

Flashing changes only the adapter. Its software stays the maker’s own, plus Car Droid’s agent, with three changes: CarPlay is removed to make room, so a Car Droid key works with Android Auto only; the maker’s update page and updater are switched off, so updates come through Car Droid Flasher; and the key shows Car Droid’s look. The backup the flasher made of that key puts its original software back at any time.

## The helper on the phone

To create a display for the car and pass the car’s touches to the apps on it, Car Droid starts a small helper with the rights of Android’s debugging shell, the same rights a computer has over adb. No root is involved.

Car Droid starts it through Android’s own wireless debugging, which you pair once at home on your Wi-Fi. It then also turns on adb’s TCP port, 5555, and reaches it at 127.0.0.1 on the phone itself, so the helper comes back by itself in the car, without any network, when plugging in the phone restarts Android’s debugging service.

### What this means for security

While port 5555 is on, computers you have already allowed for debugging can also reach it over the network you are on; any other device makes the phone ask you first. A restart turns the port off until Car Droid turns it on again through wireless debugging. You can switch developer options off at any time; Car Droid then cannot start its helper until you turn them on and pair again.

## What you need

| | Inside Android Auto | With a Car Droid key |
| --- | --- | --- |
| Phone | Android 11 or newer | Android 11 or newer |
| Car | Android Auto with a touchscreen, by cable or wireless | Android Auto with a touchscreen and a USB port |
| Hardware | None | A supported wireless adapter (today the smartBox) |
| Computer | None | Once, to flash the key: Windows, macOS or Linux |
| Screen | Android Auto’s map area | The whole screen |

## How it compares

There are other ways to get more than Android Auto on a car’s screen. This is how they usually differ.

| | Car Droid | Phone mirroring apps | Android boxes for the car |
| --- | --- | --- | --- |
| Your phone’s own apps and accounts | Yes | Yes | No, a second Android with its own apps |
| Laid out for the car | Launcher, split screen, floating window | Usually the phone’s screen, scaled | Their own launcher |
| Phone screen stays off | Yes, apps run on a display of their own | Usually not | Yes |
| Without extra hardware | Yes, inside Android Auto | Yes | No |
| Follows the car’s driving status | Yes, passenger mode off by default | Varies | Varies |
| Root | Not needed | Some need it | Not applicable |
| Source code | Open, GPL 3.0 | Usually closed | Closed |

## Supported keys

| Key | Status |
| --- | --- |
| smartBox wireless adapter (Allwinner V851S, 16 MiB flash) | Supported |
| Raspberry Pi (Zero 2 W, 4, 5) | Planned, do it yourself: it needs Android Auto certificates of your own |
| A phone on a USB cable, with the desk car emulator | Works, for testing |

Keys are recognised by how they behave, never by a list of USB ids, and everything specific to a model lives in its profile. Have another adapter? [Open an issue](https://github.com/Emulator000/car-droid/issues) with its name.
