APatch
APatch copied to clipboard
System crash with the App Coloning feature in ColorOS
Please check before submitting an issue/在提交 issue 前请检查
- [x] I have searched the issues and haven't found anything relevant/我已经搜索了 issues 列表,没有发现于本问题相关内容
- [x] If patch failed, root failed, or device unable to boot after flashing the new boot.img. Please goto KernelPatch/修复失败或刷入修补后镜像不能启动,请前往 KernelPatch 提问
- [x] I will upload bugreport file in APatch Manager - Settings - Report log/我会上传 bureport 文件从 APatch 管理器 - 设置 - 发送日志
- [x] I know how to reproduce the issue which may not be specific to my device/我知道如何重新复现这个问题
Version requirement/版本要求
- [x] I am using latest CI version of APatch/我正在使用最新 CI 版本
Describe the bug/描述 bug
Revoking root access for apps in the secondary profile (a.k.a. Cloned Apps, 应用分身) will cause a system freeze and crash in ColorOS.
Reproduce method/复现方法
- Enable the App Cloning feature in the system settings and clone an app.
- Open the APatch manager, find the cloned instance of the app and grant root access.
- Click the switch again to revoke root access. ❎ The system freezes instantly and reboots after a few seconds.
Expected behavior/预期行为
The cloned instance should be revoked root access without problems, and the user should be able to manage root access for the main instance and the cloned instance separately.
Actual behaviour /实际行为
The system freezes instantly and reboots after a few seconds.
Screenshots/截图
Logs/日志
No response
Device Name/设备名称
OnePlus 9R (LE2100)
OS Version/系统版本
ColorOS 14 (LE2100_14.0.0.604)
APatch Version/APatch 版本
11056
Kernel Version/内核版本
4.19.157-perf+
KernelPatch Version/KernelPatch 版本
0.11.3
Additional context/其他信息
APatch_bugreport_2025-03-25_11_04.tar.gz
Note: The same issue also exists if apps are cloned with Work Profile (e.g. using Insular) rather than the built-in app cloning feature.