yashsingh1/xdaforums huggingface dataset:
[Android General] ciabatoni:
OMG

thank god I found this thread im having this problem and I dont know how to fix, I edit the file exactly like said, Save file, back out of file, go back in and it already reverted back w/o the # sign. Did it again without wifi on, nothing, did a F.reset still nothing, only thing I havent done was wipe the dalvik n cache...The proxy was already on none. What else can I do, Im on mk2, build and band, Sprint s4 sph-l720, PLEASE HELP ME, THANX
[Android General] Xhexus:
This might work. If my browser wouldn't crash when i try to download total commander. :( And my usb port doesn't work (charge only)
[Android General] boedhy77:
thanks a lot, its a work on my G2
[Android General] QYOBZ:
Glad it work on your phone...
[Android General] fei001213:
It works for me

Although my IP address is different from yours, after I added # at the begining of the line and reboot, it worked. Thank you so much dude, you helped me a lot
[Android General] QYOBZ:
Congrats!
[Android General] betanapallisandeepraj:
1st method worked for samsung galaxy mega 6.3.

1st method worked for samsung galaxy mega 6.3.

thank you so much for your post.

i tried a lot to solve this problem.

but you did it buddy.

thank u so much.
[Android General] SPIDERTECH:
I just had this happen to my Nvidia shield. couldn't for the life of me figure out why it wasn't working. Just one of many reasons I love this site. The TC method didn't work for me since I kept getting remount errors, but Root Explorer worked great.
[Android General] ajaymandloi:
can't establish a reliable connection to google...

thank buddy :good::good::good::good::good::good::good::good::good:

so many thanks it work
[Android General] QYOBZ:
Your Welcome dude!

Happy to Help...

one click thanks is enough... congrats buddy..
[Android General] daviviano:
Thank you so much! fixed my m7! Freedom was the issue
[Android General] witsugar:
Sir what if there is no second ip adress? only the '127.0.0.1. Localhost' and no second line.....
[Android General] sametoxxo:
wow thanks a lot; it worked ;)
[Android General] obaid_457:
thnkyou

its work for me
[Android General] n00b_usr:
i first made the mistake of not putting the ip on the second line i had everything on the first line me a n00b :D

i had the local host ip near the start by default it was there so at the end of the localhost i hit return/enter to go to next line then i added

#74.125.93.113 android.clients.google.com

so now it looks like this in my host file

so happy bloody days and if i was near you there would be a nice beer waiting for you but a big thx

oh on a side note i did have to untick the 2 step secruity on my google account
[Android General] boathead:
nothing has worked for me. i've spent the last 3 days trying each and every suggestion posted. besides that, i've flashed 3 different roms. I've deleted the entire OS and started anew. I've reset my router, changed securtiy, disabled firewalls.

all other of my devices work just fine. and the one device i'm having trouble with works just fine everywhere else.

where do i go from here? can someone help me with some logic? if i could figure out if it is my device...or my router..or something else, i could focus my efforts. truth be told, i'm wondering if i'm using total commander correctly. i despite my repeated attempts, i'm just not sure anything is taking. i don't see a r/w button or the like. and how would i know if what i save is actually being deployed?

wits end for me.
[Android General] kashif04:
nothing is working for me

i tried all the above mentioned methods except the last one ,

you have provided links to playstore , why would someone have to do all this if playstore was accessible , share direct urls,

on my own i tried installing freedom and with that i was able to input my username and password but now playstore says NO CONNECTION [RETRY]

---------- Post added at 01:40 AM ---------- Previous post was at 12:51 AM ----------

Finally another self attempted solution worked for me ,

tried your methods for hours but didn't work for me ,

I went into recovery mode, wiped cached first and then did a factory reset and boom, its working for me now

thanks for your contribution though...
[Android General] QYOBZ:
just a simple click on thanks button is enough, or maybe a donate button works..

congrats.

enjoy downloading on a playstore

sir..if you cant download on a playstore on a device with an issue i thinks there's other way to get the file from my links. if there's a will there's a way.. google served all the file for you.. factory data reset or flashing a new rom will be your final option, only if you have back ups of your important file stored on your device..
[Android General] aryanasharsh:
great result and workss perfectly
[Android General] bhurn02:
[Alternative Solution]

