Magisk icon indicating copy to clipboard operation
Magisk copied to clipboard

Delete invalid deny list

Open rawer886 opened this issue 3 years ago • 4 comments

If app reduces some processes after updated, then these processes cannot be removed from the denylist

rawer886 avatar Sep 07 '22 08:09 rawer886

https://github.com/topjohnwu/Magisk/blob/6e299018a432deae49df454a9e5b5a2f9d57b9ce/native/src/zygisk/deny/utils.cpp#L287-L295

You can delete the process name parameter when list is not expanded.

vvb2060 avatar Sep 07 '22 18:09 vvb2060

https://github.com/topjohnwu/Magisk/blob/6e299018a432deae49df454a9e5b5a2f9d57b9ce/native/src/zygisk/deny/utils.cpp#L287-L295

You can delete the process name parameter when list is not expanded.

The above code provide the ability to delete all processes. But in magisk app, you can only delete all the current processes of the application. If you want to delete the processes that existed before, you must execute "magisk --denylist rm [packagename]" in cli.

rawer886 avatar Sep 08 '22 04:09 rawer886

https://github.com/topjohnwu/Magisk/blob/928a16d8cc4b93bd10cd0568a9661591d623c79e/app/src/main/java/com/topjohnwu/magisk/ui/deny/AppProcessInfo.kt#L90-L95

@vvb2060

E.g: There are two records in denylist

com.xxx.demo|com.xxx.demo
com.xxx.demo|com.xxx.demo:abc

The com.xxx.demo:abc process is deleted after Demo upgrade. When I want to remove the Demo App from Denylist, I can only remove the process com.xxx.demo|com.xxx.demo, but com.xxx.demo|com.xxx.demo:abc cannot be operated.

rawer886 avatar Sep 08 '22 04:09 rawer886

afaik, this is expected

yujincheng08 avatar Sep 08 '22 12:09 yujincheng08

You told me to simplify it, but have you ever studied how to use it or your hand before using it?

rungrotArunon avatar Mar 03 '23 23:03 rungrotArunon