﻿{"id":6503,"date":"2026-10-15T18:08:51","date_gmt":"2026-10-15T18:08:51","guid":{"rendered":"https:\/\/uni.hi.is\/helmut\/?p=6503"},"modified":"2026-10-17T16:36:57","modified_gmt":"2026-10-17T16:36:57","slug":"hmg-hyundai-kia-genesis-firmware-updates-on-linux-using-nudl-tool","status":"publish","type":"post","link":"https:\/\/uni.hi.is\/helmut\/2026\/10\/15\/hmg-hyundai-kia-genesis-firmware-updates-on-linux-using-nudl-tool\/","title":{"rendered":"Hyundai Motor Group (Hyundai, Kia, Genesis) head unit firmware updates on Linux using the nudl tool"},"content":{"rendered":"<h1>Original updater supports only Microsoft Windows and Apple Mac OS X<\/h1>\n<p>While the more modern Hyundai Motor Group (Hyundai, Kia, Genesis) vehicles can do over-the-air (OTA) updates of at least the head unit firmware (gives you, e.g., new map data for the navigation system, but occasionally also new features), they want you to have a subscription for that to cover the mobile data costs (for European models, the map alone is a hefty 17 GB transfer). But you can still do an old-school firmware update (also for the older vehicles that do not even have OTA) by <a href=\"https:\/\/uni.hi.is\/helmut\/2022\/12\/11\/updating-hyundai-kia-genesis-head-unit-navigation-infotainment-system-firmware-using-linux\/\">downloading the update files from their server and then copying them on a USB key<\/a>. However, HMG wants you to use their software that downloads their files and copies them on a USB key -- and that software does not run on Linux (and even navigating to their download page is already refused if your browser's User-Agent header says that your browser runs on Linux).<\/p>\n<h1>Nudl to the rescue<\/h1>\n<p>One of my blog readers pointed me to the <em>nudl<\/em> tool (thanks, Joachim):<\/p>\n<p>The <em>nudl<\/em> tool runs on Linux, Windows, macOS and can download firmware updates for cars from Hyundai, Kia, Genesis: <a href=\"https:\/\/github.com\/chenxiaolong\/nudl\">https:\/\/github.com\/chenxiaolong\/nudl<\/a>. If you trust the supply chain, you can download a zip file from the <em>Release<\/em> page that contains a statically linked binary which runs with normal user permissions. <\/p>\n<p>After unzipping, you can simply run the <em>nudl<\/em> binary. As the HMG server does some GeoIP, you will automatically get the correct firmware image for your region from the HMG update server.<\/p>\n<p>For my EU Kia EV6 (but for other vehicles, e.g. Hyundai Ioniq 5, you would just need to change the parameters), I used:<\/p>\n<pre><code class=\"\" data-line=\"\">.\/nudl list -b kia | grep EV6<\/code><\/pre>\n<p>As of 10\/2026, this printed:<\/p>\n<pre><code class=\"\" data-line=\"\">2025_26_EV6_GT_EUR               &quot;2025-26 EV6 GT&quot;          CV1GT26.EUR.ccNC.001.002.260312\n2025_26_EV6_GT_EUR               &quot;2025-26 EV6 GT&quot;          CV1GT.ERT.ccNC_Lite.001.002.260312\n2025_26_EV6_GT_EUR               &quot;2025-26 EV6 GT&quot;          CV1GT26.ERT.ccNC_Lite.001.002.260312\n2025_26_EV6_GT_EUR               &quot;2025-26 EV6 GT&quot;          CV1GT.EUR.ccNC.001.002.260312\nEV6_MY_22_EU                     &quot;2022-24 EV6&quot;             CV_E.EUR.S5W_L.001.001.260128\n2025_26_EV6_EUR                  &quot;2025-26 EV6 PE&quot;          CV1MY26.EUR.ccNC.001.002.260312\n2025_26_EV6_EUR                  &quot;2025-26 EV6 PE&quot;          CV1.EUR.ccNC.001.002.260312\n2025_26_EV6_EUR                  &quot;2025-26 EV6 PE&quot;          CV1.ERT.ccNC_Lite.001.002.260312\n2025_26_EV6_EUR                  &quot;2025-26 EV6 PE&quot;          CV1MY26.ERT.ccNC_Lite.001.002.260312<\/code><\/pre>\n<p>As my EV6 is model year 2022, i.e. <code class=\"\" data-line=\"\">MY22<\/code> with the old Standard Gen5W Navigation, the entry <code class=\"\" data-line=\"\">EV6_MY_22_EU<\/code> is relevant for me. For extra thoroughness, you can double-check via:<\/p>\n<pre><code class=\"\" data-line=\"\">.\/nudl list -b kia -m EV6_MY_22_EU<\/code><\/pre>\n<p>which correctly printed (note the <code class=\"\" data-line=\"\">5W<\/code>, meaning Generation 5 Wide Navigation, in the version number):<br \/>\n<code class=\"\" data-line=\"\">MODEL        NAME          VERSION<br \/>\nEV6_MY_22_EU &quot;2022-24 EV6&quot; CV_E.EUR.S5W_L.001.001.260128<\/code><\/p>\n<p>(In addition, you can also double-check by comparing to the latest update available on the <a href=\"https:\/\/update.kia.com\/EU\/EN\/home\">European KIA update server<\/a>.)<\/p>\n<p>I then created a directory with that version name and let <em>nudl<\/em> download into that directory using the <code class=\"\" data-line=\"\">-o<\/code> parameter:<\/p>\n<pre><code class=\"\" data-line=\"\">.\/nudl download -b kia -m EV6_MY_22_EU -o &quot;CV_E.EUR.S5W_L.001.001.260128&quot;<\/code><\/pre>\n<p>If your download was aborted, you can resume by just re-running the above command. If you then want to verify the checksums, point <em>nudl<\/em> to the directory that was used for that version:<br \/>\n<code class=\"\" data-line=\"\">.\/nudl verify -d &quot;CV_E.EUR.S5W_L.001.001.260128&quot;<\/code><br \/>\nTypically, that verification step is not really needed as the car itself also checks file integrity before installation.<\/p>\n<h1>Format USB key as exFAT<\/h1>\n<p>This is 25 GB of data, so have at least a 32 GB USB key (the newer ccNC-based head units might have even a 55 GB firmware update).<\/p>\n<p>Also, USB keys tend to be slow, so this can take half an hour or more with a slow USB key: If you have multiple USB keys, check for reviews of their write speed. For example, I have one USB 3 key that takes 45 minutes for writing the 25 GB update files (that is slower than USB 2.0 speed) and another USB 3 key where that takes just 5 minutes. <\/p>\n<p>The USB key needs to be formatted as exFAT (while some forum posts claim that FAT32 should be fine as well, the map data file alone is 17 GB and FAT32 has a maximum file size of 4 GB, so FAT32 will simply not work).<\/p>\n<p>To format as exFAT, first check what device is assigned by Linux to your USB key:<\/p>\n<p><code class=\"\" data-line=\"\">lsblk<\/code><\/p>\n<p>On my system, it is <code class=\"\" data-line=\"\">\/dev\/sda<\/code>, so I use that below.<\/p>\n<p>If the USB key is mounted, unmount it:<br \/>\n<code class=\"\" data-line=\"\">sudo umount \/dev\/sda<\/code><\/p>\n<p>Wipe the old raw filesystem signature to prevent the car from getting confused by leftover superfloppy metadata:<br \/>\n<code class=\"\" data-line=\"\">sudo wipefs -a \/dev\/sda<\/code><\/p>\n<p>Create an MBR partition table with a single exFAT partition:<br \/>\n<code class=\"\" data-line=\"\">printf &quot;label: dos\\ntype=7\\n&quot; | sudo sfdisk \/dev\/sda<\/code><\/p>\n<p>Format that single partition (i.e. <code class=\"\" data-line=\"\">\/dev\/sda1<\/code>) as exFAT (I named it <code class=\"\" data-line=\"\">KIAEV6<\/code>):<br \/>\n<code class=\"\" data-line=\"\">sudo mkfs.exfat -n &quot;KIAEV6&quot; \/dev\/sda1<\/code><\/p>\n<h1>Copying files to USB key<\/h1>\n<p>Finally, copy the downloaded files directly from the directory (but without the directory itself) to the root directory of the USB key:<\/p>\n<pre><code class=\"\" data-line=\"\">USB Drive\/\n\u251c\u2500\u2500 .lge.upgrade.xml\n\u251c\u2500\u2500 .whatsnew.tar.gz\n\u251c\u2500\u2500 AppUpgrade\n\u251c\u2500\u2500 EV6_MY_22_EU.ver\n\u2514\u2500\u2500 HU\/\n<\/code><\/pre>\n<p>(Note that you cannot simply ungzip\/untar, e.g., the <code class=\"\" data-line=\"\">.whatsnew.tar.gz<\/code> as all the files are encrypted. But there are tools for messing around with the firmware of <a href=\"https:\/\/github.com\/rgerganov\/gen5fw\/\">Gen 5<\/a> and <a href=\"https:\/\/github.com\/Helloyunho\/gen5w-utils\">Gen 5 Wide<\/a> head units. There is even a <a href=\"https:\/\/github.com\/xwtk\/hmg_nemesis\/\">root exploit for Gen5W<\/a> available that lets you modify the firmware. The less brave <a href=\"https:\/\/github.com\/tylerharvey\/Ioniq5_CAN\/\">can inject via the ODB port a CAN bus signal to activate manual battery pre-condition<\/a>. Do this all at your own risk!)<\/p>\n<p>If you use <code class=\"\" data-line=\"\">cp<\/code> for copying, you can also use the <code class=\"\" data-line=\"\">-v<\/code> flag to see some sort of progress, i.e.: <code class=\"\" data-line=\"\">cp -av<\/code>. Make sure to also copy the dot files: <code class=\"\" data-line=\"\">.lge.upgrade.xml  .whatsnew.tar.gz<\/code><\/p>\n<p>Next time, I will try to get even better progress:<br \/>\n<code class=\"\" data-line=\"\">rsync -rltvh --info=progress2 CV_E.EUR.S5W_L.001.001.260128\/ \/media\/helmut\/KIAEV6\/<\/code><\/p>\n<p>Finally, flush the buffers and unmount:<\/p>\n<p><code class=\"\" data-line=\"\">sync &amp;&amp; sudo umount \/dev\/sda1<\/code><\/p>\n<h1>Update the car<\/h1>\n<p>Start the car and insert the USB key: while it will first complain that it did not find any media files, after a few seconds, it should find the update. <\/p>\n<p>The update runs for half an hour or so (as the USB A port that needs to be used in the KIA EV6 is USB 2 speed, your USB key's speed does matter anymore and reading alone takes ca. 15 minutes -- only after that, decryption, checksum verification, and flashing to the head unit's eMMC memory take place).<\/p>\n<p>Therefore, take care that your 12 V battery does not run empty (EV6 owners should be able to choose \"Later\" and then turn the car off; after that, the very same update dialogue should be shown again where you can then choose \"Update Now\" and leave the car and lock the doors. Combustion engine cars probably need to be driven while doing the update, i.e. navigation will not be usable during the update, but the rest of the car will work).<\/p>\n<h1>No VM needed anymore on Linux for running the updater<\/h1>\n<p>I had some <a href=\"https:\/\/uni.hi.is\/helmut\/2022\/12\/11\/updating-hyundai-kia-genesis-head-unit-navigation-infotainment-system-firmware-using-linux\/\">older instructions involving running Microsoft Windows in a VM<\/a>, but thanks to <em>nudl<\/em>, there is no need for a Windows VM anymore, as it has become much easier!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Original updater supports only Microsoft Windows and Apple Mac OS X While the more modern Hyundai Motor Group (Hyundai, Kia, Genesis) vehicles can do over-the-air (OTA) updates of at least the head unit firmware (gives you, e.g., new map data for the navigation system, but occasionally also new features), they want you to have a [&hellip;]<\/p>\n","protected":false},"author":512,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[177207],"tags":[],"class_list":["post-6503","post","type-post","status-publish","format-standard","hentry","category-electric-mobility"],"_links":{"self":[{"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/posts\/6503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/users\/512"}],"replies":[{"embeddable":true,"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/comments?post=6503"}],"version-history":[{"count":67,"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/posts\/6503\/revisions"}],"predecessor-version":[{"id":6578,"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/posts\/6503\/revisions\/6578"}],"wp:attachment":[{"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/media?parent=6503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/categories?post=6503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uni.hi.is\/helmut\/wp-json\/wp\/v2\/tags?post=6503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}