Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 8.1.0 启动要hook的app出错 #100

Open
aprz512 opened this issue Sep 8, 2020 · 0 comments
Open

android 8.1.0 启动要hook的app出错 #100

aprz512 opened this issue Sep 8, 2020 · 0 comments

Comments

@aprz512
Copy link

aprz512 commented Sep 8, 2020

I/VClientImpl: Binding application lab.galaxy.yahfa.demoApp (lab.galaxy.yahfa.demoApp)
W/y.yahfa.demoApp: type=1400 audit(0.0:241): avc: denied { execmod } for path="/system/bin/linker" dev="sda34" ino=1136 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
D/VA++: do_dlopen : libart.so, return : 0x0.
D/NativeEngine: DexOrJarPath = /data/app/lab.galaxy.yahfa.demoApp-3TX_FVtYJqfWBHBRK9_Lgw==/base.apk, OutputPath = null.
D/NativeEngine: DexOrJarPath = /data/app/lab.galaxy.yahfa.demoApp-3TX_FVtYJqfWBHBRK9_Lgw==/base.apk, OutputPath = null.
D/NativeEngine: DexOrJarPath = /storage/emulated/0/demoPlugin-debug.apk, OutputPath = null.
W/System.err: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/lab.galaxy.yahfa.demoApp-3TX_FVtYJqfWBHBRK9_Lgw==/base.apk", zip file "/data/app/lab.galaxy.yahfa.demoApp-3TX_FVtYJqfWBHBRK9_Lgw==/base.apk"],nativeLibraryDirectories=[/data/user/0/io.virtualhook/virtual/data/app/lab.galaxy.yahfa.demoApp/lib, /data/app/lab.galaxy.yahfa.demoApp-3TX_FVtYJqfWBHBRK9_Lgw==/base.apk!/lib/armeabi-v7a, /data/app/lab.galaxy.yahfa.demoApp-3TX_FVtYJqfWBHBRK9_Lgw==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn't find "libyahfa.so"
W/System.err: at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
W/System.err: at java.lang.System.loadLibrary(System.java:1657)
W/System.err: at lab.galaxy.yahfa.HookMain.(HookMain.java:19)
W/System.err: at lab.galaxy.yahfa.HookMain.doHookDefault(HookMain.java:25)
W/System.err: at lab.galaxy.yahfa.demoApp.MainApp.attachBaseContext(MainApp.java:30)
W/System.err: at android.app.Application.attach(Application.java:189)
W/System.err: at android.app.Instrumentation.newApplication(Instrumentation.java:1103)
W/System.err: at android.app.Instrumentation.newApplication(Instrumentation.java:1087)
W/System.err: at com.lody.virtual.client.hook.delegate.InstrumentationDelegate.newApplication(InstrumentationDelegate.java:220)
W/System.err: at android.app.LoadedApk.makeApplication(LoadedApk.java:983)
W/System.err: at java.lang.reflect.Method.invoke(Native Method)
W/System.err: at mirror.RefMethod.call(RefMethod.java:63)
W/System.err: at com.lody.virtual.client.VClientImpl.bindApplicationNoCheck(VClientImpl.java:321)
W/System.err: at com.lody.virtual.client.VClientImpl.bindApplication(VClientImpl.java:211)
W/System.err: at com.lody.virtual.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:120)
W/System.err: at com.lody.virtual.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:73)
W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
W/System.err: at android.os.Looper.loop(Looper.java:164)
W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6494)
W/System.err: at java.lang.reflect.Method.invoke(Native Method)
W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
D/AndroidRuntime: Shutting down VM

couldn't find "libyahfa.so",看起来似乎是找不到这个文件。

@aprz512 aprz512 changed the title android 8.1.0 启动app出错 android 8.1.0 启动要hook的app出错 Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant