Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the path of OAT file in Android 5.0

Tags:

android

Android 5.0 uses dex2oat to convert dex file to oat file when app installing.But in can only find boot.oat on my phone,where is the exactly path of convrted oat file?I want to have one for investigation.

like image 654
emmons gou Avatar asked Dec 31 '14 08:12

emmons gou


1 Answers

Actually I find the answer by the doc below.

Dex2oat     
–   Ex: 
/system/bin/dex2oat --zip-fd=6 --zip-location=/system/app/
Email.apk --oat-fd=7 --oat-location=/data/dalvik-cache/
system@[email protected]@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

like image 117
emmons gou Avatar answered Oct 17 '22 01:10

emmons gou