yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Efreak2004:
Three things:

1. First of all, the donate link 404s for me.

2. Second, there doesn't seem to be any way to add more blacklists? The online control panel shows an empty list and a save button, with no way to actually add stuff. What is the current source for the blacklist?

3. This app would be *much* more awesome if you could embed/control an instance of dnsmasq from it. An option for said DNS server to listen on the lan would make it even better (use your phone as a DNS server for unrooted devices). It should be fairly easy to compile, IIRC many phones use it for dhcp when tethering. There's some dns-related projects here
[Android Apps and Games] ngcobinh:
Great for user

Great for user but it is bad for developer
[Android Apps and Games] srothkin:
Anybody?
[Android Apps and Games] stryfe2010:
Thanks for the info. Flashing the fix zip for adaway worked perfectly for Adfree
[Android Apps and Games] Molson01:
I too am seeing this, tried AdAway zip flash, no progress....

Same versions Nexus 6 on MOB30O, busybox pro, supersu pro, up to date.
[Android Apps and Games] srothkin:
I finally switched to AdAway on Sunday. In addition to re-flashing their zip file (from 1st post in forum) I had to also specify custom location /su/etc/hosts.

Not sure why AdFree suddenly stopped writing to /su/etc/hosts or caused it to no longer to work, but so far AdAway is working fine so I'm probably going to stay with it.
[Android Apps and Games] svbarbosa:
AFAIK, AdAway does not work well with a mobile connection. Only works with wifi. Adfree works well with both.
[Android Apps and Games] srothkin:
I presume you're referring to updating the hosts file - I'm fine with it only updating on WiFi especially since it doesn't need to do it more than once a day.

Both AdFree and AdAway rely on adding entries to the hosts file so there should be no difference between the two of them in ad blocking ability between mobile and wifi.
[Android Apps and Games] svbarbosa:
Good to know. I only remember reading somewhere about Adway issues with mobile connections.

Have never tried it myself because Adfree has been working fine in all my phones since forever.
[Android Apps and Games] carloz360:
Ads not blocked

Does anyone know why adfree does not block showbox ads?
[Android Apps and Games] ewokuk:
Just installed this and it seems to work well for most things. I just have one game where I am bombarded with ads still, Break Bricks by CanadaDroid.

Just checked the hosts file and it is 2.25mb. I am wondering if there is any disadvantage to having this huge hosts file, does every connection not need to check this entire file all the time? I haven't notice any slowdown yet but am wondering if there is any downside.
[Android Apps and Games] TheKsprx:
Hi thanks to the developer of this app, I have a question, is the app working again? I tried installing the latest version and it doesn't work, it can't check the hosts file status and stays in the loading screen.

Edit: it's all working now thanks.
[Android Apps and Games] debby_:
Nougat nexus5x work. Thx

Tapatalkkal küldve az én SHIELD Tablet K1 eszközömről
[Android Apps and Games] thundercattt:
Installed new Android 7.0. ads were blocked on latest 6.0.1 but doesn't block any on 7.0.
[Android Apps and Games] delta_foxtrot2:
I've been waiting to upgrade to 7, but google hasn't produced it for the nexus 6p yet.
[Android Apps and Games] thundercattt:
I'm surprised you haven't got the notification. I got it on the 5x. Check the ROM page from Google. Install yourself maybe.
[Android Apps and Games] delta_foxtrot2:
That's where I've been checking...

https://developers.google.com/android/nexus/images?hl=en
[Android Apps and Games] Andrew025:
Sign up for the beta program. You'll get the notification to update to 7 almost immediately.
[Android Apps and Games] delta_foxtrot2:
Luckily I didn't need to, they published an official build for my phone. I installed it and rooted it and I got ads to block following the same steps as for 6...

http://xdaforums.com/showpost.php?p=64554262&postcount=978

I couldn't figure out how to mount system rw when booted into Android.
[Android Apps and Games] delta_foxtrot2:
I added a comment about this to my post about this.
[Android Apps and Games] meboy:
Did you have server issues?

My account no longer exists..

Couldn't log in. Then tried to reset password and account doesn't exist.
[Android Apps and Games] Bill Gamble:
http://xdaforums.com/showthread.php?p=67526957
[Android Apps and Games] meboy:
Thanks

Haven't been keeping up or needed to update my white list in a while.

As a Web developer for years I learnt always triple+ backup.

One weekly, one monthly, on separate drive in server. Plus one remote.

