What is the OAT file path in Android 5.0

Android 5.0 uses dex2oat to convert a dex file to an oat file when installing the application. But in it only boot.oat can be found on my phone, where exactly is the path to the finished oat file? I want to have it for research.

+6
source share
1 answer

In fact, I find the answer in the document below.

Dex2oat – Ex: /system/bin/dex2oat --zip-fd=6 --zip-location=/system/app/ Email.apk --oat-fd=7 --oat-location=/data/dalvik-cache/ system@app @ Email.apk@classes.dex --profile-file=/data/ dalvik-cache/profiles/com.android.email Result OAT file will be placed in /data/dalvikcache 

http://bofh.nikhef.nl/events/HitB/hitb-2014-amsterdam/praatjes/D1T2-State-of-the-Art-Exploring-the-New-Android-KitKat-Runtime.pdf

+4
source

Source: https://habr.com/ru/post/980351/


All Articles