Skip to content

v2.16-beta.28 — OTA false-latch fix, HW4 AP-state decode, Autopark pause

Pre-release
Pre-release

Choose a tag to compare

@hypery11 hypery11 released this 23 Sep 18:26
71cda7b

Three bugs that made the ESP32 build quietly do nothing on a lot of current cars, one safety gap found by a tester, and a few honesty fixes on the dashboard.

What's new

A false "OTA in progress" no longer silently stops all TX (#183). On current cars the byte we read in 0x318 isn't the update flag, it's a rolling counter. The ESP32 build could latch "OTA" after a few dropped frames and then never let go, so every TX path stopped — nag killer included — until a power cycle. The Flipper core read the field differently, so the two builds disagreed and nothing tested the ESP32 copy. Both now share one decision that only accepts a stable "installing" value; a counter can't trip it. If your nag killer "did nothing" on an ESP32 board, re-test on this build first. (PR #184)

HW4 Autopilot state is read where the DBC says it is (#177). We were reading DAS_autopilotState from byte1 of 0x39B, which is really the top bit of the fused speed limit plus some summon flags. On Highland / Juniper that meant AP status, AP-First, Soft Engage and Abort Guard never saw the real state. It's byte0, on every car we have data for, and upstream ev-open-can-tools made the same fix in July. The #116 auto-latch that tried to work around it is gone. If you set a Signal Map only for this, you can clear it. (PR #186)

All TX pauses during in-car Autopark (#180). Highland runs in-car Autopark at DAS state 6, and injecting during it threw AEB / traction / stability warnings on a tester's car. The pause covers every TX path and lifts when the Autopark ends. It is deliberately not a blanket "state 6" block, because 6 is also plain FSD engaged; it only triggers on the Autopark pattern and releases once the car is really driving (> 20 km/h). (PR #186)

Signal Map fixes (#100). A field with mask 0 is now ignored instead of reading 0 forever, and the dashboard tells you when the DAS id you mapped never shows up on your bus (in that case the nag killer stays paused — before, it just silently did nothing).

Dashboard: "TX Errors" is now "CAN Errors", split into RX drop / bus / TX fail. The old number was mostly frames dropped on receive, which read like failed transmissions. (PR #185)

Also: the ESP32 now stops its CAN controllers before every reboot (factory reset, WiFi apply, restart, after a web flash) so a reboot on a live bus can't glitch it (#180, PR #185); "engaged" means DAS state 3–6 everywhere (the ESP32 HW3 path only counted 3); the ESP32 handlers are now unit-tested on the host too; and there's a .catalog/ README + changelog for the Flipper app catalog submission.

Heads-up

HW4 + FSD unlock + AP-First on 2026.14 and newer: AP-First was effectively stuck closed on HW4 because of the decode bug, so it never injected. It now opens after engage as designed, and on 14.x+ firmware injection after engage can make the car drop AP about a second later (the preflight — see #122 and the FAQ in #168). Keep FSD unlock off on 14.x+.

Thanks

@anoblekman (the Highland DAS layout, the in-car Autopark finding, the 0x318 side note and the reboot-glitch report — #177/#180), @Tesla234987234sdf (the Palladium OTA report and the capture that showed the counter, #183), @tommybsb-lab (the ATOM Lite / Juniper screenshots behind the Signal Map fixes, #100), @sb1089 (the HW3 2026.26 capture, #122), @ukinora (found the same 0x318 counter bug independently), and the ev-open-can-tools project.

Notes

  • Opt-in features are off by default; boards boot Listen-Only. FSD-enable injection can actuate a moving, engaged car — bench / closed-track only.
  • None of this is on-car validated yet — reports welcome, especially an in-car Autopark on Highland and an ESP32 nag-killer re-test.
  • Downloads below: tesla_mod.fap for the Flipper; per-board ESP32 .bin (use the -merged.bin for a fresh flash, or the browser flasher tesla-flasher.html).

This project is free and open source. If it saved you the cost of an aftermarket dongle, you can support the research (multi-chain crypto) — entirely optional.