Not possible without root.
I just use DNS66 instead.
_Originally posted by @Laicure in https://github.com/StevenBlack/hosts/issues/1145#issuecomment-585502226_
Hello! Thank you for opening your first issue in this repo. It鈥檚 people like you who make these host files better!
Hey, this is out-of-scope in this repo but I will respond, just close this right away.
Use this detailed guide to setup your DNS66.
Use/add this for your "HOSTS": https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
I think its relevant as it is a way to enable "hosts" on android. Thanks.
Then we will be endlessly talking about DNS66 and other apps just to enable "hosts" in android.
This is about hosts files not "how to deploy" and such.
You know... there's a dns66 repo where we can discuss this.
;)
Ok, so tell me where we should discuss about deploying "hosts" on android? @StevenBlack i suggest add something in read me, or tell me how should i search for things like how to deploy "hosts"
Hi Prakhar @prakhs123 and thanks Laicur猫 @Laicure.
I would certainly entertain a Pull Request to amend the readme_template.md to include this information.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
Closing.
Most helpful comment
Hey, this is out-of-scope in this repo but I will respond, just close this right away.
Use this detailed guide to setup your DNS66.
Use/add this for your "HOSTS":
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts