Logcat show errors of uninstalled system applications - Sony Xperia X Compact Questions & Answers

Hello!
As title says. Can't figure it out.. My logcat is overwhelmed with these errors - ExecutionCriteria
For example:
Package unavailable for task: com.facebook.katana/com.facebook.api.feedcache.resync.NewsFeedCacheInvalidationGCMService{u=0 tag="NewsFeedCacheInvalidationGCMService" trigger=window{start=3600s,end=3630s,earliest=-6173407s,latest=-6173377s} requirements=[NET_CONNECTED] attributes=[PERSISTED] scheduled=-6177007s last_run=N/A jid=N/A status=PENDING retries=0 client_lib=MANCHEGO_GCM-0}
I uninstalled some useless (for me) system apk's months ago and yesterday I just checkin logcat and I can see that Google play or Google service (not sure but have same PID), throw these errors in my logcat for all uninstalled apk's that no longer exist in my phone.
I tried to delete cache of GP and GS also i wipe Dalvik cache etc. but with no luck.
Errors are always there... Very often and I guess that maybe in a small way, these frequent errors, can affect my battery. Also, it's dirty!
Any solution? How to make my android to forget about these apks?
Thanks in advance

Related

com.htc.bgp force close [(ACTUALLY) FIXED 04/29/2011]

EDIT: After studying some logs, and struggling with this issue for some time, I am happy to say I have finally figured out why this happens, and how to fix it.
The issue is with the calendar, which is why what is written below would work for a short time, before the problem would resurface. If you navigate into the calendar settings, you will see an option within Calendar View Settings to "Include Weather". What is happening, regardless of whether this is checked, is upon the gps turning on, and in set intervals afterward, the calendar tries to check the weather. When it does not find the proper apk, the com.htc.bgp message appears.
How To Fix
The files that need to be replaced are WeatherProvider.apk and WeatherProvider.odex (WeatherProvider.zip), which I have attached below for convenience. Simply replace these files using the method you prefer (adb, terminal, root file browser), remembering to remount /system as rw, then fix_permissions and reboot.
Alternatively, I made a flashable version (com.htc.bgp_fix_flashable-signed.zip), which you need only flash from recovery and reboot.
Click to expand...
Click to collapse
I recently started getting notices that com.htc.bgp stopped and needed a force close. Though it seemed not to affect anything, it was annoying.
It happens when one removes the sense apps (though I have not narrowed down exactly which ones).
To fix this, go to settings, applications, manage applications, then clear data in Calendar, Calander Provider, and Gmail.
Thank you! It was starting to really annoy me.
EDIT: It's back.
^ Shift Faced
Came back on me too. Cleared delvik as well. I may have to try and track down all the weather app crap I removed to stop it if no one can figure out a better way.
According to Elixer that process is started by ConnectToPCService. Hope that helps. I no longer get but I'm back to stock with all HTC junk intact, just Sprint crap removed.
^ Shift Faced
Code:
http://forum.xda-developers.com/showthread.php?t=659325
Check the OP for a real fix to this issue.
How do you "flash" from recovery & reboot
does this work on other htc phones?
i flashed this on a desire hd running leedroid 3.0.2 but i still get the FC
din clear data after flashing
note: i used a no sense script but left myhtc and htclocationservice intact
problem parsing package
i had downloaded the said files but when I tried to install the files,it says problem parsing the package..how to fix this?
thanks,
Jovirex

