From 2a3506a053beb5ed58d74a447beb6316860e7495 Mon Sep 17 00:00:00 2001 From: chiteroman Date: Fri, 25 Oct 2024 00:21:37 +0200 Subject: [PATCH] Correctly check Shamiko module and add missing GMS proc --- module/post-fs-data.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/post-fs-data.sh b/module/post-fs-data.sh index 17ec0b1b..617f9e50 100644 --- a/module/post-fs-data.sh +++ b/module/post-fs-data.sh @@ -5,8 +5,9 @@ MODPATH="${0%/*}" if magisk --denylist status; then magisk --denylist rm com.google.android.gms else - # If DenyList is disabled, maybe you are using Shamiko - if [ ! -f "/data/adb/shamiko/whitelist" ]; then + # Check if Shamiko is installed and whitelist feature isn't enabled + if [ -d "/data/adb/modules/zygisk_shamiko" ] && [ ! -f "/data/adb/shamiko/whitelist" ]; then + magisk --denylist add com.google.android.gms com.google.android.gms magisk --denylist add com.google.android.gms com.google.android.gms.unstable fi fi