yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Well, for one thing, ad blocking is rarely (if ever?) incorporated into the browser itself. Instead, a plug-in is used like adblock pro/plus. In the options of these plug-ins you should find which lists they use (like this one). There's a bunch more right here. MoaAB pretty much includes all of them :silly:
[Android Software/Hacking General [Developers Only]] AdroitAdorKhan:
Can I share a custom MoaAB Build?

Features ~

• Inactive and Invalid Domains Removed.

• Whitelisted top domains.

EXTRA -

• If MoaAB uses any external source, that one can be merged too.
[Android Software/Hacking General [Developers Only]] JJEgan:
With the devs agreement yes.
[Android Software/Hacking General [Developers Only]] Wisesa:
Any update ??:confused:
[Android Software/Hacking General [Developers Only]] JJEgan:
Please read the thread .

Updates when the dev posts continually asking for update ps devs off.
[Android Software/Hacking General [Developers Only]] androidfive:
Adzhosts is an good alternative

(adzhosts.fr)
[Android Software/Hacking General [Developers Only]] thehobit:
I'm trying to flash the host file with TWRP 3.2.2, on a non-rooted Redmi note 5, Oreo.

Flashing is successful; however, the original hosts file remains intact.

Any idea how to resolve?
[Android Software/Hacking General [Developers Only]] caper:
Need root

Enviado do meu ONE A2001 através do Tapatalk
[Android Software/Hacking General [Developers Only]] JJEgan:
Its always needed root to replace the file as its located in system root.

See OP FROM DAY ONE.

Non root is via VPN
[Android Software/Hacking General [Developers Only]] thehobit:
I can't root the phone due to corporate rules.

Can I do TWRP backup, use on a PC Winrar to change the hosts file in the system image, and then flash only the system image back?

Any other good solution for non-rooted phones?
[Android Software/Hacking General [Developers Only]] gimpy1:
Google/Try blokada. It does work on my non rooted lg. It's a very good alternative to MOAAB.
[Android Software/Hacking General [Developers Only]] thehobit:
I download the TWRP backup of the system image, to try and replace the hosts file.

Surprisingly, there are two hosts files (see attachment), one is the original and one which was flashed.

Any explanation or solution for the odd situation?
[Android Software/Hacking General [Developers Only]] MrT69:
You have PM.
[Android Software/Hacking General [Developers Only]] patrickdrd:
can you send me too?
[Android Software/Hacking General [Developers Only]] androidfive:
Blokada, personaldnsfilter, DNS66, Adzhosts (fork of dnsfilter and a host source), Adguard (this costs money)
[Android Software/Hacking General [Developers Only]] robbayani:
please make it systemless via magiskkk..

thaaankzzz..
[Android Software/Hacking General [Developers Only]] deeplyyoung:
Tnks Dev for another update, love using Mother of All Ad-Blocking...thumps up:good::laugh:
[Android Software/Hacking General [Developers Only]] vikraminside:
Does avast provide firewall on stock kernel for sgy? I know spyware adware virus signatures are diff concept from firewall.

I use AVG antivirus so far on pc with fw and android w/o fw. Do you think avast can override init.d limitations and iptable limitations for firewall in stock kernel?

I apologize this is completely off topic from your thread.
[Android Software/Hacking General [Developers Only]] Hedied4me:
I have a dumb question. Is there anyway to use an adblocker like this one to completely block pornography/nudity?
[Android Software/Hacking General [Developers Only]] detdett:
there are a lot of apps for that in the play store. see which one fits you the best
[Android Software/Hacking General [Developers Only]] Hedied4me:
Ya I know, would just be nice to be able to flash something rather than have an app that can be uninstalled easily; especially on a rooted phone.
[Android Software/Hacking General [Developers Only]] htcflyerhc:
working on hc 3.2.1 no more ads:D
[Android Software/Hacking General [Developers Only]] ineedone:
Working great on 4.2.2. Thanks for the update! Best ad-blocking around. Highly recommend!
[Android Software/Hacking General [Developers Only]] deeplyyoung:
Tnks Dev, have flashed latest version also n it work perfectly in ma CANVAS HD (Rom C4 4.2.1)...

