yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Need4Sneed:
+1
[Android Software/Hacking General [Developers Only]] Xoib:
Edit: I just had to disable dm-verity and now it works perfectly on Nougat NMF26F 7.1.1
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Hi guys, do I need to reinstall this after an update or does it survive flashed patch updates? Cheers.
[Android Software/Hacking General [Developers Only]] AquilaDroid:
Just look at /etc/hosts file to check.
[Android Software/Hacking General [Developers Only]] droid27:
Great work. But how do I add exemption for baidu and weibo? I cannot log in. It just blocks me. Could anyone here please guide me. Thanks!
[Android Software/Hacking General [Developers Only]] champ1919:
Get a host file editor from play store and delete those lines in the host file.
[Android Software/Hacking General [Developers Only]] droid27:
Thanks! I already figured it out. Does the number of hosts matter? I've been using the 2014 moaab and it has 419,000 hosts but after I updated today it now only has 173,000?
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Could you be a little more specific?
[Android Software/Hacking General [Developers Only]] AquilaDroid:
Using your favorite File Manager app (I use ROM Toolbox Pro, but some like Root Explorer, etc.) look in the root directory, select "etc" (without the quotes) and scroll down to a file named "hosts". I'm using an old version from December 2015 which shows up as 9.82 MB, newer versions are generally smaller. If the file is very small you'll need to reflash MoaAB.
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Great thanks, I'm quite new to this ad blocking thing so I appreciate your help. Does it matter if I run adaway as well or is it pointless, in actual fact I have minmin guard running in exposed as well so three as blockers running, are they counter productive to each other?
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
I'd say AdAway has become obsolete in your setup as it uses many of the same resources. MinMinGuard however does have the useful feature of removing the empty space used to host the ad in applications. If you don't use such apps (that reserve space for ads on top/bottom) then the latter has become obsolete as well. What I love most about MoaAB is its static nature, nothing needs to be running in the background so it has no effect on battery life, quite the opposite in fact as your host file prevents anything obtrusive to load.

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Nice! I'll remove the others and see how I go. Can you add to the host file? I have one app which has the space where an ad usually should be constantly loading. I don't know how minmin guard let it through but its there staring me in the face everyday! Minmin gaurd shows the app as being blocked but the blank space with loading sign is still there. How would I ad an app to the host file if at all possible?
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
That ad looks the same in the app's Play Store page so I assume it's something baked into the app, not depending on an external source. In that case blocking is impossible by any means.

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Thanks for your help, I guess I'll have to live with it.
[Android Software/Hacking General [Developers Only]] AquilaDroid:
They're definitely going to slow things down. Why don't you try with just this file, see if you have any sites that aren't blocked. Then you can either add the URL for those sites to the hosts file or try one of the other solutions. I've never found that exposed did much other than slowing down the device. Of course your usage is probably way different than mine.
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Does moab use the same host file as adaway? Why does my host file say adaway, I've completely removed it?

---------- Post added at 01:27 AM ---------- Previous post was at 01:25 AM ----------

Or do I need to reinstall moab as this host file has stuck around from previous adaway install?
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
First go into AdAway and restore the original host file (disable ad blocking), then flash MoaAB again.

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Done and done! Moab actually got rid of the ad in gasbuddy app!
[Android Software/Hacking General [Developers Only]] galiatsosgio:
It doesn't download, probably the link is broken. "Download unsuccessful"
[Android Software/Hacking General [Developers Only]] whodisname:
Ok. It works just great.

Uninstaller?
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] Aria.A97:
[MENTION=4877037]BSDgeek_Jake[/MENTION] Using your hosts file will block YouTube Watch History completely. If you wanna fix this in later releases remove these entries:

s.youtube.com