If your using Wi-Fi, just go to Settings > Wi-Fi then just Forget network and reconnect to your Wi-Fi.

Before I can't access any google apps and even Facebook app. This solved the problem for me.

Hope this will help others if above solution doesn't work.
[Android General] zero-:
desperate

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

couldn't save!

first of all i have no clue about the root stuff

my best friend who rooted my s3 died last month

and never taught me how to fix any if went wrong!

i downloaded the mount system and i did r/w but still the host file gives error message

mine is cyanogenmod someone's advice "you can reenable the Superuser button trough developer options.

To do it go to "About the phone" then click 5 or 6 times on "Version Number field", after that , developers mode will be enabled."

i did it but still i cant save host file

any clue!!
[Android General] Dan33185:
Running into this problem, can't save the updated hosts either.
[Android General] manav113:
using lucky patcher fixed my problem.
[Android General] Dan33185:
How? What did you do?
[Android General] dorian2kx:
Yeah how did you fixed it with lucky patcher
[Android General] QYOBZ:
Re-root your phone... or use root explorer tap r/W then edit host finally save it!
[Android General] Deviant Ollam:
so this is an odd and interesting twist... whenever I attempt to update apps now on my device, i get the "update could not be downloaded due to an error" (specific error is RPC:S-3) but it happens ONLY when my own, personal google account is installed.

if i add another google account, things still fail. however, if i REMOVE my own google account, then downloads can proceed perfectly from the Play Store.

i've tried all the other bollocks... stopping the process for Play Store, Play Store Framework, Services Framework, Downloads, Download Manager, etc etc... clearing data, then clearing cache and dalvik for the whole phone, etc.

same story.

if my personal Google account is installed on the phone anywhere, Play Store will not work at all. even with another Google account along with it.

the moment my Google account is removed, the Play Store works just fine. Now, this would normally not matter, and i could just roll with an alternate account. however, of course, i own certain paid apps and that makes things a damn pain. not to mention all the associated Google Voice and other features that all tie to my account.

thoughts?

I'm on a Samsung Galaxy SIII running CM10.2 which has been stable and happy for utterly ages.

---------- Post added at 12:55 PM ---------- Previous post was at 12:04 PM ----------

UPDATE again...

the techniques described here http://xdaforums.com/showpost.php?p=49532362&postcount=19 wound up working.

something about that sure seems like overkill, but all of the repeated force stops, clear data, etc. coupled with reboots and delete/add accounts in that order have me working again.

phew. what a friggin' nightmare. up since 03:00 working on this when it kept me from sleeping.

now for the REAL killer awesome question that's on my mind: is there any way of permanently de-linking an app from your list in the play store? that is, so it never updates or tries to update again? i've got a couple who totally suck now in new versions so when i hit "update all" in the Play Store, i have to scroll down and manually kill the updates in a few instances.

would be great to just freeze them in place for all time.

ok, i'll google around looking for that answer. in the meantime, anyone who is really stuck with Play Store errors of this or any other awful variety, please do not lose hope. try the techniques in that link i included to the other post... be REALLY persistent with lots of reboots and keeping the phone in airplane mode all the time while you're removing google account, clearing data, and so forth.

if it worked for me, it can work for you, too.
[Android General] Deviant Ollam:
WOW! even more news.

i can reliable re-create and then solve this problem now. (well, sort of)

does anyone else use AdFree by Big Tin Can for host file updates and ad blocking?

i was noticing that my web browsing experience was total ass, and realized my hosts file under /system/etc was only about 20K in size. it's usually a MB or more. ah, i thought... let's hit up http://adfree.bigtincan.com and grab the latest APK file (which the developers insist on making a time-out product... after a few short weeks, you need to re-download. who knows why.)

AdFree says "you're all up to date!" but i knew it was not correct. i forced a re-download of the hosts list. 1.2MB hosts file later, i know i'm in business. i reboot, and the web is a LOT cleaner.

