yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] beepboopbeeptu:
My google play store isn't working or anything that involves google on my phone isn't working. It always says "no WiFi connection" this started happening right after I used lucky patcher do you know how to fix this.
[Android Q&A, Help & Troubleshooting] CatExperimenters:
Error

Total Commander come up with 'Error writing to file /etc/hosts' pls help me.
[Android Q&A, Help & Troubleshooting] Ndm007skh:
It's showing not enough memory when I try to edit hosts file. What should I do?
[Android Q&A, Help & Troubleshooting] KIMoFy:
I created an account just for this:

Thank you so much. You are a legend
[Android Q&A, Help & Troubleshooting] sumit ranjan:
thanks buddy it worked for Oneplus 2 also!
[Android Q&A, Help & Troubleshooting] Danko24real:
Yusssssssss,it worked

OH MY GOD ,THANK YOU.Its a big problem,but with your solution ,my tab is now excellent.:laugh::laugh::)

(Sry for my bad english)

---------- Post added at 08:48 AM ---------- Previous post was at 08:45 AM ----------

It showed me once,just reboot your device.
[Android Q&A, Help & Troubleshooting] Ichigo1221:
I tried this steps, but I can't find the file name "hosts" in etc folder. Please help.

---------- Post added at 07:39 AM ---------- Previous post was at 07:27 AM ----------

My google play store and play games always saying that there Is no internet connection even there is. It's started since I downloaded the Xposed app on my rooted tablet and downloaded any modules. But these problems only occurs in google play store and play games.
[Android Q&A, Help & Troubleshooting] johnsf:
The same thing happends to me the first time i tried, then i tried to put space between the 01 to localhost say 3 or 4 space then save, works for me
[Android Q&A, Help & Troubleshooting] ZaKaRia OuH:
i tried deleting host file but,it says failed to delete !

despite the fact that i treid that using total commander and root explorer.

someone can help please :)

---------- Post added at 11:17 AM ---------- Previous post was at 11:10 AM ----------

You are a Genius dawg

you are really a genius !!

i tried every single mentioned option above and after but nothing worked.

till i tried your trick

thank you so much really

i appreciate your help.

ican't stand this motherf**kin google play storless hand****
[Android Q&A, Help & Troubleshooting] mihaisoare062002:
Is it totally safe if i delete the hosts file?
[Android Q&A, Help & Troubleshooting] ZaKaRia OuH:
it's safe.

if play store doesn't work for you try this solution.
[Android Q&A, Help & Troubleshooting] Ujjwal786:
Not able to edit that file and deleting it also didnt work....plzzz help me out
[Android Q&A, Help & Troubleshooting] abhi93696:
hey i can't delete or edit host file

it is giving error!!1

pl help

---------- Post added at 08:47 PM ---------- Previous post was at 08:16 PM ----------

found solution!

w w w . techrepublic . com/article/edit-your-rooted-android-hosts-file-to-block-ad-server
[Android Q&A, Help & Troubleshooting] LonelyTANVIR:
Sometimes updating the host file doesnt work. I face problem in google play games. I cant change account.
[Android Q&A, Help & Troubleshooting] hamoudaB:
I can't change and save thé host file

Please help me !!
[Android Q&A, Help & Troubleshooting] Bobbyk2084:
Unrooting fix

If you unroot your device go into your installed file manager and look for the root files in device storage (they are usually at the bottom) and delete them then reboot. I used kingroot to install root then unrooted. If this worked for you then good.
[Android Q&A, Help & Troubleshooting] Mohamed-Salama:
if you want to fix google play and youtube in the moment check and set your phone date and time it worked with me so I hope it solve your problem

thank you
[Android Q&A, Help & Troubleshooting] VenfefulRat:
Hell yes!

Been trying to get this stupid thing working on WiFi again and even did a factory wipe, didn't help because I probably didn't format my internal storage. Everything is saved there.

But your solution, boom, immediately solved it! ****ing awesome! Thanks for that!
[Android Q&A, Help & Troubleshooting] ragehero1234:
it does not work on huwawie y600
[Android Q&A, Help & Troubleshooting] Panosu:
Thank you 10000 times ?