Love to use it n spreading this in ma frnd circle also who like to say bye to Ad....
[Android Software/Hacking General [Developers Only]] CM Wave:
Thinking of giving this a try. Has anyone done any sort of bandwidth comparison between using this hosts file vs. using Chrome's built-in bandwidth reduction proxy?
[Android Software/Hacking General [Developers Only]] :
So, where is the 'host' file ? I flashed this mod, so what's next, there must be some manual handling in the next step. What is it?

Or for the rooted phone just flash through recovery this ZIP and that's it ?

---------- Post added at 05:08 PM ---------- Previous post was at 04:32 PM ----------

The first link loads, the other two don't.
[Android Software/Hacking General [Developers Only]] mdfzhi:
hi. wonder why u also included getsatisfaction.com in the hostfile?

its an online support/q&a forum which my telco provider use. not aware of any spam/malware/ads coming from them.

not hard for me to just manually delete it from the hosfile before flash but just wondering why its included in the first place.

https://en.wikipedia.org/wiki/Get_Satisfaction
[Android Software/Hacking General [Developers Only]] TRusselo:
please remove the following lines!

127.0.0.1	rover.ebay.com
127.0.0.1	rover.ebay.co.uk
127.0.0.1	rover.ebay.de

these stop ebay from working in a browser, you are unable to respond to messages you get in email, unable to pay for won items ect. You are only able to do these (and other) tasks through the ebay apk, (which isnt good enough sometimes).
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Yep. will see and validate. Updates will come in upcoming release...
[Android Software/Hacking General [Developers Only]] mrjoy:
can we get the seprate changelogs for each dates you released. Like 12 August but unable to recognize the changes, mean these are same like previous one.
[Android Software/Hacking General [Developers Only]] metalmoot:
Arff adaway always crashes when I install the host file

Sent From My Beaned Razr I
[Android Software/Hacking General [Developers Only]] bosert:
This looks amazing and the procedure works perfectly on my HTC one V. The ads have disappeared.

But I have a problem with my Asus transformer TF101. I did use the cwm method with both cache cleaned afterwards and a reboot but the ads are still there. So I decided to install the hosts file manually as explained in post 8 : http://xdaforums.com/showpost.php?p=32562478&postcount=8

My tablet is wifi only without 3G. It is fully rooted of course. I placed the "mother of all ad blocking" hosts file in the proper directory. I even tried both in the "etc" directory and the "system/etc" directory. sometimes at the same time, sometimes not, trying each and every possibility.

No problem for that. I set the proper permissions. Reboot and nothing changed.

So here is what is happening. I can place the hosts file without problem but as soon as I start my Wifi, my tablet deletes it immediately and replaces it by a "regular" hosts file composed of "127.0.0.1 localhost"

I even tried with root explorer to set the permissions to read only, but whatever I do, as soon as I turn the wifi on, it erases the mother of all ad blocking hosts file and create a new one. I have spent 2 hours trying everything to fix that but no success yet.

Any help would be extremely appreciated.
[Android Software/Hacking General [Developers Only]] SoHardcore:
I tried this hosts file a couple weeks ago and was unable to get it to work. I could clearly see that it was in place, huge size (like 16 MB was it?), and definitely the right permissions. Opened up Boat browser, but still saw ads.

Decided to just install AdAway and it wrote something like a 2 MB hosts file instead (same permissions), but it works.

Only crappy thing is that there's so many links on SlickDeals and Fatwallet that I want to view on my phone, but they all look like ads/spam to these ad blockers. I can edit them out, but I'm really not sure what to edit out right away on my phone while away from home. Kinda annoying, but still wondering why I could never get this "Mother of all ad blocking" hosts file to work.. . . . . .
[Android Software/Hacking General [Developers Only]] vikraminside:
I think hi5 images being blocked in gmail stock app even while show pictures on.

PS: This mod works the best when applied from cwm flash. I tried adaway which is supposed to merge hosts but it did not work even after restore. It may be ad cache or permissions issue not sure. After reflashing this mod this becomes supreme. Great mod.

