Closed Pazu closed 8 years ago
Cycle optimizing fix is here https://github.com/LegacyXperia/Wiki/wiki/Installing-Lollipop (CTRL+F "--no-watch-dog") but if your settings are still missing - try to clean install.
@bykidi this is for KitKat, not Lollipop.
@Pazu works both. But still this doesn't help you if you have something else broken in your installation.
@bykidi I tried it, but the problem persists. I think I may try reverting to my own 20160414 build to see if that changes things.
@Pazu i highly suggest you to clean install before flashing another build.
@bykidi Okay, will do, thanks for the advice. By "clean install" I presume you mean formatting /system, /data, and /cache, then selecting "Wipe Data / Factory Reset", right?
@Pazu yes.
@bykidi I finally went through the process, doing all the formatting and wiping associated with a first-time install. Unfortunately, the problem still exists; the phone shows "Android is upgrading" on every reboot.
If you 100% sure that your installation is fine and you still getting this 'upgrading' problem - you have to add --no-watch-dog parameter to build.prop
Step by step
If you still have problems - email me with your TeamViewer ID and password.
@bykidi Thanks. While I can't be 100% sure nothing's wrong with my installation, I did go through your procedure, and have a couple of observations to report.
I do see that my build.prop change is definitely there using File Manager/Editor.
I just tried rebooting again, and no longer see the Android is Upgrading window. Not sure if this means the problem is permanently gone or not. Will try a few more times over the coming days to be sure.
One more question: should I leave the dalvik.vm.dex2oat-flags line in build.prop, or remove it now?
You see "optimizing 1 of 1..." on every boot. This is usually GMSCore.apk from the GAPPS package, or Facebook; it could be any very large app. Compiling an apk takes too long (>6 minutes), you have to turn off the timeout temporarily. Add this line to /system/build.prop: dalvik.vm.dex2oat-flags=--no-watch-dog
source: https://github.com/LegacyXperia/Wiki/wiki/Installing-Lollipop
Still not 100% sure, but LX12.1, LX13 both have this parameter included by default, so, yes, you can keep it (in case you will flash something else and it's big)
If this helps you - feel free to close the issue.
The issue is no longer evident, so I'll close this.
On rebooting the phone, I see “Android is upgrading” and “Optimizing apps” each time.
This phone was previously running my own build 20160414, and before that my own build from mid-February, and before that your 20151117 build, and this problem was never evident before now. bugreport.zip
Also, many app settings were lost on upgrading, and some settings are lost again on rebooting.