yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] rpr69:
I respectfully disagree. I just did a detailed analysis of the raw files versus what Adaway produces, and the raw files contain 127,997 unique entries, and the adaway generated file contains 127,088 unique entries. That is a less than 1% discrepancy. If i had to guess I'd say your bphf (whatever that is) is just too large to process and it is failing to properly process all of the entries.
[Android Software/Hacking General [Developers Only]] HeathenMan:
i just wont promote my host thread link here to respect the moab work ;)

Allright could be true, thanks
[Android Software/Hacking General [Developers Only]] ACHILLES R32:
The host file seems to be blocking links when I attempt to access the them through Tapatalk.

Edit: fixed it.

If anyone is interested its redirect.viglink used host file editor
[Android Software/Hacking General [Developers Only]] BACARDILIMON:
White list it

BAD ASS NOTE 4
[Android Software/Hacking General [Developers Only]] ACHILLES R32:
Got it sorted , forgot to edit post fully.

Sent from my Nexus 5
[Android Software/Hacking General [Developers Only]] craP_cillA:
i don't wanna read through the whole thread...so just a quick question: why doesn't MoaAB work under android lollipop?! :(
[Android Software/Hacking General [Developers Only]] myrigon:
Then I'll just give you a lazy answer in return.

It does work. Try harder.
[Android Software/Hacking General [Developers Only]] craP_cillA:
for me it doesn't! using the newest version on the blisspop rom.
[Android Software/Hacking General [Developers Only]] Primokorn:
Why not use the search feature before posting wrong statements? Provide more information other than "it doesn't work" if you need help^.
[Android Software/Hacking General [Developers Only]] bombadier:
What exactly is not working ? If its chrome turn off the data compression feature, if its others we need details
[Android Software/Hacking General [Developers Only]] craP_cillA:
i think the ad blocking is not working...and i'm using dolphin browser...was surfing on android filehost and the place was loaded with ads!
[Android Software/Hacking General [Developers Only]] Skripka:
This is only a hosts file. If it isn't blocking, then the problem is purely tour settings or installation
[Android Software/Hacking General [Developers Only]] Primokorn:
MoaAB NEVER blocked ALL ads. Check if the domain you see with ads is listed into the hosts file.
[Android Software/Hacking General [Developers Only]] Skripka:
I never said it did.

99% of the time when people complain about MoaAB (or any hosts-file based ad blocker) not blocking ads, it is because they have turned on onboard tools that completely bypass the local hosts file like "bandwidth savers".
[Android Software/Hacking General [Developers Only]] Primokorn:
I just wanted to say that if an ad isn't blocked, it could be 'caused' by the hosts file itself. The matter is not always on the user's side ;)

More generally, it could be worth to add basic reminders in OP about data compression with Chrome, Puffin and its proxy, and so on...
[Android Software/Hacking General [Developers Only]] hormosapiens:
I am on Cataclysm 5.1 Nexus 5.

Thank you so much for giving me back the Internet of things.

Is there any thing like this for chrome os?

Thank you.
[Android Software/Hacking General [Developers Only]] znarf2369:
I am just here to say thank you. Simple ad blocking solution and yet so powerful. Very nice job (:
[Android Software/Hacking General [Developers Only]] dinjo_jo:
Does this works on 5.0.2
[Android Software/Hacking General [Developers Only]] Basche:
It works for all versions, searching could easily find the answer for you
[Android Software/Hacking General [Developers Only]] dinjo_jo:
I asked this since in OP its not mentioned thanks
[Android Software/Hacking General [Developers Only]] Ph0z3:
Reporting from Note2 on LiquidSmooth_3.2 (4.4.4)

Was flashed with TWRP 2.8.6.0, with no issues.

Thanks for the hard work!
[Android Software/Hacking General [Developers Only]] AngiolettoNero:
issue

Hi!

I have a problem.

When i flash MoaAB zip, my "hosts" file will be populate correctly... but, few minutes later, the "hosts" file return automatically to the default setting (completely cleared)... Do you know why?

This happens also if I modify the "hosts" file manually.

Please Help Me.

My device: i9505 ~ 4.4.4 ~ unofficial Miui.

PS: I re-flashed the same rom few days ago, before MoaAb worked correctly.
[Android Software/Hacking General [Developers Only]] Primokorn:
You are probably using a rom feature or a 3rd party app that erases MoaAB.
[Android Software/Hacking General [Developers Only]] bombadier:
Does the search button work? Yes to both questions although depending on the ROM you use it may have some inbuilt feature that can interfere with this

tapatyping fae the bacon
[Android Software/Hacking General [Developers Only]] chuckenheimer:
Just jumpin' in here for a quick question. Are there any plans for a Lollipop release? Thanks!
[Android Software/Hacking General [Developers Only]] Skripka:
MoaAB already works with Lollipop. It has since Lollipop was released.
[Android Software/Hacking General [Developers Only]] oldman20:
i have a question: Adway also create host file too, but size is aproximate 1Mb, while size of MoaAB's host is 4Mb, so which host file is better? maybe this's stupid question! @@
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
Yeah ur Question is Kind of stuipi.. ;)

