add hasFragileUserData to keep manager data when uninstall#3005
Merged
Conversation
…pp data when uninstall manager
Collaborator
|
Note hasFragileUserData is broken on A11-, making app cannot get uninstalled. But it is fine for us. |
Contributor
Author
I googled this issue and found this. Triggering this bug is quite specific: it must be on Android 10 with the external SD card set as a removable device. However, we have already dropped support for non-GKI devices, and I think users use non-GKI devices encountering this bug would use ADB to uninstall the manager. |
KOWX712
pushed a commit
to KOWX712/KernelSU
that referenced
this pull request
Nov 29, 2025
现在管理器有一些设置存在SharedPreferences中,例如 - 主题 - webview调试 - 超级用户是否显示系统应用 - 检查更新 ... 不确定以后会不会多起来。添加hasFragileUserData方便选择卸载后保留管理器相关的数据 方便以下操作: - 卸载管理器避免检测 - 保留数据从ci降级到稳定版(~尽管不推荐,但还是能做到~)
rsuntk
pushed a commit
to rsuntk/KernelSU
that referenced
this pull request
Nov 29, 2025
…iann#3005) 现在管理器有一些设置存在SharedPreferences中,例如 - 主题 - webview调试 - 超级用户是否显示系统应用 - 检查更新 ... 不确定以后会不会多起来。添加hasFragileUserData方便选择卸载后保留管理器相关的数据 方便以下操作: - 卸载管理器避免检测 - 保留数据从ci降级到稳定版(~尽管不推荐,但还是能做到~) Signed-off-by: rsuntk-at-yukiprjkt <rsuntk@yukiprjkt.my.id>
u9521
added a commit
to u9521/KernelSU
that referenced
this pull request
Jan 4, 2026
现在管理器有一些设置存在SharedPreferences中,例如 - 主题 - webview调试 - 超级用户是否显示系统应用 - 检查更新 ... 不确定以后会不会多起来。添加hasFragileUserData方便选择卸载后保留管理器相关的数据 方便以下操作: - 卸载管理器避免检测 - 保留数据从ci降级到稳定版(~尽管不推荐,但还是能做到~)
u9521
added a commit
to u9521/KernelSU
that referenced
this pull request
Jan 5, 2026
现在管理器有一些设置存在SharedPreferences中,例如 - 主题 - webview调试 - 超级用户是否显示系统应用 - 检查更新 ... 不确定以后会不会多起来。添加hasFragileUserData方便选择卸载后保留管理器相关的数据 方便以下操作: - 卸载管理器避免检测 - 保留数据从ci降级到稳定版(~尽管不推荐,但还是能做到~)
u9521
added a commit
to u9521/KernelSU
that referenced
this pull request
Jan 8, 2026
现在管理器有一些设置存在SharedPreferences中,例如 - 主题 - webview调试 - 超级用户是否显示系统应用 - 检查更新 ... 不确定以后会不会多起来。添加hasFragileUserData方便选择卸载后保留管理器相关的数据 方便以下操作: - 卸载管理器避免检测 - 保留数据从ci降级到稳定版(~尽管不推荐,但还是能做到~)
u9521
added a commit
to u9521/KernelSU
that referenced
this pull request
Jan 13, 2026
现在管理器有一些设置存在SharedPreferences中,例如 - 主题 - webview调试 - 超级用户是否显示系统应用 - 检查更新 ... 不确定以后会不会多起来。添加hasFragileUserData方便选择卸载后保留管理器相关的数据 方便以下操作: - 卸载管理器避免检测 - 保留数据从ci降级到稳定版(~尽管不推荐,但还是能做到~)
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.
现在管理器有一些设置存在SharedPreferences中,例如
...
不确定以后会不会多起来。添加hasFragileUserData方便选择卸载后保留管理器相关的数据
方便以下操作:
尽管不推荐,但还是能做到)