Repository navigation
修复 KernelSU 模块来源显示和卸载残留 - #234
Merged
Merged
Conversation
Contributor
Author
|
审了
本地复跑了六个 Go 包的 KernelSU 相关测试和 11 个前端用例,均通过。清理结论来自隔离夹具,夹具记录了删除分支会执行的命令。 CI |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复内容
#322 · 区分模块来自哪里、按什么校验
source记录下载或导入。新增lkm_verification和lkm_sha256,根据实际模块内容显示它匹配当前正式发布的钉值,还是仅匹配本地记录的校验值。命令行、电脑检查、JSON 和问题包使用同一结果。import。旧记录的取得方式无法还原,但仍能根据实际 SHA-256 和大小识别匹配当前正式发布的模块。#323 · 清理 ModAVD 安装的 meta-overlayfs
uninstall --purge仍要求实例有 KernelSU 数据归属记录,并先用原版 ramdisk 开机。清理时核对随包 meta-overlayfs 的文件指纹,移除已确认的模块目录、指向它的metamodule链接,以及清空后的modules和modules_update。modules.img内。有其他模块或无法确认文件归属时,保留 meta-overlayfs 并在 CLI 和管理器提示。之前已用旧版--purge清掉归属记录的实例,其遗留目录仍需单独处理。验证
--lkm-sha256导入自编模块。结果分别为download / official、import / official和import / trusted。internal/emu延长超时后单独复跑通过。Windows amd64、Linux amd64、macOS arm64 的go vet、93 项前端测试和隐私检查均通过。#311 性能测量
使用已修复 #309 的候选模块,在同一隔离实例上交替做了 6 轮系统调用微基准。中位耗时从 1.005 秒增至 1.168 秒(+16.2%)。游戏帧率仍待测量,内核入口优化留在 #311 跟踪。 性能 issue · 关机修复 PR
Refs ModAVD/ModAVD#322
Refs ModAVD/ModAVD#323