s2.youtube.com
[Android Software/Hacking General [Developers Only]] droid27:
I have a question. Can someone please enlighten me. Let's say I have successfully imported the host file to netguard. What will happen if I deleted the host file in my sd card storage? Will ad blocking not work anymore? And what if I use the "hosts file download URL" and it says successfully downloaded hosts file. What will happen if the URL I put were deleted, will it still work?
[Android Software/Hacking General [Developers Only]] sonwon:
[MENTION=4877037]BSDgeek_Jake[/MENTION] Thank you very much for all your work on this project! And I hope the coming year brings many blessings to you and family!
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Hi there, is there a way to white list websites? I'm looking at a website;

www.raingler.com which is for vehicle accessories and my browser(Chrome) won't let me open it, is this MoaAB at work? Im looking at the site on my PC and there are no ads or anything harmful? Is there another way to access site that get blocked by moaAB? Cheers.
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Yes, raingler.com is indeed an entry of MoaAB. Why this is, I cannot tell you. Yes, you can remove it from your host file. There are some host editors out there or you could use a root-compatible explorer to edit the host file directly but this isn't always successful (tends to reset upon reboot). The best way is to 'pull' the host file out of your device and copy it to your computer and 'push' it back in there after editing.

There's an easy tutorial on how to do this here: www.howtogeek.com/140576/how-to-edit-the-hosts-file-on-android-and-block-web-sites/

You'll be looking for the line 0.0.0.0 raingler.com, remove the entire line, save the Host file and 'push' it back. This is a great opportunity to enable your most favorite websites, if you catch my drift ;)

Don't forget to reboot!
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Nice work Timmmmaaahh! I can add to the host file as well I assume?
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Yes, as long as you respect the same format. It's best to copy-paste one line and then edit the domain to your liking. Don't forget to press that thanks button ^_^
[Android Software/Hacking General [Developers Only]] gee.dunkin:
Are you referring to the like button or something else? I've sent you a message also, cheers.
[Android Software/Hacking General [Developers Only]] miss_p1nky:
Hay Day from Supercell is still blocked. I want to remove it by myself from the hosts file, but I don't know what to look for. I've tried 'hay day' and 'supercell' and the only things blocked are truly malicious site. Somebody help me please :(
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
With NetGuard this is working so perfectly. I am now using NetGuard along with MoaAB. Blocking is 100percent. Deleting hosts file will not have stop the blocking as you already imported tge entries.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
This is intentionally set. But users can definitely remove as per there needs.
[Android Software/Hacking General [Developers Only]] droid27:
Thank you for clarifying! We actually have the same setup. I was worried since I thought deleting hosts would also remove adblocking. How about the number of hosts? Does it matter? I have your older version and it has around 400k but now it only has 170k. Is it the bigger, the better?
[Android Software/Hacking General [Developers Only]] kato7youknow:
thank you. :)

great work. thank you. :)
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Seriously? Please never quote an entire OP.

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] kato7youknow:
ok i wont do that no more. :)

stop quote the entire op. got it . lol :)
[Android Software/Hacking General [Developers Only]] kenzolo:
using this hosts file I can't checkout using justeat app (connection error)

how can I find the line to delete? :(

https://play.google.com/store/apps/details?id=com.justeat.app.it&hl=it
[Android Software/Hacking General [Developers Only]] evertking:
Can someone help me out here? I have been using this mod for awhile but I can't seem to get it to work for me anymore. Has things changed for android 7? I'm using OP3, Slim 7 and a custom kernel. I prefer this mod to apps like AdWay, which is working for me.
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
You'll have to be a bit more specific than "can't seem to get it to work". Walk us through the steps you're taking.

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] evertking:
Sorry, but.. Im use to just flashing the zip and ads are gone! But now, I flash it and Chrome is full of ads and its really bad on this site.
[Android Software/Hacking General [Developers Only]] pdagenius:
It's working for me on AICP 7.1.1 and Arsnic kernel on my Onyx.
[Android Software/Hacking General [Developers Only]] kapil_dheer:
There must be a data saving feature option in chrome. You need to turn that option off.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Latest is always better irrespective of file size.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
will look into this...
[Android Software/Hacking General [Developers Only]] haizrie:
DNS66

