Questions tagged [hosts]

The tag has no usage guidance.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
218 views

Why is Android showing a different hosts file once my system is booted versus in recovery?

In the past, I've used a modified hosts file on my system that I place at /system/etc/hosts. The process is pretty straightforward Boot into recovery using a custom recovery. Mount /system read-write ...
2
votes
0answers
518 views

Is blocking ads with hosts file slow?

For instance, Adaway offers a hosts file with 300K addresses to block. It works, but will this significantly impact performance, therefor battery life? When does the system access the hosts file? ...
1
vote
1answer
24 views

How to ping a local network host by hostname?

I recently wiped my phone and now I am unable to ping a machine by the hostname. Pinging by IP works. I have a machine, let's say it is called NAS. From my Router and PC, ping NAS finds the machine. ...
1
vote
0answers
96 views

Editing hosts file to restrict website on wifi and mobile data

I have a rooted Samsung Note4 that is running cyanogenmod. I have gone in and edited my hosts file to restrict access to certain websites. However, I have noticed that the restrictions only works when ...
1
vote
1answer
45 views

How to determine to what hosts Android apps are connecting (root)?

How does one determine to what hosts Android apps are connecting (or trying to connect)? Want to know this information even if the host is being blocked by an entry in the hosts file. Assume the ...
1
vote
0answers
427 views

Why my hosts file is not saving/resetting after editing it?

I need to add # before the command line (so I can login into my google account which is a common problem). I rooted my device (I'm using a huawei P8) and tried using total commander and root ...
0
votes
0answers
43 views

Modifying etc/hosts file doesn't work for redirecting to something else

I need to do it for security testing purpose of an app. I have a rooted emulator which runs 7.1.1, It is rooted, I changed hosts file by using echo command, root file explorer, adb push and every else ...
0
votes
0answers
231 views

How to access https://wex1.in without rooting?

This financial website got it’s domain name deleted but it’s still possible to reach it by adding 104.25.31.35 wex1.in to etc/hosts files on a ᴘᴄ. So how to access the website without editing /etc/...
0
votes
1answer
338 views

CMD cannot “read” my phones /etc/hosts file when editing it via adb

I have to configure my /etc/hosts file on my rooted device(Lineage OS). I can see the content with cat but when I try to open it with vim/nano/vi I only get these questionmark boxes. Screenshot: https:...
0
votes
0answers
1k views

Disable AdChoices with hosts file

I have a rooted Moto G4+ and I have "AdAway" and "AdBlocker Reborn" installed. However in the Chess.com app, I still get ads from AdChoices on the main page. Does anyone know which domain I can block ...
0
votes
0answers
2k views

How do you edit the hosts file on rooted Nougat

I have a Google pixel xl that I have rooted. On my G3 I was able to use Hosts Editor (https://play.google.com/store/apps/details?id=com.nilhcem.hostseditor) without any issues. When I tried on my xl I ...
0
votes
0answers
332 views

Can't connect to Play Store. Which app keeps modifying my “hosts” file?

So I am using a rooted Galaxy S6. I am familiar with the hosts file in the Android system and how it works. I modify the hosts file to block ads every once and a while. Recently, I haven't been able ...
0
votes
1answer
763 views

Cannot mount /system rewritable

I have rooted my phone and changed /system/etc/hosts file to block Facebook(just for test). However, since I did it, I am not able to edit the hosts file again. As a result, I cannot visit Facebook ...
0
votes
1answer
263 views

Rooted device, modified the hosts file and rebooted but still have access to blocked sites

I tried to block Facebook on Chrome by changing the hosts file but to no avail. What could possibly went wrong? Modifying hosts file does not have any effect I followed exactly what the op did and ...
-1
votes
1answer
41 views

Hosts doesn't work

So i play a game that uses a server to detect emulator users. Is there anyway to prevent other emulator users from being in my online game ? The problem is that other emulator users usually use ...