God is Original Developer :)
[Android Software/Hacking General [Developers Only]] :
This would be a genius idea.
[Android Software/Hacking General [Developers Only]] iPAQ 6515a User:
Just try energized and keweon ;)
[Android Software/Hacking General [Developers Only]] painchild:
hello! can I have an updated adaway file that works with fb/messenger/spotify? thank you!
[Android Software/Hacking General [Developers Only]] Laicure:
//removing this, thread has been revived by op.
[Android Software/Hacking General [Developers Only]] chlap:
How to block Mx player ads?
[Android Software/Hacking General [Developers Only]] AdroitAdorKhan:
You have to block `graph.facebook.com` to block MX Player Ads. But, it will cause Facebook and Instagram Apps Issues.
[Android Software/Hacking General [Developers Only]] MrT69:
Exactly. That's the problem why I already sayed Hosts file and Browser Plugins are legacy and outdated technologies.

Sure, you can do a lot of things with them. But when you block this "graph.facebook.com" by simple 1 and 0 or Yes and No then you will run in more and more troubles.

Take a look at the Screenshot and you will see what you block in addition if you block one single address.

The same is with c.amazon-adsystem.com. Give it a try and double check it. Go to www.kloth.net and select DIG on the left menu.
[Android Software/Hacking General [Developers Only]] AdroitAdorKhan:
Yea. Ikr. But those graph Facebook stuffs are for Devs and Facebook Based apps.

Hosts method is dated, but user friendly. As they don't slow down or user has the option to do white/blacklisting from their side. So, hosts isn't totally dated yet! ;)
[Android Software/Hacking General [Developers Only]] painchild:
Which one of the three works with fb/messenger/Spotify? Sorry but I'm still a bit newb
[Android Software/Hacking General [Developers Only]] AZGeek:
Alright, alright, Timmy, but then why does my internet connection in Windows 10 freeze?
[Android Software/Hacking General [Developers Only]] thegrid89:
Hi, how about android 8.1. Its not woking for me. You write copy file to 2 folders, but I found only 1 folder in root. (AOSP extended 8.1 / LG G2)

Thnanx
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Because your provider is routing your internet through ad servers? A hosts file can't just freeze an entire connection. Try pinging a few domains that are not in the file; if nothing I returned, there's another problem. I'll try applying it myself when I get back from vacation.
[Android Software/Hacking General [Developers Only]] JazonX:
I assume the first one has all the entries of the second and third one?

Which one should I pick?
[Android Software/Hacking General [Developers Only]] JazonX:
Thanks a ton for the detailed response mate!

Done, Picked the first one!
[Android Software/Hacking General [Developers Only]] :
Does it block ads systemwide just like MOAAB?
[Android Software/Hacking General [Developers Only]] jerkwagon:
When I extract the file its 13mb but when I replace it root explorer says, the replaced file is only 56kb.. anyone know why?
[Android Software/Hacking General [Developers Only]] :
Did you reboot?
[Android Software/Hacking General [Developers Only]] amlbuton:
Which file that have 13 mb?

Care to share?
[Android Software/Hacking General [Developers Only]] Laicure:
yey, I also updated it and will update it again now;)

Depends on what you use. Adaway? DNS66? or just uBlock browser extension?

Adaway and DNS66 (unless whitelisted) blocks system-wide while uBlock blocks per browser only like Firefox as it is an extension.

File Sizes:

"hosts" is 3.6MB

"hosts2" is 1.7MB

"hosts3" is 18.4MB
[Android Software/Hacking General [Developers Only]] berthur:
With MoaAB installed Here WeGo navigation still does not work for me. It is impossible to download offline maps and sync it.

Does anyone got a solution?
[Android Software/Hacking General [Developers Only]] androidfive:
Use Energized
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
are you out of room on /system partition?
[Android Software/Hacking General [Developers Only]] zyoussef:
Poop
[Android Software/Hacking General [Developers Only]] peconaut:
Thanks you should keep us posted if you had more updates
[Android Software/Hacking General [Developers Only]] Laicure:
;)

It's all updated almost 2 to 5 times a week as long as I got spare time and if there are immediate needs to update (generating and uploading the hosts files only takes 2-7mins depending on the speed of the internet).

