mirror of
https://github.com/kdrag0n/safetynet-fix.git
synced 2024-10-01 20:32:04 +00:00
magisk: Remove Play Services from DenyList
The Zygisk module will never load if GMS is in the DenyList. Instead, we have the module force-enable DenyList unmounting after forking.
This commit is contained in:
parent
b1b839555f
commit
cd84bf361f
@ -28,6 +28,9 @@ if [[ "$(cat /sys/fs/selinux/enforce)" == "0" ]]; then
|
|||||||
chmod 440 /sys/fs/selinux/policy
|
chmod 440 /sys/fs/selinux/policy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove Play Services from DenyList, otherwise the Zygisk module won't load
|
||||||
|
magisk --denylist rm com.google.android.gms
|
||||||
|
|
||||||
# Late props which must be set after boot_completed
|
# Late props which must be set after boot_completed
|
||||||
{
|
{
|
||||||
until [[ "$(getprop sys.boot_completed)" == "1" ]]; do
|
until [[ "$(getprop sys.boot_completed)" == "1" ]]; do
|
||||||
|
Loading…
Reference in New Issue
Block a user