yashsingh1/xdaforums huggingface dataset:
[Android General] QYOBZ:
rooted?

have your device rooted? if not root your device first..
[Android General] QYOBZ:
gee.. click the thanks button bro.

How many times do i have to tell click thanks rather posting thanks! :D
[Android General] hammadbashir001:
i have tried so much like this .seached the net.forced stop download manger google framework,all there services ,cleared data all other things. i have unrooted phone and i dont like root now
[Android General] salmaankhan3011:
Found something (i guess so...)

Guys, I too was experiencing the same problem.

only a single line "127.0.0.1 localhost" and no second line. Tried copy paste of the second line with #72....

worked fine on wifi, but is problematic on mobile data. I cant even access facebook messenger (cannot connect to facebook) while using mobile data.

Using CanGalaxy rom on Micromax A110.

Hope I helped shed some light on the issue.

Can someone plz find a solution to this problem?
[Android General] hammadbashir001:
Is there icon changing with a downloaded google play app like this...
[Android General] faddies:
Problem haflway solved but not downloading aps

HI thanks it works ... now i am able to signin to my google accounts :good:,

Gmail

Google Play

Gtalk

etc.

but i am facing another problem while downloading any app. when i start download the downloading stall there for hours and nothing else. i have to stop download only. what to do please help.

i have tried reboot my cell phone, clearing data, wipe data, cache,... what else i can do...? is it because of i have added # in host file ??
[Android General] dic:
Just want to say thank you! Works like a charm!
[Android General] sharmadivyanshu24:
having trouble in logging into google play

Sir,

I rooted my device( GTN7100 - Samsung Galaxy Note 2 ) but some days after i do factory reset without unrooting my device and i unrooted the supersu from its settings but still i am not able to log into google play.....so what will i do??
[Android General] devotedforu:
sign problem aros solved

dear

brother ur metho-1 works

highly thanks to uuu

i love you

rajdeep
[Android General] sangaty:
It worked

It worked without factory reset

Initially I tried to edit the "hosts" file with ES File explorer but failed to do so then I tried it with Root Explorer and result was the same, finally I downloaded Total Commander apk and edited the file and when I attempted to save changes it asked for permission which I allowed and saved it. Then I reboot my device and opted for add account and it just worked. My IP was not the same as mentioned above but I didn't change it rather I just put that # tag before second line.

I went through these steps

1. Downloaded and Installed Total Commandar.apk

2. Open Total Commander and go to File System Root

3. Allow Root permission when asked

4. Search for the folder named "etc" and open it

5. Now search for the file named ' hosts ' and click on it .

6. Select edit file and add " # " before 2nd line like this #74.125.93.113 android.clients.google.com

7. And save it.

8. Reboot your device

9. Turn on your data connection and ADD GOOGLE ACCOUNT !!! Enjoy
[Android General] sb386i:
Worked like a charm

Well well... after so much of experimenting, finally the HOSTS patch did the work!!!

Edited the HOSTS using Root Explorer, rebooted the device...and VIOLA!!!!

Tons of notifications...

I guess all apps using GCM too were stuck!

Thanks a ton!!!

Cheers!
[Android General] QYOBZ:
root again. then do steps on op... then unroot if you dont want to be rooted.
[Android General] QYOBZ:
SHOULD i expect you to click the THANKS button... :P

PLEASE click thanks :P

yay! just click THANKS under my name would be great!
[Android General] sae269118:
Thanks a million

Dude I have been around the world..... I have talked to VZW........ Samsung and GOOGLE themselves. I have read for hours on end of solutions to fix this "reliable server connection " issue. Rooting the device and editing the hosts file so as .......

127.0.0.1 localhost

#127.83.240.239 android.clients.google.com mtalk.google.com

come under the second line no matter what the IP is and put a #.... I did a factory reset as instructed in the original article, but I have read that a simple restart will do ...

Thanks so much I had been locked out of all things google for a week now... I registered and became a member of this site because you were spot on.... Not even google could help me . Everyone was saying to do a warranty exchange..

Thanks again

In your debt,

Jon :cowboy:
[Android General] LegendM:
After a factory reset,phone almost dead

Method 2 works well thanks for awesome tut :)
[Android General] sas_sas:
I have the same problem as 'no connection' error thou I have proper wi-fi conn...

All other google apps working fine except playstore..

This happenned after flashing a new 4.3 CM10.2 custom rom..

