bmax121 / APatch

The patching of Android kernel and Android system
GNU General Public License v3.0
4.69k stars 356 forks source link

some APEX apps can't be removed #771

Closed XingLiAl closed 1 week ago

XingLiAl commented 1 week ago

Please check before submitting an issue/在提交 issue 前请检查

Version requirement/版本要求

Describe the bug/描述 bug

After remove .capex files in system{,_ext}/apex using REMOVE=PATH field in customize.sh, the .capex files disappear, but there're still corresponding directory in /apex and corresponding package still in the package list. And after remove .apex files in system{,_ext} using REMOVE=PATH field in customize.sh, the .apex files disappear, and the corresponding package disappears from the package list, but there're still corresponding directory in /apex, which is strange.

Reproduce method/复现方法

  1. Create a module installer zip
  2. Create customize.sh and write REMOVE="/system/apex/xxx.apex\n/system/apex/xxx.capex"

Expected behavior/预期行为

The apex/capex files in system{,_ext}/apex disappear, the corresponding directories in /apex disappear, and the corresponding packages disappear from package list

Actual behaviour /实际行为

After remove .capex files in system{,_ext}/apex using REMOVE=PATH field in customize.sh, the .capex files disappear, but there're still corresponding directory in /apex and corresponding package still in the package list. And after remove .apex files in system{,_ext} using REMOVE=PATH field in customize.sh, the .apex files disappear, and the corresponding package disappears from the package list, but there're still corresponding directory in /apex.

Screenshots/截图

No response

Logs/日志

No response

Device Name/设备名称

Redmi Note 11T Pro

OS Version/系统版本

HyperOS 1.0.5

APatch Version/APatch 版本

Apatch Next 0.11.2 (11021)

Kernel Version/内核版本

5.10.198-android12-9-00085-g226a9632f13d-ab11136126

KernelPatch Version/KernelPatch 版本

0.11.2

Additional context/其他信息

Module that removes some apex/.capex files. lialh4-trash-away.zip

marat2509 commented 1 week ago

Apatch Next 0.11.2 (11021)

We do not provide support for APatch forks/modifications