A modded Magisk app can potentially backdoor your device.Īnd in case some of you are about to put on your tin foil hats, this is not designed to "vendor lock-in" the goal is to make sure your root management app comes from the same developer of the underlying root implementation. Magisk's root daemon treats the Magisk app differently and gives it blanket root access without any restrictions.
Many might not realize, but using a trusted, unmodified Magisk app is really important.
Enforce root manager APK signature verification to combat the rampant unofficial Magisk app "mods". Properly support and implement the UX in the Magisk app for packages using sharedUserId. Add a whole new package tracking system to ensure malicious UID reuse attack cannot be performed. v25 focuses on making root permission management more accurate and secure: The superuser functionality of Magisk has not seen much changes ever since its introduction. For example, Magisk no longer patches fstabs in most scenarios, which means AVB will remain intact some custom kernels rely on AVB being stripped out for them by Magisk. Since this is a full paradigm shift on how Magisk hot-patch the device at boot, several behaviors that many developers implicitly relied on might not exist. After many months of planning (yes, this whole re-architecture has been in my head for a long time) and some help from external contributors, a whole new sepolicy injection mechanism is introduced into Magisk, solving the "SELinux Problem" once and for all. It got to a point that magiskinit had become so complicated that few people (including myself!) were aware of every detail, and maintaining this piece of software like this was clearly not sustainable. Ever since Android introduced Project Treble in Android 8.0, Magisk has been constantly fighting against the increasingly complex partitioning and early mount setups of all kinds of devices, sometimes with weird OEM specific implementations.
The following are the same as v25.0 release notes.Īnother major release! A lot of the changes aren't visible at the surface, but v25 is actually a really substantial upgrade! MagiskInit RewriteĪ significant portion of magiskinit (the critical software that runs before your device boots up) is completely rewritten from scratch.