yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Sorry*:
No I don't think so. This is no filter list it's a hosts list which (on windows) has to be saved at Windows/System32/drivers/etc/hosts. Any listed domain will be unreachable on the whole pc. On Android it has to be saved at /system/etc/hosts. You need root rights for that.

I think it would be possible to create a filter/blocklist but the file has very many entries (about half a million) so imho it would slow down browsing.
[Android Software/Hacking General [Developers Only]] FlanjeUK:
Yes it definately is, I have used MoaAB this way for over a year now, it was fine on my S2 and works fine on my S4 :)

[MENTION=4144909]Sorry*[/MENTION] AdAway is an Android app ;)
[Android Software/Hacking General [Developers Only]] xosele:
Thanks FlanjeUK

I tried but I get error when I try to compact and forced close (Sony Neo- Root)

I tried on a second phone and I can not install any of the two adaway.apk links (Sony M2- Root-Xposed)

Any ideas?

P.D I downloaded your host file and works ok (etc/host) ,but I prefer not to ask to upload every month ;)
[Android Software/Hacking General [Developers Only]] FlanjeUK:
Is your Hosts file in /etc not /system/etc?

If so, change the "target hosts file" (from the preferences menu) in AdAway to /etc/hosts (by default its /system/etc/hosts)

If it was just a typo then sorry but I don't know what else to suggest :(

If all else fails I will try keep my host file in dropbox up to date ;)
[Android Software/Hacking General [Developers Only]] xosele:
I will pay your premium list :D

Guau. I dont know how,but hosts file was duplicated!!!

Now I want to see a Video on Viki app,but I can't.:-/ Is possible to add white list or comment host file lines??
[Android Software/Hacking General [Developers Only]] FlanjeUK:
Just delete any lines from the host file that are causing you issues (You can whitelist with AdAway)
[Android Software/Hacking General [Developers Only]] xosele:
Thank u so much!:D

I've got it!
[Android Software/Hacking General [Developers Only]] Sorry*:
ah sorry, was confused. I do use it, too :eek:
[Android Software/Hacking General [Developers Only]] roblou56:
I went to system/etc/host and I could not find bleacherreport.com or xvideos.com would these two sites be listed under some other name?
[Android Software/Hacking General [Developers Only]] CHEF-KOCH:
There are a lot of duplicates in this version.

E.g. line 77680 -> 127.0.0.1 bactrim.actual-finder.com

-> the only difference is the point at the end. I don't think we need all the duplicates with the point's at the end because it will not work.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Hi, thanks for the feedbacks. Duplicate, Sub-Domains, etc are always checked and removed except for the variations. FQDN and Parent Domains are considered valid for ADBlock.

Let me chk for and update it if anything comes up...

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
nope. site names should be as we use in the browser.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] jarayn:
This doesnt work for me either.

Adaway has stopped error every time it tries to parse and merge.

Adaway new version and 2.3
[Android Software/Hacking General [Developers Only]] FlanjeUK:
Go to AdAway thread and read that post by [MENTION=4699854]j1gga84[/MENTION]

It doesn't work for everyone :(

Sorry for causing this OT [MENTION=4877037]BSDgeek_Jake[/MENTION]
[Android Software/Hacking General [Developers Only]] Sorry*:
can confirm that. Up to 1222 duplicates (just made a fast search for ".*\.$" so it could be that some domains are not listed as non fqdn).
[Android Software/Hacking General [Developers Only]] j1gga84:
Adaway crashes because this MoaAB list is to big to handle for some phones with low RAM, I disabled adblock.mahakala.is and everything is fine. All other lists also block the unwanted stuff :good:

Regards
[Android Software/Hacking General [Developers Only]] jarayn:
Thanks, Been using Adaway for a long time. Just wanted to use the quality host file from here.

2gb ram so I don't think it's that.

Doesn't really matter as you say, the other hosts work ok.
[Android Software/Hacking General [Developers Only]] :
Adblock is blocking ads so less CPU will be used and battery will be saved in that way. But it has also high RAM usage, more RAM will be used, battery will drain more too. When you are trying to save battery from CPU on the other hand RAM usage will drain battery.

Choose wisely lol