Also, I'm done updating those 3 variants 2 hours ago ;)
[Android Software/Hacking General [Developers Only]] Sir_gpm:
Do yo know how to update the MoaAb that I'm using, in other words how to update the hosts. Thanks
[Android Software/Hacking General [Developers Only]] peconaut:
I have adaway install and added {http://adblock.mahakala.is} to my host list which is basically adding MOAB.

What site do I need to add to my whitelist so I can use spotify properly

I added the following but it didnt work

audio-ec.spotify.com

audio-sp-sto.spotify.com

embed.spotify.com

gew1.ap.spotify.com

heads-ec.spotify.com

lon6-accesspoint-a33.lon6.spotify.com
[Android Software/Hacking General [Developers Only]] Laicure:
Update MoaAb? That is the task of the owner of this thread.

Once updated, you can just refresh your MoaAb hosts file there (if you are using AdAway or any DNS app).

//removing this, thread has been revived by op.
[Android Software/Hacking General [Developers Only]] androidfive:
Guys use Energized instead
[Android Software/Hacking General [Developers Only]] Sir_gpm:
What's that?
[Android Software/Hacking General [Developers Only]] patrickdrd:
https://github.com/EnergizedProtection/block/blob/master/README.md#variants
[Android Software/Hacking General [Developers Only]] Laicure:
That one has great sources!

Github Star-ed!

Let me try to rebuild one from the sources but I will check how often each source updates and the criteria it blocks.
[Android Software/Hacking General [Developers Only]] Laicure:
If you are using AdAway, just add the sources you want from that link.

If you will generate manually, you may want to use the Windows app I made to consolidate a hosts file; link below.

Anyway, don't just add. Remove duplicates and the loopbacks first (loopbacks should be on top of the hosts file) then you are good to go.
[Android Software/Hacking General [Developers Only]] waingro808:
I used this for years, but latest completely breaks Youtube app for me. Can't play any videos. This is with latest app and Android P.
[Android Software/Hacking General [Developers Only]] sonwon:
Odd it works for me.
[Android Software/Hacking General [Developers Only]] MrT69:
AdAway isnt longer existing.

Because of more times for the family the guy's decided to stopped the entire Project.
[Android Software/Hacking General [Developers Only]] Laicure:
Good thing that the Adaway app is quite polished to be working even now.
[Android Software/Hacking General [Developers Only]] asdfffas:
The name of this app doesn't really fit to its purpose...
[Android Software/Hacking General [Developers Only]] Willy89:
So, guys, are Ad Away and this one both dead?

Any alternatives?

---------- Post added at 10:50 AM ---------- Previous post was at 10:50 AM ----------

So, guys, are Ad Away and this one both dead?

Any alternatives?
[Android Software/Hacking General [Developers Only]] hariharanM25:
Adaway still works fine. U can get it from androidfilehost. Last update was on aug 22 and hosts files are getting updates frequently
[Android Software/Hacking General [Developers Only]] gimpy1:
I now use blokada from the f droid store. It's free and works pretty good.
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
I've personally jumped on keweon DNS by [MENTION=304818]MrT69[/MENTION] and it's awesome! Server level blocking means it doesn't even reach your device anymore. I'm diggin' it ^_^
[Android Software/Hacking General [Developers Only]] androidfive:
You can still use Adaway, it works fine. This is only an Hosts file Editor.

And for Host Sources, you can use Energized or Stevenblack.
[Android Software/Hacking General [Developers Only]] robbayani:
Adaway 4.0.8/4.0.9 + this host + whitelist is best for block ads.. using MinMinGuard more best on in apps ads..

before using Adaway i'm directly overwrite my stock hosts with this(need root),but its bad, my favorite website blocking me to enter because i have adblock..

then using adaway whitelist now i can enter freely..
[Android Software/Hacking General [Developers Only]] ovu85:
I've just rooted my Pixel 1 and installed android Pie custom rom and i'm unable to change the host file.

Is anyone else facing this problem in android 9?
[Android Software/Hacking General [Developers Only]] SXS4:
U can use use ADAway
[Android Software/Hacking General [Developers Only]] ovu85:
Adaway said that i don't have enough space... I reality i have plenty!
[Android Software/Hacking General [Developers Only]] SXS4:
did the adaway get permission of storage?
[Android Software/Hacking General [Developers Only]] ovu85:
yes i gave acces to adaway!
[Android Software/Hacking General [Developers Only]] agraceful:
Calm down buddy. First, you didn't read what it said change the damn path.
[Android Software/Hacking General [Developers Only]] paradoxiumwind:
still the best way to block ads or any updated things out since february?

keweon dns is no good because it seems to use a vpn and I use a vpn already on my phone so need a host file solution..
[Android Software/Hacking General [Developers Only]] sonwon:
This is what I still use and it works for me.

---------- Post added at 04:05 AM ---------- Previous post was at 04:02 AM ----------

If someone finds a site not blocked then please do post it here. Then we can add the site manually if needed.
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Again, keweon does not use VPN. If you'd do some searching in this subforum, you'd find that keweon is also available as a hosts file here. Many more (more up-to-date) alternatives can be found by doing that search I was talking about ;)
[Android Software/Hacking General [Developers Only]] mapbond:
Hi

