This repository is a demo project which hook libdexfile.so to dump dex. This is only test on my Android 14 and 15.
It requires just version 1.29.0 or later. You can install it with cargo:
cargo install justIt also need cargo-ndk for cross-compiling:
rustup target add aarch64-linux-android
cargo install cargo-ndkjust package-release # output is `out/zygisk-debug.zip`
just flash-release # flash the zip to your device (only for KernelSU)- Install the module via KernelSU and reboot your device.
- Put the package name of the app you want to dump dex into
/data/adb/modules/dump_dex/list.txt. - Lunch the app you want to dump dex.
- The dex file will be dumped into
/data/data/<package_name>/dexes/.