Skip to content

add hasFragileUserData to keep manager data when uninstall#3005

Merged
aviraxp merged 1 commit into
tiann:mainfrom
u9521:uninstall-keep-data
Nov 29, 2025
Merged

add hasFragileUserData to keep manager data when uninstall#3005
aviraxp merged 1 commit into
tiann:mainfrom
u9521:uninstall-keep-data

Conversation

@u9521

@u9521 u9521 commented Nov 29, 2025

Copy link
Copy Markdown
Contributor

现在管理器有一些设置存在SharedPreferences中,例如

  • 主题
  • webview调试
  • 超级用户是否显示系统应用
  • 检查更新
    ...

不确定以后会不会多起来。添加hasFragileUserData方便选择卸载后保留管理器相关的数据

方便以下操作:

  • 卸载管理器避免检测
  • 保留数据从ci降级到稳定版(尽管不推荐,但还是能做到)

@aviraxp

aviraxp commented Nov 29, 2025

Copy link
Copy Markdown
Collaborator

Note hasFragileUserData is broken on A11-, making app cannot get uninstalled. But it is fine for us.

@aviraxp aviraxp merged commit 44450d3 into tiann:main Nov 29, 2025
7 checks passed
@u9521 u9521 deleted the uninstall-keep-data branch November 29, 2025 07:47
@u9521

u9521 commented Nov 29, 2025

Copy link
Copy Markdown
Contributor Author

Note hasFragileUserData is broken on A11-, making app cannot get uninstalled. But it is fine for us.

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降级到稳定版(~尽管不推荐,但还是能做到~)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants