Installing openpilot#
This guide explains how to install the xnor fork of openpilot on your comma device.
New Installation#
If your comma device is fresh out of the box or has been factory reset:
- Power on your comma device and wait for the setup screen.
- When prompted, select Custom Software (Advanced).
- Enter the installation URL for your device and car (see Available Versions below).
- Tap Install and wait for the download and installation to complete. This may take a few minutes depending on your connection.
- Once installed, the device will reboot and start openpilot.
- Follow the on-screen training guide to complete the initial calibration.
Switching from Another Version#
If your device already has a different version of openpilot installed:
- Go to Settings → Software.
- Tap Uninstall to remove the current software.
- The device will reboot to the setup screen.
- Follow the New Installation steps above.
Factory Reset#
If something goes wrong during installation, you can reset your device:
- Reboot your comma device.
- As soon as the comma logo appears, tap the screen at least 3 times.
- The factory reset screen will appear — follow the on-screen prompts.
- After the reset, follow the New Installation steps above.
For a complete reflash (if the device is unresponsive or the above doesn’t work), connect your device to a computer via USB and use flash.comma.ai.
Available Versions#
Precompiled (recommended)#
These branches come precompiled and install significantly faster — no on-device build step required.
| Version | Device | Car | Installation URL |
|---|---|---|---|
| xnor | comma four, comma 3X | Tesla Model S/3/X/Y (HW1–HW4), MG 5 EV, MG ZS EV | https://smiskol.com/fork/xnor-tech/xnor |
| xnor-c3 | comma three (deprecated) | Tesla Model S/3/X/Y (HW1–HW4), MG 5 EV, MG ZS EV | https://smiskol.com/fork/xnor-tech/xnor-c3 |
| tesla-unity | comma three, comma 3X | Tesla preAP Model S | https://smiskol.com/fork/xnor-tech/tesla-unity |
Development (source)#
These are the development branches. They compile on-device after installation, which takes longer.
| Version | Device | Car | Installation URL |
|---|---|---|---|
| xnor-dev | comma four, comma 3X | Tesla Model S/3/X/Y (HW1–HW4), MG 5 EV, MG ZS EV | https://smiskol.com/fork/xnor-tech/xnor-dev |
| xnor-c3-dev | comma three (deprecated) | Tesla Model S/3/X/Y (HW1–HW4), MG 5 EV, MG ZS EV | https://smiskol.com/fork/xnor-tech/xnor-c3-dev |
The comma four does not support preAP Teslas. For preAP, use a comma three or comma 3X with the tesla-unity version.
For more details, see the GitHub repository.