My OP2 keeps optimizing an app every reboot - OnePlus 2 Q&A, Help & Troubleshooting

Every time I reboot my OnePlus 2 keeps optimizing a certain app
I don't know which one but I deleted a lot of downloaded apps and it still didn't help
I thought it could be the SuperSU app so I ran the UnSU script and flashed Magisk
It still keeps optimizing that app
Factory reset would probably solve this issue but I'd prefer not to do that
Thanks

do you have some "optimizing" apps or mods installed? like Lspeed, or hebf or something like that?

IvanMuse said:
Every time I reboot my OnePlus 2 keeps optimizing a certain app
I don't know which one but I deleted a lot of downloaded apps and it still didn't help
I thought it could be the SuperSU app so I ran the UnSU script and flashed Magisk
It still keeps optimizing that app
Factory reset would probably solve this issue but I'd prefer not to do that
Thanks
Click to expand...
Click to collapse
I have a similar problem. Optimising 2 apps while booting. This takes a lot of time, I guess about 5-8 minutes for each app. Initially I thought I was stuck with a boot loop or something, but later figured out that after insanely waiting, the phone actually boots up after optimising.
So I uninstalled many apps from my phone and now optimising is reduced to 1 app. I cannot pinpoint on which app is being optimised so i can get rid of that app.
I am running on unrooted oxygen 3.6.1 with no fancy stuff installed, to the best of my knowledge.
Any help to understand how to get rid of this optimisation will be appreciated.

JohnJacobT said:
I have a similar problem. Optimising 2 apps while booting. This takes a lot of time, I guess about 5-8 minutes for each app. Initially I thought I was stuck with a boot loop or something, but later figured out that after insanely waiting, the phone actually boots up after optimising.
So I uninstalled many apps from my phone and now optimising is reduced to 1 app. I cannot pinpoint on which app is being optimised so i can get rid of that app.
I am running on unrooted oxygen 3.6.1 with no fancy stuff installed, to the best of my knowledge.
Any help to understand how to get rid of this optimisation will be appreciated.
Click to expand...
Click to collapse
i flashed 8.1.0 lineageos and it solved the problem but i guess that just a factory reset would do the job
let me know if you fixed it

Have you got bit torrent installed?? Bit torrent updated, I restarted, optimising bit torrent for hours

Solution:-
Boot into recovery mode(TWRP recommended) and delete the true caller folder from data and the system.

I had the same problem.
It was utorrent.
Sent from my ONE A2003 using Tapatalk

Related

"android is upgrading" on every boot.

Hey Guys, anyoen have any clues on this?
All I did was swap out my boot animations.
On every boot the "Android is upgrading - Starting apps" popup
Boot time has not changed as my startup manager shows a consistant 34-40sec boot,
I even extracted the original image and reinstalled all the original boot anims.
Uninstalled xposed framework, Wanam,
uninstall titanium,
cleared cache via recovery..
Any ideas? Its annoying.
Thanks!
deathshead said:
Hey Guys, anyoen have any clues on this?
cleared cache via recovery..
Click to expand...
Click to collapse
You're getting that message because its rebuilding your cache on boot.. when you clear it in recovery, that's normal behavior.
Getting it every single boot, now, that sounds like there is a problem.. I would check for something clearing the cache besides you doing it manually (unless you are doing this every time you get that message on boot), worst case scenario flashing the stock odin file in General should clear it up
Did you fix permissions and ownership on the new boot ani? Use Jrummys root browser and check both of those.
Sent from my SM-N900V using Tapatalk
Finally figured it out!
What a pita. Reflashed via Odin and started
Installing all my stuff.
The app that caused this out of all the system app mods I have running was the transparent accuweather widget nodded apk. I forgot to Delete the corresponding odex when i installed it. DUH!! all Self inflicted.
All good to go now.
Thanks guys.
deathshead said:
Finally figured it out!
What a pita. Reflashed via Odin and started
Installing all my stuff.
The app that caused this out of all the system app mods I have running was the transparent accuweather widget nodded apk. I forgot to Delete the corresponding odex when i installed it. DUH!! all Self inflicted.
All good to go now.
Thanks guys.
Click to expand...
Click to collapse
Thank you very much. I was having the same problem ever since I installed LG G2 keyboard on my G Pro F240L running G2V5. It was just a 3 second message at start but still bugged me.
I deleted the odex files now for the keyboard and its theme files. Rebooted about 5 times to check. Keyboard still works, startup upgrade message is gone. Didn't have to reflash ROM or clear any cache. Great solution.
NeoMagus said:
You're getting that message because its rebuilding your cache on boot.. when you clear it in recovery, that's normal behavior.
Getting it every single boot, now, that sounds like there is a problem.. I would check for something clearing the cache besides you doing it manually (unless you are doing this every time you get that message on boot), worst case scenario flashing the stock odin file in General should clear it up
Click to expand...
Click to collapse
Hyperdrive It does that it is normal but does not actually go through the apks.

