Tutorial How to use Zygisk-Il2CppDumper to dump Il2Cpp games (Magisk 24 and up)

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,755
300,855
1,213
Modding World
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: How to use Auto-Il2CppDumper to dump protected games (No magisk) - Platinmods.com - Android & iOS MODs, Mobile Games & Apps

Magisk 23 or below, follow this tutorial How to use Riru-Il2CppDumper to dump Il2Cpp games (Magisk 23 and below) - Platinmods.com - Android & iOS MODs, Mobile Games & Apps

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
- Zygisk-Il2CppDumper
- 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
Fork the repo of Zygisk-Il2CppDumper

Image 1651251673.png


Go to the Actions tab in your forked repo

Image 1651251713.png


And simply enable them

Image 1651251740.png


Click Build -> Run workflow. Input the game package name and click Run workflow

Image 1651251766.png


Wait for the action to complete and download the artifact

Image 1651251924.png

Android Studio
Open the project in Android Studio and wait for the Gradles to load

When it's done, edit game.h and replace with game package name

Image 1653152882.png


Click Build -> Make Project or Make module to compile

Image 1653153063.png


The zip package will be generated in the out folder

Image 1653153078.png

Magisk module installation

Open Magisk app, open settings and enable Zygisk (Beta)

Screenshot_20220429-210020.png


Click Modules and Install from storage

Screenshot_20220429-205949.png


Use file manager of your choise and select zygisk-il2cppdumper.zip

Screenshot_20220429-210001.png


When it's done. Reboot

Screenshot_20220429-210011.png


Dumping
Start the game, dump.cs will be generated in the /data/data/(Package name)/files/ directory


Screenshot_20220430-221834.png


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): How to use Auto-Il2CppDumper to dump protected games (No root) - Platinmods.com - Android & iOS MODs, Mobile Games & Apps

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
 
Last edited:

DayGirl

Platinian
Feb 25, 2020
12
0
3
34
brazil
I dumped free fire with game guardian and libdumper GUI, and the offsets are correct. But with Zygisk the offsets came differents
 

jacob42

Platinian
Jan 12, 2023
19
5
3
22
MA
Don't think it works anymore... Tried Subway surfer as a test like you said. Put in the package name and ran in GitHub, imported the .zip via Magisk, and ran Subway Surfer, but there's nothing in /data/data.
 

mysticpt

Rookie
May 23, 2022
1
0
1
40
Portugal
Don't think it works anymore... Tried Subway surfer as a test like you said. Put in the package name and ran in GitHub, imported the .zip via Magisk, and ran Subway Surfer, but there's nothing in /data/data.


it's working!
tutorial done.
1- Install pkg Titanium Backup
2- Backup Subway surfer
3- Open Folder TitaniumBackup
4- Extract file com.kiloo.subwaysurf-20230202-224236.tar
 

Attachments

Juneitor

Approved Modder
Approved Modder
Aug 21, 2022
86
1,720
183
29
usa
Apparently this method does not work since I tried it with a game that I had already dumped on PC, but it did not work with this zigysk method
 

Juneitor

Approved Modder
Approved Modder
Aug 21, 2022
86
1,720
183
29
usa
Apparently this method does not work since I tried it with a game that I had already dumped on PC, but it did not work with this zigysk method
it's working!
tutorial done.
1- Install pkg Titanium Backup
2- Backup Subway surfer
3- Open Folder TitaniumBackup
4- Extract file com.kiloo.subwaysurf-20230202-224236.tar
but using this method if the dump file appears in the game backup folder, thanks