Overview
Developed by j-hc, Zygisk-Detach is the definitive utility for freezing app updates on Android devices.
Users of modded applications (such as YouTube ReVanced, Spotify mod, or older versions of apps with removed features) frequently face a frustrating issue: Google Play Store automatically updates the modded application in the background, overwriting the patches and breaking functionality.
Legacy solutions tried to edit SQLite databases (/data/data/com.android.vending/databases/library.db), but the Play Store would regularly overwrite these changes. Zygisk-Detach operates at the runtime IPC layer, masking detached packages from the Play Store process dynamically.
Technical Architecture & How It Works
Dynamic Binder IPC Interception
- Process Injection: Using Zygisk, the module injects a native companion library into
com.android.vending(Google Play Store). - Binder Hooking: When the Play Store service queries the Android package manager or compiles its local library inventory, Zygisk-Detach hooks the underlying IPC calls.
- Filter Application: The hook references
/data/adb/zygisk-detach/detach.txt. Any package declared in this configuration file is stripped from the list returned to Google’s update checking worker. - Persistent Cloaking: Because the filter is applied in-memory during execution, Google Play Store never knows the detached applications exist on the device, permanently eliminating “Update” prompts.
Installation & Setup
- Open Magisk, KernelSU, or APatch.
- Flash the latest
zygisk-detach-vX.zippackage. - Reboot your device.
Configuration & CLI Usage
The module includes an interactive terminal command (detach) that can be executed from Termux or ADB shell:
# Add an application to the detach list:
su -c "detach -a com.google.android.youtube"
# Remove an application from the detach list:
su -c "detach -d com.google.android.youtube"
# List all currently detached applications:
su -c "detach -l"
# Force-kill Play Store to apply changes immediately:
su -c "detach -k"
You can also manually edit the configuration file located at:
/data/adb/zygisk-detach/detach.txt (simply list package names, one per line).