I just dirty flashed from Nightly 25 Sep built to Hellybean 27 Sep built. They are at the same CM10.2 base anyway..

I have tried several solutions which I have found from internet..

Clearing data, reinstalling google play store and google play services, cancelling google account and reestablishing account etc.

I also removed fully host file, it was one of the suggestion heard from another web site..

Now I have no host file at all.

W/o factory reset/ data wipe How can I resolve the problem??

Is there a way of reobtaining the host file ?

Thanks in advance...
[Android General] nicholes:
methode 1 worked!! thankyou

:laugh:

using micromax a 89

4.0

rooted
[Android General] stealth123:
works perfectly on my friends Galaxy m110s. Simple and effective.

Thanks man
[Android General] PAGLA:
It works :galaxy note rom sweetrom 10.5 black

Thanks a lot QYOBZ :D it works ..i was thinking to flash another rom or factory setting ..saved my day ...

but can you tell us why it happens :confused: did nothing mysterious..my phone was lying down whole day on wifi auto sync..occasional mail reading thats it and suddenly cant sync mail or access play store ... :(
[Android General] xSanzo:
Thanks dude! :))) TOTALLY WORKS! *Method 1
[Android General] hussy22:
Thanks alottttssssssss happy no need to factory reset hehe:p thank you once again 2nd method make it work

sent from I9100 XWLSS

---------- Post added at 10:40 AM ---------- Previous post was at 10:38 AM ----------

Same thing happen with me too facing this problem for 2days now its got fixed I als want to know y its behaves weird suddenly ??? :mad:

sent from I9100 XWLSS
[Android General] klbarnes1:
Sprint Galaxy S4

Thanks so much worked first try with solution #1 changing the host #'s & names! Awesome!
[Android General] davitd5:
Your second method worked for me

Having installed Root Explorer already on my phone, I followed the second method and it worked like a

magic

! I already rated the thread and clicked on the THANKS button. You guys here are great. Please keep it up.

---------- Post added at 12:49 PM ---------- Previous post was at 12:43 PM ----------

I have been able to solve mine too through the solution given on page 1. Nevertheless, I am likewise interested in knowing what could have triggered such problem in the first place. Thanks dude.
[Android General] fenrirvladez:
it works

thanks method 2 work
[Android General] joshmcdonld:
Unable to root

Please help, im having the exact issues listed but I cannot fix the host file because I am unable to root. Either the root fails or the app crashes, I am using framaroot which has always worked for me in the past.
[Android General] QYOBZ:
unclear question

what's your phone's model.. more detail please...

or use VROOT pc app to root your phone.. search for this and it will lead you to that.. :P
[Android General] QYOBZ:
AFAIK
[Android General] ykpoenis:
It help me solve my problem, thank you！
[Android General] QYOBZ:
Happy To Help.

Congrats!
[Android General] kanaka0907:
I've faced problem in syncing, so i've deleted my google account, rebooted & added it back. But now, even sign in doesn't went properly showing some error due to reliable connection to error. I'm really confused a lot. Your tips helped me a lot... Thanks a ton man.... Tnqqq... :laugh::D
[Android General] gungaix:
works... thank u sooooooooooooo muuuuuuuuuuuch
[Android General] kakarotdroid:
finally found a solution that worked for me on ics and jb 4.1.2

simply download google apps for 4.2.2. dated at 2013-08. flash it via cwm recovery. it will take some time . like 10 minutes or so. then remov battery and reboot

if it shows upgrading android it works.

i logged in , my contacts synced, gmail works.

i was suffering almost 2 weeks this ****

well the problem is definitely on google side.

linked with their servers
[Android General] Cr4z33:
God bless you all!!

I spent more than a day to find a solution when I came up with this topic.

For some reason my modified HOSTS file started from one day to another to block syncing with my Google account although no evidence was found in the file.

This s**t happened in both a HDC Galaxy S4 Legend and a Samsung Galaxy S4 LTE+ (GT-I9506)!
[Android General] SanjuM:
none of the methods mentioned worked for me!

i tried to unpatch googlestore with luckypatcher,first time it was showing the same message again..but the second time it worked and connected me to google.

to unpatch using luckypatcher:

1.go to luckypatcher

2.click toolbox,bottom left corner

3.click patch to android

4.select remove all patched from core.jar

it will take sometime and the device will reboot. and now u r good to sign into ur google account

