Host Files for Android

Does anyone know anything about host files?

1 Like

Host files are files that direct the http request of your device.
You can direct them to null - blocking certain websites very easy.

Here’s a preset kosher hosts file that I’ll share with you guys.

Push it into /system/etc/
And chmod 644.

hosts.zip (4.0 KB)

Enjoy!

What does it do?

Can you block an app using host file like play.google.com to block the play store?

system/etc/hosts

Yes!
The http address is
Play.fe.googleapis or something like that. Again, use http canary to intercept all requests you don’t want them to work.

Yeah, my head wasn’t there for some reason lol

How do i add addresses

add a line 127.0.0.1 new.web.address
make sure there is one blank line at the bottom of the file

1 Like

What is chmod 664?

Grant permission 644 - it’s a code for who has permission for what. Ask AI

I don’t have ai my filter blocks it. How do i grant that permission and how do i mount it my phone does not have a folder called host in etc

What means kosher? What exactly doesbit block?

Everything look through it with a text editor