I've all but stopped now or I'd offer to host.
[Android Apps and Games] martin5martin5:
dear friends.

how to solve the problem, that when I install adfree & modify hosts, EBAY app does not shows the pictures of the articles?

can I edit somehow the hosts file or what wqould be the best way to skip hosts redirection of *ebay* domains or somehow?

thx.
[Android Apps and Games] martin5martin5:
works like a charm.. on my OLD devices, android 4, and 5. but I simply can not use adfree on my android 6.0 device (redmi 3 pro cyanogenmod). seems to install http://adfree.odiousapps.com/ fine, "seems" to update hosts fine, but after trying to edit hosts to toggle ebay.com, hosts file is empty.

any idea? did they changed something in android 6? donno.
[Android Apps and Games] meboy:
So how to block these xda ads in the new app???
[Android Apps and Games] carbonize:
Use Tapatalk instead.
[Android Apps and Games] oae08:
Is this app still working? Im getting some ads in some apps...
[Android Apps and Games] delta_foxtrot2:
What apps?
[Android Apps and Games] meboy:
Yeah. Agreed.

Adaway gets all the attention but this is way better IMO.
[Android Apps and Games] oae08:
How is this working for you?
[Android Apps and Games] meboy:
Been using it for a long time now. The custom cloud list is very handy. Works great.
[Android Apps and Games] regalzz:
im stuck at the "checking if host files are up to date" screen. using DU ROM for Nexus 4...
[Android Apps and Games] delta_foxtrot2:
Where do you download that rom from? I'll throw it on my Nexus 4 and get back to you.
[Android Apps and Games] regalzz:
thanks for the help. downloaded here http://xdaforums.com/nexus-4/orig-development/rom-dirty-unicorns-mako-edition-t3326301/page28

i noticed that there was 2 extras hosts files on my phone, hosts.alt and hosts.og. i deleted them and adaway started working (although im still seeing ads in some apps like es explorer and dumpster). But adfree still stuck on that checking page.
[Android Apps and Games] delta_foxtrot2:
I downloaded and installed DU no problem and then I wiped the phone.

Once it booted into android I installed adfree and it ran with no problems.

Not sure what the problem you are having, anything useful show up in logcat when you run it?
[Android Apps and Games] regalzz:
I don't know how to use the logs. i downloaded mathlog and it shows a bunch of stuff so idk...
[Android Apps and Games] delta_foxtrot2:
Are you able to run

adb logcat

and then pm me the results when you run adfree?
[Android Apps and Games] andreskafe:
Sorry but my english

I can add host to White list again?

Thanks
[Android Apps and Games] jerryn70:
Looks promising , testing on my galaxy s4
[Android Apps and Games] regalzz:
sorry for the delay. i will try to do that later, tons of stuff from college and work to do. thanks for support!
[Android Apps and Games] sound2005:
Hi All

I have re-installed AdFree and now I have noticed that Google Play Store hangs or doesn't load.

If I revert my host list back to default, Play store works fine.

I can only conclude that there must be an entry blocking playstore.

Does anyone know what I should add to my whitelist to allow playstore?
[Android Apps and Games] phonetool:
Have you checked that you're on the latest Google Play Services? Not sure if that's the cause, but worth checking if the store doesn't work.
[Android Apps and Games] sound2005:
[MENTION=4602329]phonetool[/MENTION]

Got the latest latest playstore and Google play service but still I have to disable adfree when browsing the playstore.

I'll have to find out which entry in the host list is blocking me

Update:

I think I've worked it out.

My host list is empty!!!?

It used to be about 2mb now it's 61k.

The only entries I have are:

127.0.0.1 localhost

127.88.203.93 android.clients.google.com

Going to delete the files and see if I redownload the proper list again
[Android Apps and Games] magician369:
Hi great app.Thank you guys.But I need some help. I have an app called Medscape it tells me to disable adfree to run it. Otherwise Medscape won't run unless I revert in Adfree. Is there anyway around that ?
[Android Apps and Games] K2silver:
After installing Adfree it just hangs on checking local host file for update. Is there really any difference between Adfree and Adaway? I think I'd be better off going back to Adaway which worked fine before this POS Adfree garbage came along. FML G3 is garbage..... The G stands for it :cool:
[Android Apps and Games] mc2121:
I've ran into the same situation. I had to delete and reinstall twice and now it seems to be working fine
[Android Apps and Games] jwahund:
Didn't work on Pixel Xl
[Android Apps and Games] delta_foxtrot2:
Can you be a little more specific about what's not working?
[Android Apps and Games] jwahund:
It wouldn't download host files. Rebooted the phone and now it seems to be working. I thought it was the 7.1 not being covered yet. Some of my apps stopped working and now say they're not compatable with my operating system. I'm old and forgot to update what I said. Sorry. Took me three times to unlock the bootloader on Verizon Pixel Xl. Nothing is easy anymore.
[Android Apps and Games] 7n4n03n:
after use this app my browser can not connecting internet i must clear data @@
[Android Apps and Games] delta_foxtrot2:
Quick Update

I just pushed out version 0.9.12, I replaced tcpdump with a version that works on current versions of Android.

To get it to work I had to bind it to the wlan0 interface, because by default it was binding to the dummy0 interface on my phone, no idea why it won't pick the default route but I'll add checks for this in another version.

If you already have tcpdump on your phone from a previous version of adfree, you will need to remove adfree and reinstall it, unless you manually remove /data/data/com.bigtincan.android.adfree/files/tcpdump

The steps to using tcpdump are as follows:

Open adfree and enable tcpdump from the main screen
Switch to the browser or app you have ads showing, you may need to reboot first if hostnames are cached
Switch back to adfree and from the menu select tcpdump screen

On the tcpdump screen you should see all the hostnames that were requested and you can then click on the hostname to blacklist it.
[Android Apps and Games] onixotto:
Have the same issue. What's the solution? :confused:
[Android Apps and Games] delta_foxtrot2:
If you are having trouble with AdFree in Android 6+, follow these instructions
[Android Apps and Games] manuelsaborio:
Hello. I have an issue with Olx app. When I try to open it, I receive this message: Unfortunately olx App has stopped. Is there any way to fix it? My phone Lenovo K3 Note

Enviado desde mi Lenovo K50-t5 mediante Tapatalk
[Android Apps and Games] delta_foxtrot2:
That usually means an error isn't handled properly in the app. What happens if you revert the hosts file and disable internet access (airplane mode) and then run the app?
[Android Apps and Games] manuelsaborio:
Hello delta. Happens the same.

Enviado desde mi Lenovo K50-t5 mediante Tapatalk
[Android Apps and Games] delta_foxtrot2:
You need to report the bug to the app developer, that if the app has no internet it crashes
[Android Apps and Games] manuelsaborio:
I did, but their support is too bad, they just have a programmed responses, so just lost my time.

Thank you anyway.

Enviado desde mi Lenovo K50-t5 mediante Tapatalk
[Android Apps and Games] delta_foxtrot2:
You could try using tcpdump to find out the hostname it's looking for and then whitelist it, see this post. You will need to have adfree reset the hostnames back to normal or it won't work.
[Android Apps and Games] Stanley Kubrick:
Hi,
[Android Apps and Games] thundercattt:
I rebooted into recovery mode (I have TeamWin). There's a line to use command line. Then I did my command lines therr
[Android Apps and Games] Nikola74:
I'm sorry, I'm French...

Adfree fonctionnait très bien sur mon LG G5 sous Android 6. Puis je suis passé ce matin à Android 7 et depuis, même en lançant Adfree, j'ai de la pub sous Chrome.

J'ai réinitialiser avec TWRP, root et installation, et même avec la toute dernière version de adfree, la pub apparaît alors qu'elle n'apparaissait pas avant.

Pourriez-vous m'aider ?

Google Traduction :

Adfree worked very well on my LG G5 on Android 6. Then I spent this morning on Android 7 and since, even when launching Adfree, I have ads under Chrome.

I reset with TWRP, root and installation, and even with the latest version of adfree, the ad appears while it did not appear before.

Could you help me ?
[Android Apps and Games] delta_foxtrot2:
Have you tried following the these instructions?
[Android Apps and Games] Nikola74:
Je viens de tester les instructions, mais...depuis mon passage à Android 7, impossible d'exécuter la moindre APK. Hier, après la restauration, je pouvais installer des APK et depuis ce matin, impossible. Et pourtant, j'ai bien donné l'autorisation dans les paramètres...

J'ai du mal à comprendre ce qu'il se passe entre mon LG G5 et Android 7.

Le message d'erreur, juste après avoir cliqué sur Installer : "AdFree0.9.11.apk Echec de l'installation"

Google Traduction :

