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:
Danny Lin 2021-10-30 18:38:42 -07:00
parent b1b839555f
commit cd84bf361f
No known key found for this signature in database
GPG Key ID: 1988FAA1797EE5AC

View File

@ -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