EDIT: Anyone tested this hosts on Windows. Last time I paste this file, my connection was completely gone. :D
[Android Software/Hacking General [Developers Only]] Sorry*:
because the hosts file wasn't made for that many entries, but it should work anyway the windows dns service only needs some time to reload the hosts file.

by the way a better way espacially for android but also for windows would be to set up a custom dns server/dns cache blocking domains in this and maybe also from other lists (ah but I'm not sure if we can change dns server on android in any situation :/).
[Android Software/Hacking General [Developers Only]] ThisTechGuy:
Can I flash this and use adaway at the same time or will adaway change the hosts file so this would be obsolete? Currently have adaway to download this script as a host source.
[Android Software/Hacking General [Developers Only]] Sorry*:
and which problem do you have with the current solution?
[Android Software/Hacking General [Developers Only]] kingy9000:
Add URL To AdAway OR Stick with Zip

If you had read the OP you would see that you can add the following url to AdAway to add the hosts blocked in MoaAB to AdAway: http://adblock.mahakala.is

I personally would suggest that you just stick with the zip file instead of using AdAway since it's faster, more convenient, and potentially better tested for not blocking hosts that can ruin your web experience which can happen if you block too many hosts.
[Android Software/Hacking General [Developers Only]] s--c:
I agree I used to run adaway and this. Found my web experience was slower. Now running this. Seems better.
[Android Software/Hacking General [Developers Only]] ThisTechGuy:
The Playstore keeps blocking itself, and Adaway takes a lot of time to update even when only one hosts source gets updated, it downloads MOAAB again everytime even if it has not been updated in a while

If you had bothered to read my post, you would see that by saying "Currently have adaway to download this script as a host source", I did exactly that.

Alright, I flashed it and disabled AdAway. Will see if anything noticeably changes.
[Android Software/Hacking General [Developers Only]] Sorry*:
If you did it that way around AdAway could habe disabled all of your hosts check if they are still in place by locking at /etc/hosts or /system/etc/hosts. If the file is bigger than 10 MB everything should be fine, otherwise hosts have been fully disabled.
[Android Software/Hacking General [Developers Only]] ThisTechGuy:
Checked the hosts file and it was 15MB, so Adaway isn't interfering so far. However I can say that I now sometimes view some ads that I didnt have to using Adaway. Perhaps I will switch back after a few days.
[Android Software/Hacking General [Developers Only]] s--c:
Adaway and this will block more ads. But the idea is to have the best experience. Also you can edit the host file yourself to block or enable ads.
[Android Software/Hacking General [Developers Only]] Sorry*:
Adaway only blocks what you want to block. You can choose which list you want to use and which not. Neither Adaway nor MoaAB do guarantee "the best experience".

"The best experience" differs from person to person. If you do not surf that often on the internet and only on well known pages (and I think many people do that) this list is definitely too much. If you surf very much on the internet and on many websites this list - of course - is getting interesting.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
MoaAB MOD not only blocks in Internet browsing but also in Apps and Libraries. If you use Android and Normal to Lots of Apps then "MoaAB" is the Answer.

excluding the user perception...

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] Sorry*:
yeah I know. And most apps use the same services. Google Analytics (and a few others) and a few advertising networks.

What I want to say is, it's not necessary for many people to block half a million+ hosts - but it also doesn't hurt.

And that MoaAB not only blocks in internet browsing but also in apps is because it uses the hosts file - AdAways does the same. So simply adding the list to adaway is the easiest solution for many users. It also not problem that AdAway always redownloads the "big" file because in general updating adaway once a month is more than enough,
[Android Software/Hacking General [Developers Only]] warlock9_0:
Jake have you thought of git? Changes can be tracked and be made easier to add/remove etc
[Android Software/Hacking General [Developers Only]] Sorry*:
https://bitbucket.org/shoeper/hosts

I did setup one some time ago, but bitbucket does not create diffs because they are too large.
[Android Software/Hacking General [Developers Only]] nutdevza:
I cannot use Dolphin sync after flash MOAB,works fine without host Moaab or adaway host file.
[Android Software/Hacking General [Developers Only]] aburns7487:
OMG, you finally solved mystery for me why dolphin sync wasn't working. Once reset moab to stock it worked.
[Android Software/Hacking General [Developers Only]] Sorry*:
Install AdAway & enable dns logging. Then start dolphin sync and look which domains dolphin sync uses. Post them here and add them to the adaway white list. MoaAB and Dolphin Sync should work fine then.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
D**phin br**ser was and Still is considered toooooooo intrusive to user privacy So I decided to block all links from dol**in domains including sync and supporting subdomains, I can demonstrate the instrusition at will. I wonder that people still use it. Disassemble and you will be terrified by the code.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] sonwon:
How are the other browsers? And thank you much for your work on this file!
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
clean browsers:

