Issue with Google Play Services after fresh install of ROM, normal fixes don't work - ONE Q&A, Help & Troubleshooting

I was getting sporadic crashes of various apps on my old custom ROM, so I decided I would update to the latest Sultan's ROM since everyone seems keen on it. I followed the instructions exactly, including installing the CM snapshot linked in that thread. Upon booting for the first time I get the message "Android System There's an internal problem with your device, and it may be unstable until you factory data reset." (I've reset the device in this fashion from within TWRP, and then reinstalled everything, to no avail.) And then I get constant "Unfortunately, Google Play services has stopped." messages. Installing just the Sultan ROM without Open GApps does not produce these errors. I tried the latest Cyanogen OS release for my One and it produces the same errors. Thinking there might be some configuration file or something that is leftover from a previous install, I deleted almost all of the files associated with older apps from the "data" folder on my Internal Storage partition and tried reinstalling again, still with the same result.
In the past, I had to perform a number of tweaks to get the phone to work correctly with the previous ROMs I had installed. For example, the proximity sensor was broken for a long time until I incorporated a fix. Is it possible that I tweaked something that has not been reset by the usual wiping process? I find it curious that it is some aspect of the Google apps that causes the phone to have these issues-- maybe the wrong version of Google Play Services is being installed? Is there some really deep wipe / reinstall process that can ensure that any such tweaks are deleted?
Incidentally, I have ADB working fine and have created a TWRP backup of a usable install of Sultan's ROM (without gapps). This gives me basic functionality, but without Google services I don't have access to (for example) my contacts, which is no fun at all.
Edit: I just tried again with the open gapps "pico" package and still get the error. Is there some subset of "aroma" that I can install that is even smaller? Trying to figure out exactly where the failure occurs.

Justin_R said:
I was getting sporadic crashes of various apps on my old custom ROM, so I decided I would update to the latest Sultan's ROM since everyone seems keen on it. I followed the instructions exactly, including installing the CM snapshot linked in that thread. Upon booting for the first time I get the message "Android System There's an internal problem with your device, and it may be unstable until you factory data reset." (I've reset the device in this fashion from within TWRP, and then reinstalled everything, to no avail.) And then I get constant "Unfortunately, Google Play services has stopped." messages. Installing just the Sultan ROM without Open GApps does not produce these errors. I tried the latest Cyanogen OS release for my One and it produces the same errors. Thinking there might be some configuration file or something that is leftover from a previous install, I deleted almost all of the files associated with older apps from the "data" folder on my Internal Storage partition and tried reinstalling again, still with the same result.
In the past, I had to perform a number of tweaks to get the phone to work correctly with the previous ROMs I had installed. For example, the proximity sensor was broken for a long time until I incorporated a fix. Is it possible that I tweaked something that has not been reset by the usual wiping process? I find it curious that it is some aspect of the Google apps that causes the phone to have these issues-- maybe the wrong version of Google Play Services is being installed? Is there some really deep wipe / reinstall process that can ensure that any such tweaks are deleted?
Incidentally, I have ADB working fine and have created a TWRP backup of a usable install of Sultan's ROM (without gapps). This gives me basic functionality, but without Google services I don't have access to (for example) my contacts, which is no fun at all.
Edit: I just tried again with the open gapps "pico" package and still get the error. Is there some subset of "aroma" that I can install that is even smaller? Trying to figure out exactly where the failure occurs.
Click to expand...
Click to collapse
See if google play services permissions are checked. Go to settings/apps/google play services/permissions and turn them on.

Related

Some things I learned from personal experience

I received my G Tab yesterday and within 4-5 hours last night I had installed 4 different ROMs, installed multiple kernels, and tested a ton of apps on each. I even got in to a boot loop, couldn't get the standard market fix to work, when installing at one point it FCd and then said it couldn't install more, etc, but I worked them all out. A few things that I learned that may help people (All instructions are with TNT 4.4 but work with other ROMs in different directories)
Market fix:
The standard market fix that is floating around is not always sufficient. To be sure that it will work, you need Titanium Backup installed.
Steps
1. Settings->Applications->System applications->Market then Clear Cache (if any) then Force Stop
2. Go back one and then Google Services Framework then clear data then Force Stop
3. Go to home and open Titanium Backup
4. Select Backup/Restore tab
5. Select Google Services Framework
6. Select Wipe Data
7. Go to home and open market (it will error and close)
8. Reboot your tablet
9. Open Market and you will have full market (I can't find anything I don't have)
----------------------------
For me, my boot loop came after installing 4 ROMS and on TNT 4.4 it crashed while using an app and went in to a loop. I had cleared everything in between all the installs but something must have been left over. I needed to repartition my sd card in CW. It worked great, but remember, select 2048, and for the second option select 0 or it won't work http://forum.xda-developers.com/showthread.php?t=865245
Also, remember to back up the titanium backup folder and anything else to your computer before doing this. It will wipe everything.
-----------------------------
The last issue was when I was installing a few apps the market FCd and then when I went back in it wouldn't let me install the apps that were going to install. I tried all the regular things like wiping data and cache but it didn't work. What worked was removing the corresponding asec files within the .android_secure folder at root.
-----------------------------
Almost every single app I have installed works great. The only major problem so far? The Grooveshark app. TinyShark works though.
I just got my Gtab too. I installed VEGAn and the kernel to go with it with the latest ClockWorkMod. When I installed Titanium I got an error saying 'ROM is not rooted' or something similar to this.

