Whether it’s to make more money or because of licensing disagreements, car companies often restrict the abilities of the infotainment units in their vehicles. They can do so much more, and a group of hackers is setting the Gen5W systems from Hyundai free with NEMESIS.
Many Hyundai and Kia vehicles from 2015 to 2019 use the Gen5W system, but there are some exceptions to the exploit like the Hyundai Elantra, Kia Forte, and Hyundai Ioniq 6, along with Canadian vehicles using the system. The most interesting feature for most users will likely be the ability to use Android Auto or Apple CarPlay wirelessly as well as bringing turn-by-turn navigation cues from those systems to the driver cluster and heads up display like you get with the built-in, but not so great, OEM navigation system.
Using a flaw in the over the air (OTA) update system, the developer says “the version must have S5W_M in it (General Settings > SW Info). S5W_L is not supported.” The head unit must also be one that supports OTA updates as otherwise it won’t have the appropriate logic to exploit.
We’ve seen hacks of various infotainment systems before including older Hyundai systems and Teslas.

To Hades with those car “infotainment” systems !!!
When a DRIVER is in the DRIVERS seat, they should be focused on
one thing only – DRIVING – not having their attention diverted to the
shiny object beckoning them to search for icons on a screen – while
simultaneously veering head on into an oncoming vehicle…..
And by the way those HIDEOUS front end designs are atrocious….
They must all be progenitors of the coming Cylon invasion force!
Perhaps they can interbreed with KITT and have a red dot moving
side to side on it.
The article mentions getting turn by turn directions from AA and ACP to show up in the heads up display… so you don’t have to look at any screens or use the terrible built in navigation.
Few missing points here:
1) It adds support all the way up to some vehicles for 2024.
2) It also includes (and the reason for the hack in the first place) is the ability to precondition the battery in your Gen5W EV6, Niro, Ioniq 5, and a few others if I recall correctly. HMG never opted to bring this feature to older vehicles, suggesting buying a newer car with the feature instead.
I hoped this day would come and I banked on it when I bought my 2022 EV6, and lo and behold, that day has come.
You must mean manual preconditioning? Auto-precondition is a pain but available in my 2023 EV6; I have to enable it in settings and then make sure that I set navigation to the DC charging station I’m heading to. Not a great experience when the one I’m heading to isn’t included in Kia’s current map data that’s for sure.
Yeah, manual preconditioning. There are now two solutions – NEMESIS and a canbus MITM.
I am incredibly nervous about installing this on my own vehicle. I phoned a friend and told him to tell me “Tell me it’s a bad idea to jailbreak my car” and while he was explaining why, I had to stop him to say “No, just say the damn words”
I don’t have another vehicle in case this goes horribly wrong. Maybe a few years down the line. Maybe once it’s paid off.
It appears to support my 2023 ioniq 5, but I Know, If I screw this up, I’m out money I don’t have.
it’s a bad idea to jailbreak your car
Thank you Caleb, This is exactly what I needed to hear.
Don’t get me wrong, I support the effort, I want this to be stable and successful, but I am not in a position where I can engage in this right now.
“This is exactly what I needed to hear”
No, this is what you wanted to hear.
It’s “only” the head unit (I’ve been telling myself). When my EV6 hit the 3 year milestone I lost access to the premium features like remote climate controls that are only available through the app. I’m strongly considering heading down this road to see if there’s a path using Nemesis to restore some of this missing functionality, including Android Auto wireless.
These days without the HU, you lose the ability to control 75%+ of the vehicle’s settings.
If you’re in Europe, it could be a really bad idea in the future. Euro7 will require hash checks of vehicle firmware. This is, of course, to prevent emissions cheating and nothing to do with protecting the rights of manufacturers to ensure you pay a monthly fee for heated seats.
That, and mileage based taxation, because of no more fuel taxes. Odometer fraud will become rampant and newer vehicles become sealed black boxes.
Beats me why they don’t just not tax vehicles and substitute the missing revenue by raising other taxation, like income and business tax. Fuel tax and the proposed mileage tax are both regressive: they hurt the working class more than the middle and upper classes. Income tax is progressive and does the opposite… oh, I guess that answers the question.
It’s fine, worst case you don’t have AC controls until you download an OTA image from updates.hyundai.com and wipe your system with a clean image. I did it and then let LLMs loose with ADB to customize my user experience (added shortcut option to STAR buttons so I can get to the audio settings menu in one press), and then a bunch of other neat stuff (sound reactive ambient lighting, some steering wheel controlled games/art)
To further assure you, the exploit is that the OTA updater copies a file to privileged storage and then runs it, before it checks a hash/key for verification of the file source. In this case the verification fails, but the file was already run, which is when nemesis installs itself (a gui and a cli), and since it was run as privileged, it passes that along to us.
there’s nothing to screw up, if nemesis fails to install, nothing happens.
I think you’re right to be somewhat wary, as I had a quick look but couldn’t see any instructions on what to do if the process goes wrong, or any rollback instructions.
It might be as simple as overwriting with a factory version of the software, but it would be nice to know up front.
Maybe I didn’t look hard enough. If you can find what looks to be a reliable way of rolling back your changes, I’d say give it a go, without those, I’d wait a bit and see how well it works for other people.
I did it on my 2022, throw the file on a USB drive and hit a few buttons, it just works. There’s an uninstall button in the menu. It added every feature I felt the car was lacking.
Makes me think I should keep my Nissan Versa for as long as I can. It is the cheap kind that only has the naive/simple AM/FM radio with LCD screen that’s NOT integrated with anything. It can play CDs, too, btw. Satellite radio was never activated by the car dealer, so there, my answer if I need it. No.
As far as navigation goes, I’ve long been using my cell phone. I turn 5G on, dial up maps, go, arrive, turn everything off. Works when/if I need it to work. For the backup I own a standalone GPS unit. No matter that it hasn’t been updated, all the main roads are still the same they have been since late 2000s, so I won’t get lost. For the REAL backup there is an old driving map that I decided to keep around just in case. I have all three bases covered. Compass is in one of my standalone units I am working on now (ESP32-P4, and I envision it will become what I need it to be, proper replacement for the tie-in locked paywalled gardens of largely uncontrollable private entities).
Regardless, I can easily upgrade to a no-name $60 “infotainment” that has the Andriod Auto, which I probably will at some point. I already own one such thing, bought way back for $45, and it still works, so there, my answer to the car makers, **** your profit plans. I keep my ICE Versa until it falls apart from rust, and then I’ll just buy a used ICE Mazda.
EV makers, challenge me with the open-source EV sold for the price of used Nissan Versa, the kind where I can inspect each cell and replace at will with a third-party kind, and I’ll reconsider. Until then, tough luck convincing me, and I am actually thinking importing a good/solid japanese-made “vintage” car, customs and all.
Because, coincidence has it, in the US they no longer mass-sell what I need for the price I can afford.
Pardon my vitriol, while I explain the reason for such.
EV making made initial splash and caused regular ICE car makers to reconsider, but the secondary shock from the initial scare caused ICE makers (ESPECIALLY US car makers) to rastrically cut down the required R&D into ICE engines (and trannies that go with them). While I don’t see US car makers making/selling affordable modern EV cars (not even Tesla has AFFORDABLE one, and all Teslas are 100% locked into one maker, no choice, last I checked), I also don’t see them doing any proper R&D into ICE either, on a contrary, they happily absorbed my tax-paid subsidies and delivered not much that I can use at my level, bottom of the middle class.
So we are stuck in the middle, while newer/better EVs haven’t arrived yet, the expertise with making ICE ones is mostly gone now, and there is no chance of restoring it. Why? Let’s see, how many would consider learning rebuilding the differential a viable career? Or the tranny? Or better/slimmer/efficient injection?
This reads like “brother from another mother”!
My current runaround is a 1988 Ford Escort. I ditched the head unit as I prefer to hear what the car is doing (unlike my neighbour who wrecked his engine because he couldn’t hear it going wrong!).
My phone does much more than any infotainment system and it’s already tracking me: why would I want another device doing so?
100% agree.
Average older OBDII readings can deliver all the information I would want to read myself without forwarding to unknown/uncontrollable entities. Eventually that’s what my ESP32-P4 will be doing, and potentially showing the results on the mentioned $45 unit.
I also remembered something else, older cars had built-in compass that would show bearing overhead on a VFD screen. I owned Chrysler Town and Country that did that, and perhaps time to find same screen on them ebays and somehow I suspect the compass was not far from the unit, maybe on the board itself, which means it can be read and send by wire to another unit. Something like that. CAN bus is a flexible thing, and there could be two independent CAN buses running along nicely where I need them to run.
Back to EV, waiting for the Ford Escort sized EV (of course it will never happen) sold for $12K flat, and what I actually NEED is a Ford Escort stretched into Ford Transit Connect size, sold for $15K perhaps, maybe $20K. Either that, or I buy busted Ford Transit Connect, replace engine/tranny and continue driving. Connects were discontinued, so there should be no shortage of used/beaten-up ones everywhere. I haven’t decided yet.
With nemesis, I could just install the Torque app on my headunit and use the $12 panlong obd2 reader over BLE… Then I can see all that info live, any time.
Until the jackasses decide to declare a ZEV/LEV zone in your city or town, and you get banned from driving there.
“Thou shall not enter…. unless you plonk down $40k for a car that requires monthly subscriptions and becomes crippled when the manufacturer pulls support in… oh, five years?”
Can’t. The place where I live is suburbia, and it hasn’t grown into anything since 25+ years ago, won’t grow any time soon.
I’ve already suggested a different idea, measure average oversized SUV and put two posts everywhere that would be just an inch or two narrower. That way only designated small rides can fit through, and oversized egos won’t.
London did something similar decades ago, and it works there, time to learn from the best and stop inventing the same wheel over.
The Ioniqs listed in this article regularly sell for mid 20s and need no subscription to use.
The Slate pickup is starting to look good, no screen or radio.
Hey everyone,
I am the developer of NEMESIS, and I appreciate it a lot to see my exploit being featured on Hackaday.
Yes, exploits are dangerous, NEMESIS is not idiot-safe, but it does do a lot of precautions in terms of how it integrates itself in the system, ensuring recoverability in various scenarios, but once again, this is not insurance that your HU will not get bricked if you do something wrong, root is root, root gives you the power to do anything, and with great power comes great responsibility.
NEMESIS differs from other kinds of exploits due to how I designed it to be, I wanted it to bring convenience too, package management was the best concept I have thought about and created for this, with proper documentation, it helped tons of people realize their creative ideas (especially in the age of AI) and bring what they have dreamt of so long to their cars.
Contrary to popular belief, NEMESIS was not created so I could bring manual preconditioning to my car, even though it was one of the first things I tried, I wanted to change the welcome animation :).
I wanted to make something that would give the user full control over their system, at the same time bringing them convenience in doing so, and I am more than proud to say I have succeeded on that.
Regarding questions such as “Ragh, cars screens bad, driver use road” – Yes, driver needs to focus on the road, and this is another aspect NEMESIS helps developers and users in, you are free to make your packages which increase your convenience in your daily drives, requiring less use of the infotainment screen, you could create your own voice assistance which would be connected to an LLM, make it an agent with tools, and give it full control over your car’s systems, ask it to do many things at once, and it would just… work, now whether it is dangerous or not, is for you to decide, and everything you do is under your blame, but that is the beauty of freedom.
I really appreciate you posting back on this.
It’s still something I’m really tempted to do, since at the very least, having a backup of the base firmware on the head unit would be nice to have. Preconditioning only working when I tell the car ‘Hey, We’re going for walkies’ is an oversight that should have been corrected by the manufacturer.
The things that really interest me the most is having control over the communications stack.
– I don’t know what the car communicates when it doesn’t have a subscription
– I don’t know who that communicates to
– I don’t know what vulnerabilities it has since it’s running an old version of android
So having some kind of monitoring or pcap ability over that would be helpful. To sync back to my home assistant when I get home to track service and milage would be grand. I’m sure this is something I’m going to be doing, it’s just going to take some time for me to be less impulsive; to plan out what I want it to be first.
I think I just need to see it in action and lurk the forum / discord / git issues for long enough to convince myself that I won’t be without heat in the dead of winter before I start messing with it.
I’m not unfamiliar with rooting a daily driver that’s still being paid off, but that daily driver is normally a phone and not a car that’s doing 150 miles per day.
I completely understand your concern, and it is fine to think that way, this is not the easiest thing to do when you see the car as something which if broken, costs a lot of money, energy and time to fix. The points that you mentioned can be checked via NEMESIS.
For me on why and how I was able to get myself to exploit the car, I was able to first get decryption keys from the head unit which I used to decrypt software update packages for the car, then with AI and much guidance from my side, I was able to fully analyze the attack path, and whether the modifications done are safe or not, this was just a matter of having the system and architecture fully understood (although I was still nervous when testing it for the first time, haha).