I am Using DNS66 app with this Host file... Worked fantastic... Thanks
[Android Software/Hacking General [Developers Only]] Arekku:
Probably not the best place to ask this, but I used the hosts file "http://adblock.mahakala.is" in adaway and I am still seeing ads in the tumblr app, and (although I dont know if this could actually fix this) youtube video ads.

Am I right in thinking that this 'mod' is doing basically the same thing that adaway is doing? Just replacing the hosts file? If not, or if this does it "better", can this be flashed on a 7.1 TWRP Pixel?

Any help would be much appreciated.
[Android Software/Hacking General [Developers Only]] ashwin.kj:
This is basically modifying the host file and if I am not wrong it is the same as the one at http://adblock.mahakala.is. For blocking YouTube ads use Xposed with aptly named YouTube AdAway. Don't know about Tumblr ads though.
[Android Software/Hacking General [Developers Only]] Arekku:
Of course, Xposed has and does everything, unfortunately I happen to be on 7.0+. Was just making sure that this couldn't block youtube ads. Still was hoping it blocked Tumblr ads but oh well.
[Android Software/Hacking General [Developers Only]] ashwin.kj:
I don't know about Tumblr, but try it out. In case it doesn't try adding the following entries as well.

cookiex.ngd.yahoo.com
px.srvcs.tumblr.com
secure.assets.tumblr.com
36.media.tumblr.com
38.media.tumblr.com
[Android Software/Hacking General [Developers Only]] Redicus:
Gods, I cant open Google keep --> https://drive.google.com/keep/ after I added http://adb***k.mah****a.is to my Adaway Host source.

It just doesnt load the notes. Can someone confirm?

Jake, can you please fix this.
[Android Software/Hacking General [Developers Only]] guycan:
Fater flashing this video playback is grayed out can't play them.... flash the reset then I can play videos. This is for news or any thing that hass caption

SGNote2
[Android Software/Hacking General [Developers Only]] 2anyone:
edit hosts, remove the line contents: lh3.ggpht.com (or search ggpht.com to find similar one to delete), then you got the icons back. this works for me.

what's ggpht.com? check:

whois.net/whois/ggpht.com

, it's a google inc domain for something related "Brand Protection"
[Android Software/Hacking General [Developers Only]] normelmagdael:
Im using TWRP recovery, with directinjectionturbo and crossbreeder tweak... if i install this will it conflict my current tweaks?

Thank you...
[Android Software/Hacking General [Developers Only]] guycan:
When trying to do edit this it says fail to open file too large.im I doing something wrong. .. any help is appreciated thanksbin advance.

SGNote2
[Android Software/Hacking General [Developers Only]] kapil_dheer:
You should edit this on computer and reinsert in location/ flashable zip.

An 8+ mb file is too bhi to be edited on a phone
[Android Software/Hacking General [Developers Only]] meganame:
Does this contain everything from the standard old MVPS hosts? If not, then should I add them myself?

My biggest complaint with MVPS is in regard to the inclusion of URL's that effectively disable sites. Example: Hulu. You can't watch Hulu unless you allow the ads...and I wouldn't be on Hulu if I didn't want to watch Hulu so what good is blocking the ads there? Do people go to Hulu to not watch Hulu?
[Android Software/Hacking General [Developers Only]] pro.aggro:
Google ads aren't blocked

