kaiHEN 20261123 Brings Shared Libraries to Switch 2 Homebrew, Making Big Ports Easier to Build and Update

foil 6 min read

Pixel-art title card with a red NEWS tag reading kaiHEN 20261123, SHARED LIBS FOR SWITCH 2, HOMEBREW UPDATE, next to a generic handheld console labelled .so LOADER

Most of the Switch 2 homebrew news of the past fortnight has been about what runs on the console: emulators, a web browser, streaming clients. The latest release is about how those apps are built. On November 24, the ouncebrew project published kaiHEN 20261123, a new version of the Switch 2 homebrew environment, alongside a matching release of its core library, libounce 20261123. Together they add dynamic linking, the system that lets programs share code libraries instead of each carrying its own copy. It is a behind-the-scenes change, but it is the kind of plumbing that large ports such as emulators and browsers depend on, and it shows the Switch 2 scene moving from proof of concept toward a proper development platform.

Advertisements

What was released

Until now, every homebrew program for kaiHEN had to be “statically linked”: the app, the support library it was built on and its graphics driver code were all packed into one file. The new release lets developers build programs the way most Linux software is built instead, as a main program plus separate shared libraries that are loaded when it starts. According to the libounce release notes, libounce itself, together with its memory allocator, C library and a new dynamic linker, now ships as a single shared library. Programs can also load extra libraries while they are running, which is how plugin systems work on a PC.

The kaiHEN release bundles a set of common shared libraries so that each app does not have to: the C++ standard library, the OunceVK Vulkan and OpenGL graphics drivers, and copies under the standard file names that code ported from Linux usually expects. If a program cannot start, the homebrew loader now returns to the menu with a numbered reason, such as a missing or mismatched library, rather than simply closing. The release notes stress that older, statically linked homebrew keeps working as before.

In the pull request that added the feature, kaiHEN developer kurumuz described a test program that loaded 80 shared libraries at once, called each one and unloaded them again. The full technical details are on the official kaiHEN 20261123 release page on GitHub, with the library side on the libounce 20261123 release page. f0il.com does not link to any other copy: fake versions of popular jailbreak and homebrew tools are routinely bundled with malware, so only trust the project’s own pages.

Pixel-art RPG quest log titled QUEST LOG: KAIHEN ON SWITCH 2 listing OCT 22 ns2jb jailbreak shown, NOV 10 FW 23.5.0 patches exploit, NOV 14 kaiHEN released, NOV 24 libounce + kaiHEN 20261123, NOV 24 ns2jb update needed
How kaiHEN got here, from the first Switch 2 jailbreak to this week’s release.

Which consoles and firmware

Nothing about the supported hardware has changed. kaiHEN still depends on the ns2jb exploit chain and, according to its developers and multiple scene reports, works only on Switch 2 consoles running firmware 23.0.1 or earlier. Nintendo’s firmware 23.5.0, released on November 10, closed the system-level hole that chain relies on, and there is no public method for consoles that have installed it. kaiHEN is also not persistent: it has to be started again after every reboot.

The new release adds one requirement of its own. Its release notes say it needs a version of ns2jb dated November 24 (or later), because the packaging of the files has changed. Anyone on the older tool is told to update it first. Separately, scene site ONE Jailbreak has reported users on 23.0.1 seeing a system prompt that blocks the games used as entry points until the console is updated; Nintendo has not confirmed this.

Who is behind it

kaiHEN comes from kurumuz, the developer who also maintains a reworked version of the ns2jb exploit, and is published under the ouncebrew organization on GitHub together with its developer kit. The original ns2jb jailbreak was first demonstrated by the developer pepsipu in October. The new builds were published directly as GitHub releases rather than announced through a press-style post, which is how the project has shipped every update since its first public build on November 14.

How Nintendo has responded

Nintendo has not commented publicly on kaiHEN. Its response so far has come through firmware, with 23.5.0 shutting the original exploit, and through action against the games used as entry points, including pulling SmileBASIC 4 from the eShop and later returning it with a patch. On the legal side, Nintendo of America’s DMCA notice in early November led GitHub to disable 144 repositories hosting firmware for original-Switch modchips. That notice did not involve kaiHEN or any Switch 2 project, but it is a reminder that Nintendo actively uses takedowns against tools it sees as circumventing its protections.

Pixel-art stat screen titled STATUS: KAIHEN 20261123 reading NEW Dynamic linking; FW 23.0.1 or lower; NEEDS ns2jb of Nov 24+; STATE Work in progress; NINTENDO No public comment
Where kaiHEN stands after the November 24 release.

What it means for console owners

For people already running kaiHEN, nothing changes immediately: existing apps keep working, and the benefit arrives as developers rebuild their projects to use shared libraries. In principle that means smaller app downloads, graphics driver fixes that reach every app at once instead of waiting for each one to be rebuilt, and an easier path for porting large Linux software that was never designed to be compiled as one monolithic file. Emulators, browsers and media players are the obvious candidates.

The risks are unchanged and worth repeating. The release notes still describe kaiHEN as a work in progress and warn that it gives homebrew full access to the system, including internal storage, so a buggy or malicious app “might write to your Switch 2 and brick it forever.” Staying on firmware 23.0.1 also means missing Nintendo’s updates and, increasingly, newer games and online features, and Nintendo has a long history of banning modified consoles from its online services. The kaiHEN project itself takes a firm anti-piracy line, telling people who want free games to update and buy them. For most owners, keeping the console updated remains the safe choice, even though that rules out today’s homebrew.

The bigger picture

The Switch 2 scene has moved unusually fast. The first software-only jailbreak appeared on October 22, Nintendo patched it within three weeks, and kaiHEN arrived four days after that patch. In the ten days since, developers have shipped RetroArch, a desktop Chromium browser, a Wii U emulator port and a proof-of-concept Switch 1 emulator for it. Dynamic linking is not as eye-catching as any of those, but it mirrors the path the original Switch scene took, where a mature toolchain made porting software routine. The open question is the same as before: kaiHEN only lives on consoles that never took firmware 23.5.0, and that pool shrinks every time an owner accepts an update.

Sources

Advertisements