yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] srothkin:
Busybox Pro was already installed/working before I tested this. I'm on stock (not CM). What do I need to do to make AdFree work again?
[Android Apps and Games] srothkin:
The problem is /system is read only in android 6.0.1 stock kernel. I found the solution at http://xdaforums.com/showthread.php?t=2190753 - have to download the zip file from the initial post (under the heading "Flash for systemless hosts file") and install it via TWRP. That changes the location of hosts to /su/etc by using mount. After that AdFree works properly.

While the thread/fix is for AdAway, there doesn't appear to be anything specific to AdAway (other than the name of the script) in the zip file.
[Android Apps and Games] delta_foxtrot2:
I finally got a symlink to work with AdFree by mounting the system partition under twrp, and ln -s /data/hosts /system/etc/hosts
[Android Apps and Games] HetsHumbucker:
Can you explain a little bit more detailed? I mounted /system in twrp and then used the twrp terminal to execute your command but adfree still doesn't work with and without symlink :(
[Android Apps and Games] delta_foxtrot2:
I'm using CM 13 on my nexus 4, I went into TWRP recovery mode then went to mount and tick system, then used adb shell from my laptop

cd /system/etc
rm hosts
touch /data/hosts
ln -s /data/hosts /system/etc/hosts
reboot

I don't think using adfree without a symlink will work with a ROM that forces /system to be read-only, which is the reason I added the symlink option in the first place.

--- UPDATE ---

thundercattt reported that he had to make a symlink from /system/hosts as well before it would work.

http://xdaforums.com/showpost.php?p=68621809&postcount=1102
[Android Apps and Games] HetsHumbucker:
Thanks! Can confirm this is working! :)
[Android Apps and Games] NativeCain:
This blocks most of the images in the eBay app. Any fix for this, aside from temporarily disabling?
[Android Apps and Games] delta_foxtrot2:
You can whitelist hostnames via the website: http://adfree.odiousapps.com

Make sure you login to your account with the app.
[Android Apps and Games] delta_foxtrot2:
what ROM are you using?
[Android Apps and Games] delta_foxtrot2:
In that case you need get into the recovery mode, I used TWRP, and if you can't use ADB, you can go into "advanced" and then "terminal command" then "select", and then type in the commands from the previous page.
[Android Apps and Games] MrTooPhone:
Is this in conjunction with AdAway_systemless_hosts.zip or in place of AdAway_systemless_hosts.zip?

Does anyone know if AdAway_systemless_hosts.zip works for Adfree?

---------- Post added at 19:30 ---------- Previous post was at 19:29 ----------

Will this work for rooted stock?
[Android Apps and Games] SoCalArm:
Will it be posted here or on a new thread ?

Sent from my Galaxy note 2 on Verizon 4G LTE.
[Android Apps and Games] Armi1P:
Thanks for posting, waiting for the new version
[Android Apps and Games] delta_foxtrot2:
I publish to http://adfree.bigtincan.com and slideme.org and since a few updates ago the app now has built-in update checks
[Android Apps and Games] seljachina:
[MENTION=1561860]delta_foxtrot2[/MENTION]

can you keep updateing first post with fresh hosts file?
[Android Apps and Games] bigcache84:
thanks , this is what im looking for :)
[Android Apps and Games] cspiresucks:
Its been about 2 weeks since I've had hostfile updates is the app still working or what should I do

Sent from C Spire SCH-R760 Rooted
[Android Apps and Games] :
I'm getting ads in YouTube, but I wasn't before? How do I fix?
[Android Apps and Games] HairyMonster:
AdFree is currently blocking www google co uk
[Android Apps and Games] cduvall:
nice

i like it
[Android Apps and Games] delta_foxtrot2:
I removed it from the database, you will need to manually update to get the new host list.
[Android Apps and Games] delta_foxtrot2:
From the main screen of AdFree you enable tcpdump, then you open youtube, and then you can open AdFree again and go into the tcpdump screen to view a list of dns requests, hopefully the ads were from simple hostnames. Clicking on a hostname from in the tcpdump screen opens the whitelist/blacklist page of the AdFree website.
[Android Apps and Games] delta_foxtrot2:
nothing, the lists automatically update and no update means nothing has been updated.
[Android Apps and Games] Mazer.one:
I use your tool for more than one year with no problems, but since some weeks i can't update or restore my host file :(

I've download your last version and when i want to restore my host file i Have this message

