yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Ja_som:
Hi, it is possible to add some sign as replacement for "anything"?

e.g. for gravatar I need to add gravatar.com, en.gravatar.com, 0.gravatar.com, 1.gravatar.com, 2.gravatar.com, 3.gravatar.com etc.

So, it will be great if I can add only *.gravatar.com instead of all these sites.

And can anyone tell me what I need to add for Google Play to displayed correctly?

My Play Store web looks like this:

CLICK :)
[Android Apps and Games] DJ_SpaRky:
There is no "Wildcard", you have to input each hostname individually, because it is looking for a specific match not a search.
[Android Apps and Games] Ja_som:
Oh, OK, thank you...

Remained a problem with the Google Play web.

I added a few Google pages, but it's still the same, I do not know what more need to be added :(
[Android Apps and Games] DJ_SpaRky:
In the app, enable the "Local Webserver", then go to that page, then back to the app and check the "TCP Log" for the hostname(s) that were blocked. You can then add these to the "Exceptions List" (whitelist) on the website.
[Android Apps and Games] delta_foxtrot2:
looks like I need to ditch symlink option, so I can change that checkbox to app upgrading.

Is /etc ever mounted rw?

The version of the hosts file is not the same thing as the adfree versions, some people are still using old versions to automatically update for them.

Sounds like a bug, when ever you load it, it should always check the server for the current hostfile time stamp.
[Android Apps and Games] Ja_som:
Thank you.

I tried it, but 'TCP host names' and 'Blocked host names' lists are empty.

Sent from my tablet./Odoslané z môjho tabletu.
[Android Apps and Games] chitrank:
Great app!

Nice app!! Works great on my LT28H!! :D
[Android Apps and Games] kotey:
Nope, please keep the symlink, people do like him.

Why not add one more checkbox, and maybe some spare too for future use :p

Nope /etc is ro. But /data is rw.

What I meant in the post was: check whether hosts is writable ; if it's symlinked to /data/data/hosts then it is. (thus no need to mount anything)

The thing is, I don't know what method you're using to write to existing file (file io) ; either appending data or in-place copy. I'm guessing the latter, and in that case my suggestion probably won't work anyway.
[Android Apps and Games] Gareee:
I did this, and adfree worked until a reboot. I'm not doing nightlies, only milestone releases, so it wasn't that. And symlink won't stay unchecked until I dod the whole data clear process again.

Think I'll have to live with ads until adfree can support 4.4 properly. :/
[Android Apps and Games] kandywrks:
Apologies if this has been addressed before, but I am experiencing Wi-Fi disconnection after installation of the latest version.

Wi-Fi works periodically (advertisements are indeed blocked) but occasionally refuses to connect (Obtaining IP address...). This is resolved by a reboot, only for the disconnect to occur again at some point in time. 3G/LTE, however, works fine.

Appreciate if any guidance is given, thanks.
[Android Apps and Games] delta_foxtrot2:
I'm using a Nexus 4 with 4.4.4 and it's working fine for me, have you tried uninstalling it and reloading it?
[Android Apps and Games] delta_foxtrot2:
What ROM/Phone are you using?
[Android Apps and Games] delta_foxtrot2:
At least 2 people have posted that symlinks don't work on android 4.x

I'd have to check to be sure, but I'm pretty sure the symlink is checked before mounting /etc, but symlinks probably won't work going forward.

Using append etc has been on the todo list for a long time, but the current system "just works" so I haven't bothered to do it.
[Android Apps and Games] delta_foxtrot2:
Do you have the IP set to 127.0.0.1?

Although TCP Dump works regardless, but it takes time for tcpdump to output packets, it seems to buffer results before dumping them to the log file.
[Android Apps and Games] Ja_som:
Yes I have 127.0.0.1

And my linsts are still empty.

Do I need to check also 'Run TCPdump'?

Sent from my tablet./Odoslané z môjho tabletu.
[Android Apps and Games] kandywrks:
Sony Xperia SP, eXistenZ Ultra 4.0.0 | 12.1.A.1.205

Application on default settings, Internet speeds also seem noticeably slower.

However, given that I have a stable connection, AdFree completely blocks all advertisements in my daily usage and I would be very happy to support the progression and development of the app. :good:
[Android Apps and Games] Gareee:
Yup, twice. I'm using Bruce's cm 11 4.4.4 on my nexus 7 2013, and clearing the data thing worked once, but after a normal reboot I was back to ad spam hell.

I haven't messed with it since then, since the fix recommended didn't stick.