However AS it says iwould refer to Moab,

but these are different hosts files AS ,MOAB Doesnt block all,small Kind of ads are still there,(AS OP says,too)

adaway not..

So If u got some morality,use MOAB,

but if u dont really Like ADS take adaway..

Hope i could help ,

CHEERS.
[Android Software/Hacking General [Developers Only]] oldman20:
yeah, now i can see. Thanks you!
[Android Software/Hacking General [Developers Only]] atz06:
Love your app, better than the Ad Blocker which I have been using for years. Thank you very much!
[Android Software/Hacking General [Developers Only]] fer2503:
This mod work on gpe 5.1?
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
[MENTION=4940323]fer2503[/MENTION] yeah it should..
[Android Software/Hacking General [Developers Only]] anshumangoyal:
Will this work on Lollipop. I am using AdBlock app and there has been so many issues using it. So looking to switch to this app.

So, want to check if this works on Lollipop, Euphoria ROM and on OnePlusOne and TWRP.
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
Yeah it should..
[Android Software/Hacking General [Developers Only]] FPSUsername:
Then stupid question no2 :D

How can AdAway remove all with a smaller hosts file?
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
Honestly quick and short :

Idk

Xd

But surely it has it reasons .e.g. For performance (?)

So dont worry;)
[Android Software/Hacking General [Developers Only]] Netgic:
Don't work on AICP 9.0 (Android 5.1) :crying:

Only the terrible onboard ad blocker of this rom works -.-*
[Android Software/Hacking General [Developers Only]] silentkiller143:
Will this work on CM12.1 Lollipop ROM note 2?
[Android Software/Hacking General [Developers Only]] Skripka:
This question has been asked and answered twice on the last page of posts alone. And a dozen times in the last week.

If your device uses a hosts file this will work. That includes laptops and desktop computers.
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
It should..
[Android Software/Hacking General [Developers Only]] Padly:
Anyone have the link for old version, Especially February 2014?
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
https://db.tt/KrAZ6iE5

I'll leave it up for two days
[Android Software/Hacking General [Developers Only]] Padly:
Thanks.

I found it to.

http://xdaforums.com/showthread.php?t=2744633

And I installed the version of July. I think this version is very effective for me.
[Android Software/Hacking General [Developers Only]] silentkiller143:
Buddy, don't get mad.. I asked it again because I didnot see Cynogen mod mentioned anywhere.. But now that you have clarified that it works with any system which uses hosts file, its cool :)
[Android Software/Hacking General [Developers Only]] Febby:
I love this mod, it is working great.
[Android Software/Hacking General [Developers Only]] evilperro:
In contrast to others I get music ads on Spotify. Using http://xdaforums.com/android/general/mod-spotify-tablet-mode-t3006191

(others with that mod have reported not getting ads with MoaAB).

S3, Temasek v 10 (Lollipop 5.1, based on CM 12.1)

Region: Sweden
[Android Software/Hacking General [Developers Only]] chuckenheimer:
Just a quick insertion here please, I am getting a "footer is wrong" "signature verification failed" error when trying to install the latest drop of MoaAB file. Anyone know what could possibly be wrong? Thanks!
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
Try TWRP..
[Android Software/Hacking General [Developers Only]] chuckenheimer:
Got 'er done. Now I'm back to PhilZ_Touch recover but you know that even with TRWP, I enabled zip file verification which caused the MoaAB file to fail install again. Not critical but something for someone here to know about.

Thanks again!
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
Why u enabled ZIP Verifikation xd
[Android Software/Hacking General [Developers Only]] SR3TLAW:
MMS

So...

This little zip is a bad boy and sure is good at what it does however. It breaks MMS on Verizon. How can I edit hosts file with Terminal Emulator?
[Android Software/Hacking General [Developers Only]] PiggyFlooper:
edit it with es file explorer

