APatch icon indicating copy to clipboard operation
APatch copied to clipboard

[功能请求] 允许 导入/导出 超级用户 授权/排除 清单

Open muink opened this issue 4 months ago • 3 comments

Is your request related to a specific issue? | 你的请求是否与某个问题相关?

目前 Apatch 在卸载后重装需要重新手动设置 授权/排除 清单, 这在ota或是测试多种root方案时很麻烦

Describe the solution you'd like | 描述你想要的解决方案

能够让 Apatch 导出 授权/排除 清单, 以便在重装后快速恢复

Describe the alternatives you've considered | 描述您考虑过的备选方案

思考替代方案时, 在 /data/adb/ap/ 找到了 package_config, 看起来 授权/排除 清单就存在这 但内容似乎包含了应用的 uid 和看不懂的 sctx 字段, 不知道手动 拷贝/替换 这些文件是否会引起问题 (考虑到同应用在不同设备或应用重装后uid会变)

Other information | 其他信息

No response

muink avatar Aug 25 '25 13:08 muink

不建议这么做吧。uid会变,可能导致之前那种重启自动授权/丢失授权的bug。

还是有一定安全隐患的。

AkinaLTS avatar Aug 25 '25 17:08 AkinaLTS

@AkinaLTS 对, 所以希望能引入 导入/导出 功能 只在当前设备有效的字段可以在 导入 时自动生成 导出 时只要导出不可变字段 比如 包名 授权/排除

muink avatar Aug 26 '25 01:08 muink

marked

Admirepowered avatar Aug 26 '25 13:08 Admirepowered