Optimising App message on every boot problem - Android Head-Units

After not using my car for a few weeks everytime I start my car and boot the headunit now it shows the 'Android is Starting Optimising App 1 of 1' message then continues to boot normally. Not sure why this is happening now as I changed any software or installed any new apps since not using the car.

WishiHadAnR32 said:
After not using my car for a few weeks everytime I start my car and boot the headunit now it shows the 'Android is Starting Optimising App 1 of 1' message then continues to boot normally. Not sure why this is happening now as I changed any software or installed any new apps since not using the car.
Click to expand...
Click to collapse
which head unit brand? custom rom or not? xposed installed?
It is a 3rd part installed app but something is indeed wrong. Mostly uninstalling and reinstalling fixes it.
Check your android log (logcat) which app is optimizing as that is written to the logcat.
and I mention xposed as some xposed module hack into an apk and thereby "corrupt" the dalvik cache leading to a new optimisation on every boot.

Joying Intel unit with 2GB on stock ROM but rooted, no Xposed. I've installed a logcat app so what should I search for to find optimising apps?

WishiHadAnR32 said:
Joying Intel unit with 2GB on stock ROM but rooted, no Xposed. I've installed a logcat app so what should I search for to find optimising apps?
Click to expand...
Click to collapse
You should search for that optimizing message in the logcat.
The other (very boring and time consuming) action you can do is to uninstall and reinstall the third party apps one by one and do a reboot.

surfer63 said:
You should search for that optimizing message in the logcat.
The other (very boring and time consuming) action you can do is to uninstall and reinstall the third party apps one by one and do a reboot.
Click to expand...
Click to collapse
I've checked the log after every reboot and it never mentions anything to do with optimising apps. Is it possible logcat does not have permission to view this as when I start the app it request extra permissions via ADB to view 'all logs'?
Why would this only start happening now, could it just be a recent app update that has triggered it?

WishiHadAnR32 said:
I've checked the log after every reboot and it never mentions anything to do with optimising apps. Is it possible logcat does not have permission to view this as when I start the app it request extra permissions via ADB to view 'all logs'?
Why would this only start happening now, could it just be a recent app update that has triggered it?
Click to expand...
Click to collapse
As you are rooted you should be able to see everything.
It could very well be a recent app installation or a recent update.
But I already mentioned that in post 2

Ok thanks I'll try another log app or grant the ADB permissions etc.
It must be an app update as I have not installed any apps before it started and I have very few 3rd party apps installed anyway which update via the Play Store.
Would it be safe to say that I only really need to try uninstalling apps which recently updated before the optimising error started?

Problem solved. Turns out it was my Speedometer app causing it.

Related

Apps acting weird (application not installed) 4.4

Hi all,
After upgrading to 4.4 some of my apps appear to be greyed out and when I click on it it says application not installed and takes me straight to the app store, heres the tricky part after I install the app it works however once I reboot my phone thats when the problem occurs and I can install but if I reboot yet again it repeats itself...
mafioso345 said:
Hi all,
After upgrading to 4.4 some of my apps appear to be greyed out and when I click on it it says application not installed and takes me straight to the app store, heres the tricky part after I install the app it works however once I reboot my phone thats when the problem occurs and I can install but if I reboot yet again it repeats itself...
Click to expand...
Click to collapse
Looks like they are on external sd card and there is a read/write issue with some apps here.
If you are rooted there is a fix. Most custom roms include the fix though if you search you will find how to do it yourself.
Otherwise you will need to wait until the apps are updated and write to different partitiion
Hey not-i im on crash rom v6 and I was on his thread and another user installed a few of the apps and reported no probs, I hope it has to do with the apps not my at the least, thanks bro for ur help....

[Q] Unable to uninstall Wakelock Detector