on a whim, i test the Play Store. WHAM!! all apps fail to download or update. there is SOMETHING in the AdFree hosts file entries that seems to break it. I have the latest versions of Play Store (4.6.17) and the frameworks (don't know how to check their version as easily)

so, AdFree has a kind of "revert" functionality. i used that. hosts file is back to 20K in size. i reboot. DO'H... Play Store will now connect but throws me back into error code land (RPC:S-3 again)... no degree of rebooting, even with the original hosts file, would fix it. something gets munged up but good in the Play Store's data or cache.

thankfully, a nandroid backup made in TWRP was fine for sorting me out. (i made a backup after my last successful solution of this problem)

at some point I might grab the whole Ad-Free enabled hosts file and toss it on pastebin or somewhere that you can all read it if you like. SOMETHING in there makes the Play Store very angry. maybe it's the comment lines at the very top? could Google be doing something intentionally to mess with users who try to block ads?

what do other folk use for host-based ad blocking nowadays?
[Android General] Deviant Ollam:
well, if anyone's curious about what the AdFree app does to the hosts file... here's a paste (in three parts)

http://pastebin.com/AXJeMpct

http://pastebin.com/z4Uqb5CF

http://pastebin.com/PNWp181M
[Android General] NEERO:
The xposed module minmin guard works just fine, try that if this keeps giving problem.
[Android General] 3bod_q:
thank you!

:good: thank you so much i tried all of methods. only one worked with me

root explorer

etc/hosts open as text using RB text editor

#47.125.93.113 android.cliants.google.com

thank you so much!!
[Android General] zero-:
still nothing is working for me!!!

What I did now is I have hard reset the phone

And still no connection with Google

I signed in YouTube and email ...nothing worked with me

What can I do??????
[Android General] QYOBZ:
can you tell what is your phone model...
[Android General] dorian2kx:
I have galaxy s4 gt i9505 and I tried everything but still can't get it to work, my host file just remains as 127.0.0.1 and that's just it, I tried flashing custom and stock rom, deleting the host file, tried add away app, tried lucky patcher, factory reset the phone and still no luck, help me please I'm really desperate
[Android General] zero-:
Its galaxy s3

GT 19300
[Android General] zero-:
This is it
[Android General] ctcrighton:
Thank you so much!

Thank you so much! I'm so glad I found this solution it worked perfectly, you're amazing!

Callum
[Android General] fanling3:
It's difficult to connect Play Store in some countries in Asia
[Android General] axltrrs:
It work Perfect!!

My problem start after install and unistall Freedom app. I did exactly was on your post and Woohaalaa!!! My Note 3 now connect to Google Services. Thanks a lot.
[Android General] abhilaab:
thanks very much expert ji i will be happy now 3 days problem Google store now solved 4this method again thank u
[Android General] AuzanAgnar:
i can't click mount r/w
[Android General] mesherbrum:
hi guys i have LG Optimus Vu 3 and facing same problem. I rooted my device and tried to update the "Hosts" file with "#" as proivded in first post but when i save and exit file and re open it it shows as "#" comment was not saved means "Hosts" file shows unsaved status
[Android General] manav113:
use lucky patcher...
[Android General] Roweniel:
THANK YOU SO MUCH FOR THIS MY ANDROID PHONE NOW IS NOW FIX ALMOST 1 MONTH I SEARCH FOR THIS TO SOLVE THE WIFI CONNECTION PROBLEM. THANK YOU..:good::good::good::good::good::good:
[Android General] Anaz Laflare:
it saved me from flashing ...thanks :)
[Android General] _McShane_:
Thanks for this, fixed my phone straight away.

I'm interested to know why this happened though and how a simple # can fix it?

Thanks again!
[Android General] crisqv04:
Galaxy Samsung Anycall korean version

- model# SHW-M110S

- Stock Android version: 2.3.4

- now running custom rom: Jelly bean 4.1.2 [Provision_4-5_ALLFIX_NEW]

- rooted

- 127.0.0.1 in hosts file

I tried every solutions mentioned in this thread,

even the clear data, enable/disable, uninstall updates thingy I found on the net

does not worked too.

Anyone found a solution?
[Android General] ummmii:
Nothing Helped

hi there i tried everything described above but it didn't work can anyone help me? i am having the same problem my play store does not open and when i try to sign in i get the message could not establish a stable connection etc i can't sync my account help me out here :(
[Android General] bilobaloch:
bilobaloch

just change your wifi connection ....samething was haapen to me ,,,i did change my wifi connection ,,,everything work good ....:)
[Android General] crisqv04:
For those still having problem, this would be the answer to you guys.. it worked for me.

I did:

127.0.0.1 localhost <------ I only see this line in /etc/hosts file

