Home

Awesome

UE4-Apk-Dumper

An Internal app which can be implemented into game apk and used to generate Sdk Dumps without ROOT.

Does it need Root Access?

NO, it doesn't need Root Privileges.

How to Build?

  1. Clone the Repo
  2. Open in Android Studio and Press Trust this Project if prompted
  3. Update only Offsets in Offsets.h
  4. Compile the App and generate Apk
  5. Done

Note - Like Ue4Dumper you dont need to specify Game Package Name, Only update offsets to Dump

How to Use?

Download Pre Dumped SDKs - https://github.com/Real-Ascarre/UE4-Apk-Dumper/tree/master/Dumped%20SDKs/

Download Pre Built Apk (Do not Use this for Dumping, its a Prototype) - https://github.com/Real-Ascarre/UE4-Apk-Dumper/releases/

  1. Copy the Library file in the correct Game Libs folder (Shared Libraries) - Currently Supported - 32Bit & 64Bit
  2. Rename the dex (dumper apk) to the next number which the game has, For example - If the game has 3 dex file named as classes.dex, classes2.dex & classes3.dex then rename our apk dex as classes4.dex and put inside the game
  3. Open MainActivity file of the Game, For Example - BGMI's MainActivity where we can put our code is "SplashActivity" under "onCreate" Function.
  4. Now after findind the file put this line - "invoke-static {p0}, Lashope/tech/generator/MainActivity;->CheckOverlayPermission(Landroid/content/Context;)V" under "onCreate" Function. (NOTE - Put this line right before the "onCreate" string inside the "onCreate" Function)
  5. Save the Dex file and open our dex file that we copied inside the Game and Delete the "DeleteActivity" file and save the apk
  6. Edit the manifest file and add permission for Manage all files - "android.permission.MANAGE_EXTERNAL_STORAGE"
  7. Now Sign the Apk (NOTE - You need to Kill SignVerification if there is any Checks)
  8. Give Permissionn for All Files access, not just to Media file permission.
  9. Open Game, then turn on the Dumping Options, Like for SDK select SDKW or SDK Option.
  10. Dump will be genrated in '/sdcard/DumpedGames/Game_Package_Name'

How to Get the Dump files?

If you followed the Tutorial on "# How to Use?" properly then a Directory should appear on your sdcard (same place where "Download" folder is present) named as "DumpedGames" and inside should be another folder named as the game Packagename, For Example - For Game BGMI there should be "com.pubg.imobile" folder inside "DumpedGames" folder. Now every Dump should be Present inside their Respective folder.

Am Noob and Help me, Need Video Tutorial

Kill Apk signature Verification and follow this - https://youtu.be/cDEUkwToms4

Game Crashing Help?

The Game may crash for many reasons but i will state the ovious.

  1. Changing the PackageName - Donot change the package name if you don't know how this source works.
  2. After Lib Dump - To save Memory i add auto crash after dumping and rebuilding the Lib File from Memory. (So Dont panic)
  3. Wrong Offsets - Now wrong offsets shouldn't crash you right? But no, Many game does, and for Pubg series donot just add offsets in offsets page, i added option for the pointers like 'GNamePointer' and 'GWorldPointer' and for Pubg lite its Decryption Method (if you cant dump use Pre-Dumped).
  4. Signature Kill - Before complaining please check your Signature Kill/Hook without the dumper, Many sources are public so they may not work anymore.
  5. General - If someone faces Crash due to other reasons from stated above, please do create a Issue. I would be glad to help you.

Why nothing is Dumping? No folder is Created

Many would face this problem, i dont know where you doing wrong exactly but here are some tips to fix it.

  1. Add permission - Add 'MANAGE_EXTERNAL_STORAGE' permission and Check for Read, Write External storage permissions.
  2. Enable Settings - Make sure that after adding permission you manually go to settings and Switch on the Allow all Access option. (Older Android wont have it so give storage permission or go to advanced settings if there is one and allow it).
  3. Offsets Update - Make sure that offsets are updated, if you think the dumper offsets are outdated please create a issue.

Why source is not compiling/building in AIDE? Showing Erros in AIDE

Firstly i don't recommend using AIDE but its upto you, if you dont have a Pc/Laptop to compile the source then use AIDE. I never used AIDE and don't have much experience so i can't quite convert the source for AIDE but if someone of you know how to do it please do help and ping me. I will give you the credits and share the source here for everyone else to use.

ChangeLogs

  1. Added Support for Unreal Engine 4.23+ Version
  2. Added Seperate Option for 4.23+ Versions
  3. Added Seperate Option for PubgM Series (Pubg Lite and New State Not Supported Yet)
  4. Added Base Offsets on Dump to access Easily.
  5. Fixed NamesDump for 64Bit.
  6. Fixed Project Issue for Others
  1. Added Support for No-Root Lib Dumping and Regeneration for 32 Bit & 64 Bit.
  2. Added Support for Android API Level 32. Minimum Sdk is now 26 (Android 8).
  3. Cleaned Up the Source
  1. Added Support for Pubg Lite.
  2. Added Support for Android API Level 33. Minimum Sdk lowered to 21.
  3. Added XOR Decryption.
  4. Added GNames Decryption Method.
  5. Added Support for Full and Fast Lib Dumping.
  6. Fixed issues where 4.23+ Gmaes were not dumping.
  7. Fixed crash issues for 4.23+ games while dumping
  8. Added Support for different Games at once.
  9. Fixed Guobject dumping bugs.
  1. Added old PubgM GName Reading (Lite needs Decryption).
  2. Added Auto Offset Selector.
  3. Added Auto UE Version Selector.
  4. Added new dump names for better output showcase.

To-Do

  1. Add support to Dump Specific Offsets only.
  2. Generate Internal Sdk Structures or Internal SDK.
  3. Dump Calculted Offsets like ComponentToWorld and other Offsets.

Want to Support me?

Join my Telegram Channel - https://t.me/ascarrehacks