I can't turn symlink off like I did before, which means I need to the whole process again every time I boot to be adfree.
[Android Apps and Games] delta_foxtrot2:
Then nothing has been blocked.

Only if you want to see DNS requests to find hostnames to block.
[Android Apps and Games] delta_foxtrot2:
Do you mean that changes to the hosts file doesn't stick after rebooting?
[Android Apps and Games] Ja_som:
That's strange, because a lot of ads was blocked for sure... And my google play web still looks bad, and when I turn off (revert) adfree then it's normal.

Sent from my tablet./Odoslané z môjho tabletu.
[Android Apps and Games] Gareee:
Probably. I had turned symlink off, and after the reboot, it was back toggled on again, and I couldn't turn it off without going through the clear uninstall reinstall process.

Just redid it, and symlink came back after just opening ad-free a second time. :(
[Android Apps and Games] delta_foxtrot2:
I'm not sure what to say/do, since I can't reproduce it on my handset with being a rooted stock rom, although if it looses the hostnames on reboot that sounds like a ROM issue. The app gets notified on boot and I could replace the hosts file from there but that would be a bit of a hack when the ROM shouldn't replace the host file in the first place.
[Android Apps and Games] Gareee:
Ok, trying this again:

I'll let it sit for a while and see if ad blocking appears to work or not again.

---------- Post added at 08:16 AM ---------- Previous post was at 07:39 AM ----------

Looks like it's blocking ads for weatherbug pro, but not for freindcaster (facebook alternate)

If I start agree up again after resetting it, symlink is checked again, even if I had it unchecked when I reset it.

This is happening on both my nexus 7 2013 and on my galaxy s3, both on cm11 4.4.4
[Android Apps and Games] delta_foxtrot2:
There is something seriously wrong going on, wiping the app should wipe the config file, and by default the app shouldn't have the symlink checkbox checked and the app doesn't do checks to see if there is a symlink, can you manually confirm the config file is wiped when you remove the app, and/or just manually wipe the config file:

/data/data/com.bigtincan.android.adfree/shared_prefs/AdFreePrefs.xml

In that file, this is the entry that tells the app to check the symlink option...

<string name="SymLink">1</string>
[Android Apps and Games] rffslow:
I've installed the CM11 on my device and adfree stopped working. Reading a few pages back I tried to uncheck sem link, but didn't work at all. Is there any way to solve this?

Enviado de meu GT-I9100 usando Tapatalk
[Android Apps and Games] Gareee:
The app doesn't initially have symlink checked.. its only after downloading hosts that it becomes checkmarked.

I'll do it asap.. if I can, I'll make a video showing whats going on and post it on youtube. Are you using it with cm11 4.4.4, the latest milestone? Others are reporting its not working for them under cm11 as well, and it seems odd that its happening on both my nexus 7 and also my galaxy s3, and started right after updating to the latest cm11 milestone a few weeks ago.
[Android Apps and Games] delta_foxtrot2:
As I said before, I'm using the stock rom and don't see/get any of those problems so it sounds like they introduced bug(s) in the CM builds, and you should report this to the ROM builders because I doubt adfree is the only app effected.
[Android Apps and Games] Gareee:
There's a new milestone release today, and I'll try that first.
[Android Apps and Games] Gareee:
Happy to report that cm11 4.4.4 m9 fixed ad blocking with a free. Yay!
[Android Apps and Games] wintrxtrem:
Are you guys seeing YouTube ads?
[Android Apps and Games] Gareee:
Do you have a link with a specific video to check?
[Android Apps and Games] Mangraa:
Yes! At least it appears I'm not the only one :) As for a specific link, I mean, this is through the YouTube app, and for whatever reason the share link button is acting up, but here's the mobile Web link to one which I chose at random, and sure enough, an ad displayed:

http://m.youtube.com/watch?v=f14r9MqKfRg

It has displayed them on pretty much any video (which is on a monetized channel) starting since about Monday August 04.

Hope this helps!
[Android Apps and Games] Cookie Ninja:
To block YouTube advertisements, add I.ytimg.com into your exception list/ blacklist in the adfree website after logging in. Then force-download your hostfile using the app (even if it says you are up-to-date), or else, use a text/hostfile editor to add this into your hosts file manually.....

Dead Cookies leave no trails...
[Android Apps and Games] loran_t:
Hello, i have a problem with adfree. Since now i had no ads but when i updates to last version adfree doesnt work. I uninstalled and reinstalled it several times. I use /data/data/hosts sumlink. I have rooted nexus 4 with stock rom.
[Android Apps and Games] Gareee:
I'm having an issue now with my wife's galaxy s3...its hanging at determining if the hosts are up to date. Clearing out the host list didn't correct the issue....anyone have a fix?
[Android Apps and Games] Mangraa:
I'll give adding it manually a shot, since (note to whoever this may concern) multiple attempts to register an account at the adfree site failed (blank page after hitting "register", no verification email in my inbox/spam folder, nor was the account found when attempting to reset the password.)

Thanks for the tip regardless, hopefully the hostsfile is easy to locate...it's been awhile since getting into the guts of my Android devices :)
[Android Apps and Games] Cookie Ninja:
Hostfile is at /system/etc/... You have to open the 'hosts' file in this directory with a text editor (I prefer the built-in text editor with ES File explorer, but you can also use any other root explorer). Ensure that the file/directory is mounted as R/W and 'type in the following entry:

127.0.0.1 l.ytimg.com

Save the file and check its attributes/permissions are set to -rw-r-r . If not, change permissions to -rw-r-r.
[Android Apps and Games] Mangraa:
Cookie Ninja: Many thanks for the brief tutorial/reminder :)