Married… with Children
[Android Apps and Games] lukaaa47:
how to manually add some to the blacklist? bcs i have poup on one website and cant get rid of it
[Android Apps and Games] oae08:
Hey can you write the date of the updates on the title so we can know when there is an update?
[Android Apps and Games] jjrx3:
i love not seeing ads while browsing.
[Android Apps and Games] delta_foxtrot2:
Nothing has changed in that bit of code for a long while, have you recently changed ROMs on your phone at all?
[Android Apps and Games] ayoubij:
+1 really useful tip
[Android Apps and Games] bartek66:
Useful application. Finally, no ads :)
[Android Apps and Games] saul1991:
This was removed from the play store right?

Sent from my SCH-I545
[Android Apps and Games] wyco:
Hi, on CM 11 (4.4), S Galaxy Note3, I've added fbstatic-a.akamaihd.net to the whitelist, logged in, downloaded etc (did what needs doing, incl. restart) but I still can't see pictures on fbk. Any great suggestions? This is since the past few days only...

Thnx
[Android Apps and Games] Bill Gamble:
Make sure that you've actually white-listed it. Download "Hosts Editor" from the play store and search for "fbst".
[Android Apps and Games] wyco:
Thanks - I've tried it now, and fbst doesn't come up in the list at all.

On the adfree app website it's certainly on the whitelist-list.
[Android Apps and Games] wyco:
scontent-lhr3-1.xx.fbcdn.net needs to be added to the whitelist...
[Android Apps and Games] cruzizcaredonotn:
Does this app work with Anti-Piracy service code in some roms?

I know the other ad blocking app can be installed, but is blocked once one attempts to enable it.
[Android Apps and Games] wyco:
Generic idea: if you need to know what's exactly being blocked, visit the page in a browser (on your phone) and try to get the address of the image/thing in question (right click, view in full, whatever) and then you can add it to the whitelist. That's how I found the new fb-link as well.
[Android Apps and Games] Bill Gamble:
http://xdaforums.com/showthread.php?p=62410363
[Android Apps and Games] MrTooPhone:
This worked for me
[Android Apps and Games] Bill Gamble:
Log into your account: http://adfree.odiousapps.com
[Android Apps and Games] [R][O][G][3][R]:
Hi

Somehow, Adfree is blocking Facebook

-Examples of when i faced this issue:

-Trying to login with another Facebook client, like Fast

-At facebook app, some options does not load properly, like the Activity Register (log)

-Login-in in other apps, using Facebook authentication, for example, when i logged in at Spotify using Facebook, the login page loaded broke.
[Android Apps and Games] manaox2:
Once again, I still recommend adaway over adfree. Better lists, way fewer mistakes. I have no connections, switched when Facebook, eBay and Twitter images started being blocked a year ago. Adfree is not going to get an update, it doesn't parse lists, and uses a bad source.
[Android Apps and Games] RogereN:
That solved it for me (s5 neo on 5.1.1, once I worked out steps below!), thank-you.

For other Adfree users who have found images and vids have stopped displaying in FaceBook, try this;

Install HOSTS EDITOR from Play Store.

Search HOSTS EDITOR for "lhr3-1.xx.fbcdn.net" which may be the cause of your problem.

If lhr3-1.xx.fbcdn.net is found, SELECT IT, then TOGGLE IT within HOSTS EDITOR - which will add it to the white list and hopefully allow FB images etc to be displayed - as it did for me.

If lhr3-1.xx.fbcdn.net is NOT found -

UNINSTALL ADFREE,

download latest version of Adfree from adfree.odiousapps (google it, i am not allowed to add the link) and install it,

Search HOSTS EDITOR for "lhr3-1.xx.fbcdn.net" again,

if lhr3-1.xx.fbcdn.net is found, SELECT IT, then TOGGLE IT within HOSTS EDITOR - which will add it to the white list and allow FB images etc.

Hope that helps someone!
[Android Apps and Games] Fairy.love:
Sounds interesting
[Android Apps and Games] MrTooPhone:
I don't fully understand the difference between a symlink and a bind mount. Is there an advantage using the symlink vice a bind mount (mount -o bind /su/etc/hosts /system/etc/hosts) that adaway uses?
[Android Apps and Games] okti:
Worked for me! Cheers mate.
[Android Apps and Games] hacedion7:
I am still getting ads
[Android Apps and Games] f2065:
Xperia M2 D2403, stock Android 5.1.1 with custom kernel (FKernel) and full root.

AdFree normal blocks all advertising, but it does not show blocked log: View Blocked host names, TCPdump - empty.

File /data/data/com.bigtincan.adnroid.adfree/files/dns.dump is created, but there is only an error is written:

error: only position independent executables (PIE) are supported.

error: only position independent executables (PIE) are supported.

