How to use Zygisk-Il2CppDumper to dump Il2Cpp games (Magisk 24 and up)
Il2CppDumper with Zygisk, dump il2cpp data at runtime, can bypass protection, encryption and obfuscation, that you can’t with normal Il2cppDumper, or with GG
This module requires root with magisk, if you don’t have root, please use Auto-Il2CppDumper by BrianGIG: https://www.andnixsh.com/2023/05/how-to-use-auto-il2cppdumper-to-dump.htmlse-auto-il2cppdumper-to-dump-protected-games-no-magisk.134194/)
This is not an 1-click dump, this is a DIY tutorial, you must do the following steps manually and compile the module by yourself, and then install on your rooted phone to dump the game. NEVER ask me to dump it for you
This may not work with some games with higher protections.
Are you ready? let’s go
Requirements:
-
Physical rooted phone. Emulators are not supported
-
Magisk 24 and up: Releases · topjohnwu/Magisk
-
Android Studio with SDK and NDK installed: Download Android Studio and SDK tools | Android Developers
-
Find any method to know package name of the game. There are various methods to do. Easier way: APK Tool GUI, Play Store url or any APK downloader websites
Riru module is NOT needed anymore. Please Uninstall Riru if you have it installed
Build your module:
There are 2 ways to build your own module. The easiest way is using GitHub Actions
GitHub Actions
Go to the Actions tab in your forked repo
And simply enable them
Click Build -> Run workflow. Input the game package name and click Run workflow
Wait for the action to complete and download the artifact
Android Studio
When it’s done, edit game.h and replace with game package name
Click Build -> Make Project or Make module to compile
The zip package will be generated in the out folder
Magisk module installation
Open Magisk app, open settings and enable Zygisk (Beta)
Click Modules and Install from storage
Use file manager of your choise and select zygisk-il2cppdumper.zip
When it’s done. Reboot
Dumping
Start the game, dump.cs will be generated in the /data/data/(Package name)/files/ directory
Having issues dumping?
Try to dump unprotected game like Among US or Subway Sufers to see if it works, if not work, your device may not compatible. If it works, then the game you had tried is protected against dumping
Report issues to github page Issues · Perfare/Riru-Il2CppDumper
Other ways to dump:
Auto-Il2CppDumper (No root): https://www.andnixsh.com/2023/05/how-to-use-auto-il2cppdumper-to-dump.html
LibDumper (Root only. Recommended if you use Emulator): How to Dump Protected libil2cpp & libUE4 game, metadata file and other non-unity games [NEW METHOD] - Platinmods.com - Android & iOS MODs, Mobile Games & Apps