Edit: After a couple of failed attempts, I was about to admit defeat, and came back here to make sure I had the hostname correct... I choose to use being fatigued as my excuse, but to anyone else who chooses to edit their hotfile manually, copy and paste l.ytimg.com to be safe...I had been putting a capital letter "I" at the beginning of the hostname and typing it in Manually. Turns out that first letter... It's not an I ... *facepalm / derp*

After copypasting the correct hostname, it worked perfectly. So again, many thanks, Cookie Ninja.
[Android Apps and Games] delta_foxtrot2:
What happens if you disable the symllink option?

Others have reported symlinks don't work on android 4.3+
[Android Apps and Games] loran_t:
Nothing, i still have ads.
[Android Apps and Games] delta_foxtrot2:
Did you manually download the hosts after you disabled the symlink?

I'm using a Nexus 4 with stock rom and it's working fine for me.
[Android Apps and Games] loran_t:
Cant disable it, when i restart the app the symlink is checked. It was working as should a few days ago since i updated. Do you think that this may be the problem? Can i have your apk please? In tired of these ads on some apps :)
[Android Apps and Games] Ja_som:
Check /system/etc/ if you don´t have there some "link" for host file.

I also had a similar problem some time ago. The app maybe can´t delete this link and therefore is symlink always checked.
[Android Apps and Games] j1gga84:
When I edit my hostfile with the above entry I still get ads.. ?

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Android Apps and Games] IRIE4IPIER:
How come when I try to view the blocked hosts, I get a blank screen? I'm using a T-Mobile Note 3, but I've been using your app for years and have never been able to see this list. The reason I want to see it is because I'm wondering if I could exclude certain apps and websites. Dallas cowboys.com multimedia section of their site (or any NFL based site for that matter) does not work while adfree blocking is enabled. When I disable it, I am able to get the content to load on the site. Also the new NFL app won't even start up while ads are being blocked. Can I filter these so they do not get blocked?
[Android Apps and Games] Mangraa:
Alcoholic beverage ads still show

Update: After adding l.ytimg.com to the hosts file, along with ytimg.com for good measure, I have noticed that most ads are blocked except for at least 3 so far: Heineken, Miller Lite, and some Bordeaux wine ad. All were showing before adding ytimg.com after l.ytimg.com was already in the hosts file...

Curious, as all are alcoholic beverages - perhaps YouTube uses a different server for hosting these ads, as I assume they probably don't show them on channels which are somehow identified as having under 21 year olds as their target audience? I don't run a channel but seem to remember being able to set an "adult content" setting somewhere or something....

Anyway, just passing this info on, hope it helps.
[Android Apps and Games] loran_t:
You can signup to adfree, authenticate and in your control panel you can exclude some hosts from your blacklist. Look for it in app, you ll find it ,it says (authenticate).

---------- Post added at 06:28 AM ---------- Previous post was at 06:15 AM ----------

Hosts file in /system/etc was read only so i changed it to read write so adfree can change the hosts, i unchecked the /data/data/hosts sumlink and downloaded hosts. It worked.

Thank you all guys for your help :)
[Android Apps and Games] DT USC:
So what am I doing wrong here? Thanks.

Opening ez file explorer

Going to host file

Opening and selecting text format

Editing and pasting

127.0.0.1 l.ytimg.com