What to do?
[Android Apps and Games] svs57:
Looks like tcpdump and dns.dump binaries are incorrect.

I put tested tcpdump to /data/data/com.bigtincan.android.adfree/files instead original.

It started. But tcpdump log screen still empty.

PS

adfree ver 0.9.10
[Android Apps and Games] wesoly75:
I had Adfree on my oneplusone with cynogen ROM 12.1 and it was great blocking all the ads. Now I have Dirty Unicorn marshmallow and Adfree is not blocking anything. Anyone knows why?
[Android Apps and Games] cornikotik:
Can you check "textra sms" hosts ?

They still continue ads
[Android Apps and Games] delta_foxtrot2:
I had problems too, I had to manually add a symlnk from recovery...

http://xdaforums.com/showpost.php?p=64554262&postcount=978
[Android Apps and Games] noshah:
Great

Works great , thank you , really usefull
[Android Apps and Games] masmoe:
Hi noob here...

Where can I find thr blocked list? My host file consist localhost only.
[Android Apps and Games] sound2005:
Hi All

Can anyone confirm if they are having problems using this with play store?

For the last couple of week's if I enable adfree then I can't see any review on play store and most of the time I get 'no connection, try again later' message pop up.

However as soon as I disable adfree the play store works normal.

Can anyone suggest a workaround, maybe add an whitelist rule to bypass the problem?
[Android Apps and Games] Duumke1:
I never had problems with Play Store not working, but I updated my android version to 6 today and the app doesn't update the host file anymore.

Is the app lacking permissions to be able to change the host file?

when I update the host file the app says that the host file is updated to the latest version but when I look inside the file it's the standard empty hostfile that was installed after upgrading the OS.

So if the app says that the host file is updated where does it save the updated host file?
[Android Apps and Games] delta_foxtrot2:
Have you tried my work around for Marshmellow?

http://xdaforums.com/showpost.php?p=64554262&postcount=978
[Android Apps and Games] delta_foxtrot2:
The only time I had problems with the play store was on a set-top box and I changed the runtime from Dalvik to Art, changing it back fixed things.
[Android Apps and Games] sound2005:
Hi all

Thanks for all the suggestions.

What I did to resolve this was delete my host file and have adfree created a new one (with symlink) and all was working again.

Thanks guys for helping me out :)
[Android Apps and Games] MrTooPhone:
Post 975 also provides an easy flashable solution. It uses a bind mount (mount -o bind /su/etc/hosts /system/etc/hosts) instead of a symlink.
[Android Apps and Games] Andrea_K:
+1 ;)
[Android Apps and Games] trres01:
Great app

Wroks wonders...

thanks for the ad blocker. I like it.
[Android Apps and Games] ashish1989:
Gr8 share was waiting for its update
[Android Apps and Games] gorus5:
Hello. App is great.

But lately I found that app blocks site privatbank.ua

Can't understand why. This is the site of largest bank in Ukraine (i'm from Ukraine), and there are no ad or spam etc. It's is not harmful site.

Developers, fix the problem please!

___________________________

Solve the problem using exception list.
[Android Apps and Games] Bill Gamble:
If it's important to you, whitelist it.
[Android Apps and Games] delta_foxtrot2:
I've removed it from the DB, it was blocked back is 2013.
[Android Apps and Games] Knutselmaaster:
I'm trying to get this to work again after having updated to marshmallow but I have no success.

I tried both fixes (terminal commands and flash fix) but no result, when I start the app I get the "checking if hosts are up to date" and it remains there.

When I checked if there was a new version from the link in the first post I noticed that the website is not accessible neither.

Is that the cause of my problem?

Has support for this great app stopped?

Thank you for your help ;)
[Android Apps and Games] DowntownRDB:
+1, trying to update times out and can't access URL in OP.
[Android Apps and Games] Tweakforce_LG:
It won't edit the host file for me with SuperSU but will on Privacy manager built in super. Pls help
[Android Apps and Games] burtallicus:
Is there a problem with the update server? I get a java error when I try to update.

On other phone fresh install it just sits at the big circle and does nothing
[Android Apps and Games] paieneso:
Hi guys, having the same problem here, plus the website link provided does not load.

Great app until this moment, the best blocker out there. I definitely hope it gets fixed in the near future.

Cheers
[Android Apps and Games] agapedisciple:
Server appears to be down for 2 days now... AHH! ADs! :eek:
[Android Apps and Games] Knutselmaaster:
Due to the lack of support I uninstalled and whanged to adaway. Same principle and it works.

