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

Missing JniInvocationCreate #16

Open
Mygod opened this issue Jul 6, 2020 · 1 comment
Open

Missing JniInvocationCreate #16

Mygod opened this issue Jul 6, 2020 · 1 comment

Comments

@Mygod
Copy link

Mygod commented Jul 6, 2020

Got this error on some Android 10 treble ROM devices (also samsung Galaxy J7(2016)): CANNOT LINK EXECUTABLE "/system/bin/app_process64": cannot locate symbol "JniInvocationCreate" referenced by "/system/lib64/libandroid_runtime.so"

This symbol seems to be located in /apex/com.android.runtime/lib64/libnativehelper.so (Android 10) or /apex/com.android.art/lib64/libnativehelper.so (Android 11), which might be why it only happens on Android 10 Treble ROMs. This can also be found in /system/etc/ld.config.$ABI_STRING.txt.

@Mygod
Copy link
Author

Mygod commented Jul 6, 2020

Why don't we just use linker?

$ /system/bin/linker
Usage: /system/bin/linker program [arguments...]
/system/bin/linker path.zip!/program [arguments...]
A helper program for linking dynamic executables. Typically, the kernel loads
this program because it's the PT_INTERP of a dynamic executable.
This program can also be run directly to load and run a dynamic executable. The
executable can be inside a zip file if it's stored uncompressed and at a
page-aligned offset.       

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