Init linker mod failed
ShadowHook Version
1.1.1
Android OS Version
9, 11, 12, 15
Android ABIs
arm64-v8a
Device Manufacturers and Models
Memuplay, MuMu 12, Moto 5G Plus, Google Pixel 9
Describe the Bug
Shadowhook 1.1.1 is broken. It always return error 12 - Init linker mod failed when trying to hook. It can be replicated with the shadowhook_hook_sym_name example 1.0.10 works perfectly on phones and x86 emulators
I encountered the same issue, but I used a .a static library compiled from shadowhook. I tested shadowhook's examples, and they worked fine. Are there any specific considerations when using the .a static library?
- shadowhook does NOT support x86 houdini VM.
- A new dynamic library is added in version 1.1.1: libshadowhook_nothing.so. If you compile the source code yourself, it is recommended to refer to CMakeLists.txt again.
2. A new dynamic library is added in version 1.1.1: libshadowhook_nothing.so. If you compile the source code yourself, it is recommended to refer to CMakeLists.txt again.
https://github.com/bytedance/android-inline-hook/blob/c9ff65f4766602e158e8456aa5d358279ff74519/shadowhook/src/main/cpp/sh_linker.c#L540
Thanks for allowing us to use static lib...
unsupport static
真机设备也遇到这个问题了,64位安卓9,使用1.0.10版本可以。