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

HarmonyOS update breaks aliuhook #14

Open
1 task done
wobohai opened this issue Oct 9, 2024 · 2 comments
Open
1 task done

HarmonyOS update breaks aliuhook #14

wobohai opened this issue Oct 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@wobohai
Copy link

wobohai commented Oct 9, 2024

Discord Account

[email protected]

What happens when the bug or crash occurs?

On September 1, 2024, the latest HarmonyOS upgrade caused a flash crash. Before the HarmonyOS is upgraded, the system runs well, and the following logs are displayed:

2024-09-19 17:13:09.293 6198-6198 LocationHook com.tencent.mm E java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/~~Vg7eyAe1x0crC0bDdeHqZA==/com.bb.kkk-0lTYXFy2a0qIyPPWgM8UnA==/lib/arm64/libaliuhook.so"
2024-09-19 17:13:09.317 6198-6198 AndroidRuntime com.tencent.mm E FATAL EXCEPTION: main
Process: com.tencent.mm, PID: 6198
java.lang.NoClassDefFoundError: de.robv.android.xposed.XposedBridge
at com.third.xposed.location.LocationHook.hookAndChange(LocationHook.java:214)
at com.ft.mapp.delegate.MyComponentDelegate.beforeStartApplication(MyComponentDelegate.java:27)
at com.fun.vbox.client.VClient.bindApplicationNoCheck(VClient.java:563)
at com.fun.vbox.client.VClient.bindApplication(VClient.java:357)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:173)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleExecuteTransaction(HCallbackStub.java:132)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:88)
at android.os.Handler.dispatchMessage(Handler.java:113)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:302)
at android.app.ActivityThread.main(ActivityThread.java:9652)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)
Caused by: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/~~Vg7eyAe1x0crC0bDdeHqZA==/com.bb.kkk-0lTYXFy2a0qIyPPWgM8UnA==/lib/arm64/libaliuhook.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
at java.lang.System.loadLibrary(System.java:1662)
at de.robv.android.xposed.XposedBridge.(XposedBridge.java:29)
at com.third.xposed.location.LocationHook.hookMethod(LocationHook.java:422)
at com.third.xposed.location.LocationHook.hookAndChange(LocationHook.java:48)
at com.ft.mapp.delegate.MyComponentDelegate.beforeStartApplication(MyComponentDelegate.java:27)?
at com.fun.vbox.client.VClient.bindApplicationNoCheck(VClient.java:563)?
at com.fun.vbox.client.VClient.bindApplication(VClient.java:357)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:173)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleExecuteTransaction(HCallbackStub.java:132)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:88)?
at android.os.Handler.dispatchMessage(Handler.java:113)?
at android.os.Looper.loopOnce(Looper.java:210)?
at android.os.Looper.loop(Looper.java:302)?
at android.app.ActivityThread.main(ActivityThread.java:9652)?
at java.lang.reflect.Method.invoke(Native Method)?
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)?
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)?
2024-09-19 17:13:09.323 6198-6198 uncaught com.tencent.mm E java.lang.NoClassDefFoundError: de.robv.android.xposed.XposedBridge
at com.third.xposed.location.LocationHook.hookAndChange(LocationHook.java:214)
at com.ft.mapp.delegate.MyComponentDelegate.beforeStartApplication(MyComponentDelegate.java:27)
at com.fun.vbox.client.VClient.bindApplicationNoCheck(VClient.java:563)
at com.fun.vbox.client.VClient.bindApplication(VClient.java:357)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:173)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleExecuteTransaction(HCallbackStub.java:132)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:88)
at android.os.Handler.dispatchMessage(Handler.java:113)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:302)
at android.app.ActivityThread.main(ActivityThread.java:9652)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)
Caused by: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/~~Vg7eyAe1x0crC0bDdeHqZA==/com.bb.kkk-0lTYXFy2a0qIyPPWgM8UnA==/lib/arm64/libaliuhook.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
at java.lang.System.loadLibrary(System.java:1662)
at de.robv.android.xposed.XposedBridge.(XposedBridge.java:29)
at com.third.xposed.location.LocationHook.hookMethod(LocationHook.java:422)
at com.third.xposed.location.LocationHook.hookAndChange(LocationHook.java:48)
at com.ft.mapp.delegate.MyComponentDelegate.beforeStartApplication(MyComponentDelegate.java:27)?
at com.fun.vbox.client.VClient.bindApplicationNoCheck(VClient.java:563)?
at com.fun.vbox.client.VClient.bindApplication(VClient.java:357)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:173)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleExecuteTransaction(HCallbackStub.java:132)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:88)?
at android.os.Handler.dispatchMessage(Handler.java:113)?
at android.os.Looper.loopOnce(Looper.java:210)?
at android.os.Looper.loop(Looper.java:302)?
at android.app.ActivityThread.main(ActivityThread.java:9652)?
at java.lang.reflect.Method.invoke(Native Method)?
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)?
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)?

What is the expected behaviour?

No flash back

How do you recreate this bug or crash?

use XposedBridge

Crash-log