if it didnt work for the first time,try wiping the data for google store and then follow the procedure again.good luck!!
[Android General] Avamander:
I got the same problem, do a factory reset from settings and set the correct time and date!

Sent from my sending thing.
[Android General] 00Woofer00:
Thank you so much, this fixed my problem after upgrading my Nexus 4 from 4.3 to 4.4 :good:
[Android General] mprodani2003:
Re:

Hi,

Have you ever used Lucky Patcher?

If so, have you modded your play store app?

Thanks,

Matthias Prodani
[Android General] alley_u2:
Superb solution - Had to comment. Thanks for the quick and easy solution to this issue !
[Android General] alastairgreen_Nexus:
Thank you and it worked on my Samsung Galaxy note 3 Korean Version and no need for a factory reset:victory:
[Android General] imjack801:
i try at 50 set just got half working :confused::confused: but still thanks much for this post
[Android General] Razzzor:
hosts file editing worked for me

Thanks a lot. My contacts were not working, could not connect to store, could not download/update any apps. Editing hosts file worked.
[Android General] iPAQ 6515a User:
I have noticed that I get different xxx.x.x.x android.clients.google.com for different sim card inserted. Putting # in front of it does the trick till reboot, after that there is a new line inserted (xxx.y.y.y) and when I change SIM it changes to zzz.z.z.z. So there must be a change on google side and now it is connected to your SIM, when I reboot a phone with no SIM .... Playstore works flawlessly. Hmm, go figure.
[Android General] MOIED:
its not working help me

its not working help me!!!!:(
[Android General] ubiaid909:
help i need help

TRIED everything. all the hosts :( dont works. original was 127.0.0.1 localhost

called google too and they dont know what to do ! ... thanks ...
[Android General] Qubee:
hellpp me plzz

its still not working! ... tried everything exactly as u mentioned .. still it says Couldn't sign in!
[Android General] ubiaid909:
found another solution :D

:) this solution dint work for me. so it was something wrong with my ptcl router setting that was not letting me sign in ! changed the settings of PTCL router. and im back to life . working like cream :) no one needs to change the host file or stuff. just go through the setting of your router and play with them for a while :) it will work .. disable firewall . remove unnecessary accounts from router setting . tc :)
[Android General] dany0boy:
I am facing the same problem....

i Have HTC Hd 2 .. i have installed NEXUS HTC HD JELLY BEAn 4.3 on and facing the same problem

now i have Installed Kikta 4.4.2 on it.. and have same problem

First when i check my Host File it have these this... like

# This MVPS HOSTS file is a free download from: #
# http://winhelp2002.mvps.org/hosts.htm #
# #
# Notes: The Operating System does not read the "#" symbol #
# You can create your own notes, after the # symbol #
# This *must* be the first line: 127.0.0.1 localhost #
# #
#**********************************************************#
# -------------- Updated: December-06-2013 --------------- #
#**********************************************************#
# #
# Disclaimer: this file is free to use for personal use #
# only. Furthermore it is NOT permitted to copy any of the #
# contents or host on any other site without permission or #
# meeting the full criteria of the below license terms. #
# #
# This work is licensed under the Creative Commons #
# Attribution-NonCommercial-ShareAlike License. #
# http://creativecommons.org/licenses/by-nc-sa/3.0/ #
# #
# Entries with comments are all searchable via Google. #

127.0.0.1 localhost

::1 localhost #[IPv6]

# [Start of entries generated by MVPS HOSTS]
#
# [Misc A - Z]
0.0.0.0 fr.a2dfp.net
0.0.0.0 m.fr.a2dfp.net
0.0.0.0 ad.a8.net
0.0.0.0 asy.a8ww.net
0.0.0.0 abcstats.com
0.0.0.0 a.abv.bg
0.0.0.0 adserver.abv.bg

..............soo on many thingz like that

But when i saw this post... remove every thing.. in host and

type

127.0.0.1 localhost

#74.125.93.113 android.clients.google.com in it... manual

and go to recovery mod.. and clean chea.. and reset factory.. like some these and when i try to put my gmail account.. em facing the same problem plz any body help me plz
[Android General] dany0boy:
Another method-3

Those users. who had followed method 1 and 2 as above But sill not solve this problem...

They should go to their router setting( mordem) and should disable the firewall.. and restart the mordem and then... try to loging.. again.. 2twice you will get it
[Android General] andihell:
cant find

I cant find my android.google.com in my hosts file there was million of ip address in there...
[Android General] ahazrizwan:
Please help.

