ReZygisk

Magisk KSU APatch

LSPosed, Shamiko, and dozens of the most powerful Magisk modules all share one dependency: Zygisk. When Zygisk Next — the de-facto standalone Zygisk implementation for KernelSU and APatch — went closed-source, the Android rooting community lost the ability to audit a module running with full root access to the entire system. ReZygisk by PerformanC is the open-source answer: a fully auditable, FOSS-licensed fork of Zygisk Next, codebase being rewritten to C for maximum efficiency, providing complete Zygisk API compatibility across Magisk, KernelSU, APatch, and KSUNext.

Why ReZygisk?

Open source. Auditable. Rewritten in C. The transparent Zygisk implementation the community deserves.

Fully Open Source (AGPL / GPL)

Every line of ReZygisk is publicly auditable under GPL (Dr-TSNG's original code) and AGPL 3.0 (PerformanC's rewritten components). A module that runs with root access to your entire system should always be open to scrutiny — ReZygisk makes that non-negotiable.

C Codebase Rewrite

PerformanC is rewriting the Zygisk daemon codebase (ReZygiskd) in pure C — replacing the original C++ implementation. C provides lower runtime overhead, tighter memory control, and a smaller binary footprint while maintaining the same Zygisk API compatibility.

Universal Root Manager Support

Provides Zygisk API support across all major root managers simultaneously: Magisk (Official), Magisk Kitsune/Delta, KernelSU, APatch, and KSUNext. A single unified Zygisk implementation that works anywhere you are rooted.

Built-in WebUI

ReZygisk ships with a WebUI accessible from within the root manager's module list. It shows real-time daemon status — monitor, zygote64/32 injection state, and daemon running state — with multi-language support via Crowdin translations.

SoInfo Hiding

Implements SoInfo hiding — drops information about libzygisk.so by hooking into pthread_attr_setstacksize. This conceals ReZygisk's presence at the native library level, reducing detectability for apps that scan for Zygisk injection artifacts.

64-bit & 32-bit Support

Deploys separate daemon instances for 64-bit and 32-bit processes simultaneously. Modules that hook into 32-bit apps (required on some older or dual-environment devices) are fully supported alongside native 64-bit module operations.

What Is Zygisk — And Why Everything Depends on It

Zygote is the first user-space process started by the Android kernel after boot. Every Android application is a fork of Zygote — when you launch an app, Android forks the Zygote process and uses that fork as the new app's process. This means Zygote is the parent of every app on the device.

Zygisk (Zygote + sk) exploits this architecture by injecting code into the Zygote process itself. Because every app is a Zygote fork, any code injected into Zygote is automatically present in every app process that is subsequently launched. This is how LSPosed can hook into the framework of any app at startup — it doesn't need to patch each app individually; Zygisk does the delivery at the fork level.

Magisk originally shipped Zygisk as a built-in feature. Zygisk Next (by Dr-TSNG and 5ec1cff) later provided a standalone version for KernelSU and APatch users who don't use Magisk. When Zygisk Next went closed-source, ReZygisk stepped in as the open-source fork — carrying the same complete Zygisk API so that all existing Zygisk modules continue to work without modification.

ReZygisk vs Zygisk Next

Feature Zygisk Next ReZygisk
Open source / auditable Closed source AGPL/GPL
Magisk (Official) support
KernelSU support
APatch support
KSUNext support
Built-in WebUI
SoInfo hiding
Codebase language C++ C (rewrite in progress)

Installation Guide

Always download the Release build for daily use. Use the Debug build only when collecting logs for a bug report.

Magisk Users
  1. Open Magisk Manager → Settings
  2. Toggle Zygisk OFF
  3. Reboot
  4. Flash ReZygisk-release.zip via Magisk Modules
  5. Reboot
KernelSU / APatch / KSUNext
  1. Open your root manager's module section
  2. Flash ReZygisk-release.zip
  3. Reboot
  4. No prior Zygisk disable needed

Frequently Asked Questions

ReZygisk is a fork of Zygisk Next — a standalone implementation of the Zygisk API — developed by the PerformanC organization. It provides full Zygisk API support for Magisk, KernelSU, APatch, and KSUNext, allowing all Zygisk-dependent modules (like LSPosed and Shamiko) to function. The key differentiator is that ReZygisk is completely open-source (GPL + AGPL 3.0) and auditable, while Zygisk Next's latest releases are closed-source.

Zygisk (Zygote + sk) is a framework that hooks into Android's Zygote process — the parent process from which every Android app is forked. By injecting code at this level, Zygisk allows modules to load into every app's process at startup. This powers critical tools like LSPosed (system-level app hooking), Shamiko (root process hiding), and many other powerful modules that cannot work without Zygisk.

The latest releases of Zygisk Next are not open-source. PerformanC considers this a significant security concern — Zygisk runs with root privileges and has access to the entire Android system. A closed-source module at that level cannot be independently audited. ReZygisk was created to provide a FOSS alternative that the community can inspect, verify, and contribute to freely.

Almost always install the Release build (494 KB). It has optimized binaries and no app-level logging overhead — this is the recommended version for all regular users. Only install the Debug build (707 KB) if you are actively troubleshooting an issue and need verbose logs to submit a bug report on GitHub.

No — they conflict. If you are a Magisk user, you must disable the built-in Zygisk in Magisk Manager settings before installing ReZygisk. Go to Magisk → Settings → toggle off Zygisk → reboot → install ReZygisk → reboot again. Running both simultaneously will prevent Zygisk modules from loading correctly.

Module Info

  • Version v1.0.0
  • Module By
    PerformanC
  • Contributors ThePedroo, Dr-TSNG, 5ec1cff, RainyXeon, JingMatrix
  • Source Code View Repository
  • Tags
    #ReZygisk #Zygisk #Zygisk Next #LSPosed #Shamiko #Magisk Module #PerformanC #Open Source #KernelSU
  • Requirement
    Magisk KernelSU APatch
  • Latest Update