Android/AOSP Stock, Opera, Opera Classic, Opera Mobile, Chrome, Boat Mini, Naked Browser, Firefox, Maxthon, Javlin, UC Browser, Lightning.

Suspicious browsers:

Dolphin, Dolphin Mini, Boat, Baidu.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] sonwon:
This is very useful. I am glad to see I have none of the suspicious browsers.
[Android Software/Hacking General [Developers Only]] myrigon:
Hello, I was wondering if you could confirm my suspicions about an app. The IR remote app I use has updated, and requested (amongst other things) my UUID, and direct access to my IR blaster and settings for "troubleshooting on custom ROMs". I believe this is ridiculous, and uninstalled. Was I panicking, and being too reactionary, or was I justified?

Many thanks.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
no need to worry. permissions are required for app/s for functioning.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] aburns7487:
I'm glad I know how to re sync dolphin. It was only a setup thing for getting my bookmarks and now I re flash the moab zip that get rid of the ads, which to me is more.important. Thank you for updating and thank you to others for solving mysteries for me. I never had even thought moab effected dolphin sync. I understand that browser isn't for everyone but I like it. I have alternatives (samsung stock browser/asop browser/chrome mobile/chrome beta/cm browser). I apparently like variety...lol

Thanks again ladies and gents
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
Is Puffin Browser clean or suspicious, and why do you consider those you listed to be suspicious?

Sent from above using Xparent Tapatalk
[Android Software/Hacking General [Developers Only]] sonwon:
CM Browser?

https://play.google.com/store/apps/details?id=com.ksmobile.cb
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Suspicious browsers are those which contains track-back, remote logging, url intercept and reporting functions hidden deep inside the code and invisible to user. Puffin i never chked. I report only those which i used. CM again i hv to chk.

sent from S5 Exynos 5422 HMP
[Android Software/Hacking General [Developers Only]] bavie85:
hello Jake,

donwloaded your latest host file, 2 july 2014. When flashed I noticed that some video's (flash) doens't play anymore in my s5 browser. All websites need to be typed with www., before this was not needed. Also the dutch app 'Skoften' which shows funny pictures, gif's and video's won't load anymore.

Don't know which line in your host file causes this. I prefere to be updated with your latest host file. Could you help?

I've searched in this tread but haven't found an anwser.

thanx in advance
[Android Software/Hacking General [Developers Only]] JesusWazBlack:
Hey would it be possible to get this to work with animania? All other adblockers won't work... Not even lucky patcher because they block the ads effextlivly however the video won't play if you block the ads lol
[Android Software/Hacking General [Developers Only]] namitutonka:
Could one simply overwrite '/etc/hosts' with the hosts file extracted from LATEST_MoaAB_ADBlocking_SuperBlock_02July2014_CWM.zip?
[Android Software/Hacking General [Developers Only]] sgs9:
yes, on all my devices. I never flash the zip. think, 644 / rw r r
[Android Software/Hacking General [Developers Only]] vdias:
How can we use rhis with adaway????
[Android Software/Hacking General [Developers Only]] s--c:
Info in OP [emoji1]
[Android Software/Hacking General [Developers Only]] nutdevza:
OK I just uninstalled DoPi [It just a trash like Baidu family] and using FF with moAb .No problem with sync anymore[ i have my data synced with my FF on PC] ,thanks JAKE.
[Android Software/Hacking General [Developers Only]] TYMO68:
Hi BSDgeek_Jake, I am keenly interested in flashing this mod to my device but it hasn't received a unlock bootloader/Recovery method yet due to it being newer in the market (VZW LG G3). I'm wondering if there would be any other way to flash this mod to my device for usage and it work correctly.....i.e. ADB Sideload, etc without it borking my G3? Presently, I am rooted successfully but just no recovery so any insight to do this would be greatly appreciated.... If not guess I'll be waiting until a proper recovery is made available. Any insight from you or the community to weight in on my query would be quite appreciative.... Cheers
[Android Software/Hacking General [Developers Only]] aospid:
Copy the hosts file to the /system/etc folder and set the permissions. Or use AdAway to point to the file in a custom location.
[Android Software/Hacking General [Developers Only]] Sorry*:
Install ADAway and enable dns logging start the app which does not work and access not working websites. Look into the created log and remove blocked urls (add them to the whitelist).