I just tested the instructions, but ... since I switched to Android 7, I could not execute any APK. Yesterday, after the restore, I could install APK and since this morning, impossible. And yet, I have given permission in the parameters ...

I have a hard time understanding what happens between my LG G5 and Android 7.

The error message, just after click Install: "AdFree0.9.11.apk Installation failed"
[Android Apps and Games] delta_foxtrot2:
At a guess that sounds like it thinks it's already installed, or it's a re-packaged version with a different signature, or it's blacklisted by google.

You could try manually installing it from the command line in the phone to get better error messages.

Download directly version 0.9.12 from http://adfree.odiousapps.com/adfree.apk to your phone, and then run the following commands.

adb shell
su -
cd /sdcard/Download
pm install -r adfree.apk
[Android Apps and Games] Nikola74:
Un grand merci Ã toi delta_foxtrot2 pour ton aide.

J'ai rÃ©ussi Ã installer adfree via Adb et enfin le fichier hosts s'est rempli, et je n'ai plus de pubs.

Encore merci, j'ai pÃ» apprendre pas mal de petits trucs grÃ¢ce Ã toi.

Juste bizarre que adfree ne s'installe pas classiquement, mais bon, tout est OK

Traduction Google :

A big thank to you delta_foxtrot2 for your help.

I managed to install adfree via Adb and finally the file hosts fills up, and I have no more ads.

Still thank you, I could learn a lot of little stuff thanks to you.

Just bizarre that adfree does not install conventionally, but hey, everything is OK
[Android Apps and Games] delta_foxtrot2:
WIthout digging into things a lot more it's impossible to tell why the install failed.
[Android Apps and Games] jwahund:
Check second post.---It wouldn't download host files. Rebooted the phone and now it seems to be working. I thought it was the 7.1 not being covered yet. Some of my apps stopped working and now say they're not compatible with my operating system. I'm old and forgot to update what I said. Sorry. Took me three times to unlock the boot loader on Verizon Pixel Xl. Nothing is easy anymore.
[Android Apps and Games] delta_foxtrot2:
I needed a little more like errors in logcat etc.

With CyanogenMod's demise I only expect things will get worst.
[Android Apps and Games] Tunwin27:
Hi,

I m on pre rooted firmware 6.0.1 23.5.A.1.291 Sony xperia-z2-tablet WiFi SGP511.

I like omniswipe app. I want to block the ad. Especially, when I swipe to call app it pop up application advertisement with big screen. I added omniswipe under block list after I found it on TCPhost names.

But it's still pop up that big screen advertisement.

Is there any way to block that particular ad?

Thanks for the time and support.

Current my adfree setting is,

Clicked on,

1) checked server for updates daily

2) automatically apply updates

3) use/ data/ hosts symlink

4) create symlink if needed

5) use 127.0.0.1

6) run TCPdump
[Android Apps and Games] delta_foxtrot2:
If you like it that much you might want to purchase the paid version and help the dev out...

On the other hand it demands all kinds of permissions which creeps me out a bit.

I just installed omniswipe but I didn't see an ad, what do I need to do to see it?
[Android Apps and Games] Tunwin27:
Thanks for the advice mate.

I have attached the screen shot image with ad. When I swipe from the right hand corner it's pop up.

And also help to advice how should I choose the correct setting from ad free?

Thanks you in advance.
[Android Apps and Games] delta_foxtrot2:
I had to skim logcat, there wasn't any dns lookups that I could see.

I've added a few hostnames to the database, try updating and see if that fixes things.

Edit: didn't fix it for all ads, the app may have the ads burried in the apk, and if that's the case it you might need to hack the apk file.
[Android Apps and Games] DanielMalmgren:
This app doesn't work at all for me recently. Installed a new rom, so my hosts file is completely clean. Still the app says (after a long while, like something is timing out) that it's up to date. Tried on various different networks. Anyone else or is it only me?
[Android Apps and Games] delta_foxtrot2:
Are you able to mount /system read-write and then edit the host file?