TL;DR Google Play has only the Open option and no way to uninstall app
After updating my I337M from rooted NI2 Kit Kat to rooted OC4 Lollipop, I was unable to properly run Wakelock Detector. It was stock to stock so I didn't wipe factory settings.
Googled a suggestion to move the APK to /system/priv-app so I did that but still the same result.
Now when I want to try uninstall (so as to re-install) there is no option. Under Manage Apps the app isn't even listed. The APK is still under priv-app and I deleted it... still shows up in app drawer.
D'Oh! What else can I do to uninstall it properly?
Sent from my SGH-I337M using XDA Free mobile app
i have the same problem
so ticked off. same here. even paid for the full version because sometimes that fixes issues like this. I can disable or freeze with titanium backup pro but can't uninstall. i think the problems happened after converting to system app. so now I have 2 frozen apps I want off my phone. On top of that the app stopped working after converting to system app. I get an error after the app loads. I emailed the developer and am waiting to hear back.
This days the application App2SD is able correct install Wakelock Detector as private , and it is able to uninstall it if it was installed as private .

Unable to grant storage and other permissions due to Screen Overlay

Hi All,
As usual it is the first place for me to look for help.
I updated my A5 2016 device with the latest security update. While installing, I was assured that i would be able to uninstall that update.
I couldn't.
But this is not the actual problem.
Now I am unable to grant permissions to apps like Camera, Storage etc because whenever I try to do that it says Screen Overlay Detected on which screen none of the apps are turned on including the system apps. I am really annoyed with this feature (or bug) of the Android Marshmallow. I seek your help in solving this.
I am rooted with custom Xposed ver 86.
Try unchecked all screen overlays, even system app ones? Also, there might be another screen overlay that might not hv been listed. Eg: if u hv pie with gravitybox enabled you have to disable it in the app itself.
Arathergreendroid said:
Try unchecked all screen overlays, even system app ones? Also, there might be another screen overlay that might not hv been listed. Eg: if u hv pie with gravitybox enabled you have to disable it in the app itself.
Click to expand...
Click to collapse
Thank you so much for the valuable Help.
I recently found that some of my apps crashed suddenly and that the following error popped up: Unfortunately Phone has Stopped, Unfortunately ES File Explorer Has Stopped.
After I click OK it pops up again. So in a wonderfully foolish step I uninstalled the Phone App and now the phone will not reboot.
I uninstalled Xposed but nothing helped. Finally after lots of research on XDA and otherwise I flashed The Stock Firmware for my Phone SM-A510FD.
It rebooted just as fine but now the same problem is there and is not resolved. Moreover if i Open some app like Play Books while i am getting the error, the popup of the error stops until i open the Phone app again. I opened my phone in Safe MOde and saw that the same problem is also there which means it is not caused by some third party apps. PLease help.
deepray said:
Thank you so much for the valuable Help.
I recently found that some of my apps crashed suddenly and that the following error popped up: Unfortunately Phone has Stopped, Unfortunately ES File Explorer Has Stopped.
After I click OK it pops up again. So in a wonderfully foolish step I uninstalled the Phone App and now the phone will not reboot.
I uninstalled Xposed but nothing helped. Finally after lots of research on XDA and otherwise I flashed The Stock Firmware for my Phone SM-A510FD.
It rebooted just as fine but now the same problem is there and is not resolved. Moreover if i Open some app like Play Books while i am getting the error, the popup of the error stops until i open the Phone app again. I opened my phone in Safe MOde and saw that the same problem is also there which means it is not caused by some third party apps. PLease help.
Click to expand...
Click to collapse
I seem to have found the solution for the problem regarding crashing of the Phone App. The Phone App uses Screen Overlay in which we select SIM1 or SIM2. Turning that off would result in hampering its functionality. After i did turn on the screen overlay for Phone App, it is functioning just as fine and no crashes for atleast the phone app. I wonder to what lengths i went to solve this issue and the issue lied in my thing only.

Help needed with constant Cyanogenmod 11 crashes on S4 GT-I9505

