Can't login to google (probabily a hosts file problem) - Moto G 2015 Q&A, Help & Troubleshooting

Hi,
I have a Xt1541 Moto g3. I used the cm13 rom (one of the version of february) and had no problem. Then, the tragedy: a friend of mine wanted to have free credits in some game and installed the app Liberty, that can hack some inapp payments. I knew this app and i knew it could corrupt the hosts file. So when i found tha playstore not working (no connectio-retry) i wasn't surprised. i deleted the hosts file and rebooted. nothing changed. Then, because a new version of the Rom was online, i flashed the newer version, and now, in the setup wizard, it won't let me access google (it says something like "login failed, could not connect to google servers, try later). I've tried re-flashing deleting cache, re flashing the older versione of cm13, deleting everything after the IP address and "local host" in the hosts file. It always can't access google, same error. I disabled double authentication, removed my device from the devices connected to my google account. i can access my google account just fine from the PC.
Please, help!
Thanks in advance!

Related

Need help with ICS...play/market won't open

I can't get the play/market to load or open. Additionally if I access via the web and try to download rom manager etc it says it's already on my device.....which I can't find. How can I get the play/market to load and open? I've tried multiple older version. Here are my specifics:
Xoom wifi only (US)
Android Version 4.0.3
Kernel Version 2.6.39.4 Tiamat
Mod Version 1.4.0-XOOM (WiFi)
Build Number IML 77
Please help....my tablet is pretty much only an internet browser at the moment.
another way around your problem
as far as play from google since you have browser you can go directly to market and try reinstalling if from your browser on your tablet. try loading from your browser and if that don't work there are other methods if you search through xda you can find google apps folder and load them on to your sd card and load from there I have learned that it is near imposible to ruin these tablets. hope this helps
Delete the cache of market/play and Google framework services.
Still won't work
TheStickMan said:
Delete the cache of market/play and Google framework services.
Click to expand...
Click to collapse
I tried this, I still can't load Google play. Ever since acknowledging the change from Google market to play, I've not been able to load my apps page. funny thing is, it will update my apps, though page/app will not load. When I try to access it via the web, it won't load my apps page. Even though I'm logged in, it asks me to log in again, but won't allow me to log in..a script comes up to "touch/click" login, and it does nothing..using dolphin browser HD, I'll try another browser, but think it will get same results. Anyway, I've got a rooted 4.0.4 ICS Xoom.
copterguy said:
I tried this, I still can't load Google play. Ever since acknowledging the change from Google market to play, I've not been able to load my apps page. funny thing is, it will update my apps, though page/app will not load. When I try to access it via the web, it won't load my apps page. Even though I'm logged in, it asks me to log in again, but won't allow me to log in..a script comes up to "touch/click" login, and it does nothing..using dolphin browser HD, I'll try another browser, but think it will get same results. Anyway, I've got a rooted 4.0.4 ICS Xoom.
Click to expand...
Click to collapse
This has happened to me last week. Basically you get your apps updated because you have enabled market apps auto update. Your issue is with market unable to load or open and sometimes with connection error. Right? Try first rebooting your router and your device.
If so, you have 2 options here only.
First, is your device rooted?
Option 1: create another gmail account and then try to add another google account on your device with the newly created one from settings / accounts and sync. If successful, before going to google play, open youtube app and login with your new account. If ok. Login with old account. Then reboot. Then go to market and open your new account. If ok, login to market using old account. And check. If ok, done. If not, option 2 is the only solution.
Option2: backup your stuff. And fully wipe factory reset your device.
Sent from my MZ601 using Tapatalk 2
wesamothman said:
This has happened to me last week. Basically you get your apps updated because you have enabled market apps auto update. Your issue is with market unable to load or open and sometimes with connection error. Right? Try first rebooting your router and your device.
If so, you have 2 options here only.
First, is your device rooted?
Option 1: create another gmail account and then try to add another google account on your device with the newly created one from settings / accounts and sync. If successful, before going to google play, open youtube app and login with your new account. If ok. Login with old account. Then reboot. Then go to market and open your new account. If ok, login to market using old account. And check. If ok, done. If not, option 2 is the only solution.
Option2: backup your stuff. And fully wipe factory reset your device.
Sent from my MZ601 using Tapatalk 2
Click to expand...
Click to collapse
You can also just delete your current Google acct and then re-add it. This works with some of the Google apps errors.
not working
well..I tried option 1. and also to remove my Google accounts then re add them. still doesn't work. I just re flashed 4.04 over 4.03, so I don't want to do a data wipe again, since it was happening before I flashed it last time as well. It seems I can get to Google play from a browser, but when I try to get to my apps from there, it will also not connect. I'm about to just put a mod on like tiamat...dunno yet
now did the wipe, still no work, then loaded EOS ROM, still not working. I can only guess I need to use another gmail account all together
I have the same problem on time with google applications.
Due to differents flash of differents ROM and Google applications
Flash the tablette with the GAPP signe:
http://goo.im/gapps
reboot and no problems
This is getting annoying...
I have done every suggestion here. wiping data, even trying EOS builds and cyanogen mod, clear cache, wipe cache, use another Google account ( I have 2). Google play app will not open. When I go there from my PC, it says app will be installed, whatever the app may be, it is not getting installed to the Xoom, even though I'm logged in. AT first, Google Play would not open, but apps would install on the Xoom when I had auto update enabled..still Google play will not play nice.
I had same issue like you. Unfortunately, the only solution to me was to factory reset my xoom. Flash rom and gapps again.
Be4 that, try rebooting your router...
Sent from my MZ601 using Tapatalk 2

[Q] Hangouts = Google Play Service not supported on this device ?

My g/f phone is on the last version of Saba Prime v16. We did a force update to get Hangouts today and it worked fine..... until we rebooted it. Now Hangouts reports "Google Play Service,which some of your applications rely on,is not supprted by your device.Please contact the manufacturer".
Google Play Services and Hangouts were uninstalled, phone rebooted, then from play store they were installed again but the message persists.
I have a Desire S with Fallout rom, the same version of both apps and works fine even after multiple reboots....
Any ideas ?
I'm getting the same issue on a VZW Nexus. The weird thing is I have 2 Nexus LTE, one mine, one is my wife's. Both are running the exact same ROM/gapps/kernel/radio.... On one device the update to hangouts was flawless, on the other I get "device not compatible". Then a "play services" won't update error....
I've wiped the ROM clean install and tried to update before restoring other apps and still have issues.
Anybody have ideas to correct?
First idea is it sounds like it might be due to different versions of gapps before installing hangouts; I know that the gapps I flashed onto my phone got updated at some point afterwards, and now looks different to the package I downloaded and flashed originally.
Second idea, do your phones have the same CID? (i.e. same carrier, same sim-unlock state).
paulie-uk said:
First idea is it sounds like it might be due to different versions of gapps before installing hangouts; I know that the gapps I flashed onto my phone got updated at some point afterwards, and now looks different to the package I downloaded and flashed originally.
Second idea, do your phones have the same CID? (i.e. same carrier, same sim-unlock state).
Click to expand...
Click to collapse
Okay I fixed on my end...
It seems as though it was on Google's server end, if that's possible.
The short answer for me was, wipe data > install ROM > install hangouts via apk (previously downloaded)> reboot > flash gapps > update Google now> update Google play services.... Viola. Seems like there should have been an easier fix.
Long Answer
I tried wiping data reinstalling ROM and gapps and that DID NOT work. I was getting the same error for Hangouts, Google Now, and Play Services and then some.... "Device not compatible"
I tried the exact same thing but logged into my Google account rather than my wife's and it worked just fine. No errors... Retried wiping ROM and flashing gapps, used her account, device not compatible again. That's why I'm guessing it was server side if that's possible. Even the web version of Play Store was saying device not compatible. CIDs were restored in each case and running same AOKP version and same Gapps.
That lead me to trying the install without Gapps... You only get so far before you must login to Google for obvious reasons, but for what ever reason, having the app installed on my phone before signing into gapps allowed for updating all of the other Play Services without issue.
It doesn't make sense to me but I'm up and running now...
My Solution
I'm a little late to the party, but this is the easiest post to find on Google for this problem. Mine worked after fresh ROM install, but it would start giving the error after a reboot. After much searching the thing that ultimately worked for me was to uninstall updates for the Play Store. I haven't uninstalled Play Services and after the Store auto updated, I could use Hangouts once again. I am using a HTC Desire with Cool Droid v3 GSM ROM.
I can confirm that steps suggested by MikeAce00 worked flawlessly.
This is what I did with a rom with gapps installed already
1. wipe & install rom -- do not input google credentials
2. install hangouts (google+ not necessary!) apk manually
3. input google credentials
4. update google play services (Hangouts even requested this...happened automatically after inputting the google credentials)
5. restart
6. done! -- hangouts should work
For me it did not seem to make any difference if you restart directly after installing hangouts apk or after inputting the google credentials
--
salski
salski said:
I can confirm that steps suggested by MikeAce00 worked flawlessly.
This is what I did with a rom with gapps installed already
1. wipe & install rom -- do not input google credentials
2. install hangouts (google+ not necessary!) apk manually
3. input google credentials
4. update google play services (Hangouts even requested this...happened automatically after inputting the google credentials)
5. restart
6. done! -- hangouts should work
For me it did not seem to make any difference if you restart directly after installing hangouts apk or after inputting the google credentials
i
Click to expand...
Click to collapse
I've tried the methods proposed here, but no luck. At poinjt 4 I don't get a request for update, just the same old message about google play services not being supported.
I'm currently going through older versions of gapps and see if I get to a point where Google Play updates the right files in the right order.
(On Xperia Go, 4.1.2 Power JB by @prototypell, phantom kernel 1.13)

Cant connect to google servers.

New issue.....
Rooted my.phone and updated some apps in google store
Then google store wouldnt connect
So did all usual steps of removing google account. Deleting cache etc
Rerooted
Tried reintalling google play services (although i couldnt work out which download was the correct one)
Any help appreciated.
If relevant (which it might be?) i downloaded hide my root and subsequently deleted it
Thanks in advance
Update..
Tried to change the hosts file as per online instruction
Another thread said delete the hosts file. Which i did.
Im now getting the "google services has stopped" constantly.
Please help!

Soyes 7S+ no Play Store access, There was a problem communicating with Google servers

Hi Everyone,
I bought Soyes 7S+ from Gearbest, Android 6.0, impossible to add google account, when trying to access Play Store I get ""There was a problem communicating with Google servers".
Troubleshooting done so far, based on multiple web-based articles:
1. 2-step verification confirmed to be OFF
2. Cache cleared for all Google-related apps, same error after reboot
3. Google Play Services 8.7.03 reinstalled with 9.4.52, installed (multiple other versions were giving error "issues with parsing the package)", now gets popup error "Google Play services won't run unless you update Google Play services", still "There was a problem communicating with Google servers".
4. Rooted the device with Kingroot 5.3.7, which - surprisingly - says my system is Android 5.1. Tried changing values in host file, default was 127.0.0.1 localhost, tried other with "127.0.0.1 localhost, in secod line #127.83.240.239 android.clients.google.com mtalk.google.com" - still no luck. Tried removing the host file completely and rebooting - still no luck
5. Tried connecting via different networks - still nothing
6.Tried installing PrebuiltGMSCore.apk, nothing.
7.Wiped to factory settings - nothing
Installation from unknown sources is ON
USB debugging is ON
OEM unlocking is ON
Since this was one was likely shipped from China to Poland, I am suspecting some locally modded, not allowing Google Play Store access android to be installed; thought about installing some international version of android but sadly I have no skill or knowledge on how to get it done right without bricking the device.
Maybe someone managed to get it fixed? Any suggestions will be highly appreciated.

Pixel 3 (Blueline) + Lineage 17.1 + OpenGapps Nano + Magisk + AdGuard + Google Family Link

I have two Pixel 3 devices that I am trying to set up with minimal Google presence for the kids. Pretty much the only Google service I want is the Play Store so I can use my existing library. The kids' accounts are already set up on Family Link, so in order to use the Play Store I have to use Family Link. That is my problem. Configuring Family Link fails in a loop on the last step while activating device administrator. Tried everything I can think of and looking for any advice from here.
I'm unlocked and have Lineage 17.1 and OpenGapps 10.0 ARM64 (I've tried Nano/Pico/Mini/Full but I want to use either Pico or Nano) and rooted
Spoiler
yeah, it took a while to find the LineageOS thread for Blueline under Crosshatch... that is the only place that it bothers to mention to use the lineage-17.1-XXXXXXX-recovery-blueline.img file as the root.img to patch with Magisk and flash. I took the long route installing Python and extratching from the payload.bin out of the Lineage zip before finding that. /facepalm
Using AdGuard https filtering requires installing a certificate, which you cannot do once FamilyLink is set up. That means the first time boot has to skip adding a Google account. Install Adguard APK and install certificate. That works fine, just adds time to each test set up.
After installing certificate, I've tried both adding the child account directly into the Play Store and sideloading the Family Link apk and signing in through it (because I dont have access to the Play Store yet to download). Either way, it goes through the log in for child's account, then logging into the adult account, then adding a device name for the child's device, selecting approved apps, and then tries to activate device manager. From there it hits the same issue others have described since 2018 with it just looping. Activating the device manager manually doesn't help.
As I understand it, there are 3 different Family Link APKs. 1) Parents 2) Kids 3) Manager. That Manager app I believe is preinstalled on most devices as a system app, but since I'm using a small package of Open Gapps it isn't there. The only freestanding APK i've found is from APKPure of version 1.0.0.257492102 dating back to 2019. And since it has to be installed as a system app to be a device manager, I have to have root to install it. Still doesn't work.
Any other ideas I could try?
LineageOS Official
LineageOS XDA
OpenGapps
Magisk
Misc Family Link posts from XDA & Google Forums 1, 2, 3, 4
maghig said:
I have two Pixel 3 devices that I am trying to set up with minimal Google presence for the kids. Pretty much the only Google service I want is the Play Store so I can use my existing library. The kids' accounts are already set up on Family Link, so in order to use the Play Store I have to use Family Link. That is my problem. Configuring Family Link fails in a loop on the last step while activating device administrator. Tried everything I can think of and looking for any advice from here.
I'm unlocked and have Lineage 17.1 and OpenGapps 10.0 ARM64 (I've tried Nano/Pico/Mini/Full but I want to use either Pico or Nano) and rooted
Spoiler
yeah, it took a while to find the LineageOS thread for Blueline under Crosshatch... that is the only place that it bothers to mention to use the lineage-17.1-XXXXXXX-recovery-blueline.img file as the root.img to patch with Magisk and flash. I took the long route installing Python and extratching from the payload.bin out of the Lineage zip before finding that. /facepalm
Using AdGuard https filtering requires installing a certificate, which you cannot do once FamilyLink is set up. That means the first time boot has to skip adding a Google account. Install Adguard APK and install certificate. That works fine, just adds time to each test set up.
After installing certificate, I've tried both adding the child account directly into the Play Store and sideloading the Family Link apk and signing in through it (because I dont have access to the Play Store yet to download). Either way, it goes through the log in for child's account, then logging into the adult account, then adding a device name for the child's device, selecting approved apps, and then tries to activate device manager. From there it hits the same issue others have described since 2018 with it just looping. Activating the device manager manually doesn't help.
As I understand it, there are 3 different Family Link APKs. 1) Parents 2) Kids 3) Manager. That Manager app I believe is preinstalled on most devices as a system app, but since I'm using a small package of Open Gapps it isn't there. The only freestanding APK i've found is from APKPure of version 1.0.0.257492102 dating back to 2019. And since it has to be installed as a system app to be a device manager, I have to have root to install it. Still doesn't work.
Any other ideas I could try?
LineageOS Official
LineageOS XDA
OpenGapps
Magisk
Misc Family Link posts from XDA & Google Forums 1, 2, 3, 4
Click to expand...
Click to collapse
If it helps, you don't need to install the AdGuard APK for ad filtering. I am on the stock ROM, and I go to Settings, Network, Private DNS, select "Private DNS provider hostnaame", and enter dns.adguard.com. I believe Lineage has a similar setting.

Categories

Resources