-
Notifications
You must be signed in to change notification settings - Fork 213
Dex2oat failled for some System app on Huawei P9 #47
Comments
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? |
You mean without executing the command manually? |
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 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. |
Ok, i removed the recompiled file that were generated by manual dex2oat, and those system apps were recompiled on the second boot. Removed The only error i'm still getting is:
It seems similar to the one fixed here: 4ca2451 |
Running Xposed v86 on a Huawei P9 (Stock Marshmallow), dex2oat fails with a "Permission denied" error 7 times, causing those to be interpreted, re-executing manually the failed dex2oat command with Root access is working fine.
Here is an example (full logs attached)
logs-huawei-p9-xposed-86.zip
Rom files.
The text was updated successfully, but these errors were encountered: