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

How do I run an AOT precompiled Android ART application manually from ADB without AM start? #2

Open
cirosantilli opened this issue Nov 8, 2017 · 0 comments

Comments

@cirosantilli
Copy link
Owner

On a rooted Android O device, I think the executable is located at:

# file /data/app/com.android.gl2jni-*/oat/arm64/base.odex 
/data/app/com.android.gl2jni-zZ1ugFZHTLkvAgtcll1NDg==/oat/arm64/base.odex: ELF shared object, 64-bit LSB arm64, stripped

however it is a shared object. So there must be some native call that calls it?

Yes, this comes down to reading the source for am start, which is located in Android O under:

aosp/frameworks/base/cmds/am/src/com/android/commands/am/Am.java
@cirosantilli cirosantilli transferred this issue from cirosantilli/issues Apr 20, 2019
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