I installed ParanoidAndroid 4.4. It resulted in this error that it can't establish a secure connection. Now, I am on the Android Revolution rom. My device is the Note 2 (N7100). I tried everything. Deleting the hosts file. But when i edit it, it only shows one line - the localhost one - so i cannot add the # sign. Now, Play Store isn't working on WiFi but is working on mobile data. Please help! Also now, there is no host file in my etc folder.
[Android General] bilalsana:
another solution

None of the these worked for me. But I read Somewhere, and put my fone into flight mode, turned on Wi-Fi and then opened play store and bang, its working. Don't know he it works though.
[Android General] ahazrizwan:
It works, thank you. But still, how can we fix it without going into airplane mode?
[Android General] Nbsss:
thanks, subscribed for future reference
[Android General] swahmad76:
May be i have figured something else!!

I had this problem. I tried all steps given in this thread but got no success. Then when i looked at the informations of my wifi(just see attachment and u will know what i meant by this), i found the ip address which was different than the one i had in the wifi router. So just logged in to my wifi router and changed my ip address to the one i saw in my mobile's wifi information. Restarted my wifi router and tried to connect to play store and it worked.try it guys and lemme know if it helped ya!
[Android General] Lw00d:
thank you mothod 2 work for me. CM11
[Android General] pweibj67:
i find this works

1/ download adaway ... http://xdaforums.com/showthread.php?t=2190753&nocache=1#

2/ then download new hosts .. reboot!

3/ then revert to original hosts reboot

4/ hopefully we are working again!!!
[Android General] marco2tiger8:
Work great

Easy Fast Simple Small Size App

. :highfive: :good:

Already tap thanks button. ;)
[Android General] Varun002:
Great !!!

Working fine for me no more errors
[Android General] mamalone:
Tried everything (including a wipe and fresh re-install), this was the one that worked for me.
[Android General] alaa2003:
1- what is the original file include ?

2- can any body test to add the next line like this without add any #

173.194.35.70 android.clients.google.com

??
[Android General] Dill185:
WORKED!!!

Thanks, it worked for me!!!
[Android General] mrej201:
solution if you have root just intall adway or any block ads soft ware or edit the etc host file

2 solution factory restore if you dont have root

use odin and restore back to factory
[Android General] Dan.jamali:
Help please

I only have on Ip address in my hosts file which is 127.0.0.1
[Android General] QYOBZ:
try to copy paste the example given on the OP.. see if this works...
[Android General] kcerica:
Thanks to the op for posting this. Luckily I had no problems and it couldn't have been easier since my tablet is rooted so I could edit the hosts file.

All I did was search for android.clients.google.com in my hosts file and I deleted the one result that showed up. As soon as I saved the hosts file I opened Google Play and G+ and they both loaded right up.
[Android General] manav113:
I did everything and it worked but my error comes that i cant download anything it stays on 0 till 1 hour..HELP ME..
[Android General] VTach777:
Fix

Once in root explorer, find and click hosts (hold for 3 seconds) and click permissions. Check all the (execute/read/edit) permissions, and go back to total commander, you should now be able to edit and save the hosts in total commander. This worked for me and I was having the same problem.
[Android General] paradisegard:
problem still

i tried all solutions you wrote

it works some times and stopped a lot

my main problem that this host appears in hosts

127.201.26.224 android.clients.google.com mtalk.google.com this host added automatically when reboot my device

i hope to know what makes this done
[Android General] kashaf.syed.iqbal:
great thanks so much
[Android General] _apocalypse_:
thanks

great thanks
[Android General] xneuromancer:
same problem here. After I edited the hosts file i removed the write permission, rebooted, and the system wrote another pair of lines similar to above.

The "<ip> android.clients.google.com" line effectively breaks Play Store communication and Google sync for me.

The only thing I can think of at this point is to have some sort of script run at boot time that copies back my customized hosts file.
[Android General] xneuromancer:
After spending entirely too much time on this I finally have a working solution. Save the contents of this script to your internal SD card. Ensure the last line is a blank carriage return.

#!/system/bin/sh

sleep 10
mount -o rw,remount /system
cp /storage/emulated/0/Download/working/hosts /system/etc

Install Script Manager (SManager), and set this script as: on boot, executable, as root. This will then copy your custom "hosts" file under your SDcard to /system/etc after 10 seconds.