Thank you to the developper here for the great time I had without adds.
[Android Apps and Games] MrTooPhone:
So troubleshooting an app's performance I reverted my AdFree host file. I learned the server was down when trying to re-enable adfree. Now I see the server has been down for a few days. My root is systemless. I ran the AdAway_systemless_hosts to get AdFree to work properly. So can I simply paste a file such as "http://winhelp2002.mvps.org/hosts.txt" to my /su/etc/hosts directory until "adfree.odiousapps.com" comes back online?
[Android Apps and Games] TheShanMan:
Please get the server up and running again! I temporarily reverted my hosts file and now I have no ad blocking. :(
[Android Apps and Games] purplepizza:
Won't work. Host file needs to be in /system/etc.

Hopefully this project is not dead, but starting to appear so.
[Android Apps and Games] Jacktheskipper:
Don't panic ... just find a hosts file that fits your needs and post it to /system/etc overwriting the existing one. Just have to give it the fitting rights and you're good.
[Android Apps and Games] purplepizza:
That is what I am doing now. But it is nice to have an app to that makes it easy revert back to the original HOSTS for those troubleshooting instances and the ability to easily whitelist an IP.
[Android Apps and Games] purplepizza:
I notice their website (http://adfree.odiousapps.com) is back online. However, the site does not validate my existing account and hangs when trying to create a new account. Signs the developer may not have given up.
[Android Apps and Games] burtallicus:
Yeah....site is up update server is still down
[Android Apps and Games] LoSt180:
Hey [MENTION=1561860]delta_foxtrot2[/MENTION] can you take a look at the servers and provide an update?
[Android Apps and Games] delta_foxtrot2:
I uploaded a new version of the app to the website which points to new hostnames for updates.
[Android Apps and Games] MrTooPhone:
What about PC access to website? Existing accounts can not log in, resetting password indicates account does not exist, and server hangs when trying to create new account? Or is the option to manage various host files no longer?

Also, do you recommend uninstalling the previous version before installing the new one?

Update: It appears all previous accounts have been removed, but you now can add a new account. However, you can not authenicate account using the app. Also, it seems you no longer have the choice of multiple hosts files to choose from. Still glad the software is functional again.
[Android Apps and Games] WarrenSpectoor:
AdFree or AdAway,,, ? hmmm ;)
[Android Apps and Games] freeza:
Thanks for your awesome app. Have been using it for years. I am in the same situation as mrtoophone. I had a lot of exceptions on my account. Are there plans to restore previous accounts? Thank you
[Android Apps and Games] Josh McGrath:
I like this app much better than adaway.

Is anyone else having problems blocking ads in showbox?
[Android Apps and Games] myrthain:
Thank you!

To all others - do not forget that you might need a newer version of AdFree if it gives you a Java timeout error saying that it was not able to connect to whatever ip address.
[Android Apps and Games] purplepizza:
Since installing latest app, I am still having issues with accounts. My previous account no longer exists. I can create an account using a PC, but unable to log into that account from Android, "there was a problem with the credentials you provided". I try to create an account with Android and get the following error: Your Email Mail server responded with: 550 5.5.1 Protocol error. It seems the Android and PC are connecting to different servers possibly? Sure wish more info on status was available.
[Android Apps and Games] carbonize:
[MENTION=1561860]delta_foxtrot2[/MENTION] you also need to update the donate link or provide a paid for version or does Google not allow ad blockers in the store?
[Android Apps and Games] Josh McGrath:
Google has blocked adblockers for a couple years now. So much for being unbiased huh ?
[Android Apps and Games] purplepizza:
Now the account I created, verified, &modified earlier today no longer exists. I re-created the account with the same e-mail, but still get the same error when trying to login from Android, " there was a problem with the credentials you provided"
[Android Apps and Games] Tweakforce_LG:
Ok so adfree won't apply the host file edits anymour. I'm running cm13, it says its successful but the host file won't change
[Android Apps and Games] delta_foxtrot2:
http://xdaforums.com/showpost.php?p=64554262&postcount=978
[Android Apps and Games] delta_foxtrot2:
Google booted out Adfree and other similar apps a few yrs back
[Android Apps and Games] delta_foxtrot2:
I've been looking for the recent backup I made but without much luck. I'm rebuilding the database based on the php code but it's slow going.
[Android Apps and Games] purplepizza:
The flashable solution at http://xdaforums.com/showpost.php?p=64534864&postcount=975 works as well

---------- Post added at 10:24 AM ---------- Previous post was at 09:26 AM ----------

Thanks for the update. Glad to see the project is not dead.
[Android Apps and Games] Tweakforce_LG:
It won't work with spuersu but will with the built in su
[Android Apps and Games] MrTooPhone:
Is it just me who can't authenticate their account? No issue logging in via PC. Just can't authenticate via Android?
[Android Apps and Games] carbonize:
Did you even bother to read any previous posts?
[Android Apps and Games] delta_foxtrot2:
Thanks for the heads up I wasn't aware it wasn't working.
[Android Apps and Games] Slavex86:
Only adfree

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Android Apps and Games] aladoro54:
AddFree 0.9.11

