Partially revert the previous commit

Current commit will restore the modifications 1,4 in the previous
commit 156c6ae855. Thanks for people in
the community, @privacyguy123, @aviraxp and @HuskyDG, just to name a
few, to notice my sever mistakes.

Those mistakes are mainly caused by my inconsistent usage of testing
environments. I wrongly compared the detecting results with different
`Zygisk` implementations and was too assertive and careless to make those
changes. Here is the explanation for reverting the previous commit:
1. `system.prop` is not extracted for Android 1O+ devices in
   `customize.sh`;
2. mounting /data/resource-cache is still needed in some systems
   (ColorOS, to be confirmed), and it isn't a detection point.

To verify that modifications 2,3 are effective, I tested them with `Zygisk
Next` 1.2.4 (445-031a64c-release) and `Holmes` V1.5.1 Narcissus on
`Magisk` a34c04f9 280002.
This commit is contained in:
JingMatrix 2024-12-02 12:06:09 +01:00
parent 156c6ae855
commit 3c020a9cd7
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,8 @@ if [ $debug = "true" ]; then
fi fi
fi fi
mount tmpfs -t tmpfs /data/resource-cache
if [ ! -S "/dev/socket/zygote" ]; then if [ ! -S "/dev/socket/zygote" ]; then
timeout 0.5 inotifyd - /dev/socket:near | while read -r line; do timeout 0.5 inotifyd - /dev/socket:near | while read -r line; do
$debug && log -p v -t "LSPosed" "inotify: $line" $debug && log -p v -t "LSPosed" "inotify: $line"

View File

@ -0,0 +1 @@
dalvik.vm.dex2oat-flags=--inline-max-code-units=0