+14 votes
in Android by (11.7k points)

how to edit android hosts file?

1 Answer

+8 votes

The hosts file on android, like other operating systems, the operating system stores the base domain and ip addresses. If necessary, open the domain, operating primarily looking information in this file, and only then turns to the DNS server. Where is the hosts file on android and how to edit it, and we will describe below.

The Android OS hosts file is located at:
/ System / etc / hosts
By default, it contains only one entry: localhost in .

To change or modify the hosts file in Android, would have to start to get root rights , and on some android devices and open up the system partition for viewing and editing ( get S-off ).

Most often, the hosts file is used to block access to undesirable sites, although this restriction is easily circumvented. For these purposes it is better to use a firewall - will not have to receive and root s-off.

Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.