I'm a longtime XDA reader but just registered now to say THANK YOU!

got latest AddFree 0.9.11 (still had 0.9.6, obviously no more working) from the website. installed it on old phone with CM2.3.6: works again! installed it on Nexus7 with 6.0.1, activated the new "Use /data/hosts symlink" button: works like a charm!

:good::good::good: to this developper + the community over here!
[Android Apps and Games] exesse:
Good job guys!
[Android Apps and Games] andreskafe:
Sorry by my english

Why i cant activate the white list?

Thanks you in advance
[Android Apps and Games] Bill Gamble:
http://xdaforums.com/showthread.php?p=67281435
[Android Apps and Games] Jacktheskipper:
So did you ever have any luck rebuilding the database?

Just asking, because I still can't log in with my old account and I'm not sure if there's still a chance I might get back my old settings for the whitelist etc. or if I should register again ...

Thanks for all your great work!
[Android Apps and Games] Gulfstream 650:
I'm currently running CM13 on a Moto X Pure, I for the life of me can't get Adfree to kill the in-app ads. I flashed the zip file in post 975, have the current adfree version with the symlinks enabled and no joy. Am I missing something? Adfree worked perfectly fine in the stock rooted 6.0.0 ROM.

**Update** Was able to get it working finally, used the Terminal Command in TWRP to run the previously mentioned commands and it's working perfect now...for whatever reason the flashable zip file didn't work for me.
[Android Apps and Games] delta_foxtrot2:
I was rebuilding the DB to catch the features up with the php scripts.

At this stage just re-register
[Android Apps and Games] Jacktheskipper:
Thanks for letting me know and your work!
[Android Apps and Games] LoSt180:
Does anybody remember what post number had the tapatalk whitelist domains? Don't know how far back to scroll.
[Android Apps and Games] m.younusrahman:
Hi,app doesn't work anymore. Can not sign in. What's wrong?? Plz help
[Android Apps and Games] Bill Gamble:
Apparently, all accounts were deleted. Install the new version and re-register.
[Android Apps and Games] m.younusrahman:
I registered but can not log in. I have tried reset password. Got a email when i click om that link getting error. .

My email : m.younusrahman@gmail.com
[Android Apps and Games] carbonize:
Deleted as irrelevant
[Android Apps and Games] delta_foxtrot2:
I'm using an older backup that pre-dated the user accounts etc I had a much more recent backup of the php scripts but I can't find what I did with the database backup of the same time.
[Android Apps and Games] srothkin:
Having trouble on Nexus 6 after upgrading to MOB30O

I've got a Nexus 6 rooted with stock android 6.0.1 build number MOB30O.

Busybox Pro 1.24.2 installed to /su/bin

SuperSU Pro v2.76

Before this build (the July 5 security update from Google), I had AdFree working fine with the help of AdAway_systemless_hosts.zip as described at http://xdaforums.com/showthread.php?t=2190753

Since upgrading to this android build, AdFree is no longer working:

When I run the AdFree app it is now giving me a message saying it unable to find cat (I tried cat in android terminal emulator and it works just fine - its in /su/bin symlinked to /su/bin/busybox).

And when I tap download Download and Install Hosts the /etc/hosts file (linked/mounted to /su/etc/hosts by the AdAway _systemless_hosts fix) is getting truncated to 0 bytes.

I just tried the more recent AdAway_systemless_hosts_v2.zip from the above thread, but that doesn't fix the problem.

What do I need to do to fix this?

I tried "use /data/hosts symlink" but that didn't work either.
[Android Apps and Games] Gulfstream 650:
I never could get the zips to work correctly, run the terminal commands.
[Android Apps and Games] srothkin:
The zips have always worked correctly for me in the past and I confirmed that they're still doing what they're supposed to do. Something has changed either with this particular build of Android for the Nexus 6 or with the new SuperSU that is causing AdFree to no longer work and to also report that it can't find the cat command (despite it obviously being on the path since it works in terminal). I just don't know what the actual problem is now.
[Android Apps and Games] junlina:
How can I root my divice
[Android Apps and Games] phonetool:
You are in luck, my friend!

There is a video just for you

https://m.youtube.com/watch?v=JmvCpR45LKA