920 text editor is good for searching what your looking for(in regards to mms, although that's probably not the problem)
[Android Software/Hacking General [Developers Only]] chuckenheimer:
It was the default for the PhilZ recovery. Don't really know why I enabled it in the TWRP recovery.
[Android Software/Hacking General [Developers Only]] LifeAsADroid:
[MENTION=4877037]BSDgeek_Jake[/MENTION] - If it hasn't been tested yet, this also works on LP. Specifics: 5.0.2 SlimLP ROM running on VS985 G3, flashed with TWRP 2.8.6.1. In case you wanted to update the original post :)
[Android Software/Hacking General [Developers Only]] parylizer:
will this work on android 4.0?
[Android Software/Hacking General [Developers Only]] Hgneto:
Works on lollipop 5.1.1?

Sent from my LG-D855
[Android Software/Hacking General [Developers Only]] Hgneto:
So just flash the zip from TWRP?

Sent from my G3
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
Exactly.
[Android Software/Hacking General [Developers Only]] Zemaree:
Hi,

first of all tnx for the file, it save me from the armageddon :)

and it't the only reason to unlock my nexus 6 :) now i can't survive with the standard amount of adv.

I have an issue with a specific usecase

if you go to the garmin page: https://connect.garmin.com/en-US/signin and you click on google icon nothing happend. I see this strange behavior also within the app of Garmin.

If i revert back the host file it is working.

I make some investigation using my desktop and seems that garmin use: https://socialize.us1.gigya.com/socialize.login? to open the link.

I take a look to the host file and i found:

gscounters.us1.gigya.com plus some occurence of gigya.com that are not socialize.us1 so i don't know why it keep me blocked...

can you help me? tnx :)
[Android Software/Hacking General [Developers Only]] LifeAsADroid:
Ever figure out what needs to be edited so MMS works on VZW again? That info could prove useful to "some other people here, wink wink" ;)
[Android Software/Hacking General [Developers Only]] Skripka:
Your APNs need edited IIRC. There's tons of posts about in this thread over the months and years.
[Android Software/Hacking General [Developers Only]] Evanescense:
Will this work on 5.1.1?
[Android Software/Hacking General [Developers Only]] Cr33D OrB:
To 727271x

"It should"..

;)
[Android Software/Hacking General [Developers Only]] Evanescense:
Haha, sorry about that...

I can confirm it works with the official 12.1 nightlies.
[Android Software/Hacking General [Developers Only]] nprev420:
Remove "mms.vtext.com" for Verizon mms to work.
[Android Software/Hacking General [Developers Only]] LifeAsADroid:
Very late, already got it, but thanks for verifying.
[Android Software/Hacking General [Developers Only]] ssl3vin:
LG G2 lollipop

hi,

I have an LG G3 lollipop and this mod works perfectly on many ROMS (also on stock).

But on my LG G2 D802 on stock lollipop it doesnt works... any idea why?? :confused::confused:
[Android Software/Hacking General [Developers Only]] Primokorn:
There's no reason for not having a working MoaAB on your G2. Did you check your host file? Are you using a proxy? The data saver feature of your browser?
[Android Software/Hacking General [Developers Only]] ssl3vin:
OK done... I dont know why.. but after flash Mod file, the hosts file had just one row (127.0.0.1). Then i copied manually the hosts file and now seems works! :D

btw thanks :)

Now the enigma is why the hosts file didn't substitution by the new hosts after flash?

The only idea that i have is that the permissions of file hosts on my LG G3 are rw- r-- r-- instead of on LG G2 were rwx rwx rwx.
[Android Software/Hacking General [Developers Only]] Primokorn:
Extract the 'hosts' file from MoaAB zip and paste it to /system/etc with rw-r--r-- (enough for his file AFAIK). Reboot and check again. If it works then it means that the provided script doesn't work well on your device. I don't remember how this script works.

Do you have a built-in adblocker through an app or a browser? If so then disable them before flashing MoaAB.
[Android Software/Hacking General [Developers Only]] ssl3vin:
It's what i did. I extract the hosts and put the right permission and now it works fine.

I think that the script dont works on this stock ROM becouse I flash the zip after factory format. Anyway thanks :)
[Android Software/Hacking General [Developers Only]] jeevanreddy:
will we get the update for this app?
[Android Software/Hacking General [Developers Only]] shahabazas:
Yup you will get the updates but for updates you need to visit this thread once in a while. Hope you know that its a Hosts file which blocks ads in all your apps.
[Android Software/Hacking General [Developers Only]] regP:
So after posting in the N4 forums I learned that the reason the ad blocking may not be working for myself was due to the proxy in my APN settings. Once I removed the proxy and did a reboot everything works great. Just wanted to share with OP and anyone else experiencing issues.
[Android Software/Hacking General [Developers Only]] PamelaGirl:
Would the great and powerful BSDgeek_Jake have any solution for spam email?

