Magisk v25.0 improves the handling of SELinux, overhauls the management of root privileges and much more

Magisk was created by John Wu, also known as XDA Recognized Developer topjohnwu. Originally intended as a systemless rooting method, it has gradually evolved over the years into a more versatile and powerful solution that goes beyond a simple provider of superuser privileges.

The latest version of Magisk is now available, version 25 is available immediately. The first (and probably most important) change in this update is the rewritten MagiskInit software. This is responsible for replacing the default init process as the first program, injecting Magisk services into init.rc, and patching SELinux rules.

Thanks to the introduction of a brand new SELinux policy injection mechanism, the developers have successfully fixed most of the SELinux-related incompatibilities. Also, MagiskInit now supports Android 13’s Generic Kernel Image (GKI) format.

Last but not least, the new build includes a handful of security improvements for the MagiskSU component. Root privileges management has been overhauled to prevent malicious UID reuse attacks. Magisk now enforces root manager APK signature verification to protect users from modified versions of the Magisk manager that have been tampered with.

Magisk v25.0 changelog

  • [MagiskInit] Update of 2SI implementation, significant improvement of device compatibility (e.g. Sony Xperia devices)
  • [MagiskInit] Introducing a new sepolicy injection mechanism
  • [MagiskInit] Support for Oculus Go
  • [MagiskInit] Supports Android 13 GKIs (Pixel 6)
  • [MagiskBoot] Fix vbmeta extraction implementation
  • [App] Fix stub app on older Android versions
  • [App] [MagiskSU] Proper support of apps with sharedUserId
  • [MagiskSU] Fixes a possible crash in magiskd
  • [MagiskSU] Truncate unused UIDs once system_server restarts to prevent UID reuse attacks
  • [MagiskSU] Verify and enforce the installed Magisk app’s certificate to match the distributor’s signature
  • [MagiskSU] [Zygisk] Proper package management and detection
  • [Zygisk] Fix function hook on devices with Android 12 and old kernels
  • [Zygisk] Fixed Zygisk implementation for unloading custom code
  • [DenyList] Fixes DenyList on shared UID applications
  • [BusyBox] Added workaround for devices with old kernels

Download Magisk v25.0

If you like our news and you want to be the first to get notifications of the latest news, then follow us on Twitter and Facebook page and join our Telegram channel. Also, you can follow us on Google News for regular updates.

Leave a Comment