Record of approaches tried and findings for exiting plant mode on the Tesla radar.
- Radar Unit: Bosch MRR evo14 (Continental)
- Source VIN: 5YJSB7E43GF113105 (UK P90D)
- CAN Interface: SLcan adapter on macOS
- Power Supply: SCPI-controlled bench supply
Over 200+ runs were performed exploring the parameter space. Key findings:
- VIN Protocol Working: Radar acknowledges VIN transmission (7/7 cycles)
- 0x631 Appearing: Radar sends initialization messages
- Persistent Error Codes: Various plant mode failure codes observed
| Code | Description | Frequency |
|---|---|---|
| 0x02 | COUNTRY_CODE_ERROR | Very common |
| 0x20 | EPAS_TYPE_ERROR | Common |
| 0x10 | AIR_SUSPENSION_ERROR | Occasional |
| 0x40 | CHASSIS_TYPE_ERROR | Occasional |
- 826 (UK): Primary focus
- 840 (US): Tested
- ASCII "UK" interpretation: Tested (0x554B)
- Various combinations with RHD flag
- Values 0-3 tested
- Value 3 shows promise for performance models
- Combined with EPAS variations
- Values 0-3 tested
- Type 1 (Bosch L538) most likely for pre-facelift
- Air/EPAS cross-product
- AWD/geometry combinations
- Performance/wheel type variations
- CAN communication established
- Protocol messages accepted by radar
- VIN transmission protocol correct
- Radar responds with 0x631 initialization
- No 0x300 status messages (still in plant mode)
- Error codes persist despite parameter changes
- No combination eliminates all errors
-
Stored Configuration Mismatch
- Radar has specific config from original vehicle
- We haven't found the exact combination yet
-
Missing Message
- Some required message not being sent
- Timing or frequency issue
-
Security Lock
- Radar may require security access before plant exit
- VIN learn may be required via UDS
-
Firmware-Level Lock
- Plant mode may be flagged in EEPROM
- May require firmware modification
- Complete UK-focused brute force sweep
- Try all European country codes
- Investigate UDS security access
- Attempt VIN learn via UDS service 0x31
- Read all accessible DIDs to understand stored config
- Analyze firmware if available
- JTAG extraction of firmware
- Reverse engineer plant mode flag location
- Develop direct EEPROM modification tool
| File | Contents |
|---|---|
gateway_probe_history.jsonl |
Raw probe results (208+ runs) |
gateway_probe_results.json |
Aggregated analysis |
radar_run_history.jsonl |
Detailed activation logs |
| Date | Activity | Result |
|---|---|---|
| 2025-07 | Initial protocol development | VIN protocol working |
| 2025-08 | Monitoring tools created | 0x631 detection |
| 2025-10 | Systematic parameter sweeps | Error patterns identified |
| 2026-01 | Repository consolidation | Clean structure, UK focus |
- Country: 826 (UK)
- RHD: 1 (yes)
- AWD: 1 (P90D is dual motor)
- Air Suspension: 3 (likely installed)
- Performance Config: 2
- EPAS Type: 1 (Bosch L538)
- Chassis Type: 1 (Model S)
- Radar Position: 0 or 1 (pre/post facelift)
references/tesla_odj/- ODJ diagnostic definitionsreferences/openpilot/- Panda safety layer referencedbc/tesla_*.dbc- CAN signal definitions