Questions tagged [hosts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
37
votes
3answers
210k views

How to edit 'etc/hosts' file?

I'm using Nexus 5 on Android 4.4. Kitkat. I would like to edit /etc/hosts file and add redirect mappings in order to block few ads. I need to know how to access/modify/replace /etc/hosts file. I ...
0
votes
2answers
1k views

Modifying hosts file does not have any effect

Since I spend too much time on websites such as 9gag.com and the like, I decided to try and block them by modifying the hosts file on my rooted Nexus 5. So I created a new hosts file using notepad++,...
1
vote
1answer
329 views

Edit hosts file from terminal IDE with root accessed

My terminal IDE accessed root but cannot edit hosts file. root@172.16.0.151:/system/etc #vim hosts But vim just opens hosts file as readonly. Where do I missed here?