[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Does anyone use a hosts file on Android? I tried using MVPS hosts

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 1

File: Screenshot_20161024-164136.png (177KB, 768x1280px) Image search: [Google]
Screenshot_20161024-164136.png
177KB, 768x1280px
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..
Thread posts: 6
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.