此版本正式支持 Google Books(Aluminium OS),包括自动固件下载建议以及直接将恢复 GPT 镜像修补到连接的 USB 驱动器的功能。将 Magisk 引入 Google Books 也意味着支持 Android 的无头系统用户模式 (HSUM)。在 HSUM 模式下,用户严格作为非交互式后台系统用户运行,而其他用户则在辅助用户配置文件中运行。由于许多长期存在的功能和内部机制都是基于用户始终是主要交互式用户的0假设而构建的,因此将 Magisk 适配到 HSUM 带来了一些架构上的挑战。0
为了解决这个问题,我们重新设计了授予应用程序超级用户权限的方式,并移除了传统的交互式 root 请求提示。现有的响应式su请求流程依赖于在后台守护进程中拦截 root 调用,并在正确的用户会话中启动阻塞式 UI 提示,这与 HSUM 存在根本性的不兼容,尤其是在处理未adb shell绑定到前台用户的非应用程序 UID 时。现在,超级用户权限将直接在 Magisk 应用的“超级用户”选项卡中显式授予应用程序。
最后,应用隐藏(重新打包)功能也被移除。与交互式su提示一样,重新打包和存根管理机制与 HSUM 存在根本性的不兼容。更重要的是,在 Android 上真正隐藏已安装的软件包而不被检测到几乎是不可能的。由于交互式 root 提示不再要求 Magisk 应用在运行时保持安装状态,并且 Magisk 也不会在应用丢失时自动重新安装,因此隐藏 Magisk 应用最有效的方法就是在配置好超级用户策略和模块后将其卸载。
更新日志
【通用】支持无头系统用户模式(HSUM)设备
【常规】停止支持 Android 6.0;Android 7.0 现在是最低支持版本。
【常规】移除应用隐藏(重新打包)功能和存根应用;如果应用缺失,Magisk 将不再自动重新安装。
[应用] 移除响应式超级用户请求提示;现在,超级用户访问权限会在“超级用户”选项卡中预先明确授予。
[应用] 统一本地文件和远程 URL 之间的镜像修补流程,适用于原始镜像、OTA zip 文件、工厂镜像 zip 文件、三星 Odin tar 文件和 Aluminium OS 恢复 GPT 镜像。
[应用] 自动推荐适用于 Google Pixel 和 Google Book(Aluminium OS)设备的官方固件下载
[应用] 支持在 Google 图书上修补 Aluminium OS 恢复镜像并直接写入连接的 USB 驱动器
[应用] 下载和修补镜像时,实时显示就地读/写进度和传输速度
[MagiskSU] 移除过时的超级用户访问模式和重新认证设置
[MagiskSU] 修复-g/-G参数处理,将未知选项转发给 shell,并修复守护进程执行信号处理
[MagiskBoot] 支持对 ChromeOS 启动镜像进行原生签名,并在重新打包时自动重新签名,移除外部futility二进制文件。
[MagiskBoot] 通过使用 ASN.1 DER 编码修复 AVB 1.0 ECDSA 签名验证和签名问题
[MagiskBoot]SignerVer02在启动镜像重新打包过程中保留三星签名
[MagiskBoot] 恢复重新打包时更新 AVB 哈希描述符镜像大小的操作
[MagiskBoot] 为 XZ 压缩启用架构特定的 BCJ 过滤器,并改进zImage压缩有效载荷检测
[MagiskBoot] 支持magiskboot在 Linux 和 macOS 主机上原生构建。
[核心] 修复处理NULL数据库字符串或守护进程连接失败时可能发生的崩溃问题
This release brings official support for Googlebooks (Aluminium OS), including automatic firmware download suggestions and the ability to patch recovery GPT images directly onto a connected USB drive. Bringing Magisk to Googlebooks also meant supporting Android’s Headless System User Mode (HSUM), where user 0 operates strictly as a non-interactive background system user while human users run in secondary user profiles. Adapting Magisk to HSUM created several architectural challenges, as many longstanding features and internal mechanisms were built around the assumption that user 0 is always the primary interactive user.
To address this, the way superuser access is granted to apps has been redesigned, and the traditional interactive root request prompt has been removed. The existing reactive su request flow, which relies on intercepting a root call in the background daemon and launching a blocking UI prompt in the right user session, is fundamentally incompatible with HSUM, especially when handling non-app UIDs like adb shell that are not tied to a foreground user. Instead, superuser access is now explicitly granted to applications ahead of time directly from the Superuser tab in the Magisk app.
Finally, the app hiding (package repackaging) feature has also been removed. Like interactive su prompts, the repackaging and stub management mechanisms are fundamentally incompatible with HSUM. More importantly, truly hiding an installed package from detection is nearly technically impossible on Android. Since interactive root prompts no longer require the Magisk app to remain installed at runtime and Magisk no longer automatically reinstalls the app if it is missing, the most effective way to hide the Magisk app is to simply uninstall it after configuring your superuser policies and modules.
Changelog
[General] Support Headless System User Mode (HSUM) devices
[General] Drop support for Android 6.0; Android 7.0 is now the minimum supported version
[General] Remove the app hiding (repackaging) feature and the stub app; Magisk no longer reinstalls the app automatically if it is missing
[App] Remove reactive superuser request prompts; superuser access is now explicitly granted ahead of time in the Superuser tab
[App] Unify the image patching pipeline across local files and remote URLs for raw images, OTA zips, factory image zips, Samsung Odin tars, and Aluminium OS recovery GPT images
[App] Automatically suggest official firmware downloads for Google Pixel and Googlebook (Aluminium OS) devices
[App] Support patching Aluminium OS recovery images and writing directly to a connected USB drive on Googlebooks
[App] Display real-time in-place read/write progress and transfer speeds when downloading and patching images
[MagiskSU] Remove obsolete superuser access mode and reauthentication settings
[MagiskSU] Fix -g/-G argument handling, forward unknown options to the shell, and fix daemon exec signal handling
[MagiskBoot] Support signing ChromeOS boot images natively and automatically re-sign on repack, removing the external futility binary
[MagiskBoot] Fix AVB 1.0 ECDSA signature verification and signing by using ASN.1 DER encoding
[MagiskBoot] Preserve Samsung SignerVer02 signatures during boot image repack
[MagiskBoot] Revert updating AVB hash descriptor image size on repack
[MagiskBoot] Enable architecture-specific BCJ filters for XZ compression and improve zImage compressed payload detection
[MagiskBoot] Support building magiskboot natively on Linux and macOS hosts
[Core] Fix potential crashes when handling NULL database strings or failed daemon connections

Magisk中文网