[SOLVED] Trying to reinstall gmail, error 506 - G4 Q&A, Help & Troubleshooting

Hello, I have just bought a new G4, and rooted it perfectly, by flashing the rooted system with adb.
That same day, gmail starts to pop up errors and force close after restoring data from TB (my fault!) so I decide to uninstall the upgrades. Play store get frozen on "uninstalling..." untill I have no other option but rebooting the system. Now, gmail is completely gone. Uninstalled. But if I try to reinstall it via play store, TB, aptoide, even downloading the apk, I get the error message "insufficient space, try uninstalling the app before. Error -506"
I have cleared caches, system cleaner, I have deleted (moved to the SD) the dead gmail files at system/data... but the error persists! Now I have run out of ideas, please help.
Forgot to mention, I can install or uninstall the rest of apps. It is only gmail the one that causes problems.
SOLVED: Finally, SDMaid was able to delete a corpse I have missed, so I could reinstall it as a user app. The force close was still there, but after some reboots, TB was able to turn it into a system app. Now it works again.

Related

[Q] Apps showing up in Market as installing even though they aren't

When I look in the the "Downloads" section of the Market app, it shows 3 apps constantly installing even though they aren't and they are not on the top of the list. They are Titanium Backup, AutoKiller, and XDA Developers. I can use these apps without issue. When I try long pressing any of these items, only an the option "Details" pop up and going to the page is also useless. I tried uninstalling Titanium Backup to see if it would get rid of it but it doesn't and now I cannot reinstall Titanium Backup since I cannot cancel the false installation! Shutting off the phone and reflashing my Rom does not help. If I need to wipe may I have the Titanium apk so I can adb install it to my phone?
Edit: Never mind I fixed it.

[Q] Incredible: Sync error and Google Services framework force close with CM7

All of a sudden a couple days ago, Gmail on my rooted Incredible (running CM 7.1 and incredikernel) began acting sluggish, syncing poorly, and force closing. Soon thereafter I got a message reading Google Services Framework was not responding, followed by FCs of pretty much every app I tried to open: maps, market, voice, etc.
It happened once before due to an issue with Google Music sync. Turning that off, waiting a day or two, and resuming sync did the trick. This time I'm seeing sync errors with Gmail (on each of the 2 accounts I have set up), Contacts, and Music. All at different times. And nothing seems to solve the problem
I've tried seemingly everything to no avail.
Thus far I've: wiped Dalvik cache, wiped cache, rolled back to an old Nandroid backup, reinstalled CM 7.1, reinstalled GApps, reinstalled GMail app from the market, wiped all data and cache from Gmail/Google Services/Contacts/Contacts Storage/Calendar/Calendar Storage, and ultimately did a full factory reset through Recovery.
After reinstalling CM 7.1 + GApps last night, things seemed to be OK, but I'm back to everything FC'ing today. If I have sync turned off, I can use the phone. But even then, my wifi/radio icons in the status bar are permanently white.
Any ideas? I don't seem to have any corrupt contacts. And setting up a one-time sync of each Gmail account (including contacts and calendar) didn't seem to be any harm. Only thing I can think is if my Titanium back up had something corrupt in it. I did restore that (apps only, no system data) after factory reset.
Thanks in advance for any help
Are other apps syncing correctly? I'd try a fresh start WITHOUT restoring anything through titanium.
Thank you.
Is it possible to determine which files backed up through Titanium might be causing the issue (or otherwise try to prevent against this down the road)? Alternately, after a full wipe/restore through Nandroid, is it possible to restore individual apps from a batch Titanium back up?
I know it seems to be specific to Incredibles that the typical wipe of calendar/contacts/gmail doesn't get rid of Google Services Framework FCs... so hoping to be sure all bases are covered.
Thanks again!
Yes, you "can" restore apps in titanium but have to be careful. It seems like most people don't have problems restoring just apps. Some are even OK with app+app data. Its NOT recommended to restore system data, especially if you're going from sense to AOSP or vice versa. Personally, I redownload my apps fresh from the market, using the automated Google restore or the web market, which you can download apps straight to your phone from. I've never run into any problems doing it this way.
Sounds like my GFs problem too, except the FC'ing happens once and a while and I have to format the whole phone to fix it.
My Incredible with CM7 is having the same problems
I was using an older CM7 nightly which had been stable for several months.
Out of the blue, all my google apps start crashing, as well as the framework.
Force closes EVERYWHERE.
I loaded the latest nightly, and rebooted. Same problem.
Had some trouble with Titanium Backup destroying the functionality of my home button along the way... so I started from scratch (as much as possible):
Wiped the Delvik Cache, Formatted the Cache, Wiped the Data.
Installed newest CM7 and gapps from cyanogenmod.
Ran "Fix Permissions".
Reverted back to the included ADW.Launcher instead of the paid version I previously had.
Manually installed a skeleton set of apps, and used titanium backup only to restore data on a handful of apps that really needed it.
It was stable for a day, then the same force close issues with all my google apps and the google framework.
Rebooting the phone seems to help temporarily, but I hate having to reboot my phone twice a day.
I've been updating to new nightlies every day now, hoping that one of them will finally fix this problem.
Do I need to flash a new radio, perhaps?
What could I be missing?
When you do a fresh install, wipe system and boot as well data/factory reset. Also, try downloading and installing apps from market, not titanium (restore nothing from titanium). Your radio should be a 2.15 series, but also shouldn't cause this.
Found this thread looking for my answer and found a solution somewhere else, just as an FYI here:
The strange thing is, I'm NOT out of space. My SD card and internal memory have plenty of room. Then I remembered: The Incredible only has about 300 MB of application storage partitioned. Cyanogen seems to work around this problem, EXCEPT for apps from the Marketplace. They will still say there is not enough space. Other install sources (raw apk, amazon, etc), work just fine.
I remembered that I installed Peggle from Amazon yesterday, which was an 80 MB download. I also remembered I couldn't re-install Angry Birds that day because the Market said I was out of space.
So! I uninstalled Peggle and a couple more large apps I don't need, turned all my syncing back on, no DB I/O errors in LogCat, no force closes, no nothing!
So here's my diagnosis:
-HTC Incredible only partitions ~300 MB for applications+data
-Cyanogen lets users install MORE than 300 MB of applications+data
-Android services (such as market and sync) don't understand Cyanogen is doing
-Android services fail gracefully (like market), or not so gracefully (like Sync) when you are out of 'storage'.
-Making sure you have some "free" space in your /data/data/ folder (I have about 30 MB) causes these force closes to stop.
Click to expand...
Click to collapse
http://forum.cyanogenmod.com/topic/24484-lots-of-google-framework-failuresrebooting-needed

