Skip to content

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

@aprz512

Description

@aprz512

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",看起来似乎是找不到这个文件。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions