圣者
精华
|
战斗力 鹅
|
回帖 0
注册时间 2019-3-12
|
机翻更新日志Magisk Changelogv26.0- [General] Bump minimum supported Android version to Android 6.0
[常规]将受支持的最低Android版本升级到Android 6.0 - [General] New magic mount backend. It supports loading modules into system with overlayfs files injected
[常规]新魔术坐骑后端。支持将模块加载到系统中,并注入 overlayfs 个文件 - [Zygisk] Release new API version 4
[Zygisk]发布新的API版本4 - [Zygisk] Prevent crashing daemon in error
[Zygisk]防止错误地使后台进程崩溃 - [Zygisk] Rewrite zygote code injection with new loader library approach
[Zygisk]使用新的加载器库方法重写合子代码注入 - [Zygisk] Rewrite code unloading implementation
[Zygisk]重写代码卸载实现 - [MagiskBoot] Support amonet microloader devices
[MagiskBoot]支持网络微加载器设备 - [MagiskBoot] Always use lz4_legacy compression on v4 boot images. This fixes boot image patching issues on Android U preview.
[MagiskBoot]始终对v4启动映像使用lz4_Legacy压缩。这修复了Android U预览版上的引导镜像修补问题。 - [MagiskInit] Support replacing existing *.rc files in overlay.d
[MagiskInit]支持替换 overlay.d 中的现有*.rc文件 - [MagiskInit] Rewrite sepolicy.rules mounting and loading implementation
[MagiskInit]重写sePolicy。规则挂载和加载实现 - [App] Make stub patching 100% offline
[APP]使存根修补100%离线 - [App] Support patching init_boot.img for Samsung ODIN firmware
[APP]支持为三星Odin固件打补丁 init_boot.img - [MagiskPolicy] Fix minor bug in command line argument parsing
[MagiskPolicy]修复了命令行参数解析中的小错误 - [MagiskPolicy] Update rules to support Android U
[MagiskPolicy]更新规则以支持Android U Hey! Long time no see! 嘿!好久不见!
Bumping Minimum Android Version to 6.0
将Android最低版本提升至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.
Magisk对Android棒棒糖的支持已经被打破了一段时间,没有人注意到它。此外,Magisk的活跃开发者中没有一个拥有运行Android棒棒糖的实际硬件。我们依赖于使用官方的Android模拟器在旧平台上进行回归测试,然而Google从未发布支持SELinux的棒棒糖模拟器映像,这让我们别无选择,只能放弃对棒棒糖的支持,因为我们在没有足够的测试的情况下支持Android Lolliop感到不舒服。
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.
魔术挂载,这项让模块修改分区的功能,已经经历了一次重大的重写。当OEM使用 overlayfs 将覆盖注入其系统时,现有实现不能很好地工作。新的实现从根本上改变了文件系统镜像的创建方式,为我们提供了未经修改的文件系统的更准确的克隆。
New sepolicy.rule Implementation 新的 sepolicy.rule 实施
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.
Magisk允许模块通过包含文件 sepolicy.rule 来提供自定义SELinux补丁。由于SELinux补丁的复杂性,此功能的兼容性一直参差不齐;许多设备不受支持。在这个版本中,一个全新的预初始化分区检测机制被设计成支持更多的设备。由于复杂的原因,这种检测机制不能在自定义恢复环境中执行。
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.
这意味着任何使用自定义恢复的Magisk v26+安装都将是不完整的;需要在启动后通过Magisk应用程序重新安装。
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.
新的Zygisk API v4现已上线!它具有新的功能和改进的PLT函数挂钩API。Zygisk的实现也经历了一些重大的重构,包括新的代码加载/卸载机制和新的PLT函数挂钩实现。
Head over to the Zygisk Module Sample repository to check out the new API and documentation!
前往Zygisk模块示例库查看新的API和文档! 不要道听途说,作者确实是加入了不作恶,但不代表就不更新了啊- https://github.com/topjohnwu/Magisk/releases/tag/v26.0
|
|