r/CarHacking • • Feb 02 '17

Car Hacking Subreddit Intro

91 Upvotes

Hi rch, we have added a lot of people lately with intro posts on other subs like the one below. We also usually get about 10 subs a day from people just stumbling in here. So I wanted to create a welcome post, to kinda show them what we are about and how to get started. If anyone has anything to add please do so. If anyone has any questions about us or where to start do so here.

Our goal is to create a highly technical car subreddit, a place for automotive engineers, senior technicians, full blown car nerds, or people who are working towards one of these. We are interested in the inner workings of cars and today that often involves electronics. While we see electronics as the priority we are pretty liberal in allowing other topics as long as they somehow fit our goal of trying to understand cars. So things like DIY aero, suspension setup and other things the community is hacking on come up. In general our other tangential interests include: Modern cars, New tech, Open source hardware/software, DIY, hot rodding, eco modding, customization, security research, right to repair and more.

We started this subreddit about a year ago. Right now we have 3000 people and discussion is just starting to get good. Most of our members found us through maker or engineering subreddits. So I wanted to reach out to more of the car communities and try to grow our knowledge base.

Our name is r/carhacking and I know the term hacking can be offputting to some as it has a bad connotation. When someone says they are “hacking” their car it generally means they are trying to reverse engineer it for any number of reasons like to find security flaws, make upgrades, make repairs, or just understand how it works.

Here are a couple examples of posts that have been popular so far. A lot of our posts focus on beginner through intermediate projects using arduino and readily available hardware for the purpose of learning and or not paying a premium for things you can make yourself:

More advanced projects:

Relevant news/ research:

If your new our documentation is a good place to start

If you aren't new and you’re interested in helping out please consider:

  • Improving documentation - think about what resources have helped you
  • Spread the word - this is a niche community that is pretty spread out, but there is a lot of potential if we can get together on a third party site like this
  • Work on the theme, sidebar and flair - this is next level community stuff that isn’t necessary, but it’s fun to work on when you have the time.
  • Modding - right now we are fine, but we might need help in the future as we grow

Let me know if I missed something or got something wrong.


r/CarHacking • • Feb 27 '21

CAN CAN bus and car hacking getting started resources

300 Upvotes

I get asked how to get started with automotive networking, car hacking, and CAN almost weekly. I often direct people to this subreddit, so I figured I would help out and post some resources I have found and think are a good place to start.

learning resources:

Car Hacking 101: Practical Guide to Exploiting CAN-Bus using Instrument Cluster Simulator

I also direct people to the Car Hacking Village to get some hands-on experience. They put on great conference talks, demos, and contests. Looks like they are even working on some “getting started” content.

And of course, The Car Hacking Handbook is a great resource.

I will add more as I think of them. Please add your finds in the comments.

Tools:

Good wiring diagrams and car manuals are essential. This is pretty much where my research starts for each project. You see how things are networked and what to expect to find on CAN. You'll quickly learn to recognize things like gateways. You can also use the troubleshooting section to understand things. For example, what things do I need to control to start the car?

I like:

  • prodemand (I pay $170/mo for a shop subscription, I think you can purchase it for individual cars, but be careful you often have to jump around to find a year that has complete diagrams)
  • Identifix (probably what I would buy if I was starting over)

Basic hardware: Here you will be working with things like Arduino, Linux, SavvyCAN, and Can-utils. You have to learn to do a lot yourself, but these tools are more open for you to make them do what you need.

Tools designed by the community I use:

The above articles offer a pretty good step-by-step guide to getting started with the Macchina M2.

Any cheap “Amazon special” OBD2 dongle will come in handy from time to time. They are all based on something called ELM327. "ELM327 abstracts the low-level protocol and presents a simple interface that can be called via a UART". This abstraction has fundamental limitations that prevent it from being useful in most serious applications. But, it is sufficient for reading and clearing some codes and that sort of thing when you’re getting started.


r/CarHacking • • 1h ago

Original Project Apps on BMW iDrive 6 (NBT Evo) installed from your phone, all open source.

• Upvotes

NBTFoundry is an open-source project that lets you run your own apps on the BMW iDrive 6 screen (NBT Evo head units).

How it works

- It adds an "App Manager" entry to the iDrive menu, and apps start from there.