#74.125.93.113 android.clients.google.com <----- I did add [Failed]

clear data/cache [Failed]

uninstall google play updates [Failed]

reflash/clean install custom rom [Failed]

factory reset [Failed]

Then i came to this solution: crisqv.blogspot.com/2014/06/solved-cant-establish-reliable.html [Success]
[Android General] InfraBlueAndroid:
When you reverted to your original WiFi, was the error still there?
[Android General] azarpisces:
Method 4. or may be 5

I did reflashing and went into this issue. Tried several solutons including those listed above but nothing worked. I couldnt even open youtube due to ban in our country. Frustrated after many days i decided to add a new account rather than waiting for my old one to be alive. And when i got success logging in with my new account i thought to add my old one too. And ..... to my surprise igot it working at last. Wat i think there was something like holeblocked (sorry, for my knowledge abt android prgramming) in my android which my new account flushed and opened way for my older one. Thought this may b useful to share for someone like me.
[Android General] IncendiaryPyro:
Thanks, worked like a charm!
[Android General] azarpisces:
Method 4. or may be 5

Try my solution in post 241. It may help you.
[Android General] crisqv04:
We're in the same situation before.. but I tried this solution on the link, it worked.

crisqv.blogspot.com/2014/06/solved-cant-establish-reliable.html
[Android General] JRLRNO:
Thank you sweet baby jesus

I tried everything and THIS is what fixed my problem. Using an LG L70 on Metro. I spent the whole day trying to fix this mess. Im hoping is stays fixed once I put the sim back in :D
[Android General] farooqjamal:
No use have tried everthing.

I have tried everything your guide says. Using a nexus 4 had it on 4.4.4 rooted it did exactly what your guide says, downgraded, tried tons of stuff it didnt work. still when i try to login using google account .......cant establish a reliable connection. there was some partial stuff that started working like the google account logged in and everything synced but play store,photos and people/contacts didnt sync ... no use when the play store isnt working .. installed all the apps using their apk's through adb but no use ........... There has to be a fix ! 4 days in still right where i started
[Android General] junhaoxim:
Works like magic!

Omg! I was so frustrated that I was about to go crazy till you saved me and my phone! Thanks
[Android General] k0nfuze:
WORKED!

I made an account just to say that method 1 worked on my Galaxy S5!! Thank you so much! It took me forever to find this thread after hours of looking for fixes!!
[Android General] Momani1995:
help please!!

My host is different I have more tham 10000 ip addresses or whatever it is also any thing I change in the hosts I can't save it !!

What I can do ??
[Android General] GLegacy:
Ill give it a shot and hope for the best
[Android General] aurangzab2005:
guyz,

i have N9005LTE version,& i m on 4.3.

i m getting the same problems of couldnt establish a connection......i ve done evrything,absolutely everything...i tried more then 3 stock roms but on the very start...when i enter my Gmail acc....got the same message "couldnt establish a connection"

i ve tried every method written but in vain....can any body plz help me.
[Android General] sayem3250:
Hosts Editor Pro

Easiest Method

Install "Hosts Editor Pro" apk.

Edit Host file simply using that soft. (For Rooted Devices)

If works, don't forget to thank me... :)
[Android General] eriklively:
I cannot find apps to finish

My problem is I cannot access Google (Play, Gmail, anything, etc...) which is the point of this thread. I have been searching online for days, reading on here for hours. How do I get an APK for a Hosts editor without access to Google Play Store? Am I an idiot?

I have rooted Sprint Galaxy S4 4.4.2

I am hesitant to just google the apk's and hope the source is legit. I have decent experience doing this, but any help is appreciated. I am confident I can edit hosts file once I get an editor. Used file explorer to edit device identifier on Nook Color back in the early android days.

When I try and get downloads from Google Play on laptop it asks me to sign in and to select my device. My device isn't listed, it wont sign in.

Thank you.
[Android General] afnanboy:
Please Add some more points:

1) Please install or boot into custom recovery mode (I have tried with CWM) and then first apply factory reset and then apply wipe cache 2-3 times.

2) Go to your date and time and check the option (use 24 hour format).

I have tried these and finally my nexus 4 is up and running smoothly
[Android General] gstar555:
cannot access google playstore,gmail

:) thanks a lot.

2nd method work very well for me.

