From 60f940ca958eb58c622d9b67ca0ef9f3f9dde04c Mon Sep 17 00:00:00 2001 From: 5ec1cff Date: Tue, 16 Jul 2024 19:08:15 +0800 Subject: [PATCH] change spoof_build_vars path --- README.md | 2 +- module/src/main/cpp/zygisk/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d9527ef..806fb6f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ format: ## Build Vars Spoofing If you can not pass strong integrity, you can try to enable build vars spoofing -by creating a file in `/data/adb/modules/tricky_store/spoof_build_vars`. +by creating a file in `/data/adb/tricky_store/spoof_build_vars`. Zygisk (or Zygisk Next) is needed for this feature to work. diff --git a/module/src/main/cpp/zygisk/main.cpp b/module/src/main/cpp/zygisk/main.cpp index 694d81a..0719cce 100644 --- a/module/src/main/cpp/zygisk/main.cpp +++ b/module/src/main/cpp/zygisk/main.cpp @@ -67,7 +67,7 @@ private: }; static void companion_handler(int fd) { - int enabled = access("/data/adb/modules/tricky_store/spoof_build_vars", F_OK) == 0; + int enabled = access("/data/adb/tricky_store/spoof_build_vars", F_OK) == 0; write(fd, &enabled, sizeof(enabled)); }