android-inline-hook icon indicating copy to clipboard operation
android-inline-hook copied to clipboard

Init linker mod failed

Open AndroidMaster25 opened this issue 1 year ago • 5 comments

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

AndroidMaster25 avatar Nov 28 '24 18:11 AndroidMaster25

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?

uniking avatar Dec 03 '24 07:12 uniking

  1. shadowhook does NOT support x86 houdini VM.
  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.

caikelun avatar Dec 03 '24 12:12 caikelun

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...

ghost avatar Dec 13 '24 20:12 ghost

unsupport static

SMlc666 avatar Feb 11 '25 08:02 SMlc666

真机设备也遇到这个问题了,64位安卓9,使用1.0.10版本可以。

bigsinger avatar Mar 05 '25 02:03 bigsinger