Any gui based app which can be use with adaway and give option to whitelist and blacklist apps to block ads without dependence of xposed.

I like minminguard but it need xposed to work.
[Android Software/Hacking General [Developers Only]] fred_gaou:
Just use blokada to white/blacklist apps/domain. It uses your Android VPN though.
[Android Software/Hacking General [Developers Only]] paradoxiumwind:
Thanks, but things like this should be more visible. They had medownloading a VPN program and adding some security certificate on my phone. All I want isa godamn hosts file.
[Android Software/Hacking General [Developers Only]] MrT69:
DNS Changer is not a VPN program.

It is just a faked VPN interface because it's the only possible way to change the DNS Server on Android. Google has removed the other options. Same at Apple. The Certificate has nothing to do with VPN. It's just there to pretty up Websites and speed up your Internet. Your internet becomses minimum double faster with this. That's the reason.

If I would extract the entire DNS Database to a hosts file this would currently have round about 6.4 GB. But currently I have only round about 20 to 25% of all options covered with it because im financial limited. At the end we are talking about 28 to 32GB with a daily change. And what's about to block Ads on Playstation or XBOX? What's about other Online devices?

If you have a better idea then let me know this. ;) Hosts files and Browser based adblocker are legacy technology. They just protect within the Browser. In a world of Cloud and having everything Online this is outdated.
[Android Software/Hacking General [Developers Only]] MrT69:
.deleted.
[Android Software/Hacking General [Developers Only]] ktsarlz:
I've been using this before but it seems this has not been updated. Read a few posts back, and I ended up with Adaway with lists from https://bitbucket.org/Laicure/publicview/downloads/hosts

, is this good? I also read about keweon.. I just got a new android phone after many years again so not sure what's currently in.
[Android Software/Hacking General [Developers Only]] Laicure:
That link/hosts file is updated every week using reputable sources.

Using that raw hosts file with DNS66 or Blokada, blocking works well.

As for the keweon, [MENTION=4841620]Timmmmaaahh[/MENTION] can give a detailed insight.
[Android Software/Hacking General [Developers Only]] ktsarlz:
Thank you! I tried to load the hosts file with AdAway, what does DNS666 or Blokada offer in your opinion? Also where do I find those two, play store or just here in xda?
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Hey, thanks for the mention! :)

Well, for one thing: all of them are always the best! lol...

Just searching for adblock in this subforum results in finding about a dozen adblocking hosts or DNS's. Both aforementioned ones are not even a part of that. I guess it's about trying some out and see what works best for you. To stick with XDA based adblockers: both MoaAB and keweon are pretty strict and in keweon's case (unless you use the hosts version) it's an all-or-nothing kinda deal (well, there are workarounds). For me personally it's fantastic as I like keeping a very low profile while surfing the digiwaves. I don't have a FB account and whatever stops functioning after enabling this privacy shield (which is a better word for it I guess) is kicked out of my daily routine. Big plus for me about DNS based blockers is a) I can set it on my router and all devices are protected and b) it's automatically updated on-the-fly. I chose keweon DNS because its developer is doing an amazing job and is very active on the forum. I also very much like his philosophy. MoaAB used to be my blocker of choice but it seems that support has dropped entirely. It's a shame because many hosts files are based on this one.
[Android Software/Hacking General [Developers Only]] ktsarlz:
Thank you for the detailed response! Looking into testing keweon DNS then since using AdAway and Lacuire's still gives ads on YT for some reason. What method are you using btw on adding the dns for adblocking? I used to use MoAB before as well. But stopped using android devices for a few years and I just got back
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
I've set it up on a DD-WRT patched router. I suggest doing some reading in the keweon thread; this isn't really the place to get into that. If you have further questions, just post there. As for YouTube, YT Vanced is the way to go on Android!
[Android Software/Hacking General [Developers Only]] ktsarlz:
Thank you again! Will try and go there, as for the YT - it's the first time I ever heard of it, thank you!