From 0cc03a40b996312cc79b2fd4bfc81cbd5a1c71b2 Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Sat, 10 Aug 2024 00:50:28 -0400 Subject: [PATCH] Always spoof to Key Attestation app --- app/src/main/cpp/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/cpp/main.cpp b/app/src/main/cpp/main.cpp index 6fc936e..10a86e0 100644 --- a/app/src/main/cpp/main.cpp +++ b/app/src/main/cpp/main.cpp @@ -127,6 +127,11 @@ class KeystoreInjection : public zygisk::ModuleBase { env->ReleaseStringUTFChars(args->app_data_dir, rawDir); env->ReleaseStringUTFChars(args->nice_name, rawName); + if (!dir.ends_with("/io.github.vvb2060.keyattestation")) { + api->setOption(zygisk::DLCLOSE_MODULE_LIBRARY); + return; + } + if (!dir.ends_with("/com.google.android.gms")) { api->setOption(zygisk::DLCLOSE_MODULE_LIBRARY); return;