I solve the issue without doing factory reset.thanks once again!:good:
[Android General] Ldjcdo:
Thank you... It worked like a charm

I tried this solution on my son's galaxy nexus yesterday, and it worked beautifully! The host was a different one, but I edited it on hosts editor, searched by name and put the # before it, and it worked!

When I had this phone, I ran into the same issue and the solution was very hard to find. Thank you very much :it was easy and right to the point. Thank you
[Android General] Javadn:
Hell YEAH !! work like a charm :) thanks alot
[Android General] nipun_2000:
LUV U!!

Thank u so much u are a life saver

:angel::victory:
[Android General] tongbitz:
solution

Uninstall total commander.....install root explore.

..download from net not in google play....mobo market (you can download it here.

---------- Post added at 05:11 PM ---------- Previous post was at 05:05 PM ----------

Uninstall total commander...

Download from internet, mobo market

Open mobo market and search root explore and download.

Edit hosts see to it that you change to writable and then save,

Save and exit.

----add # at the beginning of 2nd line

----delete the third line. Booooom done
[Android General] ShiErD:
great one! thanks for this' helps a lot.
[Android General] kitish:
THANKS! DUDE IT WORKS FOR ME :) from Philippines :)
[Android General] dr_irsk:
thank you ,. it's work to my htc vivid:laugh:
[Android General] shivamgarg:
Solution

another simple method for this is

download lucky patcher

install it and open it

grant root access

swipe bottom bar

click on block google advertismement

click on clear the local hosts files

you are done

click thanxx if this method works for you pls
[Android General] shivamgarg:
259

you can download host editor simply without accessing play store

firstly open google and then search for hosts editor pro apk and then download it from any site other than play.google you can easily download it from any site which will google show you I cant post links due to restricttion in xda so I am not providing it but any apk file is easily downloadeable other than play store
[Android General] rio_fly:
I'am not sure for now

I will try it next time :D,,,,,.

Because I'am not sure, for what I'am going to do :confused:,,,,,,.

Im still reviewing it :angel:....

Just to make sure everything is on the right way :good ::D,,,,,,,,!!!!

---------- Post added at 04:28 PM ---------- Previous post was at 04:01 PM ----------

Dude it Work's :victory:,,,,!!!

I'am lucky that I have already had lucky patcher :D,,,,,,!!!

Thank's to you :good:....!!!

I dont have to edit it, directly on the host file :highfive: :good:

Nice Idea Dude :D:laugh:..!!!
[Android General] dhemo_01:
help me .

now i cannot cannect to any internet related apps. even google chrome. what is the default hosts of samsung grand gt-i9082 pls help me .i think it starts at 127. . . pls
[Android General] shivamgarg:
download lucky patcher

install it and open it

grant root access

swipe bottom bar

click on block google advertismement

click on clear the local hosts files

restqrt your phone

you r done

hope it helps

please click on thanks if it helps
[Android General] dragonzeus:
couldnt sing in

Hello everyone, thanks to everyone forl the information, I have read and tried every single post but i didnt work for me, haha not such a lucky day for me

maybe someone can help me if I post my problem

I have a samsung galaxy epicc 4g touch from sprint

about phone:

model number: SPH-D710

andriod version: 4.0.4

baseband version: S:710.10 S.FL24

Kernel version : 3.0.15-1173404 se.infra@SEP-129 #3 smp preempt mon dec 24 22:21:56 kst 2012

build number: IMM76I.FL24

Hardware version: D710.10

::::::::::::::::::::::::::::::::::::::

when I tried to edit the host it was only on it: 127.0.01 localhost

then I have tried all the variations, like adding and # , and add the second line from post before, I have tried to put my own ip adddres , etc , etc

It's already rooted , and I have tried all the post from before like adding # copy/paste/ save but nothing seems that work.

can you help me? , please
[Android General] shivamgarg:
Note:- You must have rooted your phone.

simple method for this problem is

download lucky patcher

install it and open it

grant root access

swipe bottom bar

click on block google advertismement

click on clear the local hosts files

restart your phone

you are done.

Download lucky patcher here:- http://www54.zippyshare.com/v/34485145/file.html

To download click on the link choose browser and then click on 'download now' button.

click thanxx if this method works for you please.... ￼

See my youtube video http://youtu.be/9zY3UpyQZdE
[Android General] Electrex:
Thanks, you saved my life