Home / Guides

Guide

Comma 2 — WiFi Issue FIX

C2/O2 users found that one-click updates stopped working, and uninstalling causes the system to get stuck. This guide uses SSH commands to reinstall.

Resources

This fix is based on the neos-manual-install guide, translated from saber422's blog post.

Background: The certificate server appears to be working based on crt.sh checks. The OP team confirmed no changes were made to auth certs.

Steps

1. Boot your C2/O2 and connect to WiFi

Make sure the device is powered on and connected to your local WiFi network.

2. Open OPTK 1.9.0 and click the Terminal button

See the OPTK guide for setup instructions. The OP public key is built into OPTK, so you can connect even when the device is stuck at the formatting screen.

3. Enter the SSH command

Below is an example using dragonpilot R2. Paste this into the OPTK terminal:

#!/usr/bin/bash
cd /data/ &&
rm -rf openpilot &&
git clone https://github.com/dragonpilot-community/dragonpilot -b r2 --single-branch --depth=1 openpilot &&
touch /data/data/com.termux/files/continue.sh &&
echo "#! /usr/bin/bash" >> /data/data/com.termux/files/continue.sh &&
echo "cd /data/openpilot" >> /data/data/com.termux/files/continue.sh &&
echo "exec ./launch_openpilot.sh" >> /data/data/com.termux/files/continue.sh &&
chmod u+x /data/data/com.termux/files/continue.sh && reboot

Generic Template

Replace FORK-GITHUB-ID and BRANCH-NAME with the fork and branch you want to install:

#!/usr/bin/bash
cd /data/ &&
rm -rf openpilot &&
git clone https://github.com/FORK-GITHUB-ID/openpilot.git -b BRANCH-NAME --recurse-submodules --depth=1 &&
touch /data/data/com.termux/files/continue.sh &&
echo "#! /usr/bin/bash" >> /data/data/com.termux/files/continue.sh &&
echo "cd /data/openpilot" >> /data/data/com.termux/files/continue.sh &&
echo "exec ./launch_openpilot.sh" >> /data/data/com.termux/files/continue.sh &&
chmod u+x /data/data/com.termux/files/continue.sh && reboot

Alternative: Use Workbench or PuTTY

Instead of OPTK, you can use Workbench or PuTTY / PowerShell SSH to connect to the device and run the same commands.