Sent from Nexus 4 powered by PARANOIDANDROID
[Android Software/Hacking General [Developers Only]] GEKTHEBOSS:
These are not ADS .. _ ..
[Android Software/Hacking General [Developers Only]] binlalo:
Those are ads, the ones in yellow. I've heard recently that adblocker was bribed by Google so they didn't block their ads (which are their main source of benefits). Maybe it somehow affected this too.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Those are ADs but presented in different method. It is difficult to control those type of ADs. AD services frequently change there publishing services through virtual hosting methods. Stay tuned for the updates...
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Possibly not but i have not tested. Search the thread...
[Android Software/Hacking General [Developers Only]] Basche:
just remove the ad block from crossbreeder and them flash this. directinject does not have adblock. Look at crossbreeder thread to see how to disable adblock.
[Android Software/Hacking General [Developers Only]] fm325:
You'll probably be better off FLASHing my modified installer (link below). The Mother of ALL AD-BLOCKING hosts file is renamed to "master" for use with CrossBreeder and the installer places it in the correct folder. Just FLASH and reboot!

Cheers!!

http://xdaforums.com/showpost.php?p=43221854&postcount=4613
[Android Software/Hacking General [Developers Only]] pro.aggro:
thanks for your reply
[Android Software/Hacking General [Developers Only]] 69gm:
Sorry n00b question!

To get updated hosts, do we simply check back on this thread or is there a way to get updates via an app?

Thanks!
[Android Software/Hacking General [Developers Only]] onealvideo:
Google ADS

I thought it was a violation of terms to block Google Ads? Isn't that why they removed them from some of the ROMS?

Just curious...
[Android Software/Hacking General [Developers Only]] jackdubl:
I've only ever touched the hosts list and the black list.
[Android Software/Hacking General [Developers Only]] djwishbone:
This file blocked both xda forums and mms for me. Everything else seemed to work ok but I didn't do a lot of testing. It was applied directly with adb instead of flash on my HTC DNA Verizon running viper Rom.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Please recheck as i am also using and no block for XDA.
[Android Software/Hacking General [Developers Only]] Silent Lain:
If you only want to use an ad free version of the original YouTube app without additional functionality, there is a "patched ad-free YouTube by arter97" (Google it) which is exactly what it says, but requires root to install it (make sure to read the installation instructions).
[Android Software/Hacking General [Developers Only]] nidzaaaa:
So, this dont work with 5.0.2 roms?

Any other solutions?

Thanks in advance!
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Stock 7.1.1 / Flash Kernel

Nexus 6P

Can someone please tell me why I'm still seeing ads in Chrome?
[Android Software/Hacking General [Developers Only]] fake2die:
Disable data saver from Chrome
[Android Software/Hacking General [Developers Only]] saurabh8263:
Is it any good on moto g4 plus.. ? And will it work on custom ROM?and also its says that it was last updated in 2014..
[Android Software/Hacking General [Developers Only]] suraj1:
http://adblock.mahakala.is

Local: not available; Online: not available

In adaway

Any help?
[Android Software/Hacking General [Developers Only]] qtipbailey:
Latest version seems to have broken the Excel app from connecting to your OneDrive account.

EDIT: My bad, this wasn't the culprit. Should've known it was Microsoft that failed.
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
My gosh, I'm seeing ads in Tapatalk now! How is this possible? Lol, just messin'

This thread is unrelated to AdAway though, if you need more feedback on that I'd post here.

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] sozen:
up
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Why? The OP states that it doesn't work, finding an alternative won't change that.

I believe [MENTION=5112340]nidzaaaa[/MENTION] is capable of finding other means of adblocking such as AdAway or AdBlock. And if ultimately 5.0 doesn't allow it, cluttering this thread won't help anyone.

Mind that for some it does seem to work so it can always be attempted (please report if it works!). Plus, this has been discussed inside this thread numerous times before. I don't see any need to bump that post. Just my humble opinion of course.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Again, Stock 7.1.1/ stock kernel.

Latest Moaab installed via TWRP.

Ads STILL showing system wide.

What could be stopping the mod from working?
[Android Software/Hacking General [Developers Only]] myrigon:
Just guessing, but did you stop twrp from modifying your system partition? It will have been an option when you first ran twrp after install.

