Does anyone use a hosts file on Android? I tried using MVPS hosts and it looks like Android can't parse the entire file. It blocks some domains but not all. The same hosts file enforced through NetGuard (creates a local VPN connection which filters based on that hosts file) does seem to block everything.
I assume it does not parse the file after a certain line, but I may be wrong. Fact is some ddomains do not get filtered. I wonder if anyone experienced this or it's just me.
>>57216941
AdAway parses
>>57216953
I want to use built in functionality when possible.
>>57216941
I found the problem:
https://www.h3xed.com/mobile/fix-android-hosts-file-not-working
> Incorrect Newline Characters
> The Android hosts file should use Linux/UNIX style newlines, which are a single Line Feed LF character per new line. If your hosts file has been generated or manipulated on a Windows computer, chances are the newlines were changed to the Windows style, which consists of a Carriage Return & Line Feed [CR][LF] per new line. If these Windows style newlines exist in your hosts file, it will not be parsed properly by Android (Android is Linux based).
> To determine what newline characters are in your hosts file, you'll need a better text editor than the default Windows one. Notepad++ is a good one. You can have it show the newline characters by going to View > Show Symbol > Show End of Line. You can then have it convert to the UNIX format by going to Edit > EOL Conversion.
Now it works. I thought \g\ likes to thinker with their technlogy. Seems I was wrong..
>>57217038
We take our selves very seriously on this board.
;)
>>57217455
Yeah, I noticed..