Comments (4)
I think that's normal. These apps are probably used very early, before their compilation could be triggered by the PackageManagerService. That's not a problem with dex2oat, the app simply isn't allowed to compile itself. Without Xposed, the .odex file is used, so this isn't necessary. With Xposed, it used to fail opening the app, but now the fallback to interpreting mode is in place.
Does this still occur on the second boot?
from android_art.
Does this still occur on the second boot?
You mean without executing the command manually?
from android_art.
Yes. Most relevant apps should be compiled automatically at a later time. If not, that's the start point for further investigations. I know that AOSP has some optimizations, e.g. this: aosp-mirror/platform_frameworks_base@71d3260
Which means that some apps might not be compiled immediately, but the system should notice that they're used, add them to /data/system/package-usage.list
and compile them after the next reboot. Not sure if some compilation also takes place while the device is idle.
Slightly OT, clearing that file can be helpful during low-level development. Even after clearing the Dalvik cache, it will only compile a few apps and postpone the others.
from android_art.
Ok, i removed the recompiled file that were generated by manual dex2oat, and those system apps were recompiled on the second boot.
Removed /data/system/package-usage.list
and cleared dalvik cache, and the logs are now cleaner, thanks for the tip.
The only error i'm still getting is:
07-29 11:55:22.589 6229 6301 E linker : warning: unable to get realpath for the library "/data/data/com.google.android.gms/app_chimera/m/00000000/oat/arm64/DynamiteModulesA_GmsCore_prodmnc_xxhdpi_release.odex". Will use given name.
07-29 11:55:22.616 6312 6312 E dex2oat : Failed to create oat file: /data/dalvik-cache/arm64/data@[email protected]@app_chimera@m@00000000@[email protected]: Permission denied
07-29 11:55:22.616 6312 6312 I dex2oat : dex2oat took 316.667us (threads: 8)
07-29 11:55:22.617 6229 6301 W art : Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg /system/framework/XposedBridge.jar --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xnorelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/data/com.google.android.gms/app_chimera/m/00000000/oat/arm64/DynamiteModulesA_GmsCore_prodmnc_xxhdpi_release.odex --oat-file=/data/dalvik-cache/arm64/data@[email protected]@app_chimera@m@00000000@[email protected]) because non-0 exit status
07-29 11:55:22.618 6229 6301 W art : Falling back to interpreting /data/data/com.google.android.gms/app_chimera/m/00000000/oat/arm64/DynamiteModulesA_GmsCore_prodmnc_xxhdpi_release.odex
It seems similar to the one fixed here: 4ca2451
from android_art.
Related Issues (20)
- make dex2oat doesn't create host dex2oat HOT 5
- Xposed 88.1 ARM64 bootlooping on LG G6 HOT 3
- XiaoMi 6build:7.10.12log
- dexoat Fails to build boot.art image(Samsung 7.1.1) HOT 6
- Crash at early boot - Moto Z (XT1650-03 - griffin) HOT 2
- Freezing related to ART HOT 1
- error HOT 2
- art/runtime/stack.cc:205 Check failed: success Failed to read the this object in... HOT 13
- art/runtime/stack.cc:205] Check failed: success Failed to read the this object in void ....handleLoadPackage(de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam) HOT 7
- Bootloop when compiled with UBER toolchain (v89, arm64, sdk25, Resurrection Remix ROM) HOT 1
- Possible Race Condition in runtime/class_linker.cc HOT 2
- miui9 oreo v90-beta3 com.android.systemui fc HOT 6
- Xposed Oreo source? HOT 6
- Compile error on AOSP-7.1.2-r33。 HOT 2
- Sporadic runtime crash after calling takeScreenshot in PhoneWindowManager HOT 1
- why did remove flag in EnableXposedHook
- Android version 8.1.0, zygote crash
- ShouldIgnoreAotCode Cause: null pointer dereference
- Please release xposed art 8.1 source code HOT 6
- Art android Pie source code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android_art.