But because they are blocked I think they have a massive use of ads or at least tracking.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Can you be more descriptive?

I made sure that all the 'www.' are excluded from hosts file so this should not be a problem.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
let me chk and work out something... Give me some time.

i am working on removable of In-Video ADs without Video playback issues.

Lets see how much success we get :p
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Best way is to copy paste 'hosts' thru root explorer to '/system/etc' and set permission to 'root:root' and '0644'.

This is the best way i like and it also makes me feel total control over my device.

CWM is for those who likes it automated.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Post 1874 and 1879 will do best for you.
[Android Software/Hacking General [Developers Only]] bavie85:
i would, but it's not needed anymore. Placed the host file manually with rootexplorer and i don't have the problems anymore.
[Android Software/Hacking General [Developers Only]] TYMO68:
So to be clear, I simply can just extract the zip file, copy the host files of that to '/system/etc' and set permission to 'root:root' and '0644' and this will enable the MoaAB Ad Blocking fully as if I flashed it via Recovery? Sounds easy enough but I use ES FILE EXPLORER so I'm not familiar with or how to set the permission after I coy.......any assistance to how to do that would be appreciated.
[Android Software/Hacking General [Developers Only]] abhi08638:
Long click file. Hit the "more" in bottom right corner of screen. Then hit properties. Then next to permissions hit "change".

don't forget to hit thanks!
[Android Software/Hacking General [Developers Only]] BigBadBoy:
In ES File Explorer you can set permissions from «Properties» dialog...

When you see 'root:root', it means Owner=root and Group=root

Permissions 0644 is the same as rw- r-- r-- (in ES Explorer dialog)... also the same as: owner has read+write permissions; group has read permissions; everyone else has read permission.

These settings needed are usually the default when you copy using ES File Explorer... I allways copy this way and never needed to change permissions...
[Android Software/Hacking General [Developers Only]] FlanjeUK:
You want it to look like this in ES ;)
[Android Software/Hacking General [Developers Only]] TYMO68:
Excellent!!! Thks all, I sincerely do appreciate it and to be clear that's all I need to do is simply copy the 'host' and set the permissions??? What about all the other files that are contained within the zip? Do I do anything with them or would simply be copying the host and setting the permissions are all that is needed?
[Android Software/Hacking General [Developers Only]] themichael:
Just host and permissions. That's how I apply the mod.
[Android Software/Hacking General [Developers Only]] sleepingturtle:
Love this mod. The only issue was when I needed to edit the hosts file. My file manager hates opening it up (due to the size) and I don't have reliable computer access due to my job. I found a nice lightweight host editor on the play store. I do recommend the folks who ask for sites/ ads to be added to the list to test what possible issues adding the listing would do.

Here's the link to the editor I use on the play store: http://tinyurl.com/m46w3hm
[Android Software/Hacking General [Developers Only]] cdonald:
That's the same app that I use. Works great
[Android Software/Hacking General [Developers Only]] Lennydk87:
Hey I've tried running this mod on the One Plus One, and its working pretty okay, BUT it will not block Youtube AD's, why is that? :)
[Android Software/Hacking General [Developers Only]] Lord Childe:
I don't see any great advantage of the 'mother' over any of the standard host files. Maybe it's fine for web ads, but it doesn't block all app ads - Dumpster and Blackmart, for instance, are not prevented from annoying me (especially Blackmart with its damn "win an iPad" popup).

I realise that it's not 100%, but it's not the Holy Grail either. Perhaps mother can shoot dead more app ads.
[Android Software/Hacking General [Developers Only]] s--c:
I had the same issue with dumpster. It was a great app and I paid for it [emoji1]
[Android Software/Hacking General [Developers Only]] Sorry*:
Just report urls here and I think Jake will add them.
[Android Software/Hacking General [Developers Only]] onealvideo:
Just find the domain and add it to the host file yourself.
[Android Software/Hacking General [Developers Only]] jbass350z:
How can i check if this actually worked? Google ads on search are still showing and let me click through.