:)

T.I.A.
[Android Software/Hacking General [Developers Only]] Dave the Knave:
I don't know who you use for email, but using gmail, I haven't seen a spam email in years.

Sent from my Galaxy S3
[Android Software/Hacking General [Developers Only]] jeevanreddy:
adds in - "Offline dictionaries"

hallo,

i installed, still i see adds in app: "Offline dictionaries".

thanks for considering,
[Android Software/Hacking General [Developers Only]] cool92guy:
Ads in these apps...

- swapper 2

-crazy granpa

-gun slugs

-death moto
[Android Software/Hacking General [Developers Only]] meyerweb:
First off, thank you so much for all the work that went into this.

Second, think there's any chance of blocking the ads in Words with Friends? I applied the linked file through Ad-away, rebooted, and most of the WwF ads still come through.

Thanks again!
[Android Software/Hacking General [Developers Only]] kapil_dheer:
Dear BSDgeek_Jake,

Here is my first attempt to work out the requests based upon your references. Please see the attached host file.

At the end, I have entered the ad links that i was able to determine for the following apps:-

1. Crazy Grandpa v1.0.6.apk

2. Death Moto v1.1.0.apk

3. Offline dictionaries v2.2.3.apk

4. Swapper 2 (for Root users) v0.2.8r2.apk

5. Words With Friends Free v6.0.3.apk

Thanks. Waiting for your feedback.

For those who want to test the blocking, I am attaching the flashable zip file. Will wait for your feedback.

There might be cases where I could have put some extra links in blocking which is break app functionality.

You may flash the 7 may update by BSDgeek_Jake to revert to the original status.

For more advanced users, you may open the hosts file in the zip in notepad++ & remove the links one by one. I have added comments for each app in the end.

Now I await the feedback.

Fingers crossed;)
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Thanks buddy for this work. Really appreciate your efforts. Let me go thru... Cheers.

transported from Tapatalk2 over GalaxyS4/XperiaZ
[Android Software/Hacking General [Developers Only]] jeevanreddy:
thank you very much for your cosideration.
[Android Software/Hacking General [Developers Only]] mikronac.ns:
Ads in this apps when connected to 3G but there is no ads when connected over wifi:

B92

Telegraf

Any suggestion?

EDIT: solved problem, I used wrong APN which requires proxy... Second APN which doesnt have proxy works very vell...
[Android Software/Hacking General [Developers Only]] cool92guy:
Hi all, if we flash this 700+kb zip , it will replace the 7th may update which is 1.7 mb? Which means I won't have some ad blocking if I flash this one?
[Android Software/Hacking General [Developers Only]] Dave the Knave:
Just don't flash anything except for what Jake provides in the OP. That was just someone trying to help Jake out.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Hey kapil_dheer,

All your feeds are merged with the ADBlocking release. Next Release will carry the updates.

INFO: Only FQDN (Fully Qualified Domain Name inclding Second-Level Domain and Hostname) are blocked. Rest of the things are JUST ignored and dropped by Android. This is how the hosts file works.

Kindly request you to remove the attachment as feeds are now merged with the mainstream.

Really appreciate your efforts. THANKS. ;)
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Hey PamelaGirl, E-Mail works on very different levels. You can request you e-mail provider for spam blocking. These days all the e-mail clients and servers have spam blocking features by default and if not then you should switch. Anyways...

Cheers :)
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Proxy and APN related issues solved (regP) :)
[Android Software/Hacking General [Developers Only]] kapil_dheer:
Hi BSDgeek_Jake,

Removed the attachment as you said.

Being not that technical, i'm unable to understand the below comment.

Only FQDN (Fully Qualified Domain Name inclding Second-Level Domain and Hostname) are blocked.

Can you please explain these with some example......thanks for your support.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
In Plain English: FQDN is an address like Postal Address for someones home (homepage/domain). The mail (Request) will go to that address only after the postman validates (Android OS validates from hosts file) the address and then deliver (deliver to null through hosts file).

We are redirecting to NULL SPACE or LOOPBACK DROP (127.0.0.1 in hosts file)

Search Google and You will get more info. :good:
[Android Software/Hacking General [Developers Only]] prateektyagi91:
There are still ads present in app "GOAL.COM"

