How to edit hosts file in Android


I think that you know about hosts file. Which is known from Windows and you use it for blocking some websites in computer. Or maybe you have a virus on computer which automatically add lines in hosts file an block some websites and you can't access website. Android too have a hosts file. So we can edit it, if we have some websites problem with accessing them then we can check hosts file and remove unwanted lines. Or just block some websites.

1. We need a Rooted device.
2. After that we need to install this app
on device from Play market.
3. Now open that app you just downloaded.
4. Go to next directory File system root -> etc.
5. Now from that folder find hosts file. Press on it and in pop out window choose edit file line.
6. Now remove unwanted lines or add if you want to block websites ( to block you need to add this line 127.0.0.1 example.com ). And after that press on the floppy icon from top to save it.


After that in pop out window press on OK and after that Yes. And Grant with SuperSu if asks.
That's it! All new settings appeared to Android hosts file successfully.

Share this

Related Posts

Previous
Next Post »