mod edit Thank you. :good::cool:

---------- Post added at 09:47 AM ---------- Previous post was at 09:43 AM ----------

[/COLOR]

Did you know you CAN thank him/her a 10000 times bro? I just did it thanks for your idea mate:cowboy:
[Android Q&A, Help & Troubleshooting] harshrajput45:
iam facing an error in total commander while saving the file....error comes like error failed to save file...
[Android Q&A, Help & Troubleshooting] zombiexxl:
This world like a charme! Thank you very much!
[Android Q&A, Help & Troubleshooting] diego.pedroza:
I have this on my hosts file

127.0.0.1 localhost

::1 ip6-localhost

Tried with several editors but cannot save file, this folder has no write permissions, how can I give write permissions to this?
[Android Q&A, Help & Troubleshooting] Sampath521:
Thank you very much it worked
[Android Q&A, Help & Troubleshooting] anwr:
you must root you phone first in order the editor app to work
[Android Q&A, Help & Troubleshooting] shivam558:
Thank you very much. My phone's play store is good now
[Android Q&A, Help & Troubleshooting] dejaverse:
hello, thanks for this guide! it helps
[Android Q&A, Help & Troubleshooting] ConanOBrien:
I've tried this guide and unfortunately I am getting the same error. Anyone have a different fix for this? I've tried clearing cache, reinstalling Open Gapps, trying an older version of Open Gapps, all of that. Editing the host file doesn't change anything.

Any help would be appreciated
[Android Q&A, Help & Troubleshooting] Baddu.Coder:
Thanks!

Thanks Bro! Just took 10 secs to get out of prob... :good: ;) :good:
[Android Q&A, Help & Troubleshooting] Septaric:
Disregard
[Android Q&A, Help & Troubleshooting] umair786:
Ohhh
[Android Q&A, Help & Troubleshooting] Gurperteek:
Doea it work on oppo neo 7 too???
[Android Q&A, Help & Troubleshooting] waqar874:
when i add # before a line or erase it,it creates a new line what should i do
[Android Q&A, Help & Troubleshooting] equitube:
What about if you have adaway installed. It rewrites the hosts file at boot.
[Android Q&A, Help & Troubleshooting] Static_Cat:
same problem mate..
[Android Q&A, Help & Troubleshooting] Fullmetal Jun:
Works!

I used that nasty app out of frustration against a greedy game full of ads & uninstalled it afterwards. For some reason, I was unable to make iap for other apps.

This method saved me a factory reset ;) Never gonna use that unlucky patcher again
[Android Q&A, Help & Troubleshooting] sukrisabberi:
thanks mate

has helped a lot:good:
[Android Q&A, Help & Troubleshooting] Haruka Mukamo:
Oh no! Help please!

Ummm...

Okay here's my problem:

I installed Freedom apk and Google play store didn't work! I tried these methods

1. I downgraded Google play store

2. Deleted the hosts file

3. Cleared the data of Google play store

4. Cleared the cache of Google play store

5. Tried to update Google play store but there's no update I can install

6. Checked the date and time settings

My problem in problem number 1:

Okay I said I downgraded google play store and I keep downgrading it... Then one day the Google play store didn't update... I said "Oh! I should install apks instead! " then my downloads pause and I resume my downloads and it dosent work!!

Please help me... Please!

( P. S This is my mom's phone that haves this problem please fix this or I'll be dead! Help please! )

Thanks,

Haruka
[Android Q&A, Help & Troubleshooting] the_mic:
Help cant edit or remove host file ...please

Dont work help cant edit or remove the host file and i got SU permission and fully rooted its came after install and uninstall freedom app ... :confused:
[Android Q&A, Help & Troubleshooting] Pawnzer:
It worked mate. Thanks a lot!
[Android Q&A, Help & Troubleshooting] Snaproyale:
Help please.

