The most recent Magisk stable release (v25.2) includes a number of bug fixes for MagiskInit
as well as a logging interface that is powered by Rust.
The adoption of the memory-managed Rust programming language into the Android codebase started to take baby steps in 2021. It appears that John Wu, aka XDA Senior Recognized Developer topjohnwu, has been considering similar ideas for the Magisk Project. Wu claims that after the stable channel release of Magisk’s v25.0 build, experimentation had already started. As of right now, topjohnwu has released a brand-new stable version of Magisk called v25.2, with the logging infrastructure having been switched over to Rust.

A lot of the core parts of Magisk are written in C++. The lack of memory management in the language, however, makes it vulnerable to memory leaks and buffer overflows. However, Rust offers a memory-safe environment without sacrificing any of C++’s raw speed, flexibility, or direct mapping to hardware functionality.
Although a complete Magisk implementation in Rust is not expected any time soon, the work done so far to integrate Rust code into the project’s logging infrastructure is likely to be very valuable.
Twelve days after the v25 release went live, an interim v25.1 build was released, but it only included minor bug fixes. However, the most recent stable release of Magisk is a full-fledged maintenance update that also includes several MagiskInit
-related enhancements.
Magisk 25.2 Changelog
- [MagiskInit] Fix a potential issue when stub cpio is used
- [MagiskInit] Fix reboot to recovery when stub cpio is used
- [MagiskInit] Fix sepolicy.rules symlink for rootfs devices
- [General] Better data encryption detection
- [General] Move the whole logging infrastructure into Rust
Download Magisk 25.2
You can get the v25.2 release right now by clicking the link below and installing it on your device. Please report any issues you encounter with the most recent build in the GitHub issue tracker (located in the “Issues” section).