But i can view the hosts file and googleadservices.com is definitely blocked!
[Android Software/Hacking General [Developers Only]] Lord Childe:
And how do you find the domain of an app exactly?

I guess we need more than one ad-blocking source. I disabled Xposed module MinMiniGuard to see how effective MoaAB would be. As mentioned before, Dumpster and Blackmart ads got through. Re-enabled MinMiniGuard and those apps no longer present a problem.

Two ad-blockers are better than one.
[Android Software/Hacking General [Developers Only]] s--c:
Use adaway to find domain I think.. Thought min mini guard was stopped. Anyone moab does enough for me...
[Android Software/Hacking General [Developers Only]] Wakamatsu:
Use AdAway or a firewall and log the IP.
[Android Software/Hacking General [Developers Only]] Y.G.:
Same problem here. It used to block YouTube ads, now it doesn't. Is there something we need to add to the host file to remove the ads?
[Android Software/Hacking General [Developers Only]] Lennydk87:
I ended using Adaway, much easier to setup, and works like a charm. :)
[Android Software/Hacking General [Developers Only]] :
You can use YouTube AdAway
[Android Software/Hacking General [Developers Only]] ckyy:
Not everyone uses xposed or dalvik.
[Android Software/Hacking General [Developers Only]] Y.G.:
I'd prefer not to use two adblockers. I'm going to test out AdAway and see how well it functions.
[Android Software/Hacking General [Developers Only]] ckyy:
I've tried adaway, adfree and adblock+. None of them block YT ADS anymore.
[Android Software/Hacking General [Developers Only]] s--c:
This is what I use works well [emoji1]
[Android Software/Hacking General [Developers Only]] :
I don't ask for dalvik or xposed. If you don't use, no problem for me. :)
[Android Software/Hacking General [Developers Only]] bangdes:
old version can do block youtube ad, how this version couldn't?
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
YouTube ads blocking was removed as per user/developer request. Might think about it in future releases...
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
please see this post
[Android Software/Hacking General [Developers Only]] roblou56:
Yes, please reconsider. Thank You for all you have done for the community. Hope all is well with you and yours.
[Android Software/Hacking General [Developers Only]] Cookie Ninja:
To block YouTube advertisements, add I.ytimg.com into your blacklist in adaway/adfree, or else, use a text/hostfile editor to add this into your hosts file manually.....

Dead Cookies leave no trails...
[Android Software/Hacking General [Developers Only]] CADude:
Who requested that Youtube adblocking be removed?
[Android Software/Hacking General [Developers Only]] Cookie Ninja:
Google, I bet!!!
[Android Software/Hacking General [Developers Only]] shoey63:
Yep, that works:thumbup:

Pure gold :) Care to share your hosts file? I'll bet it blocks EVERYTHING :D

Edit: I'll bet Nobody hates ads, popups and especially cookies more than [MENTION=2305003]Cookie Ninja[/MENTION] ;)
[Android Software/Hacking General [Developers Only]] :
Are you having a hosts file too ? I would like to see :D
[Android Software/Hacking General [Developers Only]] Cookie Ninja:
Nah, just use adfree/ad away with a personalised blacklist & redirect list.

Can't just post my hostfile on this thread. This is [MENTION=4877037]BSDgeek_Jake[/MENTION]'s thread. Doing so would be trolling unless he asks me for it, or says it is OK to post

Dead Cookies leave no trails....
[Android Software/Hacking General [Developers Only]] s--c:
I believe PMing is OK for those that want it [emoji6]
[Android Software/Hacking General [Developers Only]] kylegrant:
I added l.ytimg.com to the blacklist, applied adaway again, then rebooted but on my first video i watched an advertisement. Is this for video ads?
[Android Software/Hacking General [Developers Only]] jzmtl:
Youtube and google ad blocking is broken across the board started a day or two ago, ad block plus, ad away all broken so seems google found a workaround.
[Android Software/Hacking General [Developers Only]] drose6102:
Thanks, I was wondering what was going on