Apps optimized at every reboot

Since Lollipop 5.1, Android optimize the apps at every reboot (359 apps), it takes around 20 minutes each time. My phone is encrypted and it does that with or without SD card. Did anyone notice a similar behavior?
1) Tried to remove SD
2) Tried to clear Dalvik
No changes.
difto said:
Since Lollipop 5.1, Android optimize the apps at every reboot (359 apps), it takes around 20 minutes each time. My phone is encrypted and it does that with or without SD card. Did anyone notice a similar behavior?
1) Tried to remove SD
2) Tried to clear Dalvik
No changes.
Click to expand...
Click to collapse
On my phone a window shows up on a reboot that Android is optimizing apps, but it takes 3 sec. Your seems like you have just upgraded Android OS and it prepares apps for that. It could be that update didn't really go well. I have never encrypted my phone, so that could be something... If nothing helps, factory reset could work, but make sure that your sd card is decrypted before reset(if you have it encrypted too)
Same here, thought that xposed is the cause but it seems that other have this issue without root.
Sent from my D5833 using XDA Free mobile app
smardu said:
Same here, thought that xposed is the cause but it seems that other have this issue without root.
Sent from my D5833 using XDA Free mobile app
Click to expand...
Click to collapse
I did not have xposed when it began... I have root though
Charkatak said:
On my phone a window shows up on a reboot that Android is optimizing apps, but it takes 3 sec. Your seems like you have just upgraded Android OS and it prepares apps for that. It could be that update didn't really go well. I have never encrypted my phone, so that could be something... If nothing helps, factory reset could work, but make sure that your sd card is decrypted before reset(if you have it encrypted too)
Click to expand...
Click to collapse
The issue with encryption is that the recovery cannot access the data partition and so cannot fix file permissions which could be an explanation for the issue.
Though rarely it only optimize 1 app usually it's all of them...
Slightly different (and worse) here, phone encrypted and everytime I reboot it hangs, reboots itself and then optimizes each and every app.. rebooting has become an agony
I had root in 5.0.2 then went to 5.1.1 but had to use flashtool as the over the air update kept failing (because I had root? I undid root and still had the same problem).
So when 5.1.1 loaded I had the same issue you are having, and I found I couldn't get root so I flashed it again 5.1.1, still the apps optimising every boot.
So flashed it to 5.0.2 again, took root again. Rebooted and the apps still had to optimise again (far less apps though, like 170 compared to 350 on 5.1.1).
Do I flashed it back to 5.1.1 and now it seems to all work fine.
No idea what the issue was.
BTW I used the UK firmware for both versions.
Pyres said:
Slightly different (and worse) here, phone encrypted and everytime I reboot it hangs, reboots itself and then optimizes each and every app.. rebooting has become an agony
Click to expand...
Click to collapse
I already have this issue once. I don't reboot often, but I doesn't happen at each reboot...
Pyres said:
Slightly different (and worse) here, phone encrypted and everytime I reboot it hangs, reboots itself and then optimizes each and every app.. rebooting has become an agony
Click to expand...
Click to collapse
Actually this is the same as me, tries to boot ~2 min then reboot and optimize. I will try to reflash the zip pre-rooted.
I have had the same. I was on 5.0.2 with root. Updated to 5.1.1 with flashtool (as OTA no possible due to root). Had extensive battery drain and flashed back to 5.0.2 and then this boot problem. Only when I did a factory reset everything was fine again. I suppose clearing the cache/dalvik cache is not sufficient. Better to save all apps and data (Titanium backup for example), reset the phone and apply the update. Root with pre-rooted 5.1.1, then apply your backup ...
Brgds
omg
omg1010 said:
I have had the same. I was on 5.0.2 with root. Updated to 5.1.1 with flashtool (as OTA no possible due to root). Had extensive battery drain and flashed back to 5.0.2 and then this boot problem. Only when I did a factory reset everything was fine again. I suppose clearing the cache/dalvik cache is not sufficient. Better to save all apps and data (Titanium backup for example), reset the phone and apply the update. Root with pre-rooted 5.1.1, then apply your backup ...
Brgds
omg
Click to expand...
Click to collapse
That's what I did, solved the problem.
I've had this problem for quite a while. my phone is stock, unrooted. I have encryption enabled (required to get work email through Mobile Iron). I observe that this issue (double boot w/ optimize apps) starts after a software update. the only way I have resolved this is by wiping the phone completely and rebuilding my apps and customizations which is quite time-consuming. is there anyway to resolve this without wiping? And for the 1st time, the issue came up just last week but this time there was no software update that preceeded it. is this really just a fact of life when using Android with encryption enabled or is this just an Xperia-specific issue?
I have the same issue on my work issues Xperia Z3. 20 minutes per reboot. It's brutal. Not a good look for Android.