Then try to save-unable to save.
[Android Apps and Games] RyanThaDude:
Need root.
[Android Apps and Games] Hampa_D:
Added l.ytimg.com to Adfree's black list online updated on my oneplus one but still get those pesky ads on YouTube. First time I've gotten ads since my HTC hero..... Crap
[Android Apps and Games] DT USC:
Phone is rooted and have granted adfree super user access multiple times.
[Android Apps and Games] delta_foxtrot2:
Did you remount the partition read/write, by default that partition is read-only.
[Android Apps and Games] DT USC:
Don't think so, because I'm not sure how to do it. In twrp manager or recovery mode?
[Android Apps and Games] delta_foxtrot2:
I normally use ADB to do manual things on my phone...

# /opt/android-sdk-linux/platform-tools/adb shell

shell@mako:/ $ su

root@mako:/ # mount -o remount,rw /

<do stuff now>

When you're done, you should "mount -o remount,ro /"
[Android Apps and Games] jayinc11:
Is it ok to install this app on a phone running AdAway? or will they conflict?
[Android Apps and Games] flarestar123:
They will just overwrite each others host file so only use one that suites you best
[Android Apps and Games] Ja_som:
Hi,

I need your help with cbs.com

When AdFree is enabled page will not load...

If I disable AdFree, then is OK...

I added cbs.com to my whitelist but still shows "page not available".

What else I need to add to whitelist?

Thank you.
[Android Apps and Games] delta_foxtrot2:
A library required by that page was missing, it is working again now.
[Android Apps and Games] delta_foxtrot2:
Turn on local webserver, then open cbs.com and then check the block list.
[Android Apps and Games] Ja_som:
I have, I also have 127.0.0.1

Posts #668 and #677
[Android Apps and Games] delta_foxtrot2:
I'm not sure what to tell you, but I just enabled webserver and wiped the log and then went to cbs.com which loaded fine, the hostnames logged were:

om.cbsi.com

www.google-analytics.com

www.googletagservices.com

dw.cbsi.com
[Android Apps and Games] :
Useful app.
[Android Apps and Games] omarramzi:
I cant seem to get my own songs to play on the soundcloud app. I made exceptions to everything blocked but still won't work

Anybody have any idea what to do?

---------- Post added at 01:22 AM ---------- Previous post was at 12:24 AM ----------

This didn't solve the issue for me. Did you figure it out by any chance?
[Android Apps and Games] xdacalvien:
I could not use adaway on my NEXUS 5 by MIUI V5 ROM, try this and run perfect, thanks anywhwere.
[Android Apps and Games] Mangraa:
Continued issues with Youtube

I'll tinker around with it more, but just figured I'd keep feeding data to the devs/other gurus who may be able to help...

A week or two ago, YT started showing ads again. Curious. Fixed my hosts file (added both i.ytimg.com and l.ytimg.com) to it and it seemed to work. For about a day. The next day more ads started showing up, but curiously these were all from alcoholic beverage companies. However, over the last couple of weeks or so, more and more non-alcoholic ads (or in my mind, ads which don't really have an age restriction of some sort on them, in case they lumped "over 21" ads on a different server) started popping up. All kinds.

However, there are times when the little notation at the bottom left of the video reading "displaying ad" or something to that degree will beiefly display, then disappear, with no ad shown (as if it had been properly blocked).

I've checked the hosts file diligently, and it isn't being overwritten or anything, the ytimg.com servers are still listed - I will confirm the R/W access on the directory JUST to be sure, but I'm pretty sure everything's how it should be.

So .. yeah. Hope this helps narrow down potential fixes :)
[Android Apps and Games] pitOOf:
Good morning people. The first time such a joint. Never it had no problems. Yesterday I bought a new phone. Got Root. Set adfree she stood but did not work. Through its Titanium demolished, reboot body, but for tion she does not want asked. Probably somewhere left tails of it. And where I can not understand, drove through rootexplorer search by adfree system partition. I found nothing. Where to clean? When you install some sort of special without error, bluntly says that is not installed and all. Rescued men. Painfully dependent on it
[Android Apps and Games] Dbrad:
When I try to authenticate, I'm told there's a problem with my credentials. Have no problem logging on to the website and creating my exceptions with these same credentials. What am I doing wrong here?
[Android Apps and Games] Cookie Ninja:
Shto eta?

Cannot understand anything you have typed!

