Maciej P. Wilczyński (@maciej) header
Maciej P. Wilczyński (@maciej) profile picture

😶‍🌫️

Poznań, Poland
Joined October 2010
Photo by Maciej P. Wilczyński (@maciej)Photo by Maciej P. Wilczyński (@maciej)Photo by Maciej P. Wilczyński (@maciej)Photo by Maciej P. Wilczyński (@maciej)Photo by Maciej P. Wilczyński (@maciej)Photo by Maciej P. Wilczyński (@maciej)Photo by Maciej P. Wilczyński (@maciej)Photo by Maciej P. Wilczyński (@maciej)
This is the world’s first and only* legacy Tesla Model 3 retrofitted with FSD Hardware 4. It also happens to be my car! The story begins a few months ago, when – inspired by @mikegapinski’s efforts to launch FSD in Europe – I’ve started digging around my Tesla’s infotainment and related systems, their security, and reverse engineering of all the firmware artifacts I could get my hands on. At that point I still had no idea how deep into this rabbit hole I was eventually going to wander and how many hours of sleep it was going to take away from me. This was my first hands-on experience with FSD and, albeit still awfully impressive, v12 on HW3 was not the chauffeur experience I was hoping for. I knew Tesla wasn’t going to offer an official retrofit option, ever, and starving for a new adventure, I slowly started looking around Tesla’s official car schematics, comparing different variants of HW4 computers and mapping signals between HW3 and HW4 connectors. It quickly became clear that it was not going to be a weekend project. Not really enthusiastic about the odds, I shifted my focus onto other areas of the car—mainly the MCU itself, deep RE of both the hardware and the software, and learning as much about its internals as I only could. Two months pass by, I’m leaving on vacation with my wife and kids. Destination: LA. Rental car: FSD-subscribed Tesla Model Y, Juniper. Of course. I knew it was going to impress me. I did not know it was going to blow my mind. And sure as hell I did not expect it to impress my wife too (which is not an easy task for anyone or anything, trust me on that). During our wonderful two weeks there we’ve done about 2k miles in the Tesla. Out of those, I don’t think we’ve driven more than 30 miles ourselves, combined. All the rest, including a trip to Vegas and back through the Death Valley, was FSD v14—with not a single disengagement, even in rough conditions and poor visibility. Back home, it became clear to me. I’m either buying a new car or retrofitting HW4 into my Model 3 so that I could experience real FSD at all times. If you’re reading this, you know which path I took. Want to learn more about the retrofit process and how it all came together, what issues I experienced along the way, and how I managed to make it (nearly) all work? Drop me a follow, I’ll be sharing much more details in the coming days and weeks. And, spoiler alert, that retrofit is just the beginning 😈 * - that I’m aware of — but I don’t think anyone else in the world is mad enough to have tried that
20
10
6
188
32,674
Maciej P. Wilczyński retweeted
Looks like this won’t be need soon. Very good!
3
2
57
6,420
CarPlay on a @CoilShift-enabled Tesla was presented to you by @mikegapinski yesterday. But that’s just one of the many, many things I’ve been cooking lately. Today I have the pleasure to share with you another useful feature that CoilShift unlocks: AirPlay! It’s like having an external display for your Mac, iPhone or iPad - but built into your car! This is just an early development preview - the finished version will not feature those ugly black borders and will be able to fill the entire car screen. Despite many rumours about Tesla planning to add official AirPlay support, I’ve found no existing plumbing for it anywhere in the firmware. Everything about this feature has been implemented from scratch. How cool is that?
21
17
6
219
70,007
That's @CoilShift doing its magic again!
how did you do the fonts? 👀
1
5
1,947
Back in January @NotATeslaApp reported that Tesla is set to introduce an Automations app in the car infotainment system. It seems that it’s now fully polished and present in latest firmware revisions, but hidden behind a feature flag. Thanks to @CoilShift I’m now able to present it to you in its full glory. The app is absolutely stock, I didn’t make any modifications inside.
24
17
12
398
143,117
It is absolutely independent of software updates.
Replying to @maciej @CoilShift
That thing is precisely one software update away from being useless.
2
9
2,288
They said I couldn’t run custom apps in a Tesla. I proved them wrong. I can, and I will. And no, it’s not going to be a click counter 😈 Want to install third-party apps in yours too? Something big is coming. @CoilShift
18
13
3
235
47,786
Maciej P. Wilczyński retweeted
American MCU + right hand drive, with certs and app access? And secure config isn’t getting overwritten by ODIN? We’re cooking again! If you have a very unusual hardware issue with your Tesla, we’re here to help!
11
3
104
8,067
The boys are cookin'
How did we end up in this situation? There’s like 5 ryzens per square meter in this room 🤣
2
1,359
Maciej P. Wilczyński retweeted
How did we end up in this situation? There’s like 5 ryzens per square meter in this room 🤣
9
2
1
97
8,059
The no. 1 question I’m getting about the HW4 retrofit is “omg why did it require a new windshield??!” The answer may surprise you: it didn’t. I hadn’t planned to replace it, but the original broke, and a Highland windshield was the easiest way forward. Details below. The obvious differences between the HW3 and HW4 forward-facing cameras are their number and size. HW4 uses 2 larger cameras + 1 placeholder; HW3 is an integrated unit of 3 cameras with much smaller sensors. HW4 also has a completely different mounting-hole pattern. But the real problem was the size and placement of the temperature/humidity and light sensors. The HW4 sensors wouldn’t fit in the HW3 frame, and the HW4 frame wouldn’t fit the HW3 windshield because of the light sensor cutout’s location. My plan: 3D-scan both frames, then design and print one that fits the HW3 windshield, accommodates the HW4 sensors, and accepts the HW4 outer shell. No glass changes. Solid plan, and relatively simple, too. One day later, I’m driving on a freeway when a rock shoots out from under some truck’s tire and cracks my windshield. Not exactly pleasant, but a week later, my Tesla was rocking a Highland windshield with its stock HW4 frame and heaters. No going back now. Luckily, the unbeatable @Tutrifour had already shipped me a full set of Highland windshield and interior cameras, plus the rear-view mirror assembly. After giving the adhesive a day to cure, I started installing everything. A 15-minute job, surely. You would not believe just how wrong I was. The windshield unit included its original harness, running from the cameras and sensors to the lower A-pillar connectors. I swapped the stock harness for it to avoid squeezing FAKRA-Z adapters into the cramped windshield assembly or cutting keying tabs off aluminum connectors. One of the worst decisions of the entire project. Only after laying out the whole harness did I discover that Tesla engineers, likely just for teh lulz, had swapped the male and female sides of the quad mini-FAKRA connectors in the lower A-pillar. As planned, no adapters under the windshield. Bonus: two harness halves I couldn’t physically connect. Many cut coax cables and even more swearing later (crimping RG58 connectors will do that), the new cameras were connected to the computer. And they didn’t work 🙃 I’ll spare you the investigation details. Let’s play a game instead! You’re interviewing for an electrical engineer role at Tesla, working on the Model 3 Highland refresh. The old Model 3 has 4 cameras on the windshield and a GPS antenna. Its harness splits in the lower A-pillar: the cameras share a quad mini-FAKRA connector; GPS gets a separate full-size FAKRA. Nothing unusual. The refresh has one fewer camera, so one fewer cable. Your first task: redesign the wiring. What do you do? If you said “leave one position in the quad connector unpopulated to keep things simple,” congratulations — you failed your Tesla interview. That’s not wrong; it’s just the tip of the iceberg. The only valid answer: “Leave one position unpopulated, randomly shuffle all the connections, move the main camera to the separate full-size connector (keeping the same FAKRA key and color), and put GPS where the main camera used to be. Oh, and swap the male and female sides and change the keying so no sane person could even think about retrofitting this stuff.” I’ll refrain from commenting on that. Fun fact: the Highland windshield harness is much larger than the old one. There was no way to click the headliner into place without completely covering the interior cam. Cutting off a large piece of the interior trim is one of the things that definitely weren’t on my bingo card for this project.
9
6
3
120
24,349
None of this would be necessary if Tesla actually wanted to offer a retrofit—but those parts weren't made with retrofitting in mind. Instead of reusing HW3 mounts/holes that would easily fit the new stuff, they moved many little things around, seemingly just for the sake of it.
Wild project. The fact it took a windshield, mounts, and a nightmare install tells you why Tesla won’t sell this as an official kit.
13
1,674
Small correction — I wouldn't say the retrofit itself was a nightmare. Quite the opposite: the modifications are mostly simple and, with a few exceptions, completely reversible. The nightmare was the path to get there, figuring out what to change and how.
🔥 The first HW4-retrofitted 2022 Tesla Model 3 is now fully operational, including the latest FSD (Supervised) v14! The retrofit, described as a “nightmare,” required: ✅ HW4 computer replacement ✅ ECU modifications ✅ Camera adapters — no need to replace the camera cables ✅ New windshield ✅ Different camera mounts ✅ Headliner modifications While the retrofit is technically possible, it seems unlikely that Tesla will offer a paid HW4 upgrade in the future.
2
54
2,020
Maciej P. Wilczyński retweeted
What if I told you that it’s over? All cameras functional and she rips like there is no tomorrow? It was a nightmare after all the early optimism, front windshield needed replacement and there is still some refinement that needs to be done. First HW3 Tesla converted to HW4. And it all started with a naughty esp32 and a dream 🤣 Kudos @maciej, it’s been a long journey. I have a feeling the next one will be even more interesting (some soldering required)
First camera started working on a Hardwaee 4 equipped Model 3 (2022). Yes, we did the retrofit! It’s not as bad as it seemed, the computer replacement needed, some light ECU hacking. No need to replace camera cables as well, you can get away with adapters. It’s driving, but still a bit of stuff left to get all the features 😁 Honestly Tesla could have done it ages ago and offer a paid upgrade, if they end up doing it it doesn’t need so much new parts, but you need to replace all the cameras. It can be done on intel cars together with a Ryzen retrofit.
50
31
15
516
227,218