2024-09-19 17:13:09.293 6198-6198 LocationHook com.tencent.mm E java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/~~Vg7eyAe1x0crC0bDdeHqZA==/com.bb.kkk-0lTYXFy2a0qIyPPWgM8UnA==/lib/arm64/libaliuhook.so"
2024-09-19 17:13:09.317 6198-6198 AndroidRuntime com.tencent.mm E FATAL EXCEPTION: main
Process: com.tencent.mm, PID: 6198
java.lang.NoClassDefFoundError: de.robv.android.xposed.XposedBridge
at com.third.xposed.location.LocationHook.hookAndChange(LocationHook.java:214)
at com.ft.mapp.delegate.MyComponentDelegate.beforeStartApplication(MyComponentDelegate.java:27)
at com.fun.vbox.client.VClient.bindApplicationNoCheck(VClient.java:563)
at com.fun.vbox.client.VClient.bindApplication(VClient.java:357)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:173)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleExecuteTransaction(HCallbackStub.java:132)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:88)
at android.os.Handler.dispatchMessage(Handler.java:113)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:302)
at android.app.ActivityThread.main(ActivityThread.java:9652)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)
Caused by: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/~~Vg7eyAe1x0crC0bDdeHqZA==/com.bb.kkk-0lTYXFy2a0qIyPPWgM8UnA==/lib/arm64/libaliuhook.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
at java.lang.System.loadLibrary(System.java:1662)
at de.robv.android.xposed.XposedBridge.(XposedBridge.java:29)
at com.third.xposed.location.LocationHook.hookMethod(LocationHook.java:422)
at com.third.xposed.location.LocationHook.hookAndChange(LocationHook.java:48)
at com.ft.mapp.delegate.MyComponentDelegate.beforeStartApplication(MyComponentDelegate.java:27)?
at com.fun.vbox.client.VClient.bindApplicationNoCheck(VClient.java:563)?
at com.fun.vbox.client.VClient.bindApplication(VClient.java:357)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:173)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleExecuteTransaction(HCallbackStub.java:132)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:88)?
at android.os.Handler.dispatchMessage(Handler.java:113)?
at android.os.Looper.loopOnce(Looper.java:210)?
at android.os.Looper.loop(Looper.java:302)?
at android.app.ActivityThread.main(ActivityThread.java:9652)?
at java.lang.reflect.Method.invoke(Native Method)?
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)?
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)?
2024-09-19 17:13:09.323 6198-6198 uncaught com.tencent.mm E java.lang.NoClassDefFoundError: de.robv.android.xposed.XposedBridge
at com.third.xposed.location.LocationHook.hookAndChange(LocationHook.java:214)
at com.ft.mapp.delegate.MyComponentDelegate.beforeStartApplication(MyComponentDelegate.java:27)
at com.fun.vbox.client.VClient.bindApplicationNoCheck(VClient.java:563)
at com.fun.vbox.client.VClient.bindApplication(VClient.java:357)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:173)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleExecuteTransaction(HCallbackStub.java:132)
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:88)
at android.os.Handler.dispatchMessage(Handler.java:113)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:302)
at android.app.ActivityThread.main(ActivityThread.java:9652)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)
Caused by: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/~~Vg7eyAe1x0crC0bDdeHqZA==/com.bb.kkk-0lTYXFy2a0qIyPPWgM8UnA==/lib/arm64/libaliuhook.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
at java.lang.System.loadLibrary(System.java:1662)
at de.robv.android.xposed.XposedBridge.(XposedBridge.java:29)
at com.third.xposed.location.LocationHook.hookMethod(LocationHook.java:422)
at com.third.xposed.location.LocationHook.hookAndChange(LocationHook.java:48)
at com.ft.mapp.delegate.MyComponentDelegate.beforeStartApplication(MyComponentDelegate.java:27)?
at com.fun.vbox.client.VClient.bindApplicationNoCheck(VClient.java:563)?
at com.fun.vbox.client.VClient.bindApplication(VClient.java:357)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleLaunchActivity(HCallbackStub.java:173)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleExecuteTransaction(HCallbackStub.java:132)?
at com.fun.vbox.client.hook.proxies.am.HCallbackStub.handleMessage(HCallbackStub.java:88)?
at android.os.Handler.dispatchMessage(Handler.java:113)?
at android.os.Looper.loopOnce(Looper.java:210)?
at android.os.Looper.loop(Looper.java:302)?
at android.app.ActivityThread.main(ActivityThread.java:9652)?
at java.lang.reflect.Method.invoke(Native Method)?
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:601)?
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1062)?

Request Agreement

  • I did indeed check to make sure the bug or crash report is applicable!
@wobohai wobohai added the bug Something isn't working label Oct 9, 2024
@rushiiMachine rushiiMachine transferred this issue from Aliucord/Aliucord Oct 9, 2024
@rushiiMachine
Copy link
Member

Please provide a full, unfiltered logcat

@rushiiMachine rushiiMachine changed the title Caused by: java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/~~Vg7eyAe1x0crC0bDdeHqZA==/com.baobo.kcaqds-0lTYXFy2a0qIyPPWgM8UnA==/lib/arm64/libaliuhook.so" HarmonyOS update breaks aliuhook Oct 9, 2024
@rushiiMachine
Copy link
Member

rushiiMachine commented Oct 9, 2024

Are you using the latest version of Aliuhook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants