yashsingh1/xdaforums huggingface dataset:
[Android General] sohaiby23:
Disable Hangouts, Drive, Google+, Talkback

I was facing the same problem in my Alcatel Pop 3 5015d. I was also searching for the method to root my phone in order to change the etc file as explained in the top answer but I didn't find anyway to root my phone. Finally, I disabled all the Google Apps, including Google+, Hangouts, Talkback, Google Drive, Gmail, Play Music, Youtube (excluding Google Play Store & Google Play services). Then I tried again to Add Google account by going to "Accounts" option and adding account.. this time.. the account created successfully. I only enabled back the Youtube, Gmail and Music app as I don't need the other apps. I also restarted the phone just to make sure that everything is working fine and it does working fine.
[Android General] Yuri Rv:
it work

woo... thank you it work on my phone Infocus M535 Android 5.1
[Android General] twinzerz211:
Didnt worked

I pasted this code under the localhost #74.125.93.113 android.clients.google.com

and saved it..But the Total Commander says File not Saved I have a Screenshot but idont know how to upload it in here...I tried evwn in Root Explorer but still it didnt saved..Please help me...
[Android General] Yuri Rv:
hmm... i din't save i just exit and when they ask for saved i did that's all try again again good luck :)
[Android General] twinzerz211:
thanks anyway...I solved my problem..

Its because I didnt allow Total Commander in Superuser..Damn my superuser sucks it doesnt prompt automatically..:(:(

Thanks again guys PROBLEM SOLVED...
[Android General] JaromRea:
Whenever I try to change the address, it just goes back to how it was before
[Android General] Turakoi:
Hi ive got a chinese android recovery menu how do i Wipe Cache/Dalvik Cache when i cant understand any of the options :(!
[Android General] Lightracer:
Sadly I'm not rooted so I cant do this. Even after a factory reset I still cant connect :\
[Android General] IAteYourDog:
Can't download

:confused: I can't even try this unless there is a way to get someone to upload the file without Google play / play store I can't even access the store
[Android General] angxox:
thank you i have finally fixed my phone after downloading wrong game

Thank u I've finally fixed my phone after downloading a wrong game and I couldn't use my play store but after doing what you suggested my phone is working and I have my play store working again

---------- Post added at 08:02 PM ---------- Previous post was at 07:56 PM ----------

Thank u I've finally fixed my phone after downloading a wrong game and I couldn't use my play store but after doing what you suggested my phone is working and I have my play store working again

---------- Post added at 08:22 PM ---------- Previous post was at 08:02 PM ----------

Thank you for you help I've finally got my phone working after downloading a game and lost my play store. Now I have it working thank u so much I gutted I've lost all my photos. Unless u know a way I can restore them :)
[Android General] IAteYourDog:
you cam use a computer

You can download total commander to your computer and transfer it over to your device. And disconnect the device from You PC and install the program from memory. On your device. And then root won't be nessasery
[Android General] e4435:
Can't open host file. Not enough memory help
[Android General] iac2234319:
many thanks to this thread it realy works!
[Android General] Rajat.672:
Help. It doesn't save changes I made to host file. I am using Root explorer.
[Android General] Jamalpatterson:
Error

When I tried to save after I added the # in front it I would tap save and it says error writing to file: /etc/hosts

Please help me!
[Android General] vladthelad:
Is there any way of doing this without WiFi and a Computer? Im unfortunate enough to not have either of those.
[Android General] shandy1996:
You sir, are the Boss.

Worked like a charm.

I started freaking when it didn't connect.

Found this, worked like a charm.

Just one thing, I didn't need to factory reset, just a straight reboot worked fine for me.

Thanks :D
[Android General] carmon81:
Can somebody help me? "ERROR WRITING TO FILE:/ETC/HOSTS"

I did everything like this:

1.	On your device open your browser and go to: ghisler. com / android .htm . Download and Install Total Commander for Android... And open it

2.	Install it in your android mobile

3.	Open the total commander from your android mobile and go to: “File System root”

4.	Search for the folder: “etc” and open that folder

5.	Now search for the file name “hosts” and click on it .

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

I COULD NOT SAVE!!!! I receive this message: ERROR WRITING TO FILE:/ETC/HOSTS

What should I do to continue on step 7?

Thank you!!!

(7.	And save it

8.	Reboot your device

9.	Turn on your Wi-Fi and ADD GOOGLE ACCOUNT!!!

10.	Enjoy now!!!)
[Android General] jdmlam:
ty

thank you, i had massive problems and this fixed it right up!:laugh:
[Android General] Redsandro:
I had the same problem, but I only had 127.0.0.1 in hosts. This was a Chinese Android-PC. So here's what fixed it:

1) Factory reset.

2) Add Google accound first thing.

3) Profit!
[Android General] fifa10:
Hi, I have HTC Nexus One, and I did exactly the thing that are written, but Still Can't Sign-in to my Google Account !!!!
[Android General] billxda5:
Thank you so much. I've been looking for a solution all week.
[Android General] eflier01:
Solved problem

This did the trick for me. After i started sync google account Google play store started working again.....:good::laugh:
[Android General] T_ma'am:
this works like a CHARM!

thank you!!!

Regards from Mauritius ;)
[Android General] chillyman70:
hi i have got the same message.

have you managed to sort it?

thanks
[Android General] serikbay:
Hey guys!!

Spent the last 24 hours tackling this problem with my just-out-of-the-box Galaxy Tab 2 10.1.

Have to say that I ran into the same issue with my SGS3 about a month ago and editing the hosts helped, although did not make any sense.

This time the hosts was virgin clean and nothing worked (youtube, hosts, date fix, factory reset etc).

Finally, I decided to play around with internet access type and it helped. All along I was using the wi-fi via my SGS3 hotspot, a mi-fy device, restaurant wi-fi and so on. My final try was to have the Tab connected to the web via bluetooth from my SGS3 instead of wi-fi, which immediately solved the issue (after that it was safe to go back to regular wi-fi).

Again, no idea why this worked, but hope this helps someone.
[Android General] ookoo7:
I have same problem please help!!!

I have a same problem please help me!!!
[Android General] thornofcarrion:
I have Xoom 2 and I cannot access (edit or replace) hosts file. Any solution?
[Android General] sango90:
Did what was said edited the Hosts file did Factory reset and it didnt work installed the latest backup i had after back was installed wanted to go to my mail and wifi wont connect at all some times it showed the error AVOIDED POOR INTERNET CONNECTION never showed before since i bought the phone i am pretty sure its because of HOSTS file tried to remove what i had added in the file via TOTAL COMMANDER every time i did that i got a error mesage saying that total commander has stopped working

So my question is how do i get the wifi working on my Xperia S once again?
[Android General] sajibcy:
Mount system rw.then try to save.
[Android General] for_dotsis:
Awesome . . . Working perfectly now. . . Just edited host file , didnt even factory resetted , rebooted it then . . . Now, everything is beauty . . . :) :)
[Android General] modkore:
hello everybody,

i really thank you for you tips. i just bought my s4. and suddenly connection block to play store. i dont know why. i think its because of freedom apps.

anyway. thank you once again. :)

have a great day sir.
[Android General] billy12347:
cant find it

can't find the line where you have to put the #

every time i open the file it says "warning, the text file could not be loaded completely"
[Android General] sandarbha:
ThannnnnX!!

Thank you bro!! from bottom of my HEART!! Really Really ThanX!! Bro!!

This definitely work on any android device.
[Android General] deeplyyoung:
Dev whenever open hosts file through total commander m not able to search 'android.clients.google.com

Any solution

Find attached screenshot what m getting everytime

If anyone help me, its a humble request. As m tired to reflash again n again

Edit: its a humble request from all of u, if anyone know the solution pls help me out, as have reflashed my cell more den 20 times just cuz of play store not working
[Android General] dharunsonu:
I did all this. After doing this also the problem exists I'm my phone. Can't establish a reliable connection. Plz help
[Android General] LavaTorch101:
Thank you so much the second methodnworked for me....... Thanx a lot if anyone wants to root without a problem (one click root) then use *kingo* its the best
[Android General] moshec88:
thank you!!!

thank you so much! work for me :)

i got this problem on my nexus 7 device because i did "factory reset" when i have root. the root stay as was - the tablet didn't reset itself completely.
[Android General] m05c0:
Dude, I'm Loosing My Head Over this. I Have This Damn problem with A Freaking Chinese Phone. This Piece Of Trash Don't Let Me Even Enter A Google Account, So I Searched For This Solution... And The Bad Thing Is This Phone Can't Be Rooted Because Of The Model... So How The F* Am I going to It The Host File? I Think This Is My Problem BC Anything Google Related On This Phone Is Not Working... And Everything Comes In Chinese So That's Why I Need Google And Its Damn Apps.... Please Help
[Android General] Lightracer:
Have you tried using one click root apps? (like Kingroot or Kingoroot?)
[Android General] honeyhoneyJS:
Hello. I'm facing the same problem.

I'm trying to edit the host file. Problem is, the host file does not even have this >>> 74.125.93.113 android.clients.google.com under the

127.0.0.1 localhost.
[Android General] Lightracer:
If all else fails, delete the hosts file. Make sure you back it up first then after you delete it, reboot. Check if it can establish a connection now.
[Android General] davedario77:
Hi! I have been experiencing this problem over and over with my tablet, it's android 5.0.0 lolipop, and I have been resetting my phone for almost three time just to try to get it fixed... but still .... no luck... it only started when i rooted my phone using kingroot... that's all... any suggestions?
[Android General] Lightracer:
Gain root access and delete the "hosts" file then clear the cache of the play store.

Press thanks if I helped :)
[Android General] ismail.ahmed84:
thanks alot

YOU ARE A GENIUS MAN THANK YOU 2 METHOD IS WORKING FOR ME AND I REGISTER AFTER SEEING YOUR POST THANK YOU AGAIN

AND I HAVE A QUESTION THAT I DO 2 METHOD AND ALL WORKING FINE BUT CAN I DO SAME AFTER RESET THE DEVICE OR NOT :confused:
[Android General] Happygill345:
Very very thanks bro you solved my big problem
[Android General] shabbirpatheria:
I found a solution to the same problem somewhere else and the instructions were to the delete the whole text in the hosts file and replace it with " 127.0.0.1 localhost ". it worked pretty well for me but, can it cause any problems in the future since i deleted the whole text ??
[Android General] npmsasi:
Another Way Playstore not working after Installing/Uninstalling Freedom App

Hi,

It is working on my Sony E3 D2212. Now i'm able to login in google play store.:good::good::good:

Thanks,

Another Way Playstore not working after Installing/Uninstalling Freedom App?

- Go to Root Explorer and Mount R/W then delete Hosts file under system/etc/

- Reboot

- Shutdown & Boot to Recovery

- Wipe Cache/Dalvik Cache

- Reboot

- Presto! back to normal.
[Android General] sarimo1:
but there is no ip adress below

only 127.0.0.1 local host

what to do please
[Android General] Hu su:
Cyberghost

Download cyberghost get rid of this sheets.
[Android General] Ibuprophen:
I'll have to give this a try!

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...

***PLZ THANK ME WITH A THUMBS UP***
[Android General] Ashokk8:
Guys i am very much frustrated firstly this method (1) has worked for me but when i changed Rom again, save problem arised.

My address was totally different it is 127.0.0.1 localhost

::1 ip6-localhost

Like this. Tried everything and didn't find anything helpful please help
[Android General] Ashokk8:
Bro i don't know what happened but when gave a 2nd attempt with Cyber ghost it worked.

Thank you very much
[Android General] AbhiAbhiBisht:
Worked for an old Samsung phone. Thanks to the OP.
[Android General] nessyb:
Thank you it worked.. I deleted the host file and clear cache in recovery
[Android General] FASEEH SHAH:
Bro i have done factory reset but on first use of phone it asks to add google account . And it gives the error can't establish a relaible connection .

also this step cant be skipped

so please help me
[Android General] Libertydrew:
You are my HERO

You are my hero. This worked perfectly. At first I tried to cut corners and use a different editor. I was trying to using es explorer. When I finally got total commander as you said. Bam every thing worked perfectly

Thanks!!!!

---------- Post added at 08:31 AM ---------- Previous post was at 08:31 AM ----------

You are my hero. This worked perfectly. At first I tried to cut corners and use a different editor. I was trying to using es explorer. When I finally got total commander as you said. Bam every thing worked perfectly

Thanks!!!!:cyclops:
[Android General] faizankhalifa:
Is there a way which does not involve rooting the phone? I've got this problem on a non rooted phone and I'm pretty sure the problem isn't due to any extra lines in hosts file
[Android General] naveen3807:
Hi....my play store is connecting..but when i download apps its showing downloading....but ntg happening....only downloading present....not download pending....
[Android General] chillyman70:
Did you get a solution to moving onto step 7? I am having the same problem, I can get as far as step 7 and then get the message- ERROR WRITING TO FILE:/ETC/HOSTS

Please help

thanks
[Android General] cmendonc2:
I got this error...I disabled AdAway and restored my original hosts file and google services were working again.
[Android General] philipkroberts:
My phone is rooted, however I get the unable to edit /etc/host problem, It just wont let me save.

Please can someone help, is there a way to do this with adb.

I am at my last tether and debating just binning this S3 and buying an S4.

Thanks
[Android General] true_friend2004:
I have got same problem on Nexus 7 wifi. Got it factory reset and problem didn't solve then i came to realise what was wrong. Now I don't have any method to install a file manager or total commander because unable to access google services etc. Any idea how can i install these apks from PC? Or should i reinstall the whole stock build?

Regards
[Android General] true_friend2004:
I have managed to install apks and try this method. But not successful.
[Android General] AnajaDroid:
:good::good::good: Thank u verry much, it worked for me :) Galaxy S4 Verizon
[Android General] TechExhibeo:
Thanxx alot mate...

It worked like a charm...

Pressed thanx button too ;)
[Android General] ahhoe:
Credits to you man !! QYOBZ!!

I have been uninstalling my playstore umpteen times.. clueless abt what went wrong until I chance upon your thread link.

Great work ! Quick solution! Kudos!!

Sent from my GT-N7105
[Android General] chillyman70:
adaway

how do disable AdAway? thanks

sorry but don't know much tech stuff on these tablets.

Thanks
[Android General] QYOBZ:
you must be rooted in the first place..
[Android General] QYOBZ:
must be rooted and try to use root explorer tap r/o to change r/w and edit the host again and save it..
[Android General] xkiahx:
Tnx a lot bro

thnnnnnnnnnnnnnnnnnnnnnnnnnnxxxxxxxxxxxxx!

a lot bro!!!!!!!!!! you rock my phone

:good::good::good::good::good::good::good::good::good::good::good::good::good:
[Android General] sernzrevenge:
Not sure if this helps, but I didnt have to reset my tablet, or reboot it. Simply added a "#" to the second line of text in the host file (as described in the first post/initial instructions), and said yes to everything total commander wanted a yes to (yes, I'm a yes man)... After exiting total commander..i received multiple updates, access to both my g+ and the play store... Not to mention my gmail!. So, if anyone knows why, please explain as this is a very frustrating experience. I'm on cm 10.1 nightlies

A bonus tip- your devices sequence of numbers may vary... Use the instruction as an example, and make sure you just edit the second line of text in the host file.
[Android General] QYOBZ:
should hit the right button..

you're welcome bro.
[Android General] QYOBZ:
yes your tip has a point.. just add pound mark..
[Android General] odiate:
Looks like this method worked

This method seems to have silenced the notifications :laugh: FINALLY!!!!
[Android General] Hallucinogenizer:
Help me please! :'(

Guys i have a HTC AMAZE 4G and i installed Total Commander, then i edited the host file but it gives error:-

"Error writing to file: /etc/hosts"

i cannot edit it, please help,,,,

i sent my smartphone for repairing, when it came back it had been reset and now i cannot get google play store!

Will be highly grateful!
[Android General] hammadbashir001:
hoidoc randal

help me down here i hav htc one v rooted and i have checked both methods.but it only come 127.0.0.1 localhost. there is nothing below it .

(#74.125.93.113 android.clients.google.com ) so do i have to copy this one
[Android General] Muneeb Saeed:
no 74.125.93.113 android.clients.google.com

127.0.0.1 localhost

::1 localhost

this is how it appears on my htc amaze unbranded

help mee out
[Android General] QYOBZ:
requires rooted

does your device have root access? is it rooted? if not... go root first and do this again..
[Android General] QYOBZ:
try to copy that and see if its working..

copy the OP's android.clients.google.com and see if its working.
[Android General] TechExhibeo:
There should only this line friends

127.0.0.1 localhost

Delete everything below this line.mate....

If I Helped U Dont Forget To Press Thanks :D
[Android General] Muneeb Saeed:
Noo still aient working
[Android General] hammadbashir001:
i hav copied it but still no working.also turned of the device no working.please

---------- Post added at 07:02 PM ---------- Previous post was at 06:57 PM ----------

i ihav tried coping #74.125.93.113 android.clients.google.com but still no work
[Android General] QYOBZ:
screen shot need

can you post a screen shot of details of your device's host file?
[Android General] QYOBZ:
what are the details of your host file

details?
[Android General] TechExhibeo:
He means to say that send the screenshot shot after opening host file using any editor

If I Helped U Dont Forget To Press Thanks :D
[Android General] kymikes:
Same Problem

I have the same issue. What is confusing to me is that adding the "#" to the second (and subsequent) lines comments out that line with the ip addr for the android.client line. In my case, I don't have any second line and therefore just have a "localhost 127.0.0.0" line in the host file with no additional line(s). I have this problem on three devices, a ZOOM - WiFi only, a Nexis 7 - WiFi only and a Galaxy Nexus - GSM Radio. This happened to simultaneously about two weeks ago. Since 2 of these are WiFi only, all the "pull the sim card" solutions don't seem possible. To the best of my knowledge, I have tried all the other options w/o success (except GNex factory reset - can't lose my phone). The Gnex still works fine as a phone. It is only the Android devices that are effected as all the PC laptops that communicate through to the web thru wifi work fine and all the Android devices fail the same way. The Nexis 7 and the Gnex are on 4.2.2 (OTA - normally not rooted) and the Zoom is on a derived 4.2.2 rooted from XDA.

The Gnex is at the following level:

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

Model Number

Galaxy Nexus

Android Version

4.2.2

Baseband version

I9250xxXXLJ1

Kernal version

3.0.31-g9f818de

android build@vpbs1.mtv.corp.google.com #1 Wed Nov 28 11:20.29 PST 2012

Build Number

JDQ39

Data enabled (checked)

Data Roaming (checked)

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

Any further approaches that anyone might have in mind??

Many thanks in advance.
[Android General] QYOBZ:
might this work

try to edit the last digit into 1 e.g.:

127.0.0.0 localhost make it 127.0.0.1 localhost if your device has no second line.
[Android General] zjlow1314:
thanks it worked!
[Android General] QYOBZ:
did you hit thanks button?
[Android General] kymikes:
A different solution

I had this issue as previously posted. I found the solution yesterday and was surprised at the what fixed it. I had a working system until I changed from DSL to Cable Internet (Time Warner). In that process, the TWC rep. just changed the DSL modem to my Cable modem (motorola) and, since the Windows apps worked, he declared the installation a success. Then I found the problem with connecting as a "data" connection from any android device thru WiFi (a Galaxy Nexus & 2 tablets). Tried support at TWC and at the Netgear router support with no success (each pointed to the other). What was puzzling was the Windows interface that worked fine with 2 laptops using WiFi was failing on all 3 Android devices using the same WiFi channel. Turned out that I went to "start over" and used the Netgear Setup Wizard in the router. It took me thru 2 screens of basic setup and finished leaving me in the router configuration screen. I clicked Save and then exited the router setup. To my surprise, all the issues that I was having were gone. I have gone through the router screens to see if could see what changed and didn't see any changes other that one screen format (Port Forwarding) was different but kept all the user unique information the same.

Don't know if this will help anyone that hasn't been helped with all the other solutions but nothing else had helped me. FYI.

Mike
[Android General] hammadbashir001:
hey there, i been posting that my htc one v google services were not working .i hav tried every thing total commander and 2nd method also but nothing worked .formatted my phone storage card but all in vain .

Originally Posted by hammad001 View Post

help me down here i hav htc one v rooted and i have checked both methods.but it only come 127.0.0.1 localhost. there is nothing below it .

(#74.125.93.113 android.clients.google.com ) so do i have to copy this one

i have posted this also tried this but nothin happend .then suddenly my phone started working with google services. i checked 2 3 days if it is working correctly then i have again started using my one v. till last night it was good but now i am having this problem again.

i think rooting was the cause of this . attached snapshots .please help me out. i am so worried
[Android General] sirius_gamer:
Same here! I just have 127.0.0.1 localhost in the hosts file. Nothing else is there.
[Android General] -blacknight-:
worked

:)

#74.125.93.113 android.clients.google.com

Thanks, worked on Kindle FireHD 8'9

:laugh:
[Android General] OverlordQ:
Doesn't work, get this on initial setup, so there's no way to load/launch apps or edit the hosts file.
[Android General] QYOBZ:
what do you mean there's no way to edit the host file... imo there should be... as long as the device are rooted.;)
[Android General] QYOBZ:
it seems your connected to playstore... try this:

GO TO SETTINGS > Application manager > Look for Goole Play Store click force stop and clear data and cache... then see if this work..
[Android General] QYOBZ:
clicked thanks?

CONGRATS
[Android General] QYOBZ:
try to put # on 127.0.0.1 localhost if copy pasting the second layer doesn't work..
[Android General] bebjan:
i have the similar problem and when i try to edit i get an error remount error what should i do my phone has been restored to factory previously
[Android General] C00l.vishu.ar0ra:
Thanks man :)