yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Laicure:
Oh yes, the youtube ads. Those are actually quite built-in (in the default/original youtube app) and if the hosts block those ads, the streaming (or something else) will break too as discussed on the github issue I saw last time (I forgot where). Wherein the YT Vanced version is a modified one to ignore the built-in (try the keweon on the original youtube app) one, I supposed.

hey [MENTION=4841620]Timmmmaaahh[/MENTION], is this for the keweon DNS?

What would you recommend for asian users, the Singapore or the Japan? (are those the updated dns servers on the keweon's xda page?)

Can I plainly (I'll be using DNS66, you know.. open-source thingy) use those DNS listed on the link or I need something else?
[Android Software/Hacking General [Developers Only]] cutecrocodile:
YouTube Vanced works perfectly. Anything like that for Facebook?
[Android Software/Hacking General [Developers Only]] patrickdrd:
https://xdaforums.com/android/apps-games/bullshified-version-facebook-okay-to-t3586318
[Android Software/Hacking General [Developers Only]] cutecrocodile:
Thanks for your quick response, checking it now
[Android Software/Hacking General [Developers Only]] cutecrocodile:
Can't log in from that app. Posted at that thread.
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Yeah, that's the one. I would recommend to do your own testing with a program like DNS jumper.

Please post in the keweon thread for further inquiries. Let's not forget this is the MoaAB thread :)
[Android Software/Hacking General [Developers Only]] Laicure:
oh thanks, I'll try that and I forgot about that hehe!
[Android Software/Hacking General [Developers Only]] lukval:
original android hosts content

Hello, my original (Oreo) hosts file is the following:

127.0.0.1 localhost

::1 ip6-localhost

But offered MoaAB hosts file starting with:

0.0.0.0 localhost

0.0.0.0 localhost.localdomain

0.0.0.0 android

0.0.0.0 test

...etc

I found an alternative hosts file starting with:

127.0.0.1 localhost

127.0.0.1 localhost.localdomain

127.0.0.1 local

255.255.255.255 broadcasthost

::1 localhost

fe80::1%lo0 localhost

Can I add the last text to MoaAB?
[Android Software/Hacking General [Developers Only]] Laicure:
I recommend using your own device's loopbacks instead adding more loopbacks.
[Android Software/Hacking General [Developers Only]] koboi.ngangkang:
hi. I have follow every steps mentioned including chmod 644 to /system/etc/hosts and root my device. but ads still popping. any idea?
[Android Software/Hacking General [Developers Only]] wkobaint:
Changes your's DNS
[Android Software/Hacking General [Developers Only]] koboi.ngangkang:
okay. will try it. what DNS should I be using?

I have tried to edit DNS with apps available in play store but ads still popping. any suggestion?
[Android Software/Hacking General [Developers Only]] wkobaint:
I couldn't inform in this thread.

You could find on the sub forum about changes DNS using magisk module.
[Android Software/Hacking General [Developers Only]] Laicure:
Ads where?

Chrome? if chrome then turn off/disable the Async DNS Resolver in chrome://flags

else, use AdAway, AdAway will take care of that chmod thing.
[Android Software/Hacking General [Developers Only]] koboi.ngangkang:
DM please?

in chrome and any android apps. I mean, it's almost like my device ignore the hosts file. I have tried manually copy paste and deal with chmod of hosts file, and using adaway. Both methods give me same result (still ads)

Okay. I have changed dns with setprop via emulator. Getprop dns showing dns' used are opendns. Ads still showing.

In hosts file,after editing, I have converted EOL to linux (LF) too.

Attached pics of terminal getprop and hosts. This hosts file is set by adaway (I don't edit it)

edit again:

I try to ping lm.facebook.com which I block in hosts file. ping result shows that my hh seems to respect the hosts file. but oddly, chrome, and any apps still showing the ads. is there any way to flush hh cache or anything to reload any internet connection and respect the hosts file?

Edit again ( I hope this is the last edit. :D )

So I opened sim card setting and Access Point Names (APN) setting. I notice that proxy and port are set to some number by my ISP. I deleted them as seen in my screenshot and voila,ads free finally. :D. I don't know much about ISP's proxy. I erased them and I still connect to internet and ads are gone, well, that's enough for me. :D

Thank you for those who answer my question. I am sorry if this problem is already discussed earlier.
[Android Software/Hacking General [Developers Only]] 3xploit:
this ads app like shareit, so many ads, its very annoying, can u add or block ads in this application sir?
[Android Software/Hacking General [Developers Only]] iOSXPC:
I have found this method to be working perfectly on my device. I have an LG K20 Plus through Metro by T-Mobile. I don't own a computer at the moment, due to losing everything in a house fire, so I am unable to root my device. I use com.github.xfalcon.vhosts.apk and point it to the MoaAB hosts file. I have not seen any ads on my device. There is an option to run it at startup which is a great feature. You can get the app at the GitHub site for free or download thru the Google Play Store for a fee.
[Android Software/Hacking General [Developers Only]] ColdUser:
I have copied the file to /system/etc/ but it doesnt block ads.

I have always used adaway and i import the host file in adAway but i took so long that i ended the process. But a lot and i mean a lot of are being imported.

Do i still need adAway if the file is in the right place? Im using magisk on gemini.

I dont know what im doing wrong and using this for the first time.
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Sounds like your device isn't handling system changes very well. In Magisk settings you can add systemless host to prevent any trouble. Then apply your AdBlocker. Make sure to reboot between every step.

If you did manage to replace your hosts file (systemless or not), there's no more need for your AdBlocker to be active. The only reason an AdBlocker needs to be kept alive is to look for updates of your predefined sources; which is not applicable on a hosts file replace. I hope that made some sense ^_^
[Android Software/Hacking General [Developers Only]] ColdUser:
Thank you for answering.

Well unfortunatel sorry still can't figure it out because when i enable systemless host file in magisk, there appears a host file in /system/etc. So when i download the file from the thread i unzip it and copy it to the right directory, but because there already exists a file like that it tells to replace this or skip it.

I think im doing the steps wrong and got everything mest up.. so i do need to activate adaway to make it work and then reboot and disable adaway?

I think i will keep using AdAway because also easy to disable/enable. I imported the files in but took so long and I ended the process and tried again.. still the same keeps loading. But there a lot that are loaded.
[Android Software/Hacking General [Developers Only]] wkobaint:
In my RiG, I used this moAb host and DNS Mod. No pop up ads so far even on Facebook.

You can find on this sub forum thread for DNS mod.

It's different scheme if you only change DNS using standard APK from PlayStore.
[Android Software/Hacking General [Developers Only]] p2nv:
Can someone confirm if this works on Samsung Galaxy Note 9 running Android Pie OS
[Android Software/Hacking General [Developers Only]] jackint:
The best ad blocker ever! Thanks!
[Android Software/Hacking General [Developers Only]] Andro8275:
Agree...
[Android Software/Hacking General [Developers Only]] phetidpz:
Link broken

Can t download it say Gone
[Android Software/Hacking General [Developers Only]] Laicure:
'cause not maintained anymore :(
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
you can have mine hosts, shoot me a pm if you're interested, I'll upload
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
can someone help me please, I'm wanting to sort my hosts file alphanumerically. I used to have the coding, as one line, in terminal or script. pretty sure it just used busybox sort. I've been fiddling it to no avail. I posted it a couple different times in this thread, but my search results for it has come up empty.... help!
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
MoaAB is the definitive answer to Super Protection. This is what i have learned over a period of time and after using it in our commercial Appliance Based solution. Full protection from Virus, Malware, Ransomware and Mining attacks.

Let me work on some special update.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
ohhh... and a BIG Hello to Everyone...
[Android Software/Hacking General [Developers Only]] Laicure:
Yes please! Thanks and welcome back!

Finally!
[Android Software/Hacking General [Developers Only]] kapil_dheer:
I use excel for the purpose
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
hooray, a ressurection
[Android Software/Hacking General [Developers Only]] Ice Bear:
Ice Bear is ready.
[Android Software/Hacking General [Developers Only]] nayan159:
I am also waiting. I have never used it before.
[Android Software/Hacking General [Developers Only]] androidfive:
Moaab is probably not dead?
[Android Software/Hacking General [Developers Only]] JJEgan:
Summarise.

Its a method of blocking adverts via hosts .

Read OP.
[Android Software/Hacking General [Developers Only]] Joshua020:
Of course I think that blocking ads is a major step for the security of my PC.

Let's forget the security for a moment, I am a huge fan of "Twitch" if you know it. I watch a lot of streaming videos on Twitch but there are many ads there.

I have read in an article (https://adguard.com/en/article/how-to-block-twitch-ads.html) that there is a way to block those ads, but the method is somehow complicated so I need help...
[Android Software/Hacking General [Developers Only]] JJEgan:
You need to find the adds source.
[Android Software/Hacking General [Developers Only]] Laicure:
- Install Chrome Beta 70, open

- navigate to chrome://net-internals#dns

- clear hosts cache

- navigate to Twitch site where you see the ads, wait 'till it loads everything

- navigate to chrome://net-internals#dns (doesn't matter if new tab or not)

- list/reply here all domains you see in the table (don't clear hosts cache)

- we will pick all unnecessary domains (tracking, ads, etc)
[Android Software/Hacking General [Developers Only]] janolucero:
Please share it with me :)
[Android Software/Hacking General [Developers Only]] JJEgan:
What is It ??
[Android Software/Hacking General [Developers Only]] Ph0z3:
I sure as heck hope not.
[Android Software/Hacking General [Developers Only]] shahabazas:
Welcome back was using your mod on all my past devices and hope to have updates on future as well if not frequent then as and when you have time. You are really a saviour.
[Android Software/Hacking General [Developers Only]] Sir_gpm:
Hope that's mean an update to best ad blocking hack ;)
[Android Software/Hacking General [Developers Only]] Ph0z3:
So, I flashed the last 02-22-2018 build on my p2XL with latest stock Pie build & it made no difference.

Anyone else have this issue?
[Android Software/Hacking General [Developers Only]] AquilaDroid:
You don't flash it. See 1st post :

>>> How to install?

Just Copy Paste the 'hosts' file in /system/etc or Import it in some ADBlock App locally or Import in NetGuard. Thats It. ENJOY
[Android Software/Hacking General [Developers Only]] androidfive:
What is the change if the new update is out? What are the plans?
[Android Software/Hacking General [Developers Only]] Ph0z3:
I'm pretty sure this project is dead.... :(
[Android Software/Hacking General [Developers Only]] JJEgan:
Not if you read Jakes post.
[Android Software/Hacking General [Developers Only]] CCJ22:
Link?

What's the difference between MoaAB vs unified hosts adblocker?
[Android Software/Hacking General [Developers Only]] JJEgan:
Its only a few pages back.
[Android Software/Hacking General [Developers Only]] sonwon:
I hope you are back! I had to stop using NetGuard since they changed their features.
[Android Software/Hacking General [Developers Only]] AquilaDroid:
You still have hope two months after he threw out that teaser?
[Android Software/Hacking General [Developers Only]] PoochyX:
Guys need your help adguard is like eating 55 mbs of ram (only have 1.5 gigs) is does its job however of blocking ads on Chrome like blocking all ads and pop ups while strolling the web I heard if I use adaway with the proper source files I can do all that and save me these 55 mbs of ram anyone can tell me which files to use in adaway so I can get rid of adguard

[emoji3436]I Willl Scarfice For Those That I Love [emoji3434]
[Android Software/Hacking General [Developers Only]] myrigon:
You're rooted? If so, don't even bother with those apps, just download MoaAB, and replace the original hosts file in /system/etc

Use a file explorer like mixplorer to do it. If you don't have system r/w access, use twrp to eplace the file.

That's the easiest lightest way to do it, and it's system-wide (youtube is a weird exception).
[Android Software/Hacking General [Developers Only]] PoochyX:
I use Firefox with ublock origin no ads on YouTube browser and Vance so no ads in YouTube app and I got the host file by Jerry not experiencing no ads and alot of memory saving since adguard not biting into my memory usage

[emoji3436]I Willl Scarfice For Those That I Love [emoji3434]
[Android Software/Hacking General [Developers Only]] Ph0z3:
I'm sad this project died.
[Android Software/Hacking General [Developers Only]] PoochyX:
You got to use Jerry list

[emoji3436]I Will Sacrifice For Those That I Love [emoji3434]
[Android Software/Hacking General [Developers Only]] Ph0z3:
I don't know what that is...
[Android Software/Hacking General [Developers Only]] PoochyX:
https://r.tapatalk.com/shareLink?ur...share_tid=3827269&share_fid=3793&share_type=t

[emoji3436]I Will Sacrifice For Those That I Love [emoji3434]
[Android Software/Hacking General [Developers Only]] Ph0z3:
It won't load... I don't have Tapatalk
[Android Software/Hacking General [Developers Only]] PoochyX:
(Host File) https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt

[emoji3436]I Will Sacrifice For Those That I Love [emoji3434]
[Android Software/Hacking General [Developers Only]] Ph0z3:
Cool. Thanks
[Android Software/Hacking General [Developers Only]] PoochyX:
If you use Facebook messenger make sure you white list graph.facebook.com or your shared content won't work

[emoji3436]I Will Sacrifice For Those That I Love [emoji3434]
[Android Software/Hacking General [Developers Only]] Ph0z3:
I don't have any social media... At all.

Reddit is the only "media" I have.
[Android Software/Hacking General [Developers Only]] PoochyX:
Alright then you good to go.... I recommend you use Firefox as your browser with the ublock origin plug in for browser ad block since adaway host files don't do Http filtering

[emoji3436]I Will Sacrifice For Those That I Love [emoji3434]
[Android Software/Hacking General [Developers Only]] sonwon:
Why do you say this project is dead?

From the OP, Update: NEW UPDATE IN PROCESS...
[Android Software/Hacking General [Developers Only]] AquilaDroid:
Yes, but if you look at the bottom of the OP you'll see: "Last edited by BSDgeek_Jake; 28th February 2019 at 05:49 AM. Reason: NEW UPDATE IN PROCESS..."

I'll keep watching for it though because it still works well for me.
[Android Software/Hacking General [Developers Only]] sonwon:
Me too, I am still using a release that is now over two years old, still works. Maybe [MENTION=4877037]BSDgeek_Jake[/MENTION] was threatened with a lawsuit that prevents him from even commenting in this thread?
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Working... Please have patience.

Little more time. Please have patience.

This will be a good release.

Support for 'hosts' file & 'Adguard filter'.

Cheers.
[Android Software/Hacking General [Developers Only]] PoochyX:
Mother is coming home [emoji817]

[emoji3436]I Will Sacrifice For Those That I Love [emoji3434]
[Android Software/Hacking General [Developers Only]] Sir_gpm:
I miss this Mother....happy to see this news.
[Android Software/Hacking General [Developers Only]] craP_cillA:
would be great if you release the upcoming moab-release as a flashable zip file! ❤ :)
[Android Software/Hacking General [Developers Only]] amarjit_rsingh:
indeeed flashable zip would be great
[Android Software/Hacking General [Developers Only]] Ph0z3:
I agree. Flashable would rock!!
[Android Software/Hacking General [Developers Only]] Sir_gpm:
Any news?...... Nothing compare to this magnificent solution :)
[Android Software/Hacking General [Developers Only]] androidfive:
This is my first host source, i hope the update come in next time.?
[Android Software/Hacking General [Developers Only]] PoochyX:
Stay engerised

Thot Conqueror
[Android Software/Hacking General [Developers Only]] ovu85:
Can't wait for a proper moab flashable zip!
[Android Software/Hacking General [Developers Only]] Tibiti:
Just use the old one until then..
[Android Software/Hacking General [Developers Only]] Sir_gpm:
Do you mean the host file?

I'm using the host file because adaway is causing an app not to work properly. But the hosts file doesn't block porn sites, like the flash version, it blocks ads at it should.
[Android Software/Hacking General [Developers Only]] Laicure:
Last update was on Feb, what's with this New update in-progress thing?

Will it make my phone float?

Hosts file updates should be frequent, you know. Well, at least, not more than a month 'cause that's too much.
[Android Software/Hacking General [Developers Only]] Sir_gpm:
Tried the last version but it will conflict with Spotify. Will see when updated if that is fixed.
[Android Software/Hacking General [Developers Only]] PoochyX:
Just whitelist Spotify

([emoji813]9/[emoji725]/9[emoji813])
[Android Software/Hacking General [Developers Only]] Sir_gpm:
Change to Goodby Ads host for a while. And it back to work. Waiting for this release.
[Android Software/Hacking General [Developers Only]] paradoxiumwind:
where can I get the last version?
[Android Software/Hacking General [Developers Only]] PoochyX:
Use energized host file

([emoji813]9/[emoji725]/9[emoji813])
[Android Software/Hacking General [Developers Only]] paradoxiumwind:
I'd rather just use the last version of this because it worked fine. Nobody got a link?
[Android Software/Hacking General [Developers Only]] Laicure:
Using out-dated hosts file, weird.

Anyway here is the mirror of the last release: http://adblock.mahakala.is/
[Android Software/Hacking General [Developers Only]] prakashitbhav:
[MENTION=4542107]amarjit_rsingh[/MENTION] [MENTION=2727073]Ph0z3[/MENTION]

This is twrp flashable file for last version

I have just created the zip file. credits for hosts file goes to OP
[Android Software/Hacking General [Developers Only]] Ph0z3:
AWESOME!! Thank you :good:

-- UPDATE:.

Flashed, still have ads.

Pixel XL2 - Stock / no root (latest Pie)
[Android Software/Hacking General [Developers Only]] prakashitbhav:
Can you check if hosts file is updated or not ?

I use same zip on pie without root and it works fine for me
[Android Software/Hacking General [Developers Only]] Ph0z3:
I can't actually... I don't have any way to get to the file, since I'm not rooted.
[Android Software/Hacking General [Developers Only]] sonwon:
You should try since you may have read access.
[Android Software/Hacking General [Developers Only]] prakashitbhav:
like sonwon suggested, you can still see the file.

I prefer mixplorer for file management. you can try with that (it's not on play store).

Another test is to open this site and see if ads are getting blocked on your phone - https://ads-blocker.com/testing/

Also, Moaab won't cover all ad hosts. it's possible that you are getting ads because they are not blocked in Moaab hosts.If that is case, I will PM you few more zips. try them and see if they block.
[Android Software/Hacking General [Developers Only]] Ph0z3:
Awesome. I'll be back home Tuesday... I'll try everything out then. Currently out of town on work.
[Android Software/Hacking General [Developers Only]] Swapnil Soni:
Using energized for now ;_; plox update as soon as possible <3
[Android Software/Hacking General [Developers Only]] gianton:
Could anyone advise how to exclude Spotify from the hosts file (not whitelisting)? I want to edit the hosts file but I don't know which lines are blocking Spotify.
[Android Software/Hacking General [Developers Only]] Tibiti:
Log on to shell,

Go root,

Type Vi /system/etc/hosts, hit enter,

Type /Spotify, hit enter,

Comment out the lines (you can find manual online for howto ?) - # comments out, no # at beginning means live rule -> gets blocked,

When done type :wq

Voilá!
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
Hi, just wanted to add a couple things, vi may not be an included applet with toolbox/toybox. So would need to change directory on wherever you've opened the shell script from. If using SuperSu systemless root, you'd be starting from/su/bin. So in Terminal Emulator, change directory to wherever your BusyBox is, I'm not familiar with Magisk, but I know updated busybox includes vi

So what I'm saying is-

cd /DirectoryOfBusybox

vi....

/spotify

If you haven't installed your busybox with then the applet won't be available by just typing-

vi ...

You'd have to type-

busybox vi ...

To install busybox, just copy busybox to the folder you want it in, and type in terminal-

/DirectoryOfBusybox/ busybox --install /DirectoryOfBusybox

You might have to throw a "-s" in there, in my case-

/su/xbin/busybox --install -s /su/xbin
[Android Software/Hacking General [Developers Only]] iTalisman:
Which entry should I have to remove to let facebook app work?
[Android Software/Hacking General [Developers Only]] CubaoX:
Probably graph.facebook.com

maybe also mqtt-mini.facebook.com
[Android Software/Hacking General [Developers Only]] PoochyX:
That's correct

([emoji3590]09-09-18[emoji813])
[Android Software/Hacking General [Developers Only]] cutecrocodile:
What to be added in adaway host sources for this great host
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
As mentioned in OP: http://adblock.mahakala.is/

Not sure if it's still maintained though. Or if it even works. There are plenty alternatives in the main forum subsection.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Guys.

I am so sorry, since my work profiles kills me on time :D

Still i am working on the MOD.

You will be delivered with the following:

AdGuard compatible Subscription module

Standard Local HOSTS based module

I know that all are patiently waiting and its TOO TOO LONG TIME...

I am slow on replying to eMail either, better connect with me on Twitter: <@JakeT_BSDgeek> for casual chats and day-to-day chats.

Enjoy Your Day.

Cheers.
[Android Software/Hacking General [Developers Only]] sonwon:
No problem Jake, just take care of yourself first!
[Android Software/Hacking General [Developers Only]] nagpochenpo:
it's still maintained (by me). I update the hosts file there if something new is happening here.
[Android Software/Hacking General [Developers Only]] wkobaint:
IDK its related or not, but your update host file make laggie if I play mobile legend games.

I'm on global stable miui11 eu.

Yes for ads in browser are completed blocked and no problem found in Facebook too. Also can't open porn site even I used vpn.

The only problem is laggie in mobilelegend games.
[Android Software/Hacking General [Developers Only]] Em Kay:
Unable to log in on Facebook app even after deleting graph.facebook.com

mqtt-mini.facebook.com

Showing - "Unable to log in. Check your connection"

Please, help.
[Android Software/Hacking General [Developers Only]] Em Kay:
Can you please share the modified file?
[Android Software/Hacking General [Developers Only]] androidfive:
Now again, 2 months since this message