Total commander show error when saving the hosts file. Error writing the file. How can i fix this?
[Android Q&A, Help & Troubleshooting] flipmode_11:
DOES NOT WORK! THIS IS NOT A HOSTS PROBLEM!

When I couldn't download on a media box, I found that I could not download or do anything on my phone either!

I contracted Google Play and they did something on their end. My status said "DEVICE CERTIFIED" and downloads would say "Downloading......." and never show "Downloading... 6MB of 30MB".

So I suspect there are different issues and solutions. Please fix your title to reflect the CAUSE so people know if relevant!
[Android Q&A, Help & Troubleshooting] Nitro_G:
It's don't work for me, am getting an error message text could not be saved
[Android Q&A, Help & Troubleshooting] Ehmad33:
(Root) Simply you need to download lucky patcher.

1; Then open and click toolbox in bottom left corner.

2; Click block adds

3; click remove hosts file

All done
[Android Q&A, Help & Troubleshooting] anilchavan1990:
This method isn't worked on my yureka 2
[Android Q&A, Help & Troubleshooting] Arceist Justin:
This information posted by the OP is FALSE! It tells me that it could not save the file despite giving it root access!
[Android Q&A, Help & Troubleshooting] bilal zafar:
Play store

I have blackphone bp1 i flashed gapps but when play store update it gives error no internet connection. I tried each and everystep mentioned but it doesn't work.plz give me solution for this.Thanks
[Android Q&A, Help & Troubleshooting] dDranzer:
Cant open the system root folder
[Android Q&A, Help & Troubleshooting] Johncoool:
I hope to still be able to get an answer after 7 years...

I installed two custom roms and GAPPS for each. One the 1st one all worked out great without any editing but on the 2nd one it did not connect the Play store to the internet. I tried this solution but did not work.

Please provide full tips to try...
[Android Q&A, Help & Troubleshooting] Ronny927:
So you tried old and new method, and it still doesn't work?
[Android Q&A, Help & Troubleshooting] andrea_x:
no luck

Hi guys,

I'm on Cyanogenmod 10.1 on a Samsung GT-I9505 and since the moment I've flashed it with that rom, I can't access the Google play store. Ad forma many of you I get a "No connection" error.

