You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix compatibility on lower android version
This commit is contained in:
@@ -31,13 +31,13 @@ create_sys_perm /dev/zygisk
|
||||
if [ -f $MODDIR/lib64/libzygisk.so ];then
|
||||
create_sys_perm /dev/zygisk/lib64
|
||||
cp $MODDIR/lib64/libzygisk.so /dev/zygisk/lib64/libzygisk.so
|
||||
chcon u:object_r:system_lib_file:s0 /dev/zygisk/lib64/libzygisk.so
|
||||
chcon u:object_r:system_file:s0 /dev/zygisk/lib64/libzygisk.so
|
||||
fi
|
||||
|
||||
if [ -f $MODDIR/lib/libzygisk.so ];then
|
||||
create_sys_perm /dev/zygisk/lib
|
||||
cp $MODDIR/lib/libzygisk.so /dev/zygisk/lib/libzygisk.so
|
||||
chcon u:object_r:system_lib_file:s0 /dev/zygisk/lib/libzygisk.so
|
||||
chcon u:object_r:system_file:s0 /dev/zygisk/lib/libzygisk.so
|
||||
fi
|
||||
|
||||
unshare -m sh -c "./bin/zygisk-ptrace64 monitor &"
|
||||
|
||||
@@ -17,3 +17,4 @@ allow zygote mnt_vendor_file dir search
|
||||
allow zygote system_file dir mounton
|
||||
allow zygote labeledfs filesystem mount
|
||||
allow zygote fs_type filesystem unmount
|
||||
allow zygote zygote process execmem
|
||||
|
||||
Reference in New Issue
Block a user