Repository navigation
修复 KernelSU 启用后关机时 /data 卸载超时 - #4
Merged
Merged
Conversation
在 fsnotify 注册后释放路径引用,保留包变更监听。该分支在个人 fork 构建未钉值的上机验证产物。 Refs ModAVD/ModAVD#309
Contributor
Author
|
审了 [P2] 发版时补齐新标签和已有实例的升级步骤。 README 的规则在同一个 KernelSU 版本和内核目标上仍会生成已占用的 已有实例还需要重建 ramdisk。SDK 缓存换成新模块后,启动校验会发现现有 ramdisk 记录的模块哈希与缓存不一致,下次开机就会回退到原版。发版说明应提示已启用的实例重新执行「启用 KernelSU」,让管理器重建 ramdisk。 发布规程 · 管理器下载配置 · 启动时的回退逻辑 |
Merged
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.
改了什么
KernelSU 的包监听注册后一直持有
/data/system的路径引用,导致 Android 关机时/data无法卸载。/data/system的fsnotify监听。注册后立即释放路径引用,inode 生命周期交给fsnotify管理。怎么验证的
kernelsu.ko都是 259360 字节,SHA-256 均为c7d4b83f60cb7b0b873ab3b56624de45777620af9a1c66fe64fdbb18be7090f4。 候选构建 · 钉值复核构建packages.list变更。四次关机均成功卸载/data,Android 关机状态为:0。e2fsck报clean,没有 ext4 日志回放。正式发布时需要为新模块使用新的 Release 标签,并同步更新 ModAVDManager 的下载地址与钉值。本次上机验证覆盖 Android 14 r14。
Refs ModAVD/ModAVD#309