A powerful tool to dump dex files whose instructions are replaced with nop
GetDex is designed as a Xposed plugin to dump dex, which can also fix dex opcodes that are replaced with nop.
Before starting, you should have either Xposed or EdXposed installed on your phone. Since GetDex is only desinged for ART-supported android versions, I recommend EdXposed since Xposed has instable support on these android versions.
Until now, GetDex is only tested in Android 10.
Here's simple two steps to dump "nopped" dex files from an application.
It's a must-do to reboot your phone since Xposed plugins need rebooting to be activated.
Note that I used a trick to simplify this step, so you don't need to reboot anymore after your first rebooting even you changed some code in this plugin. You just need to restart the application you want to hook into (the application you want to dump dex from) to apply your changes.
If your Android version is above or equal to Q, MXP should be activated manually again everytime MXP is re-installed or your phone is rebooted
In other situations, MXP is always activated and do not require manual activatation
Note that manual activatation requires ROOT
After MXP is activated, you can input target package name in GetDex app, and click 'Confirm' to save it. After that, shutdown the target app (if needed) and restart it. You will see your dex dumped in /data/data/[TARGET_PACKAGE_NAME]/files/getdex
. If you don't find any, please record all recent logs and post it as an issue.
Original "noppped" dex (part):
After fixing by GetDex:
👤 Mivik
- Website: https://mivik.gitee.io/
- Github: @Mivik
Give a ⭐️ if this project helped you!