Dead Cookies leave no trails...
[Android Apps and Games] megabass2:
just installed, it's perfect:good:
[Android Apps and Games] nerdyblonde:
I've used your app for a long time, and love it.. Does exactly what it's supposed to. I had been having an issue with viewing videos on my browser (I use boat browser but tried a few others).. If I open a link through Facebook, the Chive or something similar, the video shows black. I figured it was something to do with flash, but I tried reverting hosts on Adfree, and the videos played. Is there a way to unblock the hosts I need to view videos? Thanks a lot, and I appreciate your work on the app!
[Android Apps and Games] :
[MENTION=1561860]delta_foxtrot2[/MENTION],

Please check your PM, it's for improve the French translation of this great app! ;)
[Android Apps and Games] trashchomper:
Hmm... I'm conflicted on this app. On the one hand some ads in apps are ridiculous (eg draw something that plays 20 second videos after every game), but on the other hand small developers rely on the income they get from ads that most of the time have zero impact on my experience. So for that reason, I'll pass on this
[Android Apps and Games] brainmaster:
I understand you. You can't install because there are some leftovers from previous tries. Download "SD Maid" app from the Playstore and use the option "Corpse finder". It will find the leftovers and remove them. Afterwards you should be able to install.

Greetings

BM
[Android Apps and Games] kxf41:
Same here I would like to know how to unblock certain hosts, if I go into view blocked host names in settings I just get a white screen, anyone know how to sort this?
[Android Apps and Games] Rahtah:
Adfree is very good!

Use some time and have no complaints, because the people in my country (BRAZIL) that loves to **** on their blogs and sites with one zillion advertisements until finally able to find what I need.

The personal love for a pop-up.
[Android Apps and Games] delta_foxtrot2:
I just published 0.9.8 to the webserver, it includes an updated French translation thanks to Micks29, and fixes symlink support for android 4.4 thanks to Davis.
[Android Apps and Games] PsyCl0ne:
Hey just wondering but anyone still getting ads in YouTube?

~PsyCl0ne
[Android Apps and Games] qvet:
Good job!
[Android Apps and Games] xalaros10:
Me too.
[Android Apps and Games] PsyCl0ne:
Hey I got ads blocked by installing xposed and there is a YouTube adblocking module that does work with the latest and greatest.

~PsyCl0ne
[Android Apps and Games] nolageek:
Is there a way to un-block certain domains? Quite a view legitimate sources use po.st and I always have to manually remove it from the hosts file when I update.
[Android Apps and Games] RyanThaDude:
Register and create an exception list on http://adfree.bigtincan.com. Then login with your credentials in the Adfree app.
[Android Apps and Games] Kondra007:
Parse.com apps are being blocked!

Hello, guys, I'm issuing a strange problem with AdFree.

I have 2 self-written apps that work with Parse.com - Platform to store apps data in cloud.

Both apps stop working when AdFree is active. I used 127.0.0.1 option.

P.S. While I was writing this post, I've tried using symbolic link /data/data/hosts and it solved my problem. Now with both AdFree on and off, my apps work! It would be nice, if developers will look into this case.
[Android Apps and Games] vinokirk:
I would also like to add po.st to a whitelist.

Creating an account and logging in etc, seems quite tedious. You can add a domain to a white list in AdAway in under 20 seconds.

I say all of this without prejudice. This is just my personal observation.
[Android Apps and Games] Kondra007:
Strangely, Yandex.Store (something similar to Google Play) is blocked by AdFree.
[Android Apps and Games] odavans:
Yandex.Store blocked? That's good!
[Android Apps and Games] delta_foxtrot2:
The plan was to use white/black lists from all users to have an effect on the global list. However I haven't got round to coding it.
[Android Apps and Games] delta_foxtrot2:
I removed it from the database
[Android Apps and Games] delta_foxtrot2:
There is quite a few yandex hosts blocked, the most recent of which is awaps.yandex.ru which was added on the 11th of july, but none relate to their app store
[Android Apps and Games] :
It's quite likely you actually completely disabled adfree by using the symlink. The ordinary android process that checks the hosts file runs without root and it's denied access to /data by selinux
[Android Apps and Games] skules:
Hi, i used to use adfree to block ads on the animania app. it worked perfectly fine until a couple months ago.

Now when i play a show it just sits there, wheras before it would instantly start playing.

If i turn off the adfree it works but i have to sit through several ads, any idea's delta_foxtrot2 .

The ads are supposedly being supplied by yume, if that helps.
[Android Apps and Games] ryanwalexander:
soundcloud not working with adfree

Can someone show me how to whitelist it?
[Android Apps and Games] delta_foxtrot2:
The current version uses /data/hosts as the symlink which should make adfree work on 4.4+ versions