Hosts file is in system partition, so if twrp isn't modifying it, it won't work.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
I'm using the hosts from this thread. It's still not blocking whether I use the zip or AdAway. Not sure what it is.

---------- Post added at 08:29 PM ---------- Previous post was at 08:28 PM ----------

I don't think so. I'm decrypted. How do I get to those settings in TWRP to check?
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Do me a favor and install Hosts Editor, are you seeing a very long list of domains or is the file mainly empty?

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
VERY LONG...
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
Then the flash did a good job, your host file is not to blame. Do you have any VPN or proxy running? Something that routes your connection? Where are you still seeing ads? In notifications, games, browser or just any kind of app?

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Not any VPN or proxy, but my APN maybe. I try making some changes and see what's up. Thanks!

---------- Post added at 09:35 PM ---------- Previous post was at 09:08 PM ----------

So yeah. My APN settings are correct.

And yes, I see them in all apps. Chrome, games, etc.

However, if I use a browser that has a built-in adblocker, the ads we are blocked?
[Android Software/Hacking General [Developers Only]] bradmoss:
Thank you
[Android Software/Hacking General [Developers Only]] bradmoss:
nice with my Android devices, BUT somehow even changing EOL from Unix to Windows, when used with my Windows 7 PC network hung, any idea?
[Android Software/Hacking General [Developers Only]] Revenant Ghost:
Since using a VPN is essential to me, I can't use this adblock mod unfortunately.
[Android Software/Hacking General [Developers Only]] bradmoss:
But you can use a VPN and the hosts file just take care the host you want to connect to is not listed on the file.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Edit: Still not working ?

The system partition in TWRP was set to "read-only" in the mount menu.

I've tried everything. Anyone?
[Android Software/Hacking General [Developers Only]] kapil_dheer:
Is it both on cellular Network & wifi or either one of these.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
I don't have access to WiFi ATM, so I can't say.

However, when I use a browser that has a adblocker built-in, ads block fine.

I'm also finding that my system partition in TWRP doesn't stay ticked after I flash the zip??
[Android Software/Hacking General [Developers Only]] kapil_dheer:
Check your apn settings. Does it have any proxy entries?
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
It does. I'm with H2O Wireless.
[Android Software/Hacking General [Developers Only]] myrigon:
I use VYPR VPN, and MoaB works as intended.
[Android Software/Hacking General [Developers Only]] Tynen:
Why is worldofWarcraft.com blocked??
[Android Software/Hacking General [Developers Only]] jhemann1:
I'm at the same spot you were. How did you resolve this with AdAway? I, too, would like to add this as an additional subscription.

---------- Post added at 06:27 PM ---------- Previous post was at 06:17 PM ----------

Update: I just added it to the list as suggested, and it just worked. It may have been taking a while to download or update on my device, because for a little bit there even after updating it did not say there was a local or online copy. But that took care of itself. Just wait a while and see.
[Android Software/Hacking General [Developers Only]] kapil_dheer:
I had ads too in my vodafone with proxy in apn.

I switched to alternate apn without proxy & all ads gone.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
You're correct. I left the proxy blank and now no Ads. Thanks!
[Android Software/Hacking General [Developers Only]] sajty:
There are even more webpages i cannot access when using this hosts file. Had to revert to AdAway + MinMin combo.
[Android Software/Hacking General [Developers Only]] Tynen:
I went through the host file... battle.net and blizzard.com are both set to be blocked... wth? lol
[Android Software/Hacking General [Developers Only]] Timmmmaaahh!:
My gosh, if only there was a way to edit this blasted file that's blocking our favorite websites.. Or even a way to search this thread and find how to overcome this problem..

Cooked with Resurrected bacon!
[Android Software/Hacking General [Developers Only]] champ1919:
Errrr.. Google store has a host file editor.. ;)
[Android Software/Hacking General [Developers Only]] akisg:
You can also edit file on pc for easier/faster editing and remove the sites you don't wanna be blocked and then upload to phone.