How to dynamically dump dex using frida in Android 12

362 views Asked by At

I am currently trying to dynamically dump dex using frida in Android 12.

In Android 9 version, the well-known frida-dexdump tool was used.

Or, with the frida code below, dex was dumped successfully in Android 9 version.

In android 9, dex was dumped by hooking the _ZN3art11ClassLinker11DefineClassEPNS_6ThreadEPKcmNS_6HandleINS_6mirror11ClassLoaderEEERKNS_7DexFileERKNS9_8ClassDefE function in libart.so.

Isn't hooking libart.so to dump dex in Android 12?

In Android 12, the correct dex could not be dumped using the frida-dexdump tool above.

Is there a way to dynamically dump dex using frida in Android 12 version?

Or is there any good tool or frida code?

0

There are 0 answers