Anyone? Still having severe issues...
----
I have very happily used Cyanogenmod 11 on a Samsung S4 GT-I9505 for many years. Now suddenly after an apparently harmless update of a few Apps (gmail, youtube, firefox and a few more small ones), apps on my phone keep crashing whenever it accesses some deeper app info. Sometimes they even reboot my phone.
Symptoms: With a SIM card, the phone will crash and reboot right after entering the PIN for the SIM card. Without a SIM card, I can get to the lock screen, enter my unlock gesture and then see many, many messages that Trebuchet has crashed. Leaving the phone turned on for a night will result in a working Trebuchet launcher from which I can run most apps, but accessing Settings > Apps, for example, will briefly show the Apps and then crash Settings. Titanium Backup will run for about a minute while "Building data freshness information..." and then crash TB, sometimes even reboot the phone. Dragging an app icon from the launcher onto "App Info" will briefly display the app info while computing disk space and then crash. So I cannot reset cache or app data on the phone itself (I can through adb, though).
What I tried so far: Installed three other launchers but they showed the same symptoms, one even directly rebooted the phone. I booted into recovery and reset the Dalvik cache and let CM rebuild the app details on restart with no apparent positive effect. I tried removing the SD card but did not see any positive effect either. Booting into Safe Mode did not help, I still see systemui and trebuchet crashing upon restart. Also clearing the app data for Trebuchet (through 'adb shell pm clear com.cyanogenmod.trebuchet') did not remove the crashes.
Some more details: I have about 300 apps installed. Internal storage has about 1GB free, the SD card has 400MB available. I can connect to the phone via adb, but 'adb backup' produces only an empty file. I can run Play Store, list my apps, install updates. This is a Samsung S4 GT-I9505 running Cyanogenmod 11.0 based on Android 4.4.4.
Any help would be much appreciated! Moving all my apps and their settings to a new phone or a new OS would be a very big effort which I very much would like to avoid.
Thank you very much in advance!
PS: What would be the best way to make a full backup of the phone before trying out a new ROM?
mb42 said:
Anyone? Still having severe issues...
----
Symptoms: With a SIM card, the phone will crash and reboot right after entering the PIN for the SIM card. Without a SIM card, I can get to the lock screen, enter my unlock gesture and then see many, many messages that Trebuchet has crashed. Lill briefly display the app info while computing disk space and then crash. So I cannot reset cache or app data on the phone itself (I can through adb, though)...
/QUOTE]
I guess problem might be with update package. As of best way of backup, I use titanium background and it's pretty good!
Everyone's requirements and usage is different so you might try something else as well.
Click to expand...
Click to collapse
Asder.mko said:
I guess problem might be with update package. As of best way of backup, I use titanium background and it's pretty good!
Click to expand...
Click to collapse
As mentioned, Titanium Backup is one of those apps that crashes.
Any other suggestions what I could do to get rid of those crashes?
Just in case someone else reads this - after a lot of trial and error, I was able to identify a single app (ISS Detector) as the culprit. Uninstalling the app removed all the crashes. Re-installing it would crash-boot the phone immediately after the install was complete!
I have NO IDEA why a normal app would be able to crash the entire OS but I am glad to be able to use my phone again.
mb42 said:
Just in case someone else reads this - after a lot of trial and error, I was able to identify a single app (ISS Detector) as the culprit. Uninstalling the app removed all the crashes. Re-installing it would crash-boot the phone immediately after the install was complete!
I have NO IDEA why a normal app would be able to crash the entire OS but I am glad to be able to use my phone again.
Click to expand...
Click to collapse
??

Downgrade system app

So, I stupidly tried to upgrade my oneplus contacts app from 3.4.2 to 4.0 (which I assume is for android 11) and now the app just force closes every time and is unuseable. I'm on android 10 10.5.12AA
On google I used to be able to uninstall updates but I don't see that with the oneplus system apps.
Any tips?
TIA
Nobody?
Still can't use oneplus contacts app. It just force closes every time.
Had to download google contacts, which is ok but I've been enjoying using more of the oneplus apps.
How did you update? Did you remove the system app and then installed the new version or just simply installed the new versionv without removing?
If latter, just disable the app, it'll tell you that all updates will be uninstalled and the app will be restored to factory version. Once done, just enable it again, and don't update.
it was the latter but updates don't uninstall when you disable the app.
That's the way it always worked on my google phones.
I just tried again and it just disables the app and nothing more.
Thanks for trying to help.
daviddosa said:
How did you update? Did you remove the system app and then installed the new version or just simply installed the new versionv without removing?
If latter, just disable the app, it'll tell you that all updates will be uninstalled and the app will be restored to factory version. Once done, just enable it again, and don't update.
Click to expand...
Click to collapse

Categories

Resources