DDULP8

CoCore 6.2
[Android Software/Hacking General [Developers Only]] keaheng:
I extracted the host file and copy it to system/etc but once my phone's restarted.. the host file back to the default.. I'm running on HTC One M8 root stock GPE 5.1
[Android Software/Hacking General [Developers Only]] ‬1‬:
any reason to choose this over adAway? they both change the host file and it´s easier and updatable with adAway.
[Android Software/Hacking General [Developers Only]] Ejvyas:
Its the same but this is just the hosts file and doesn't need any app. Adaway can be used to manage multiple black/white listing entries + rules.
[Android Software/Hacking General [Developers Only]] ΦDroid:
This is also a lot more thorough than the default hosts in AdAway as well. You can add this in Adaway to get the benefits of both. That is what I do, plus a few additional hosts sources.
[Android Software/Hacking General [Developers Only]] afr33sl4ve:
Somewhere, along the way, Snapchat and Zedge are both blocked. I just flashed to the latest from December 2014 (I think Confirmed). I'll try it out and let you know.

EDIT: Nope. Can anyone shed some light, or post the latest version that allows Snapchat and Zedge to work? Thank you.

And, I can't load Vines anymore, either.

Reverting to stock did not help. This is an issue outside of MoaAB. Apologies.
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
MASSIVE UPDATE.

WARNING:

Current Release Not for Slow Phones. If You think that MoaAB is getting toooo much RAM just remove it and stay on the Archived Release.
[Android Software/Hacking General [Developers Only]] ‬1‬:
ok thanks guys. Will give it a try.
[Android Software/Hacking General [Developers Only]] Ejvyas:
Do you mean to say that file size increased ?

What is it now ?
[Android Software/Hacking General [Developers Only]] Skripka:
Update is 6megabyte, old version is only 900kB

---------- Post added at 08:33 AM ---------- Previous post was at 07:40 AM ----------

Latest update seems to FC Lollipop Hangouts. I'll try to get a logcat in a few hours
[Android Software/Hacking General [Developers Only]] BACARDILIMON:
No FC here
[Android Software/Hacking General [Developers Only]] redjamesg:
Using MoaAB on CM12.1 with a clean flash using today's nightly of CM, no FC seen.
[Android Software/Hacking General [Developers Only]] Skripka:
Must be carrier specific to Sprint SMS or MMS

Couldn't get an informative logcat
[Android Software/Hacking General [Developers Only]] chuck4100:
I am using this currently but it seems that my android is completely ignoring the hosts file and no ad blocking takes place.

Anyone know what's up with this?
[Android Software/Hacking General [Developers Only]] ΦDroid:
Is this happening in your browser or apps too? If its just your browser you probably have a data saving feature enabled in your browser.
[Android Software/Hacking General [Developers Only]] chuck4100:
Yup, that did it. Using chrome with its data saver, turning that off, hosts works now.

Thx!
[Android Software/Hacking General [Developers Only]] KenHua:
Thanks for the continuous update. I'm just curious about this latest update in terms of the size, which increased nearly 6 times. Was there something else changed beyond the number of hosts? The other question is that 6MB is really still tiny compared to the RAM size of any phone. How much RAM does it actually takes up when loaded? Thanks,
[Android Software/Hacking General [Developers Only]] BSDgeek_Jake:
Current release will take around 34 MB of RAM approx.
[Android Software/Hacking General [Developers Only]] halkoliiteri:
Tested new update on Note II but it makes Chrome terribly laggy so back to older version :) Maybe time to get new phone...
[Android Software/Hacking General [Developers Only]] Darktitor:
It's working as it should on Mi4 powered by OptiCancro
[Android Software/Hacking General [Developers Only]] halkoliiteri:
Yep. I think so. But anyway. Lags gone after reverting back to earlier version. Maybe some problems with my rom (CMX 5.1.1)
[Android Software/Hacking General [Developers Only]] miten_sheth:
It's blocking ads.. But there's a lot of lag.

Edit : reverted to the older version, lag is gone.

Edit 2: so is the ad blocking.
[Android Software/Hacking General [Developers Only]] JonSCSL:
Works great. No issues on my Note 3.
[Android Software/Hacking General [Developers Only]] Ejvyas:
Going to stick to the smaller file size version. Large file makes my 2013 moto x super slow
[Android Software/Hacking General [Developers Only]] cromatn5:
Thanks for this update. All good on my nexus 5. Adds blocked and no lags.

Terminus ROM (Bokrom) + CodeBlue kernel.