If not, and you are running Android 6+, follow these instructions
[Android Apps and Games] DanielMalmgren:
Yep, manual editing (using root explorer's built in text editor) works fine. I'm running Android 7.0.

edit: Just for the record, the file I tried editing was /system/etc/hosts. I have no /data/hosts or /system/hosts. But I guess it's the one in /system/etc adfree tries to alter, right?
[Android Apps and Games] delta_foxtrot2:
Is there anything useful in logcat when you try to update the host file?

Android symlinks from /system/etc/hosts to /etc/hosts, adfree tries to symlink from /system/etc/hosts to /data/hosts.
[Android Apps and Games] delta_foxtrot2:
You're right, nothing obvious.

IIRC Someone a few pages back removed and reinstalled adfree to make the timeout go away.
[Android Apps and Games] DanielMalmgren:
Tried that and also tried wiping app data.

One thought: The URL that can be seen in the log (http://adfree.bigtincan.com/adfree.vc), is that something that is supposed to be fetchable? The name adfree.bigtincan.com doesn't resolve at all, neither on my phone or on my computer.

/Daniel
[Android Apps and Games] delta_foxtrot2:
you must be re-loading an old version.

I completely missed that, that file checks for new versions of the app, except it's https://adfree.odiousapps.com now.
[Android Apps and Games] DanielMalmgren:
Well, that explains it then. It's strange though, because I uninstalled it and installed it from the app market in the XDA Labs app. It's says version 2015-08-05 (0.9.8). You got any idea who is responsible for updating the app there?

edit: Just for the record, I installed new app version from your url above and it works like a charm.
[Android Apps and Games] delta_foxtrot2:
Not a clue, there are old versions floating about all over the place but officially I only upload to the website.

In 0.9.9 I updated URLs to the current site.
[Android Apps and Games] DanielMalmgren:
I tried asking the guys maintaining the xda labs (see https://xdaforums.com/showpost.php?p=71465302&postcount=8152). Unfortunately the answers I got was not helpful at all, so I guess the app in there will simply be an old one. So for anyone reading this, just fetch the app from https://adfree.odiousapps.com, it works good!

Also, I'm ashamed to admit I've been using this app for many years without giving anything back. Donation on it's way now :p

/Daniel
[Android Apps and Games] woodman:
Answered in XDA Labs thread.
[Android Apps and Games] delta_foxtrot2:
Thanks...
[Android Apps and Games] dictionary:
I know ads are annoying, but I just find it funny you'll donate to an app you've used for years that gets rid of ads, but the apps you've used for years with ads get nothing. Lol. Not saying you don't donate to those people as well, just find it funny if you don't, as essentially it's saying you're cool with "stealing" from some, and not others. This isn't a moral debate or anything and I'm not judging, just found it ironic. I use certain ad blockers sometimes, but disable them at times so that devs can profit a bit from their work.
[Android Apps and Games] delta_foxtrot2:
The problem I have with advertising is all the data and tracking information they collect.
[Android Apps and Games] dictionary:
I agree. Sadly it's the agree we live in. Don't think anything we can do at this point will have them change
[Android Apps and Games] DanielMalmgren:
Well, my private opinion is that ads are something that shouldn't exist at all. If I want to buy a new computer I can search myself for which one I want, I don't want anyone throwing information in my face about what to buy. And since that information is biased it's of no worth anyway. So I tend to ignore all advertisement, can't really understand why I should let it waste my bandwidth then. Instead I think it's fair giving donations to project that I use much and that has great worth to me (in the same spirit that I hope people using open source stuff that I'm making will donate to me if they think it's useful). Furthermore I think that if all people on this world that wastes their time in the advertisement industry instead would do something useful with their lifes like maybe humanitarian work, nobody would need to die of starvation.

Anyway, to get back on topic :p I discovered that it's still not working for me. I still see ads that I shouldn't. Both /system/etc/hosts and /system/hosts only contains pointer for localhost and there is no /data/hosts. Still the app now says my system has the latest version, so where does it look?
[Android Apps and Games] dictionary:
I can see where you're coming from, but picture yourself being the owner of one of those companies. Wouldn't you want to reach as many people as possible? Are you talking about mobile ads, or even flyers/billboards/commercials etc? I'm intrigued how deep you hate them. I'm not trying to argue opinion either, I'm just very intrigued by your stance.

Sorry for off-topic op
[Android Apps and Games] DanielMalmgren:
If I had a company I'd put information about my products in places where people could find them if they actively searched for them, so when people searched in Google or price comparison sites they could find my products. And if the products were good enough people would buy them. All form of ads that intrude on places where they are not asked for are bad. Why should a company tell me what to buy? I'm more than capable of finding what to buy myself. If a company needs to throw messages about their excellent products into my face then the products are not good enough. Anyway of course I realize a society without ads is an utopia (and that if just one company decided not do do ads they'd have no chance against the competitors). But at least if I can stop them from my browser/mobile/mailbox it's a small step in the right direction :p