版本发布 8
- [MagiskInit] Support Android 16 QPR2 sepolicy format - [MagiskInit] Support using klogdump partition as pre-init storage - [Zygisk] Support Android 16 QPR2 and higher - [Zygisk] Support Android XR and some Nubia devices - [MagiskSU] Do not drop capabilities by default, even when switching to non-root UIDs. Explicitly use the `--drop-cap` argument to drop capabilities. - [MagiskBoot] Better lzma format detection - [MagiskBoot] Fix various commandline argument parsing bugs ### Full Changelog: [here](https://topjohnwu.github.io/Magisk/changes.html)
### Hotfix - [MagiskInit] Revert a change that could result in bootloops ### v30.5 Changelog - [General] Migrate a significant portion of the codebase to Rust - [General] Various minor bug fixes - [General] Support installing Magisk into vendor_boot partition - [Core] Improve Magisk specific files injection logic - [MagiskSU] Add ability to restrict Linux capabilities even if running as root (uid=0) - [MagiskSU] Fallback to older implementation when the kernel doesn't support zero userspace copy APIs - [MagiskPolicy] Support new sepolicy binary format introduced in Android 16 QPR2 - [resetprop] Reduce property modification traces - [resetprop] Properly support Android versions with property overrides ### Full Changelog: [here](https://topjohnwu.github.io/Magisk/changes.html)
- [Core] Fix bug in module mounting implementation - [MagiskSU] Add ability to restrict Linux capabilities even if running as root (uid=0) ## Diffs to v29.0 - [General] Various minor bug fixes - [Core] Migrate module implementation to Rust - [Core] Improve Magisk specific files injection logic - [MagiskBoot] Migrate compression code to Rust - [MagiskSU] Add ability to restrict Linux capabilities even if running as root (uid=0) ### Full Changelog: [here](https://topjohnwu.github.io/Magisk/changes.html)
- [General] Various minor bug fixes - [MagiskMount] Migrate module implementation to Rust - [MagiskMount] Improve Magisk specific files injection logic - [MagiskBoot] Migrate compression code to Rust
- Sync with public release ## Diffs to v29.0 N/A
This release looks minor at the surface, however, the entire codebase has gone through significant refactoring and migration. The native code in Magisk used to be mainly C++, but several contributors and I have been steadily rewriting parts of the code in Rust since April 2022. After years of effort, the Rust-ification of the project slowly began picking up steam, and at the moment of this release, over 40% of the native code has been rewritten in Rust, with several major subsystem rewrites in the PR queue, planned to be merged for the next release. Many might wonder, why introduce a new language to the project? My reason is actually not to reduce memory safety issues (although it is a nice side benefit), but to be able to develop Magisk using a more modern programming language. After using Rust for a while, it's clear to me that using Rust allows me to write more correct code and makes me happier compared to dealing with C++. People share the [same sentiment as I do](https://threadreaderapp.com/thread/1577667445719912450.html). ## Changelog - [General] Massive internal refactoring and code migration - [App] Support downloading module zip files with XZ compression - [App] Disable app animations when system animations are disabled - [MagiskMount] Support systemlessly deleting files with modules using blank file nodes - [MagiskInit] Redesign sepolicy patching and injection logic - [MagiskSU] Better TTY/PTY support ### Full Changelog: [here](https://topjohnwu.github.io/Magisk/changes.html)
- [MagiskInit] Fix 2SI on legacy SAR devices - [App] Disable app animations when system animations are disabled - [MagiskSU] Better TTY/PTY support ## Diffs to v28.1 - [General] Massive internal refactoring and code migration - [App] Support downloading module zip files with XZ compression - [App] Disable app animations when system animations are disabled - [MagiskMount] Support systemlessly deleting files with modules using blank file nodes - [MagiskInit] Redesign sepolicy patching and injection logic - [MagiskSU] Better TTY/PTY support