Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]可以“完整”卸载KernelSU,具体请看详情 #1736

Closed
ShyOvO opened this issue May 16, 2024 · 0 comments
Closed

[Feature]可以“完整”卸载KernelSU,具体请看详情 #1736

ShyOvO opened this issue May 16, 2024 · 0 comments

Comments

@ShyOvO
Copy link

ShyOvO commented May 16, 2024

Is your feature request related to a problem? Please describe.

目前卸载KernelSU的方法是卸载管理器,覆盖原厂镜像。但我发现即使这样做还是会留下一个ksud文件,并且data/adb/modules文件夹不会被删除。这样如果后续用户不想用KernelSU了而转用Magisk可能会出现兼容性问题,例如模块安装报错,模块运行不正常等。因此,可不可以像Magisk那样添加一个完整卸载KernelSU的功能呢?

Describe the solution you'd like.

按下“完整卸载KernelSU”按钮时:
1.覆盖原厂镜像(也可以让用户手动恢复备份)
2.清理KernelSU的所有运行环境,例如ksud,模块,文件目录等
*如果有更多需要还原的地方,以贵项目为准

Describe alternatives you've considered.

此前我换回Magisk时用的是直接备份线刷完整包的方式,因为某次我尝试手动删除ksud文件,手机变砖(已恢复原厂镜像)并且无法进入MIUIRecovery。所以看能不能有更官方的方式帮助用户卸载KernelSU

Additional context

No response

@tiann tiann closed this as completed in f381e32 May 28, 2024
WenHao2130 pushed a commit to WenHao2130/KernelSU that referenced this issue Jun 1, 2024
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

No branches or pull requests

1 participant