Xposed icon indicating copy to clipboard operation
Xposed copied to clipboard

"Android is upgrading" on every reboot after updating Xposed (logcat attached)

Open oroboros opened this issue 8 years ago • 6 comments

@rovo89 I recently updated Xposed to v80 (I have to apologize first of all, I don't remember if I was on v75 or v65) and I'm getting the dreaded "Android is upgrading... Optimizing app X of YY" on every reboot. As usual, the first time it went through all apps, and now it seems to be optimizing the same 54 apps every time I (re)boot. I'm also noticing that soft reboot doesn't work.

Hopefully I was successful in pulling a logcat for your inspection, thanks to the people at XDA. https://www.dropbox.com/s/11zz9dj7qxh0uhd/logcat%20-%20Copy.zip?dl=0

A few questions:

  • Is this something I screwed up?
  • Would I be simply able to flash the uninstall zip and reflash the old Xposed to avoid this "optimization", or would I need to do something else?
  • How do you identify the apps being optimized in the logcat (any "keywords")?
  • Would there be something I could do with the knowledge of which apps are being optimized to fix the problem (reinstall or uninstall or delete something)?

I have tried clearing cache/dalvik, but it still solves nothing. However, besides the long boot screen, everything seems to work ok.

Thanks for everything!

oroboros avatar Mar 17 '16 16:03 oroboros

I wanted to see if there was any feedback from this. Hope to get some soon!

oroboros avatar Apr 09 '16 10:04 oroboros

There's one thing I noticed:

I/PackageManager(  761): Running dexopt on: /data/app/com.google.android.gm-2/base.apk pkg=com.google.android.gm isa=arm vmSafeMode=false
D/installd(  154): do_dexopt : /data/sdext2/com.google.android.gm-2/base.apk 50045 1 com.google.android.gm arm  0

There's /data/app and /data/sdext2 - I don't know what the second folder is and if it has any impact. You can identify the affected apps by the "do_dexopt" string, and all of them have this strange path difference.

rovo89 avatar Apr 16 '16 10:04 rovo89

@rovo89

There's /data/app and /data/sdext2 - I don't know what the second folder is and if it has any impact.

I'm using Link2SD, could that be what it's referring to?

oroboros avatar Apr 18 '16 09:04 oroboros

If the affected apps are the ones with the "do_dexopt" string, would the best thing to do is to simply reinstall those, or what suggestions do you have?

Why did this happen after I updated my Xposed?

oroboros avatar Apr 19 '16 12:04 oroboros

I don't know if this has something to do with the issue, it's just a guess. The easiest way to try would be to move a few apps back to /data/app and see if they're still compiled on every boot.

One other idea: Could you please try once to disable all modules and reboot, maybe even twice, just to be sure that it's not caused by a module?

rovo89 avatar Apr 22 '16 10:04 rovo89

Had encountered this on my LP device as well. Also using Link2SD as the original report.

To resolve, I had to 'unlink' all apps, reboot so it would rebuild the dalvik cache, then re-link to SD.

I wonder if this is because after installing/upgrading xposed, a cache rebuild is initiated?

herb2k avatar Jul 09 '21 21:07 herb2k