Using this script through init.d didn't work for me, which I guess means whatever was over-writing my "hosts" file was doing after the init.d process.
[Android General] coluichepensa:
hi gents,

it works well but the main problem is adaway, because every time it creates a new hosts it cancell the lines #74 etc.

how can avoid it??
[Android General] mariostatm:
Success...Almost!!!

I have a Samsung Galaxy Ace S5380i running on android 2.3.6. I have already rooted my mobile and transferred most of the applications on SD card to clear some internal space. All other apps are OK apart from Google Play Store. It was initially showing no connection Retry. So, I tried both of your methods (without the factory reset step) and actually your first method was a success until I tried downloading a new app. Then it crashed and the following message came up: "The application Google Play Store (process com.android.vending) has stopped unexpectedly. Please try again" I tried many times repeating this process afterwards but I get the same problem every single time.

There was only one line on my hosts.txt: 127.0.0.1 localhost and I copied the second line as you suggested. Any other ideas?
[Android General] sadeyeia:
Thank you

It works for me from first methode

thank you
[Android General] ozymandia:
I think I have a deeper problem on this because the device i have is somehow restricted on both SETTINGS options and RECOVERY mode. I don't even have a FILE EXPLORER installed on my device and before I may establish a connection with google play I can't even download and run an application from an e mail attachment. Seems like there's no way in to my device. Any suggestions?

----

Using Chrome's apk downloader add-on I could download a file explorer and could install yandex disk so i can install apps from cloud now.

Details about the device I am talking about..

-----------------------------------------

Brand: General Mobile Tablet

Model Name: e Tab 4

Android Version: 4.2.2

Kernel: 3.0.40-mehmet

jenkins-r@jenkinsr11-buildserver#1

Wed Jan 29 13:55: 13 KST 2014

Build Number: JER09.GMM01.UDA29
[Android General] :
omg thanks

i tried EVERYTHING clear cache,clear data, factory reset,reinstall play store, i was ready to change rom.. method 2 worked for me i just added the # in the beginning of the ip.

Thank you SOOOO MUCH
[Android General] bgkone:
Thanks for the manual! thank you!
[Android General] globul:
THANKS!

this method work like a charm! many thans!
[Android General] padre629:
All my respects to you!

My Google Play doesn't work after installing a rom and restore my data from a nandroid backup.

But when I've applied your method, it works FINE, ABSOLUTELY FINE.

Thank you so much :D ;)
[Android General] QYOBZ:
Glad it works on many... but on others... will try to search more... any suggestion to alternative fix for this are welcome here... may we have a nice day ahead...
[Android General] jman1234:
This does work, thanks.
[Android General] aimanfareez:
why it says not enough memory??

plzz..

thanks...
[Android General] rex99sarang:
Thank you so much.

U guys rockkk...:):good:
[Android General] SaveOurShip:
help

I tried all the methods but none of them worked, I tried factory reset,clear cache and reflashed my rom but still nothing.. This is what my "hosts" file looks like... any replies or help is much appreciated

-SaveOurShip
[Android General] raomustansar:
i have also facing this problem,when i try to connect play store with wifi it does not work but when i try to connect with data network it works fine,

when i try to connect play store via wifi with hotspot shield vpn support then it works fine,i dont understand why this is happening,why its not working with wifi only,why its not working with with wifi without hotspot shield vpn,anybody have answer?

i used all these methods but none of them worked for me...
[Android General] NaughtyDescent:
Please help me out

Need urgent help ... everything on my HTC one is going perfectly ok, i'm connected to wifi, my browser or apps are using wifi internet but when i open google play store it just saysno connection. i retry again and again but no effect. then i installed hotspot shield and opened play store it starts working like a charm but the problem is when i clocse hotspot it again gives error of no connection. im adding the screenshot of hosts file. how it looks like on my phone, I used all above emthodes but nothing changed. at start when i first setup my phone play store was working but after downloading Asphalt 8 its acting like that. .. anybody who can help .. plz plz plz plz i just bought this phone and its irritating me :(

---------- Post added at 04:10 AM ---------- Previous post was at 04:08 AM ----------

I'm having same problem .. if u find any fix please can u email me at

drjunaidjabbar@hotmail.com
[Android General] sza777:
help

I did try almost every thing but some how received errors can some one share the corrected host file and a way to replace old one any help would be appreciated

regards
[Android General] raomustansar:
OK my dear I'll if I found
[Android General] raomustansar:
my dear try to reset your router