Multiple problems updating CM10.1.1

Hello, I am new to the forum when it comes to posting but I have done lots of research and can not figure out the solution to my problems. A little about my device: VZW sgs3 SCH-i535, currently on version 4.2.2 running CM version 10.1.2-d2vzw.
I originally ran 10.1.1 and worked fine (except I had no notification sound) and have been having multiple problems ever since I tried updating to different versions. here they are:
1. after update I no longer am able to connect to google play store.
2. Unable to open and view messages and rom manager due to immediate force close.
3. I no longer have superuser app on phone but some apps (like titanium backup, LMT, EZ-Unlock, and AdAway) still request superuser access when phone reboots.
4. Lock-screen displays "no data ? tap to refresh".
I have tried multiple things to try and fix like, clearing cache and dalvik cache, restoring system from a previous backup, restored apps and system data. I was unable to find this problem anywhere else on this forum so I decided start a thread. My next step is to wipe my phone and start over unless I can get some help from you guys/gals. Any help is appreciated.
forgot to mention, when I updated the last time to the 7-24 build my phone got stuck in a bootloop which is why I ended up restoring the phone from a previous backup.
Thanks

[Q] [HELP] Android System UIDS inconsistent, cannot run Google Apps or backup files

I'm in a really tight spot here, and I really need someone's help.
My phone has multiple users on it and Titanium Backup only works for the main account.
However, when I updated my phone to the latest nightly the Play Store disappeared, and if I try flashing it again it doesn't work because of inconsistent UIDs.
Since installing a new rom would end up wiping all the data of the other user, and since they can't back up their apps because Google Services aren't working, I can't wipe and restore.
So either I need to get Google Services working so the second user can backup their app data, or I need to figure out how I can back up the second user's data and then restore when I install a new rom.
Probably the cleanest solution HERE

[Q] [i9500, miui7 gtbluesky] Google location not providing NetworkLocation provider

Hi,
Short background:
Couple months ago i had such issue, that apps on my phone (including google ones) simply lost NetworkLocation provider, AFTER upgrading from one MIUI version to newer one.
At that time it was fixed by reflashing full rom package, without wiping /data, and then allowing it to boot, after that rebooting again to recovery to install Gapps (which effectively wiped gapps data in previous step), and viola - google maps and others can see my rough location when i am inside buildings.
4 week ago, i have upgraded again.
This time reflashing ROM without gapps (e.g wiping gapps data, by allowing android to clean "deleted" package) and flashing them afterward didn't helped.
I have effectively remediated this issue with UnifiedNlp, but it's glitchy as hell.
Yesterday i tried changing values in framework-res.apk/res/values/strings.xml like config_networkLocationProviderPackageName etc, in pursuit to find fix, but no luck.
If i disable unifiednlp then apps complain that there is no NetworkLocation provider, which is weird.
==================
What else can i do in regarding this matter, except complete wipe of course
P.S: Please, no stupid advices like "clear dalvik"/"clear cache" etc here. You think i haven't tried/did that (during rom reflashes/manually)?
I've spent hours analyzing logcat traces :/ Nothing specific about why the hell GMS not providing location services.
Thanks

Play Services force-closing - fix?

Yes, this is a straight-forward fail - I am running a CM13-based ROM and flashed a nightly build (has been redrawn meanwhile) onto my N5 without backing up first. Right after the first reboot, I received a "Play Services has stopped working" error message and this keeps appearing all the time. Additionally, the Google Now Launcher has disappeared from my launcher list - and of course, all the Play Services-dependent features don't work, i.e. Chrome, Contacts sync, Play Store and so on. So, my phone basically is useless.
I suspect all the problems arise from the non-working Play Services. I managed to uninstall them after deactivating the Android Device Manager and re-installed the latest version, but this didn't fix the problem. Is there anything else I can try? Or is there no way around a complete wipe?
have u flashed Gapps?
Tried it, but didn't help either. I'll just go for a full wipe now. But thank you for answering!
YassinTP said:
Tried it, but didn't help either. I'll just go for a full wipe now. But thank you for answering!
Click to expand...
Click to collapse
try clearing Cache and dalvik cache and then delete the host file from "etc" folder!
I should've tried deleting the host file. Wiping Dalvik and Cache didn't work before...
Anyway, I took the opportunity, put my 32GB mainboard in and set up everything from scratch.
Are you using amplify?
No, I didn't use that.

Categories

Resources