Comments (3)
WhaleRuntime在加载过程中已输出了错误信息,你需要贴出错误信息
from whale.
是不是这个错误,换了个红米 Note 7, 好像和 xposed 没有关系:
03-03 23:48:27.959 E/Whale (13149): Unable to read data from libart.so.
03-03 23:48:27.959 E/Whale (13149): Runtime setup failed
03-03 23:48:27.959 D/AndroidRuntime(13149): Shutting down VM
--------- beginning of crash
03-03 23:48:27.960 E/AndroidRuntime(13149): FATAL EXCEPTION: main
03-03 23:48:27.960 E/AndroidRuntime(13149): Process: com.xxxx, PID: 13149
03-03 23:48:27.960 E/AndroidRuntime(13149): java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/com.jingyao.easybike-rb5R_nNdi7pC68eYY48M1A==/lib/arm/libwhale.so"
03-03 23:48:27.960 E/AndroidRuntime(13149): at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
03-03 23:48:27.960 E/AndroidRuntime(13149): at java.lang.System.loadLibrary(System.java:1669)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.lody.whale.WhaleRuntime.(WhaleRuntime.java:19)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.lody.whale.WhaleRuntime.hookMethodNative(Native Method)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.lody.whale.xposed.XposedBridge.hookMethod(XposedBridge.java:100)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.lody.whale.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:187)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.jingyao.easybike.tools.upi.Hooks.init(Hooks.kt:26)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.hellobike.atlas.application.HelloBikeApp.onCreate(HelloBikeApp.java:88)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1155)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5949)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.ActivityThread.access$1200(ActivityThread.java:200)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.os.Handler.dispatchMessage(Handler.java:106)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.os.Looper.loop(Looper.java:201)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.ActivityThread.main(ActivityThread.java:6810)
03-03 23:48:27.960 E/AndroidRuntime(13149): at java.lang.reflect.Method.invoke(Native Method)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
from whale.
Same issue on J710F Android 8.1.0 armeabi-v7a. I was use Xposed(Systemless) to load libwhale.so and mylib.so to another application.
03-06 18:39:51.849 7095-7095/? D/NaviteHook: Failed to load Whale: JNI_ERR returned from JNI_OnLoad in "/data/data/com.hl46000.hlfaker/lib/libwhale.so"
03-06 18:39:51.852 7095-7095/? E/HLHooker: HLHooker Load Hook!!!
03-06 18:39:51.914 7115-7115/? A/DEBUG: #01 pc 000374ed /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libwhale.so
03-06 18:39:51.914 7115-7115/? A/DEBUG: #2 pc 0003e257 /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libwhale.so
03-06 18:39:51.914 7115-7115/? A/DEBUG: #3 pc 0003a19f /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libwhale.so
03-06 18:39:51.914 7115-7115/? A/DEBUG: #4 pc 00036c43 /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libwhale.so (WInlineHookFunction+126)
03-06 18:39:51.914 7115-7115/? A/DEBUG: #5 pc 000113ff /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libhlhooker.so (JNI_OnLoad+38)
from whale.
Related Issues (20)
- crash apps HOT 3
- android 10 crash HOT 3
- backup function is hang when called
- 集成whale的native hook,hook了art的defineClass方法,x86会报地址错误异常,arm64正常hook
- handle AOSP 10 Runtime changes HOT 3
- SEGV_MAPERR on emulator x86 api 28
- instrumentation.cc:986] Check failed: !method->IsNative() HOT 1
- SEGV_MAPERR null pointer dereference on api 28 x86_64 emulator HOT 1
- Error when trying to remove hook
- Unable to read data from libart.so. HOT 1
- signal 11 (SIGSEGV) JniMethodEndWithReference HOT 3
- Support Android 11 (P)
- should elf_image be mmap-ed with +X?
- update README file - compatibility section HOT 1
- Need rooted?
- Add support for Android 12 & 13
- Could not hook hidden API on Android 5/5.1
- Provide static libs for iOS HOT 1
- 适配到android 12 HOT 8
- Whale
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whale.