Optimizing apps after flash xposed installer

Hello guys.
I have read some issues regarding my problem where after every reboot the system optimizes all apps in my situation are just 2 apps optimizing after I installed Xposed through TWRP. it happens on every boot and takes up to 10 minutes, also it tooks to optimizes all my 128 apps after a caché clean process up to 30 minutes, is it normal?
just_one said:
Hello guys.
I have read some issues regarding my problem where after every reboot the system optimizes all apps in my situation are just 2 apps optimizing after I installed Xposed through TWRP. it happens on every boot and takes up to 10 minutes, also it tooks to optimizes all my 128 apps after a caché clean process up to 30 minutes, is it normal?
Click to expand...
Click to collapse
Yes its normal.. Get rid of google bloatware to solve this app optimization issue. It's mostly google apps that optimize on boot.
Sent from my XT1562 using Tapatalk
When you clean the cache the apps have to be initialized ("optimized") again - so that wait is to be expected. Do you maybe have some app or xposed module that wipes cache on shutdown? That would cause this, too.

Nexus 10 (manta), Lineage OS 13, bootloop with Nova Launcher

Hi,
A few days ago I experienced a boot loop on my Nexus 10 with Lineage OS 13, build 20170909.
I broke it down to a recent update of Nova Launcher - going back to an older version and preventing Google Play automatic updates fixed it for me.
There are a number of reports of the same symptom pointing to Nova Google Companion, TeslaUnread, IFTTT, and Action Launcher.
I don't think this is an issue in those apps, but rather caused in the OS - an App should not be able to bring down the OS to a reboot (and even worse, due to the automatic restart of the launcher, causing a reboot loop).
any ideas of a fix in the OS? something else to prevent this from happening again?
Regards
sthones
I confirm the same. Constant bootloop with Nova Launcher
I am also experiencing this on an older version of CM13. Clearing cache does not work. Any quick fix possible via recovery?
stephendt0 said:
I am also experiencing this on an older version of CM13. Clearing cache does not work. Any quick fix possible via recovery?
Click to expand...
Click to collapse
I had the same problem with a Galaxy S3 running OctOS (CM13 based Android 6.0.1). The Nova Launcher update caused my phone to crash and reboot as soon as it was unlocked.
I was able to disable Nova in recovery (TWRP) using the built-in TWRP file manager. navigate to /data/app/com.teslacoilsw.launcher/ and delete base.apk. This will keep Nova from loading on startup but will not delete your data. My phone worked fine after that, albeit without Nova.
Thanks a lot, removing base.apk stopped the reboot loop.
My device has just started a bootloop too, but I don't even have Nova installed on it (though I do on my phone), just the stock launcher in CM / LineageOS.
I reset it to factory defaults and then it boots, but when it restores my old apps it starts looping again, so one of them is the cause. I didn't learn anything from the log via adb.
Any ideas?
I discovered it was one of my apps causing this. I removed it and it boots ok. https://play.google.com/store/apps/details?id=au.com.realestate.app&hl=en
hmoffatt said:
I discovered it was one of my apps causing this. I removed it and it boots ok.
Click to expand...
Click to collapse
Thanks for the hint, it was a real estate app from germany (immoscout24) which caused the problem at my device. Deleted the base.apk and everything works fine again.
Happening to me now, ffs im on the latest nightly and thats not fixed it.
TheRealSmurf said:
Thanks for the hint, it was a real estate app from germany (immoscout24) which caused the problem at my device. Deleted the base.apk and everything works fine again.
Click to expand...
Click to collapse
Same here.
daseddy said:
Same here.
Click to expand...
Click to collapse
Mine just started boot looping yesterday, but I hadn't installed any new apps in a while, and I have automatic app updating turned off (I also don't have any real estate apps installed, German or otherwise). Any hints on how to track down the culprit? Is there a boot log to look at?
Thanks!
Folks, there is a defect open in the official lineage bug tracking system. please add your comments there - maybe this needs some more support to get looked at:
https://jira.lineageos.org/browse/BUGBASH-1075
Same here. Started happening after it updated my apps yesterday. Removed nova launcher and all other Teslacoil software, problem remains. Can only start the tablet in Safe mode.
Seeing this on my device as well, except I am not able to remove the base.apk file because the app I installed somehow corrupted my bootloader such that I cannot get into recovery mode.
The culprit app? LinkedIn. Automatic app updates were turned off, and just before the bootloop started, the last thing I did was install that app. It finished, it rebooted, and hasn't stopped rebooting since.
When I put it into bootloader mode, it stops the continual rebooting and displays the "open panel" robot and "Downloading... do not turn off target". From there, all I can do is press power to start, then it goes back into rebooting. There is no way to get into recovery mode from there.
Also, attempting to keystroke into recovery mode just restarted the lineos infinite reboot.
Can't get into recovery, can't get the bootloader out of "Downloading" mode, and lineos continually reboots... Any wise sage souls have any ideas on this one? It looks like my device is bricked
It got me too - I don't have Nova Launcher installed. A few weeks ago the device started bootlooping with a build I had installed since september. I updated to one of the latest builds and had the same issue again. At the moment i got it working most of the time, but when i start certain apps it just reboots.
Seems to be independent to build version and can occur with different apps (at least thats what I've read here...).
Is this a Lineage Os 13 only thing or can I throw the device away now?
Greetings
I started having this issue this week as well. Oddly enough, I was still on CM12.1. In the middle of watching Plex and it rebooted, and has been boot-looping since. I did a factory wipe and while installing apps, it started looping again. I then installed the latest nightly of LOS13.1 and again, once it got part-way installing apps, it started boot-looping again. So this is not just a LineageOS thing, it seems to be an app update (I do have auto-update turned on).
I´m having the same problem without ever have the Nove Launcher installed. The bootloop started on my device several weeks ago. I tried to fix it by wipe partly or total and reinstall the latest nightly of los13 (20171126) and opengapps micro 27.11.2017 (and everything else).
As soon as I reinstall my apps, los goes back to bootloop. Sometimes, when I manually install only few apps, the system seems stable, until die next updates come by the play store.
So now I went back to stock rom until I´m getting aware of the problem beeing solved.
workaround, maybe
I wouldn'n call it a bootloop but rather a startloop
Anyhow, in my case I was able to break the loop by entering android's safe mode by simultaneously pressing vol up and down keys during startup. In safe mode, I was able to delete offending apps. After reboot, system is running again. Apps identified so far to make lineageos unhappy: open camera, yalp store, YouTube(!).., oruxmaps.
Removing offending apps works
Thank you!
I did the same with your advice... removed some apps and it works. I went back to September ROM, then update to Nov ASB ROM and it works fine.
ShevT is on it, here https://jira.lineageos.org/browse/BUGBASH-1052
and here: https://review.lineageos.org/#/c/197386/
Hope it gets fixed and merged soon... as this has been a pain the neck for a while, possibly related to a similar problem earlier this year.
loveandmarriage said:
I wouldn'n call it a bootloop but rather a startloop
Anyhow, in my case I was able to break the loop by entering android's safe mode by simultaneously pressing vol up and down keys during startup. In safe mode, I was able to delete offending apps. After reboot, system is running again. Apps identified so far to make lineageos unhappy: open camera, yalp store, YouTube(!).., oruxmaps.
Click to expand...
Click to collapse
I'm running CM13 and I have the same problem. I am not tech savvy with installing ROMs but managed to get to TWRP and did a reset to factory. Got part way thru optimising apps and the problem came back. I could only turn the tablet off via TWRP!
I don't mind going back to stock rom but not sure how to do it..best I look on here and start to educate myself..I'm 73yo so might not get finished before my time is up

Apps crashes and random restarts

Hy everyone
After a lot of searches and flashing I have to open this thread.
No matter which oreo or nougat rom I tried I got constant app crashes and random reboots.
I have tried all oreo roms, nougat Roms and eui roms too.
Sometimes app crashes after one day or instantly after flashing.
I have tried different modems.
Tried without xposed and magisk but still apps start crashes on each rom.
I have clean flashed everytime too. But don't know why this is happening on all roms.
any one can help me out?
Thankyou
Heyyo, have you also tried doing a TWRP format data (by format data I mean format and not wipe) and then not restoring from a Google Cloud backup? There is a small chance that it could be a setting or something from your Google Cloud backup causing the instability.
Bit better
Hey, Thanks a lot for reply and I am sorry that I just read your response right now
First of all I didn't use Google cloud backup
I only restored from Tb.
I have already formatted data as you said and flashed new rom. Didn't even restore data from Tb.
As soon as I installed three to four apps from playstore phone restarted.
After installing all apps and setting up my phone.
Now app crashes are lot less then before but they still crashes like just Google stopped working until I restart phone.
Different app crashes after sometime and I have to restart phone to get them back to Work. Phone also restart sometimes.
Don't know why it's like that...
Is there any way I can check which app causing problems by myself?
Any suggestions?
Thank you

Categories

Resources