(ROM)Home Base 4.5.9.1 stock..9/10 (4.3Update (EXT4/LAGFIX)FASTEST ATRIX (DE)BLUR ROM

Hi, i'm having an issue with this rom.
I factory reseted and both caches wiped. then installed base and reboot to this firmware and then back to recovery, flash update.
The issue is after I restore my backup with titanium backup pro (free version).
I get everytime "the process com.android.phone stopped unexpectedly"
What can I do to solve this, the dialer application works, but I don't know what keeps causing this error.
Thanks in advance.
what are you restoring from titanium? apps? or everything
i've just restored apps and system config. I unchecked all system files.
I only restore apps with data if I knew I wasn't having issues. I'll typically install fresh from the market no data just to make sure nothing corrupts the ROM. Sounds like like you are restoring an app that requires something that was blurred out. Try mega 2.0 then 4.3 update.
i personally wouldn't restore sys config. only apps plus data
i had a similar issue a while ago where the com.android.phone process was crashing all the time, it was due to a library that was inadvertently removed when i was modding some system apk files. if you could post a logcat capture it should show why it's crashing.
easiest way i found to do this is to forward the adb logcat output to a text file, from a command line type: adb logcat > logfile.txt
once you get the phone process to crash, you can hit ctrl+c to kill the command from the dos window. if you open up the logfile you just created, you should be able to search for com.android.phone and find a stack trace showing why the process ended.
May wanna try posting in Q&A or if you haven't, add your problem to the Homebase thread in development. May help, good luck.
avoid this rom...thats my solution.

DRM Not Supported?

I'm getting this weird 492 error when I try to update Google Play Services and none of the usual fixes are working. This is the second ROM that this is doing this to. Logcat attached.
blackknightavalon said:
I'm getting this weird 492 error when I try to update Google Play Services and none of the usual fixes are working. This is the second ROM that this is doing this to. Logcat attached.
Click to expand...
Click to collapse
Need to go to developer options>running services find and stop play store and play services, then look at top show cached processes do same thing. then exit out go to apps in settings find both and force stop hit it multiple times until it actually greys out. then under storage in play store just clear data in play services clear cache and manage space clear all data. reboot and open store will have to accept the Blah Blah Blah again but update should work after that.
No dice. Still getting 492.
Okay, what I did was wipe System, Data, both caches, and Internal Storage, flash ZAD Mix, downloaded apps, restored some apps with Titanium, problem seems to have cleared up. Running a batch restore and seeing if only the usual errors I get with hanging restores that can be cleared up with downloading the same app from Play come up.
blackknightavalon said:
Okay, what I did was wipe System, Data, both caches, and Internal Storage, flash ZAD Mix, downloaded apps, restored some apps with Titanium, problem seems to have cleared up. Running a batch restore and seeing if only the usual errors I get with hanging restores that can be cleared up with downloading the same app from Play come up.
Click to expand...
Click to collapse
Sorry you had to go that route. Good Luck
nujackk said:
Sorry you had to go that route. Good Luck
Click to expand...
Click to collapse
That's why I back my stuff up at least once a day.

Please help, i installed the new calculator update and it disappeared from the phone

I installed the new google calculator app with dark theme yesterday and it was working fine until today where the app itself disappeared and i can't find it in settings or disabled apps, i tried to reinstall the apk but it shows this, i tried from the play store and it shows this, i tried to use a method i used before to bypass this kind of issues by slightly changing the package name in an apk editor app and it used to work, now it's just giving me "problem parsing the package"
please any help
Another user reported the app had occupied 1GB space on his phone, so the app seems buggy.
If you cannot clean the apps memory/cache in settings/apps anymore and uninstall then I would suggest you search for the com.google.android.calculator folder(s) on your phone and manually them. Then from TWRP also wipe dalvik cache and cache on next start and for the time being, until Google fixes it, use another calculator.
I am happy with https://play.google.com/store/apps/details?id=com.shaytasticsoftware.calctasticfree (only 2.9 MB and better reviews than Google).

[solved] Google Play Store uninstalled, now cannot get it back

tl;dr: I uninstalled com.android.vending via adb, now re-installing it from APK isn't bringing the icon, or the functionality, back.
So today I tried to use my phone as you do, and "Application Google Play Services has stopped" was popping constantly, stacking the messages one after another, making it hard to even browse through GUI. Restart or clearing app data and app caches didn't helped. So I connected it to PC, and did:
```
adb shell
su
pm disable com.google.android.gms
```
(note: I should've tried "safe mode". But I didn't, so I don't know if it would help.)
The service disable command stopped the errors, but nothing else worked - Google Maps, GMail, even contacts stopped showing - looks like they had no proper local copy (which is concerning as well, but not really the issue I'm trying to solve).
So keeping GMS disabled is not really an option. I tried installing version 21.something and 19.something via adb, these both were constantly crashing as well. I finally went down to `com.google.android.gms_18.7.19` and that one seem to be working. But before that, I started removing services which use GMS - as I assumed the crash is probably caused not by GMS just existing, but by being used incorrectly by other things. One of the removed ones was Play Store - I did:
```
adb shell pm uninstall --user 0 com.android.vending
```
Ok, so no play store. But no problem, it can be easily re-installed from apk, right? Well no. This is the issue.
I tried installing a lot of various versions, but the store just isn't popping in the menu, nor in the activities handlers:
```
# adb shell monkey -p com.android.vending 1
** No activities found to run, monkey aborted.
# adb shell am start -n com.android.vending/com.google.android.vending.activities.MainActivity
Starting: Intent { cmp=com.android.vending/com.google.android.vending.activities.MainActivity }
Error type 3
Error: Activity class {com.android.vending/com.google.android.vending.activities.MainActivity} does not exist.
```
In the "Settings" -> "Applications", the Play Store is on the list, but it is marked as "not installed". Trying to "DISABLE" it or "ENABLE" again does not do anything useful (it uninstalls the version I installed, but original is still missing).
So installing the store succeeds, it just doesn't seem to do anything. Example cmd I use for installation:
```
# adb install -r -d "com.android.vending_19.9.23-all_0_PR_309342545-81992300_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi).apk"
Performing Push Install
com.android.vending_19.9.23-all_0_PR_309342545-81992300_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi).apk: 1 file pushed, 0 skipped. 2.7 MB/s (21821561 bytes in 7.817s)
pkg: /data/local/tmp/com.android.vending_19.9.23-all_0_PR_309342545-81992300_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi).apk
Success
```
I tied extracting all the factory APKs from N910 stock images, but I can't easily figure out which APK stores the shop (yeah, I might try extracting them all, it's one line script after all).
Any idea what's going on, or what I should check?
Ooh..
```
adb install -r --user 0 "com.android.vending_19.9.23-all_0_PR_309342545-81992300_minAPI16(armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi).apk"
```
That worked. It took me far too long to figure out.
So I uninstalled the app from "--user 0" - so from system apps, but tried to re-install it for local user instead. Turns out the Play services won't work if installed this way.
Issue solved.
I started to have exactly the same f***ing issue yesterday! I have wiped all data tried reinstalling ROM and still same errror... Why did this happen?
Does your fix corrects it forever?
I will need to try your solution. Thinking of moving to another custom ROM from almost original one.
Sadly I am getting INSTALL_FAILED_VERSION_DOWNGRADE.
What ROM do you have? Does this work only with stock ROM?
Condensing the story down for people who just want to solve constant "Application Google Play Services has stopped":
If you have this error, try downloading and installing "com.google.android.gms" APK in version "18.7.19".
You don't need to uninstall anything, you can just replace the existing package with:
```
adb install -r -d --user 0 "com.google.android.gms_18.7.19_(040300-262610125)-18719015_minAPI23(armeabi-v7a)(nodpi).apk"
```
options:
* -r will allow re-installing the package on existing installation
* -d will allow to downgrade the package if current version is newer
* --user 0 will install the package as system package, as the original package is installed this way (on Note4 stock images)
You need to find and download the proper APK file first, ofc.
I also have this problem with Google Play services constantly crashing and making phone almost unusable.
I tried clearing app cache, safe mode. Did not help. Only uninstalling updates for Google Play Services stopped constant crashes, but left about half of my apps unusable state because they relay to recent version of GMS.
I will try manually install recent working google play services .apk and see if it helps.
But how to stop automatic update of Google Play Services to the crashing one again? Automatic updates disabled everywhere, including Auto Update Google apps.
dib3ns said:
I also have this problem with Google Play services constantly crashing and making phone almost unusable.
I tried clearing app cache, safe mode. Did not help. Only uninstalling updates for Google Play Services stopped constant crashes, but left about half of my apps unusable state because they relay to recent version of GMS.
I will try manually install recent working google play services .apk and see if it helps.
But how to stop automatic update of Google Play Services to the crashing one again? Automatic updates disabled everywhere, including Auto Update Google apps.
Click to expand...
Click to collapse
Seems that clearing internal storage helped, so I think update + someold settings/data files causes this issue.
Could You please specify? By clearing internal storage You mean wipe all data?
Because Nothing helps, uninstalling Play Services updates, clearing app cache and even clearing the data. Also I cannot manually install google pay services .apk file, after installing it gives me installation failed. Play store installs Play Services, but they start crashing right after that.
Galaxy Note4 910F with stock 6.0.1 Android and Magisk rooted.
The issue returned for me, and I was able to make it go away again by clearing cache & data only for few specific apps. Details here:
[Solved] Error: "Unfortunately, Google Play Services has stopped" On different Note 4 Variants!!
Getting an error on multiple Note 4 variants N910V running Modest Rom & N916K (converted to N910C) running eRobot all within the last couple of days "Unfortunately, Google Play Services has stopped" , seems like a global issue anyone knows why &...
forum.xda-developers.com
I then allowed Google Store to update everything, and the issue didn't come back. So looks like the solution from the above thread really fixed it.
Solved for me. I updated Google Play services from Play Store and appears that Google fixed the botched update by releasing new version. Hope they never botch it again and not trash my phone, but more permanent fix needed, like completely preventing unnecessary auto updates to critical Android parts.

Categories

Resources