From 637a8af234cf193524e321344e144b81a6ef0bb4 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 5 Apr 2023 01:42:42 -0700 Subject: [PATCH] Add v26.0 release notes --- docs/changes.md | 17 +++++++++++++++++ docs/releases/26000.md | 25 +++++++++++++++++++++++++ docs/releases/index.md | 1 + 3 files changed, 43 insertions(+) create mode 100644 docs/releases/26000.md diff --git a/docs/changes.md b/docs/changes.md index e448cacb9..45adfabbe 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -1,5 +1,22 @@ # Magisk Changelog +### v26.0 + +- [General] Bump minimum supported Android version to Android 6.0 +- [General] New magic mount backend. It supports loading modules into system with `overlayfs` files injected +- [Zygisk] Release new API version 4 +- [Zygisk] Prevent crashing daemon in error +- [Zygisk] Rewrite zygote code injection with new loader library approach +- [Zygisk] Rewrite code unloading implementation +- [MagiskBoot] Support amonet microloader devices +- [MagiskBoot] Always use lz4_legacy compression on v4 boot images. This fixes boot image patching issues on Android U preview. +- [MagiskInit] Support replacing existing \*.rc files in `overlay.d` +- [MagiskInit] Rewrite sepolicy.rules mounting and loading implementation +- [App] Make stub patching 100% offline +- [App] Support patching `init_boot.img` for Samsung ODIN firmware +- [MagiskPolicy] Fix minor bug in command line argument parsing +- [MagiskPolicy] Update rules to support Android U + ### v25.2 - [MagiskInit] Fix a potential issue when stub cpio is used diff --git a/docs/releases/26000.md b/docs/releases/26000.md new file mode 100644 index 000000000..486447b95 --- /dev/null +++ b/docs/releases/26000.md @@ -0,0 +1,25 @@ +## 2023.4.5 Magisk v26.0 + +Hey! Long time no see! + +### Bumping Minimum Android Version to 6.0 + +Magisk's support for Android Lollipop has been pretty broken for a while without it being noticed. Also, none of the active developers of Magisk have actual hardware to run Android Lollipop. We rely on using the official Android emulator for regression testing on older platforms, however Google never shipped a Lollipop emulator image with SELinux support, leaving us with no option but to drop Lollipop support since we don't feel comfortable supporting Android Lollipop without adequate testing. + +### New Magic Mount Implementation + +Magic Mount, the feature that make modules modify partitions, has gone through a major rewrite. The existing implementation doesn't work well with OEMs injecting overlays into their system using `overlayfs`. The new implementation fundamentally changes how filesystem mirrors are created, giving us a more accurate clone of the unmodified filesystem. + +### New `sepolicy.rule` Implementation + +Magisk allows modules to provide custom SELinux patches by including the file `sepolicy.rule`. Due to the complicated nature of SELinux patching, the compatibility of this functionality has been pretty spotty; many devices are not supported. In this release, a brand new pre-init partition detection mechanism has been designed to support even more devices. Due to complicated reasons, this detection mechanism cannot be performed in a custom recovery environment. + +**This means that any installation of Magisk v26+ using custom recovery will be incomplete; a subsequent re-installation through the Magisk app after booting up is required.** + +### Zygisk Updates + +**The new Zygisk API v4 is now live!** It comes with new features and a refined PLT function hook API. The implementaton of Zygisk has also gone through some major refactoring, including new code loading/unloading mechanisms and a new PLT function hook implementation. + +Head over to the [Zygisk Module Sample](https://github.com/topjohnwu/zygisk-module-sample) repository to check out the new API and documentation! + +### Full Changelog: [here](https://topjohnwu.github.io/Magisk/changes.html) diff --git a/docs/releases/index.md b/docs/releases/index.md index fe843b9bd..966f6864f 100644 --- a/docs/releases/index.md +++ b/docs/releases/index.md @@ -1,5 +1,6 @@ # Release Notes +- [v26.0](26000.md) - [v25.2](25200.md) - [v25.1](25100.md) - [v25.0](25000.md)