- Apps use the iDrive knob or a USB gamepad, and play through the car's speakers.

- The first install needs a laptop and an ENET cable. After that, you install and update apps from an Android phone over the car's Wi-Fi. (phone install with a wifi adapter is being tested)

- You approve every install on the car's screen, and a bad update is undone automatically.

- Every app is signed with a certificate to prevent malicious installs

Apps so far

- Android Auto (packaging the NBT-AAD project)

- Gauges: live engine data straight from the car, with no OBD adapter

- Doom, because why not?

- Emulators: SNES, PlayStation, Mega Drive and arcade

More to come, I'm thinking about diag tools like bimmercode/link.

Want to write your own?

There's an SDK and a free compiler for Linux, macOS and Windows. You can build and test an app on your desktop before it goes anywhere near the car.

Status

It's early: the car side has a pre-release, and the Android app is on Google Play in testing (DM for an invite). You can build everything if you'd prefer.

Tested on a fully updated 2018 G31.

I'm looking for testers with an NBT Evo car and anyone who wants to build or port an app.


r/CarHacking • • 3h ago

Original Project Motorpedia OBD2 Pro v2.4.0 (Android) — Multi-Module UDS, Zero-Trust OEM Actuators, 4-Ch Oscilloscope & 12V/24V Support

Post image
2 Upvotes

Hey everyone,

I'm a heavy-duty bus/truck mechanic and indie Android developer, and I just pushed **v2.4.0** of **Motorpedia OBD2 Pro** to Google Play with a refreshed look and a rebuilt low-level bus engine.

I built this app because I wanted a single diagnostic tool that handles everything from older K-Line passenger cars and modern multi-module CAN/UDS vehicles to 24V commercial trucks—without bloated subscriptions or misleading sensor data.

### Key Features & What's New in v2.4.0:

* **Hardened Bus Session Arbiter (K-Line / CAN / 24V):** Isolates protocol traffic so CAN broadcast headers (`AT SH 7DF`) never interfere with legacy **ISO 9141-2 / KWP2000** ECUs, eliminating disconnects and restoring rock-solid live sensor streaming.

* **Multi-Module UDS Scanning:** Full control unit discovery and DTC read/clear across **Engine, ABS/ESP, Airbag (SRS), Instrument Cluster, Gateway, and Electronic Parking Brake (EPB)** covering **11 OEM groups** (VAG, Honda, Toyota/Lexus, Ford/Mazda, Renault/Dacia/Nissan, BMW/Mini, PSA, Mercedes-Benz, Hyundai/Kia, FCA).

* **Zero-Trust Bidirectional OEM Actuators:** Verifies ECU hardware part numbers (`DID 0xF187`) and live safety interlocks (battery voltage, 0 km/h vehicle speed, engine RPM) before running service routines:

* **EPB Caliper Service Mode** (open, close, and basic setting)

* **BEM / BMS New Battery Registration**

* **Stationary DPF / FAP Regeneration**

* **Electronic Throttle Body Relearn (ETCS)** & **Steering Angle Sensor (SAS)** calibration

* **24V Heavy-Duty Vehicles (SAE J1939):** Automatic protocol switching (`250k`/`500k`) on 24V systems, `PGN 65260` VIN extraction, and live DPF/SCR aftertreatment thermal monitoring.

* **4-Channel Oscilloscope & Honest Telemetry:** Plot up to 4 live PIDs simultaneously with measurement cursors and CSV export. Unresponsive sensors cleanly display `--` instead of fake `0` values.

* **OEM Technical Database & Built-in Demo Mode:** Look up oil viscosities, fluid capacities, and torque specs by vehicle—or test every screen in **Demo Mode** without plugging in an adapter.

### Compatibility & Links:

* **Platform:** Android (Google Play)

* **Adapters:** Native high-speed support for **vLinker MS (STN)**, plus **OBDLink** and genuine **ELM327 v1.5** Bluetooth/Wi-Fi adapters.

