Skip to content

Commit ac1519f

Browse files
committed
Remove heuristic setting for spoofSignature
Users with custom ROM signed with test key should be aware of signature spoofing.
1 parent bdd0b7c commit ac1519f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

app/src/main/cpp/main.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "json.hpp"
77

88
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, "zygisk-PIF", __VA_ARGS__)
9+
#define LOGW(...) __android_log_print(ANDROID_LOG_WARN, "zygisk-PIF", __VA_ARGS__)
910
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, "zygisk-PIF", __VA_ARGS__)
1011

1112
#define DEX_PATH "/data/adb/modules/playintegrityfix/classes.dex"
@@ -210,7 +211,10 @@ class PlayIntegrityFix : public zygisk::ModuleBase {
210211

211212
if (testSignedRom) {
212213
LOGD("--- ROM IS SIGNED WITH TEST KEYS ---");
213-
spoofSignature = true;
214+
// spoofSignature = true;
215+
if (!spoofSignature) {
216+
LOGW("However, spoofSignature = false");
217+
}
214218
}
215219
}
216220

0 commit comments

Comments
 (0)