My hosts file (it's not on /etc but on /system/etc) had already only the ”127.0.0.1 localhost" line.

So I've renamed it, rebooted and...nothing happened. There were no new hosts file band the Google play store si still not working :(

Andy idea?

Thanks,

Andrea
[Android Q&A, Help & Troubleshooting] zhiweitan:
worked!!!! S4 Active TY!!
[Android Q&A, Help & Troubleshooting] MrWensim:
Thanks.
[Android Q&A, Help & Troubleshooting] ml700:
i had the same problem cuz i didn't flashed a google apps zip file , so just look for it and flash it .
[Android Q&A, Help & Troubleshooting] bebjan:
help

How do i solve this if i my nexus 4 is not rooted ?
[Android Q&A, Help & Troubleshooting] galaxy-s-freak:
Sorted thankyou.

_______________________________________________________________

Worked for my Galaxy s i9000 running cyanogenmod 10.2 nightly and the latest 4.3 gapps

Thanks so much! :D:D:D

Oh and if your runnng cyanogen then youu can use file manager rather than total commander.

1. Open file manager

2. Press your menu key/touch "settings"

3. Touch General settings/access mode and touch root access mode.

4. Press back button twice then touch the "/" at the top of file manager

Follow original post from 4 onwards.

Please don't forget to click "thanks" if I helped you.
[Android Q&A, Help & Troubleshooting] dhp_devendra:
Thanks, you solved my problem

I was getting "No connection", "Retry" error while loading Play Store in my Samsung Galaxy S3 after installing Freedom.

But your method successfully solved my problem.

Thanks:good:
[Android Q&A, Help & Troubleshooting] havork:
book casouxp

Nothing is working for me, going crazy :/

Does it have to be opened in total commander? I edited it with text editor from root explorer.

Also is the space at the beginning necessary?

I also tried deleting the hosts file

Nothing works

Galaxy s4 GT-i9000

Rooted

:(

Edit:

I bought my device in China, the only way to get most of Google apps to work properly was to put a new ROM on.

Chinese block Google products within the ROM.

Enjoying my NeatROM :D
[Android Q&A, Help & Troubleshooting] ulriks9:
Thank You!!!!!!

Thank you sooo much!!! i was really afraid of my device being broken after just 10 days, but you helped me!!!
[Android Q&A, Help & Troubleshooting] cloud1strife:
THANKS A BUNCH, only problem is that I had to wait a long time loading the hosts file, a bit of patience does the trick.
[Android Q&A, Help & Troubleshooting] noradoor:
Really appreciate that

After installing Xposed framework,I had gotten this annoying problem.

And finally I solved it using your method.Thanks,bro.:D
[Android Q&A, Help & Troubleshooting] king_dza:
Tnx a ton....it worked well on my Stock JB 4.1.1 Micromax A110!!!:good:
[Android Q&A, Help & Troubleshooting] nikolas60:
thans bro it worked
[Android Q&A, Help & Troubleshooting] bilinkis:
Thank you! Worked on Skyrocket!
[Android Q&A, Help & Troubleshooting] LiMITZERO:
+1 tnx saved my day :)
[Android Q&A, Help & Troubleshooting] goatslayer85:
I tried your method but I am unsuccessful. I am using a note 2 (t889) with cmod 10.1.3

This this information make a difference? I tried it all and I'm still getting a "no connection" :(
[Android Q&A, Help & Troubleshooting] dhrtlockeroo9:
Hey bro not need to edit anything on host file just delete whole host file..and open Google play store this automatically by default create a new host file..!

---------- Post added at 02:56 PM ---------- Previous post was at 02:53 PM ----------

Bro just go to system/etc and find hosts file and delete it..then go to setting-apps-google play store clean cache and data... Then open Google play store.
[Android Q&A, Help & Troubleshooting] Adam2k90:
Thanks worked great on my LG G2
[Android Q&A, Help & Troubleshooting] IceBottra:
IceBottra

THx My friend its working perfectly :good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good:
[Android Q&A, Help & Troubleshooting] klembo1957:
?????????????????????????

How do you download it from play store if YOU CAN'T GET TO THE PLAY STORE? (LOGIC PROBLEM)
[Android Q&A, Help & Troubleshooting] Ronny927:
Im sorry for my mistake in the post.

Anyway, there is a download link to the apk of the app, just below the steps. So either you didn't read the whole post, or you decided to re-mention a problem that has been mentioned months ago. I'll edit the post, and that's my part done. But you will have to read the whole post of other threads, before you scream about some minor errors.
[Android Q&A, Help & Troubleshooting] PHug:
Help please?

Hi.

I am having this problem on a nexus 7 (2012)

I downloaded total commander and get to the hosts folder but when I try to edit or delete hosts file it asks me to Re-mount drive.

I hit ok and i get "remount error" and if I try to delete, it says remount error Could not delete 1 file/folder!

How can I fix this?

---------- Post added at 03:07 AM ---------- Previous post was at 02:23 AM ----------

I found a fix for this had to use Root Explorer instead of Total Commander.

Root explorer allowed me to mount the "etc" folder as R/W which allowed me to delete the "hosts" file. After that i just rebooted and the play store loaded up with out issue.

PS. I was going to delete my first post but figured it could help someone else that has the same problem.
[Android Q&A, Help & Troubleshooting] mohammedtaherpatla:
am not able to replace file hosts for the problem of playstore connecting

it shows me remount drive error and am unable to use playstore after i used freedom.apk with the app on am able to use it but without it my playstore wont connect please help
[Android Q&A, Help & Troubleshooting] Ronny927:
XDA and its respective members do not provide support for fraud and warez.

Freedom.apk is a form of fraud and warez. It uses a faked credit card (the so called free-card) to fake purchases from the Google Play Store. Because it is a form of warez, it is agains xda rules:

6. Do not post warez: If a piece of software requires you to pay to use it, then pay for it. We do not accept warez nor do we permit any member to promote or describe ways in which Warez, cracks, serial codes or other means of avoiding payment, can be obtained. This is a site of developers, i.e. the sort of people who create such software. When you cheat a software developer, you cheat us as a community.

Please remove your post. Or you might receive consequences if forum moderators see it.
[Android Q&A, Help & Troubleshooting] martikp:
Better Way!

1. Install "Lucky Patcher"

2. Hit "Block Ads"

3. Remove "Host" File.

4. Done! :victory:

P.S. You're welcome! :laugh:

For more understanding: h t t p : / / i41.tinypic.com/t6eyih.jpg
[Android Q&A, Help & Troubleshooting] nayakanet:
its work for me :D LG G2 thanks a lot bro :good:
[Android Q&A, Help & Troubleshooting] Hamza91:
Thanks :D

Thanks working great on Acer Iconia B1-710 :D
[Android Q&A, Help & Troubleshooting] metaoption:
Worked for me

Worked for me, other possible solutions
[Android Q&A, Help & Troubleshooting] QYOBZ:
It was ALREADY posted here

This was Already posted on January 21st 2013

here http://xdaforums.com/showthread.php?t=2110225
[Android Q&A, Help & Troubleshooting] passagorn143TH:
Its Work

Thanks for Save my Oppo find 5 and my life. Its great and very helpful . :D
[Android Q&A, Help & Troubleshooting] bhovah:
thanks

Thanks!!!
[Android Q&A, Help & Troubleshooting] salmannadeem02:
Not Working on Huawei Y300

I opened the host file , edited it and the code you gave to paste was already there , i still edited it and wrote it again as you wrote in the post. But i am not able to save it, please help.
[Android Q&A, Help & Troubleshooting] Ranaboys:
u can use lucky patcher ko clear hosts file

i used lucky patcher
[Android Q&A, Help & Troubleshooting] Samzter:
actually WORKED!!. haha thanks hit..

EDIT: what causes this BTW??
[Android Q&A, Help & Troubleshooting] OscarXcore:
Sony Xperia Z Root: Play Store

Every time I use the play store I have to edit the hosts file how do I make it stay edited? And when it resets nothing works. Facebook messenger doesn't give notifications, play store doesnt work, facebook doesnt give notifications neither does instagram, tumblr, Twitter, and all of my other games. So in General I get no notifications at all except for my texts and calls. How do I get it to not reset?
[Android Q&A, Help & Troubleshooting] xmanberserker:
I just added the # and it works, thank you!
[Android Q&A, Help & Troubleshooting] mr.what15:
Samsung Galaxy Star Duos S5282

I have tried everything..

cleared the cache even formatted cache partition

checked the time and date

installed total commander and tried to edit the hosts file but it doesn't save after the editing and keep saying error...

what should i do???????

Even i have factory resetted my phone :( ... but still same pls give a solution :(
[Android Q&A, Help & Troubleshooting] nwforester:
Reinstall gapps. Worked for me when nothing else did.

I would post a link, but I'm new and they won't let me.
[Android Q&A, Help & Troubleshooting] Irwenzhao:
Here goes the link. http://goo.im/gapps

Smack that thanks button If I helped!

Always make a nandroid backup before trying anything risky

Sent from my fabulous N7105 powered by Illusion ROM and Plasma Kernel.

Sent from dat small country called Singapore.

P.S. Quote my post for replies ASAP.
[Android Q&A, Help & Troubleshooting] Aaaaanuj1:
Thanks
[Android Q&A, Help & Troubleshooting] Almas Baig:
Root Your Phone first..
[Android Q&A, Help & Troubleshooting] shamipak:
Please Help

I am getting the same problem. My phone Hosts file only contain one line i.e. 127.0.0.1 localhost. I tried removing the file, blocking ads but no use. Still i can only access play store through mobile data not WIFI.

Please Help:(
[Android Q&A, Help & Troubleshooting] usmanyo:
Total commander wont work

Hi people,

i just installed total commander and went to the host files, as soon as i press edit file my mobile hangs or something, then a text file opens showing lines showing 127.0 stuff and adaway things, but i am unable to do anything and the error message shows that total commander isnt responding... what should be done?

thanks in advance! :)
[Android Q&A, Help & Troubleshooting] wakata:
same problem here, under my wifi there no way to use the playstore, or facebook messanger... on both phone and tablet...

i almost tried everything, working on the phone and on the router

but still don't work...

really don't know what to do for now :(
[Android Q&A, Help & Troubleshooting] beyarfaj2004:
thanks alot mate, it worked

i used root explorer
[Android Q&A, Help & Troubleshooting] sohailbhatti57:
Playstore no ceonnection error

Hi,

i m facing no connection error even i try to delt the host file or edit it but the massage appeared "error wring to file". What i have to now?
[Android Q&A, Help & Troubleshooting] pssecretajent:
wow! worked...thanks
[Android Q&A, Help & Troubleshooting] rezasalawas:
No connection on play store

hi guys i need your help! I just bought a lenovo s6000-h in china and i rooted using framaroot and i install gapps by copying to app folder in system. Now i have google play store with no connection, but i did all the things written in all forums from force stop clear data n cache, set sate n time, factory reset which is brought me to no gapps at all, and do the thing to hosts file in etc folders. I got like hundreds of ip addresses and i simply deleted it and copy 127.0.0.1 localhost on the first line. And still no connection,even i deleted the hosts file didnt nake any changes. if you guys know what to do please share it to me. Thanks!
[Android Q&A, Help & Troubleshooting] Irwenzhao:
Flash GApps through recovery, not just move it to /system/app

Smack that Thanks button if I helped!

XDAing from a N7105 powered by Illusion ROM.

Sent from a small country called Singapore.

P.S. Time for school, not much time for XDA :(
[Android Q&A, Help & Troubleshooting] rezasalawas:
Okay before i smack the thanks button, can u tell me the recovery tool for my device because i couldnt find it. Thanks!
[Android Q&A, Help & Troubleshooting] Irwenzhao:
Try using this http://www.androidpolice.com/2012/0...w-to-do-it-and-install-clockworkmod-recovery/ or use ROM Manager and flash CWM from there.

Smack that Thanks button if I helped!

XDAing from a N7105 powered by Illusion ROM.

Sent from a small country called Singapore.

P.S. Time for school, not much time for XDA :(
[Android Q&A, Help & Troubleshooting] muzzijutt:
Thanks Alott.. :)

it works.. :) (y)
[Android Q&A, Help & Troubleshooting] lacosteIII:
it works for me, thanks :)
[Android Q&A, Help & Troubleshooting] Al Edson:
Thanks for your help!

Hey!

Thanks to you both!!!

I was unable to edit the file so I deleted it.

Play Store is now up and running :laugh:

Wonder why Google doesn't track down people that use this hack/app?

Did I use "Freedom???" NO, NEVER --- Big Brother

Thanks again for the advice!
[Android Q&A, Help & Troubleshooting] Naruyasha:
IT WORKED!!!

THANK YOU!!! :D worked perfectly :)
[Android Q&A, Help & Troubleshooting] xneuromancer:
When I reboot the hosts file gets appended (not over written) with the same 2 lines again

<ip address> android.clients.google.com

mtalk.google.com

any idea on how to stop this?
[Android Q&A, Help & Troubleshooting] Cor Sicarius:
Galaxy Note 3 4.3 can't delete hosts file. Google Play not working!

It doesn't work for me. For editing or deleting the host file. Always says "operation failed" whenever I try to. Please help? I need the play store.
[Android Q&A, Help & Troubleshooting] adibayer_:
another simple way, just remove your google account, then re-add it again.

it works in my Xperia ZL with JB 4.3 :D
[Android Q&A, Help & Troubleshooting] soralz:
After figuring, I found that blocking the Playstore connection is actually caused by the Adfree app, after choose revert hosts file and reboot my phone is normal again. Anyway thanks for letting me figure out the problem.