From 131ad10d63c581bf71f4fdcdebd0ce049b9483bc Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Mon, 23 Nov 2026 19:54:30 -0600 Subject: [PATCH] Allow on-road startup without cloud registration --- openpilot/system/hardware/hardwared.py | 9 +-------- prebuilt.json | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/openpilot/system/hardware/hardwared.py b/openpilot/system/hardware/hardwared.py index 58949d74da..b77863596d 100755 --- a/openpilot/system/hardware/hardwared.py +++ b/openpilot/system/hardware/hardwared.py @@ -22,7 +22,7 @@ from openpilot.common.filter_simple import FirstOrderFilter from openpilot.common.params import Params, UnknownKeyName from openpilot.common.realtime import DT_HW from openpilot.selfdrive.selfdrived.alertmanager import set_offroad_alert -from openpilot.common.hardware import HARDWARE, COMMA_HARDWARE, PC +from openpilot.common.hardware import HARDWARE, COMMA_HARDWARE from openpilot.common.basedir import BASEDIR from openpilot.common.git import get_short_branch from openpilot.common.hardware.usb import CHESTNUT_FW_VERSION, CHESTNUT_USB_PRODUCT, get_usb_state, get_usb_topology, is_chestnut_usb_id, set_usb_state @@ -36,7 +36,6 @@ from openpilot.system.hardware.fan_controller import FanController from openpilot.system.hardware.chestnut.monitoring import chestnut_state_thread from openpilot.system.hardware.chestnut.status import ChestnutStatus from openpilot.common.version import terms_version, training_version -from openpilot.system.athena.registration import UNREGISTERED_DONGLE_ID from openpilot.starpilot.models import jetlink_adapter ThermalStatus = log.DeviceState.ThermalStatus @@ -442,12 +441,6 @@ def hardware_thread(end_event, hw_queue, power_telemetry: PowerTelemetry) -> Non if show_alert: msg.deviceState.fanSpeedPercentDesired = 100 - # *** registration check *** - if not PC: - # we enforce this for our software, but you are welcome - # to make a different decision in your software - startup_conditions["registered_device"] = params.get("DongleId") != UNREGISTERED_DONGLE_ID - # Handle offroad/onroad transition timing.mark("engagement") should_start = resolve_start(drive_mode, onroad_conditions, startup_conditions, already_started=started_ts is not None) diff --git a/prebuilt.json b/prebuilt.json index 44348b7608..348b588c5b 100644 --- a/prebuilt.json +++ b/prebuilt.json @@ -1 +1 @@ -{"protected_inventory_sha256": "703c31923ca9ac0e47c15dfead33cbf9f47ee1de2c6be833345d4b88ad2cc0ed", "schema_version": 1} +{"protected_inventory_sha256": "3ab31e9baba4a09682eda532a2dddc99e6af46ed5de8a85ee3f47bdffe8f37d7", "schema_version": 1}