[Q] Android Market force closing

I have an problem with the android market app, whenever I open it, it force closes coming up with 'application Market (process com.android.vending) has stopped unexpectedly.' I don't know if this is related, but I was clearing out junk apps to the SD card and I thought it might be the DownloadProvider.apk which I moved but after restoring it, it still crashes. I have also downloaded the .apk file and tried to reinstall it, but it still closes. Any thoughts?
adsada arc said:
I have an problem with the android market app, whenever I open it, it force closes coming up with 'application Market (process com.android.vending) has stopped unexpectedly.' I don't know if this is related, but I was clearing out junk apps to the SD card and I thought it might be the DownloadProvider.apk which I moved but after restoring it, it still crashes. I have also downloaded the .apk file and tried to reinstall it, but it still closes. Any thoughts?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=862425
I have the same, but only when I tap install on an app. And when I want to update apps. Now reflashing the phone.
I was getting the same thing, with the market repeatedly FCing with a 'vending' error. Was also unable to apply my MIUI OTA ROM update.
Clearing the market and download manager's cache and data wasn't enough for me. I fixed this by going in to recovery and wiping the cache (and nothing else). Worked fine after that. Seemed to be a problem with corrupted cache or download list I think.
sypl said:
I was getting the same thing, with the market repeatedly FCing with a 'vending' error. Was also unable to apply my MIUI OTA ROM update.
Clearing the market and download manager's cache and data wasn't enough for me. I fixed this by going in to recovery and wiping the cache (and nothing else). Worked fine after that. Seemed to be a problem with corrupted cache or download list I think.
Click to expand...
Click to collapse
I've the same problem. I have a rooted Arc S and everything ran smooth. This morning I got into Market and tried to download the wetter.com application (weather widget). Suddenly the market closed and every time I try to open it, got the com.android.venting message and it closes. I've tried crearing the market, uninstall market update, nothing worked. How can I go into recovery mode and wipe cache, as you mentioned? Maybe it solves my problem too.

[Q] Insufficient storage error

I have looked at all the other related threads but they are not helping me.
Situation;
I installed a custom rom...had issues so i used Rom Manger and used recovery. Used Titanium backup to reinstall aps.
After a while (day later)Rom Manger became unresponsive so I uninstalled it. When I went to re-install the error came up of insufficient storage.
Phone was back to a happy rooted state so I figured I would also uninstall Titanium Backup. Same error when I tried to install it.
However after that I tried other apps and all other apps from the market will install including Rom Toolbox.
I have rebooted. Removed all trace's(so I think) of Rom Manager and Titanium Backup, rebooted and tried again but same error.
Ive deleted market apps and reinstalled them with no issues.
Im sure Ive missing somthing simple but im weary to start messing to much without some advice.
Hope you guys can point me in a good direction.
Can you screen shot the error?
I would recommend the following:
1) go into settings, apps, and clear market data/cache
reboot and try again. If that doesn't work
2) Fix permissions and try again.
Solution found
Found the solution and all is installed and working.
1. Manual find and clear dalvik-cache
2. Find and delete .odex file of the app you are trying to re-install. Only seemed to be an issue with [root]apps.

[Q] "Google play store has stopped working"

Hello!
I recently get this error probably after I rooted my device, whenever I try to download something from play store. When I click install or click accept (after clicking install) I get this error (10/10 cases). Then I keep getting it on a random basis. I deleted the data and cache (even rebooted between each one), then went to play store. It shows the apps and works for a long period of time (but eventually shows the error). But when I try to download something, I happens again. I checked the Download Manager and it is enabled.
I had backed up the play store using Titanium backup, then wiped its data and then uninstalled it from the system. Don't ask why lol.
But when I tried to restore it, Titanium backup was stuck at its progress. Then I had to place the APK of the backed up play store (the updated version of the play store (5.0.31) not the factory version.) in the /system/apps/ and set the rx- r-- r-- permissions. I checked the Titanium backup backup file and apparently it had some data for the data/data path. So I manually put it there and set the permissions like any other folder that is there. Keep in mind that I tried to reboot in between each attempt.
I used OpenVPN to access it but no luck.
Tried to delete dalvick-cache folder, but that didn't fix it neither.
Booted into safe mode, cause I thought maybe some of the applications are causing this like Xposed, Greenify and SetCPU (which I uninstalled just in case). This again didn't do it.
I rooted the device with Kingo root using a pc.
Android is 4.4.4.
My only guess left is that I should find the factory version of the Google Play that was installed?
As you can see I'm kind of running out of options here.
Could somebody offer an advice besides factory reset and being careful next time??

Categories

Resources