* **Google Play:** [Motorpedia OBD2 Pro on Google Play](https://play.google.com/store/apps/details?id=com.artimadev.motorpedia)

* **Website & Free DTC Database:** [artimadev.com](https://artimadev.com/)

If you give v2.4.0 a try on your car or truck, I'd love to hear what vehicle/adapter combo you're running and any feedback!


r/CarHacking • • 19h ago

Original Project DBCHub: a community-driven repository for CAN bus database files

Thumbnail dbchub.com
25 Upvotes

Hey everyone,

Finding CAN bus database files for specific vehicles can be frustrating. They are often scattered across GitHub repositories, forums and personal websites. This issue is more severe now, as AI helps reverse engineer CAN databases faster.

That's why I started building **[DBCHub](https://dbchub.com)\*\* – a centralized platform for discovering and sharing automotive communication databases.

Think of it as Docker Hub, but for CAN bus databases.

The goal is to create a community-driven repository where you can:

- Discover CAN databases for different vehicle makes and models.

- Share your own reverse-engineered DBC files.

- Centralize automotive database formats such as DBC, ARXML and DBF.

- Build upon existing reverse-engineering efforts instead of starting from scratch.

I'd love to make automotive reverse engineering more accessible and collaborative.

If you've reverse-engineered your vehicle's CAN messages, consider sharing your work with the community.

https://dbchub.com - Database / Github

I'm the developer behind this project and would love to hear your feedback, feature requests and suggestions.

Happy hacking!


r/CarHacking • • 1d ago

Article/news Tapping the car screen now controls my iPhone through CarPlay, by letting the phone pair with its own developer services (open source)

Enable HLS to view with audio, or disable this notification

20 Upvotes

I wanted to play games on the big screen in my BMW while parked, without a dongle or an Android box behind the dash. That turned into DashMirror, an iOS app that mirrors the whole iPhone screen into its own CarPlay window. Today the missing piece started working, tapping the car screen now controls whatever app is in front on the phone, games included.

The mirroring is the boring part: a ReplayKit broadcast, hardware H.264, a Unix socket into the app and a plain UIKit window on the CarPlay screen. Touch was the part I had written off. iOS doesn't let one app send touches to another, my own README said exactly that two days ago.

The way around it is a bit cheeky. Once the Developer Disk Image is mounted, the iPhone runs a HID service that Xcode uses when you control a device from the Mac. With a loopback VPN (LocalDevVPN, the same trick StikDebug uses for JIT) and a pairing file made on the Mac, the phone can open a tunnel to its own developer services. So DashMirror talks to its own iPhone as if it were that Mac and sends touchscreen reports to the HID service. The tunnel and protocol side is a small Rust library on top of jkcoxson's idevice, the Swift side only maps the finger on the car screen back onto the phone screen.

Two things I didn't see coming. iOS drops the touch reports unless a screen-sharing stream is running at the same time, so the app starts one and throws the video away. And the tunnel only comes up when the phone is on Wi-Fi or has mobile data switched off, a wired CarPlay connection doesn't count as a network for it. My BMW does CarPlay wirelessly though, so the phone sits on the head unit's Wi-Fi anyway and touch runs with mobile data on, that's the LTE you see in the CarPlay bar.

Numbers from the car, iPhone 16 Pro on iOS 27.0.1, wireless CarPlay: touch is ready about a second after switching it on, and the picture takes 17 to 21 ms from the phone screen into the app with touch running, 12 to 21 without. One finger only for now.

It's not plug and play. The CarPlay window alone needs a paid developer account and Apple's CarPlay video and audio entitlements on your own App ID. Touch adds Developer Mode, a mounted Developer Disk Image (gone after every reboot), LocalDevVPN and that pairing file, which is basically a key to your phone, so it stays out of the Files app and out of backups. Touch is off by default, and the picture, touch included, disappears as soon as the car moves. Apple can close any part of this with an update.

Code and setup: https://github.com/developer2013/dashmirror

So far it has only seen one car, so I'm not sure how other head units behave, wired ones especially. If someone wants to try it in theirs, I'd really like to know.


r/CarHacking • • 23h ago

Original Project Android 14 First stable boot on PX6 MTCE device

Thumbnail gallery
10 Upvotes

r/CarHacking • • 13h ago

UDS VAG DTC

0 Upvotes

Anybody have a db for translating VAG dtc to definition? I came accross OpenVAG on github but I don't find any db in the project?!

Thanks!


r/CarHacking • • 1d ago

Original Project Pokémon Emerald emulated natively on iD6 2018 Mini F56

Thumbnail
gallery
54 Upvotes

Disclaimer: Claude putting in an absolute shift this evening for a bit of fun just to see if it would work (I’m a data engineer and nowhere near experienced enough to do this properly)


r/CarHacking • • 1d ago

SWCAN BeamNG drive GMLAN help

Thumbnail
gallery
12 Upvotes

I'm currently doing a project on my 2018 Silverado cluster and want to connect it to BeamNG Drive I'm not tech savvy to know where to start. I'm using AI to help me code everything in Arduino IDE. If anybody has a DBC dump of OBD-II off of a 2014-2018 Silverado of [Speed Data] [RPMS] [FUEL] [TEMPS] [BATT Voltage] [OIL Pressure] Bare minimum for me

I'm currently Using a Can Click https://www.mikroe.com/single-wire-can-click?srsltid=AYCX9vI8KEIeF8k6HjWK89JaukviOCBRhJ5zk4nKyH3_HgPz9kD4BFB2

And a ESP32 https://www.amazon.com/dp/B0718T232Z?ref_=ppx_hzsearch_conn_dt_b_fed_asin_title_2&th=1

I've been stuck on this for 2 weeks and gave up and after months I finally came back

I cant get the needles to move on the cluster. I was finally able to get around the theft deterrent system warning. That's as far as I have gotten

ESP32 Click
GPIO 21 RX
GPIO 22 TX
GPIO 32 MD0
GPIO 33 MD1
3V3 5V (Done To not unsolder the VCC SEL)
GND GND
Cluster pin Connect to
3 Click CANH/SWCAN terminal
7 +12 V through a 5 A fuse (battery power)
8 +12 V through a switch (ignition)
19 Common ground
Click terminal Connect to
VIN +12 V from your supply
GND Common ground (supply negative)
CANH / SWCAN Cluster pin 3 (green wire, Low Speed GMLAN)

r/CarHacking • • 1d ago

Tuning HexRegius – a hex editor and ORI/MOD compare tool I made for ECU files

Thumbnail
gallery
39 Upvotes

Hey everyone,

Wanted to share a tool I've been building for my own tuning work. It's called HexRegius, a Windows desktop app for working on ECU dumps.

What it does:

- Finds maps automatically when you open a dump (Bosch Kennfeld headers, plus maps without a header)

- Identifies the ECU type and HW/SW numbers (EDC17, MED17, MD1, MG1, VAG, PSA, Renault)

- Compares an ORI and a MOD: changed zones, modified maps, similarity %

- 2D and 3D map view, with an F1/F2 overlay to see exactly what was changed

- Hex editing with find/replace, fill, undo/redo, bookmarks and a value inspector

- Exports a text report of the differences

Checksums are left to your flashing tool.

Screenshots below. Let me know what you think.


r/CarHacking • • 1d ago

Original Project Reverse engineered the 2004 Infiniti FX45 transmission computer (RE5R05A / Bosch GS19 / MPC555)

Thumbnail
2 Upvotes

r/CarHacking • • 1d ago

Original Project Reverse engineered the 2004 Infiniti FX45 transmission computer (RE5R05A / Bosch GS19 / MPC555)

Thumbnail
3 Upvotes

r/CarHacking • • 1d ago

Original Project Need a software patch for a 2015 Nissan Sentra that allows for third party parts?

Thumbnail
1 Upvotes

r/CarHacking • • 2d ago

Original Project I built a wireless CarPlay receiver app for Windows PCs

Thumbnail
gallery
118 Upvotes

Hey guys, I made a Windows app that bridges all the protocols needed to connect an iPhone to a home PC through CarPlay, wirelessly over Bluetooth and Wi-Fi. Listen to music, use navigation, take calls and talk to Siri through your PC's speakers and microphone. Control CarPlay with your mouse and keyboard.

There's also a second navigation screen for the car's instrument cluster, with maps and turn cards (still rare in real cars), a HUD with 3D maneuver arrows, and a virtual car you drive with the keyboard or a gamepad to move your GPS position.

The original idea was to bring CarPlay into VR and sim racing games, so you could see and control the "real thing" inside a virtual car's interior, in games like Assetto Corsa and the Forza series. That's still the plan.

The biggest milestone on the way there shipped in the new 1.1 release: a USB connection that fully detaches the iPhone's location from where you really are. Plug the phone into the PC with a cable, and the virtual car can drive anywhere in the world, with Google Maps, Waze or Apple Maps on the phone navigating it. It can also replay recorded drives: .GPX from Garmin, Strava and most GPS apps, .VBO from Racelogic and RaceBox lap timers.

But honestly, I've been using it for over a month as a simple Windows companion app, and it works much better for me than the native Windows/iPhone integration for taking calls, listening to Spotify, etc., despite looking a bit weird as it's still a car interface. It also lets me play Spatial Audio in 5.1 from iPhone apps on Windows, which most streaming services still don't offer.

I've also been digging into CarPlay Ultra's private APIs. Another milestone would be to create an emulated environment for it, then share that work with other indie devs so they can bring it to cars already on the market (the VAG and BMW communities have been making insane progress lately). Apple's restrictions around supported vehicles and "special" treatment feel artificial.

It's free and open source (GPL-3.0).
GitHub: https://github.com/NumberOneBot/ChairPlay


r/CarHacking • • 2d ago

Original Project IDrive emulator is now on Windows and Mac!

Post image
35 Upvotes

https://github.com/herrbimmer/IDEmu

[WIP]

IDEmu is now available for both Windows and macOS (Apple Silicon only). Feel free to download the tool and contribute to this fully open-source project! With IDEmu, you can emulate most iDrive versions to safely test features and develop new apps or plugins without risking your vehicle.


r/CarHacking • • 1d ago

Original Project VW ID.3

2 Upvotes

Hey there!

I have an e-car that I would like to inspect. I already have PCAN-USB interface on hand, so I bought a cheap OBD2 cable and soldered a DB9 connector to it so that I can connect everything together.

I plugged everything to the car and quickly tried checked if there is any data available, but PCAN-View did not show anything. Not sure what the problem might be, I will try to debug it a bit later. It is a VW ID.3 from 2022, so I guess it maybe doesn't share all that data over OBD2. But something should be there.

With this setup I would like to get any data, I am not picky.

But later on, I would like to get data like traffic signs, lane markings, detected vehicles, etc. For this I assume I will need somethine other than OBD2 and CAN, so probably Automotive Ethernet.

Does someone have experience with this? I would value all the inputs!

Thanks!


r/CarHacking • • 1d ago

Tuning TCU Hacking and Retuning

1 Upvotes

Hi gang

I've done some ECU tuning myself, but have never hacked a cars computer myself. Im looking to tune my Aisin Warner TF80SC transmission to improve power delivery on my heavily tuned Volvo S60R.

Where can I start? Any advice or a bit of handholding would be greatly appreciated. I already have a spare TCU and harness to tinker with.


r/CarHacking • • 2d ago

Original Project CANExplorer v1.11 is out — VW TP2.0/KWP2000, SecOC analysis, gateway mapping, and more

Post image
74 Upvotes

CANExplorer is a free, MIT-licensed desktop tool for CAN, CAN FD and LIN on Linux, Windows and macOS.

Versions 1.10 and 1.11 bring a lot of additions for reverse engineering, diagnostics and bench work:

🔍 New in v1.11 — reverse engineering & security

SecOC analysis: suspected MAC/freshness field detection, counter reconstruction and replay-protection assessment.

AUTOSAR E2E recovery: detect profiles 2/4/5/6/7/22 and recover counters and Data IDs from captures.

Seed/key analysis: test captured SecurityAccess pairs against candidate algorithms, with held-back pairs for verification.

Gateway analysis: authentication patterns, service-access matrices, inferred bus segments and potential filtering weaknesses.

Cryptanalysis: randomness tests, GF(2) linear relations, CRC identification and possible keystream reuse.

Security dashboard: prioritised findings, JSON/CSV exports and responsible-disclosure reports.

Findings → artifacts: export discovered diagnostic IDs as a DBC scaffold.

Authorised bench tests: replay and authentication checks, plus a probing executor with dry runs, allowlists and rate limits.

🚗 New in v1.11 — older VW-group diagnostics

VW TP2.0 transport and trace decoding.

KWP2000 client over TP2.0, ISO-TP or supported K-Line connections.

Module scanning and live measuring blocks.

Coding-record editing: backup, changed-record checks and read-back verification.

Your own JSON labels: module names, scaling formulas and coding fields.

OEM token-provider plugins: integration points for legitimate gateway access through OEM portals.

🔧 Added in v1.10

XCP/CCP upgrade: DAQ, XCP STIM, calibration curves/maps, datasets and XCP flash programming.

XCP over CAN FD, UDP and TCP, with connection settings from A2L.

ARXML export, including supported E2E/SecOC metadata.

UDS secured transmission (0x84) and expanded certificate authentication (0x29).

ISO-TP extended/mixed addressing.

J1939 ETP, address claiming and J1939-22 transport decoding.

Experimental comma.ai panda support and PEAK/Kvaser/Vector LIN adapters.

Busy-bus capture fixes addressing garbage-collection pauses and dropped frames.

Security findings are hypotheses to validate, and seed/key recovery targets weak or matching candidate schemes—it doesn’t magically break AES.

Everything joins the existing trace, plots, DBC editor, recording/replay, ECU simulation and MCP tools for Claude or other AI clients. You can try the basics without hardware using a virtual bus.

Downloads & Docs · Full changelog · Github

I’d especially appreciate feedback from anyone working with older VW modules, XCP ECUs or annotated security captures. What would make this more useful on your bench?

Thanks


r/CarHacking • • 2d ago

Original Project I built a CarPlay app for YouTube, IPTV, local videos and screen mirroring

2 Upvotes

I’ve been working on an iOS app called CarScreen that lets you play local videos, access Jellyfin/Emby libraries, browse the web, and mirror your iPhone on the CarPlay display.

Posting here because I’d like feedback from people who tinker with their infotainment setups. I’m particularly curious about differences between factory units and aftermarket receivers: screen scaling, input handling, and wired vs. wireless behavior.

If you try it, let me know your setup and what works or breaks. Your head unit model and iOS version would help me narrow down any issues.

The link is in my profile and the first comment. I’m also sharing Premium codes with anyone interested in trying those features—just ask.

What’s been the biggest headache when building or running custom apps on your CarPlay setup?


r/CarHacking • • 2d ago

Cool Project Find I made a free, open-source launcher for cheap Android head units (360 KB, no ads)

Thumbnail gallery
9 Upvotes

r/CarHacking • • 2d ago

CAN Volvo SPA amber DRL/sidelights

1 Upvotes

Hi! As the title says I’ve been attempting to display a solid orange DRL on my 2019 SPA Volvo. To do this I’ve used SavvyCAN to listen in to the high speed subcan network (Body can exposed).

I have successfully identified the lighting functions and the bits in each ID responsible for them. I have written a code on arduino and flashed it to an ESP32 module which successfully switches off the white DRLs and sidelights when requested. I can’t get it to switch on the indicators which I hoped would display solid orange.

My current set up is back pinned out of the CEM onto the body can exposed can bus which only contains the headlight control module (HCM) left/right and the central electronic module (CEM).
I have found that can ID 0x030 and 0x033 are responsible for DRL, sidelights, dip and main beam. When I override the CEM commands with my custom code the DRL/sidelights successfully switch off.
Can ID 0x040 and 0x050 are responsible for the indicators/hazards. The different thing here is unlike the IDs 0x030/33 where the same bits are flipping for each function, 0x040 and 0x050 have very different bits flipping in each ID for the same command. When I copy those bits into my override code the indicators do not react.

So my questions are, has someone managed to achieve this? Is there potentially something simple I am missing that someone can spot?
I feel like this is achievable given I can get the DRL/sidelights to accept my code.

Appreciate any advice!


r/CarHacking • • 3d ago

Cool Project Find Bosh KTS 540 Free Licenses?

1 Upvotes

Hi everyone! I have a Bosch KTS 540. I’m looking for a free license (cra*k) for ESI[tronic] or a similar free program that works with it and is as up to date as possible. Thanks in advance for any guidance!


r/CarHacking • • 4d ago

Original Project Think I finally finished my android auto project in my OEM Chevy Sonic radio

Enable HLS to view with audio, or disable this notification

43 Upvotes

I will provide details in the comments if you want.


r/CarHacking • • 2d ago

Original Project We built an app for people who want to know what their car is up to 🚗

Thumbnail gallery
0 Upvotes