yashsingh1/xdaforums huggingface dataset:
[G1 Apps and Games] fazmataz:
Hi,

Great app that I have been using for a while.

I however noticed that ads still appear in some apps (before you ask, the application confirms that my host list is up to date)... So probably the host list should be updated with missing hosts, but how can I identify them?

Thanks
[G1 Apps and Games] kieranc:
I've been wondering how much effort it would be to set up a tiny web server on my phone to listen for any requests on 127.0.0.1:80 and respond with a blank page or image as appropriate. The error messages shown in certain pages when an ad is blocked are a minor but fixable annoyance. It seems that this app would be an ideal location for it, it shouldn't be complicated to implement, is there any reason, technical or otherwise why it wouldn't be possible?
[G1 Apps and Games] Marreboy:
I don't understand what you mean when you say "detect TVs".

However I saw that a new version was available in the play store just now with some rotation fixes. Sadly I must say that the app still forces landscape mode on the Nexus 7.

Thanks anyway for your effort.

Tapatalked from my Nexus 7
[G1 Apps and Games] jamestks:
evo lte - host files stop working after a short period

I have an odd problem with my rooted EVO LTE on stock Jelly Beans, Adfree, and hosts file.

Adfree applies the host files OK and ads were blocked. Hosts file is about 997KB.

After about half an hour or so, the hosts file does not seem to work anymore and ads were back.

Something is reversing the hosts files back to the original version.

Appreciate if someone could shed some light into this.

[EDITED]
[G1 Apps and Games] jamestks:
I have found the answer to my own question here : http://xdaforums.com/showthread.php?t=2059281

Just want to update so that someone might benefit from it.
[G1 Apps and Games] oae08:
I'm having the same problem. Ads are not going for some reason! I did not undrrstand how u solved this problem?
[G1 Apps and Games] ub3rprogmr:
thanks
[G1 Apps and Games] Cookie Ninja:
Something seems to be wrong with the bigtincan server? I was downloading new updates & subsequently doing forced updates after uploading a few ad server addresses. 9 times out of ten, the new hostfile size was much less than what I usually have (~2 mb). Sometimes the file size is less than 2048 bytes. Op, can you help?

Dead cookies leave no trails...
[G1 Apps and Games] vincent_smoox:
I installed adfree and it working like charn except tgis killed my connection too on blackmart app. Can you tell me how to fix it? Coz uninstalled not help at all
[G1 Apps and Games] bberryhill0:
You have to revert your host file before you uninstall AdFree.
[G1 Apps and Games] Hdfxsts:
Adfree is reported as malware by AVG Antivirus, hopefully it's a mistake; -)
[G1 Apps and Games] endolith:
Remove it and use AdAway instead. It's better and open source.

EDIT: I guess it was removed from Google Play? But still available on Fdroid
[G1 Apps and Games] gb.sn:
I take that the open source part is good, but how is it better when it blocks less hosts? :/ adfree blocks a ton of popular ad hosts, so its not like adaway's blocking quality is any better, if anything, its worse since it blocks much less of what's left after the popular ones.
[G1 Apps and Games] endolith:
o_O AdAway lets you use custom blocklists, so you can block whatever hosts you want. It downloads several online blocklists by default and combines them together. What list does Adfree use?
[G1 Apps and Games] Christiancs1969:
Thanks

s2 rootbox
[G1 Apps and Games] qashqool:
revert host file?

Hello, installed Adfree, but can't see it on screen. I think it's working, cause ads gone.:laugh:

[edit] after reboot phone, I saw the ícone
[G1 Apps and Games] SirMacke:
Hm.

Adfree is not working on Sony Xperia V @ 4.1.2 rooted with Bin4ry v.21

Still adverts in apps/games.
[G1 Apps and Games] burdman:
Will new versions be linked in the op since Google removed ad blockers from play?
[G1 Apps and Games] shiv81:
+1

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[G1 Apps and Games] Zenith24:
AW: How to filter ads on your G1

I really would like to see Adfree in another store like FDroid!!

Cheers.!
[G1 Apps and Games] Cookie Ninja:
I'd rather see newer versions of the App in the OP of this thread...

App Stores are ways and methods for the site host to generate page clicks, search results and mulct ad revenues, and i think that goes against the nature of this app.
[G1 Apps and Games] delta_foxtrot2:
I was uploading to slideme.org until I had issues with old signing keys being lost.

For people wanting the current version I uploaded the apk file to the website: http://adfree.bigtincan.com/adfree.apk
[G1 Apps and Games] qashqool:
Adfree unistalled

Hi

I unistalled AdFree, phone was lagging since i installed it.

But I must say that most of app that use to have ads, went clean, not all of it :( some didn't start at all
[G1 Apps and Games] reddead66:
How do i revert the hosts file?

Sent from my GT-I9100
[G1 Apps and Games] bberryhill0:
I think if you open the app there's a button on the screen.
[G1 Apps and Games] oae08:
How can we update this app from now on?
[G1 Apps and Games] reddead66:
I haven't updated the app in a while..it promts with a too old version message as soon as i open it

Sent from my GT-I9100
[G1 Apps and Games] bberryhill0:
I'd try that.
[G1 Apps and Games] qashqool:
hard to get rid of it

Well, I uninstalled but is still out there, Some apps don´t open cause ads are blocked. I reverted before uninstall but was useless. Does anyone know how to get rid of it:confused:
[G1 Apps and Games] La_Globule:
@qashqool

Because ad blocking relies on the hosts file, before installing AdFree, you had to revert to the original one.

So, now you have two possibilities :

- re-instal AdFree and tap on the button located on top right and named "Remove hosts" (or something like that, sorry, I'm using another language)

OR

- use a file explorer which can access to /etc in Read-Write (root needed) and delete all the content of hosts file except the "127.0.0.1 localhost" entry (or replace the hosts file by a file containing only this entry).
[G1 Apps and Games] La_Globule:
@delta_foxtrot2

As far as AdFree is no more on the Play store, this thread and its OP become our reference.

So may I suggest you to use your OP to trace and document all changes on the app ?

You could for instance :

- put the download link

- list all versions with a change log

This could explain us what changes are included in the new version you've published on your web site (as shown in post #1309).

Thanks for your help and for maintaining this helpful app.
[G1 Apps and Games] qashqool:
Adfree

I did use the revert button :(

I' ll have to go the hard way
[G1 Apps and Games] TopDome:
Tcpdump does not work 0.8.48

2delta_foxtrot2:

Does not work on 4.1.2 tсpdump from Samsung stock for Russia.

- Activate the check box "Run tcpdump".

- I go on the internet.

- I go to "View TСP host names".

- I see a blank white screen.

On firmware 4.0.4, it worked fine, appeared query DNS servers.

Samsung Galaxy S 2, 4.1.2 Russia, Rooted. AdFree 0.8.47-0.8.48
[G1 Apps and Games] αкαѕнα:
thank you <3
[G1 Apps and Games] travis2387:
I hope you don't abandon this.even before Google dropped the axe,adaway stopped working.so this is really the only choice.

Sent from my Precedent using Xparent Green Tapatalk 2
[G1 Apps and Games] andrewilley:
I got that too. I then tried to install the new version posted in this thread, but I just got an Install Failed message (AOKP 4.2.2).

Andre
[G1 Apps and Games] Anderson2:
LBE security master contains a utility that very effectively blocks ads and gives you granular permissions control. If it is removed from play you can get it directly from the developer.
[G1 Apps and Games] delta_foxtrot2:
0.8.50 is uploaded to both slideme and the adfree site, fixes permissions on the tcpdump file so the app can read it
[G1 Apps and Games] Cookie Ninja:
Thanks, updated my app. Heads up for those who upgrade to 0.8.5.0, please uninstall your previous version. This app does not upgrade 0.8.47, and created a second instance of Adfree.... Had to run both to see which asked for SU access (newer app 0.8.5.0) so that I could uninstall the other one.

Dead cookies leave no trails...
[G1 Apps and Games] oae08:
Its great that you are still maintaining this wonderful app. Why dont you open a thread in the general android apps section?

Keep up the good work
[G1 Apps and Games] La_Globule:
Thank you for maintaining this useful app.

I've just upgraded my S2 to JB 4.1.2 stock ROM.

When I launch AdFree v0.8.47, it get root access and then tells me that no update is necessary.

When I browse to /etc I see that the host file is the original one and is rather small.

Does anybody has an idea about this starnge behaviour ?

Thanks.
[G1 Apps and Games] delta_foxtrot2:
This is a simple update check and the version is stored locally.

Can you PM me a copy of anything useful in logcat?
[G1 Apps and Games] delta_foxtrot2:
That was my fault, I had to upload a new file to google play, but slideme wouldn't accept it, now that adfree is no longer on the play store it shouldn't happen again.
[G1 Apps and Games] delta_foxtrot2:
I noticed the font size on the tcpdump screen on phones with a hi-res screen was rather small, so I pushed out an update 0.8.52 that fixes this.

For those not having a problem the update is optional.
[G1 Apps and Games] delta_foxtrot2:
I took your advice and started a new thread => http://xdaforums.com/showthread.php?p=40759351
[G1 Apps and Games] TopDome:
Hi, delta_foxtrot2!

TCPDump earned on firmware 4.1.2.

Too big font is used, how to reduce font?

Samsung Galaxy S 2, 4.1.2 Russia, Rooted. AdFree 0.8.52

You found the host to host the new version adfree?
[G1 Apps and Games] delta_foxtrot2:
It's big on purpose so they can easily be clicked on
[G1 Apps and Games] Hayleia:
Sorry to bump this.

This app works well, but maybe a little bit too well :P

Indeed, it blocks ads, I only see white spaces on ZippyShare for example.

But the problem is that it completely blocks AdFly, so there are quite a lot of links that are not reachable due to being shortened by this website. So could AdFly be unblocked ?

Or better, could there be the possibility to choose what to block ?
[G1 Apps and Games] andrewilley:
The new general support thread for this app is at: http://xdaforums.com/showthread.php?p=40759351

Andre
[G1 Apps and Games] delta_foxtrot2:
Register on http://adfree.bigtincan.com and you can white/black list hosts
[G1 Apps and Games] altus:
Hi

Thanks a lot for this application, i'm using it for quite some time

The hosts file contains da.feedsportal.com which prevents from reading articles from some RSS feeds in the feedly application

Example:

http://feedly.com/k/11IiTpB

http://feedly.com/k/11IiZxx

Would it be possible to remove this site?

Thanks

Altus
[G1 Apps and Games] ms1699:
adfree

Hi adfrre not work ? I just updated my Samsung galaxy s4 with 3 new update after I install adfree when I press bot its say copy is old software installed new version where I find new version plz?
[G1 Apps and Games] BookCase:
Have a look at Ad Away at this thread:

http://xdaforums.com/showthread.php?t=2190753
[G1 Apps and Games] burdman:
A new thread was started for Adfree

http://xdaforums.com/showthread.php?p=40759351
[G1 Apps and Games] JRngln:
YES Ad Away is a MUCH better Ad blocker than adfree I USED to run adfree but they had problems one time and then I found Ad Away and I haven't looked back

Wish I could find an app like Ad Away for windows
[G1 Apps and Games] BookCase:
Same. :thumbup:

You can use the Adblock Plus addon in Firefox on Windows and other OS's.
[G1 Apps and Games] Cookie Ninja:
Thanks for trolling this thread, used to be fun & interesting for all, without prejudice...... Ppl have choices, you know, Adfree or Adaway... I used both and found this better at fine-tuning in blocking ads...

Edited to remove offending phrase.

Dead Cookies leave mo trails...
[G1 Apps and Games] BookCase:
I don't think anyone was trolling. Merely, stating opinions and trying to be helpful.
[G1 Apps and Games] JRngln:
Posting experience with an app and making Ppl AWARE of those choices does not a troll make.

And speaking of which; have you looked in the mirror lately:confused:........ just askin:cyclops:

---------- Post added at 10:12 PM ---------- Previous post was at 10:09 PM ----------

I'll search that out, Thanks:good:
[G1 Apps and Games] gimiento:
I did wipe prior to installing. So who knows. I suppose a wipe and re-flash is in my future then (sigh).

Great app, indispensable.
[G1 Apps and Games] BSDADON:
App keeps saying failed to replace hosts. The terminal way still works fine though so don't know what that is about:confused: O well, either way I have the adds blocked
[G1 Apps and Games] delta_foxtrot2:
From the shell, can you do a 'mount' and paste the results in a private message to me, the partition name might differ
[G1 Apps and Games] delta_foxtrot2:
Do you have a terminal app installed?

If so, run it, then see if you can get root or what not.
[G1 Apps and Games] BSDADON:
Unfortunately I was never able to get adb to work with vista. Any other way I can get this information? Can it be done in terminal?

EDIT: Apparently it was the build I was running. Just updated To the latest dude build and it worked fine.
[G1 Apps and Games] Chahk:
With latest version there is a notification on every reboot, whether or not an update is actually available. Anyone else seeing this?
[G1 Apps and Games] prash:
Also second'ing the notification on every boot. It pops up saying new update available, but when you pull down and go into the app, it searches and says I'm up to date. This just started happening recently. Not sure why its doing that.
[G1 Apps and Games] beast.in.black:
Works well, thanks
[G1 Apps and Games] delta_foxtrot2:
It should only be throwing up the notification if there is actual updates I'll take a look at it in a bit, been out driving all day.
[G1 Apps and Games] Chahk:
Could you also please make it respect the "Check for updates daily" setting? It's off on my phone, but I still get that notification on boot. Other than that, it's perfect and a must-have for any rooted G1.
[G1 Apps and Games] delta_foxtrot2:
It's probably one and the same problem, the app should only check once every 24 hours, and should only check on boot up if you wanted it to check and it should only show the notification if there is actually updates available, obviously I did something a bit screwy and it's probably not checking at all and throws up the notification regardless.

Mind you none of this would be an issue if Google didn't do things smegging backwards and require the app to start on bootup to set alarms...
[G1 Apps and Games] delta_foxtrot2:
Amazing how powerful an exclamation mark can be ;)

0.2.4 is up, it fixes the bootup check and it also now removes the notification icon from the icon tray if it's showing.
[G1 Apps and Games] delta_foxtrot2:
v0.2.5 fixes a few more things, like attempting to get the server version of the hosts file if there is a problem with the data connectivity, like say when booting up and the app checks for updates before the data connection comes up. :)
[G1 Apps and Games] delta_foxtrot2:
v0.2.6 and 0.2.7 were tweaks on the retry to see if there are updates available, it now waits 30s after booting to check, if that fails or if the timed update check fails it waits 10 minutes and tries again.
[G1 Apps and Games] Mi|enko:
Since the browser in Hero is different that the Cupcake/Rogers builds, is the same hosts file compatible?

Nvm. It worked. I'm good. :-)
[G1 Apps and Games] delta_foxtrot2:
This app replaces the hosts file, which app is used to download them is irrelevant as it effects DNS lookups etc.
[G1 Apps and Games] Mi|enko:
I know what a hosts file is. :p lol

For some reason, when I was using the first versions of Hero available, I'd get a boot loop after installing this and rebooting. Not sure what was causing it (or if it was just the Hero instability), but it went fine this time with no hiccups.

Thanks for responding so quickly.
[G1 Apps and Games] innerspace:
Thanks for AdFreeAndroid

Was sitting around in the office one day thinking of NoScript and AdBlock on my PCs and later that night came across an early version of this app. Love it. So thanks to the developer, really appreciate your efforts. Keep it up!
[G1 Apps and Games] jbacon617:
Heya, just reporting an error. I get the message "Failed to remount system partition read-only" after attempting to update for the first time. Here's some delicious logcat output:

I/ActivityManager( 70): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x10200000 comp={com.bigtincan.andr
oid.adfree/com.bigtincan.android.adfree.FreeMe} }
D/su (14350): 10053:10053 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
W/IInputConnectionWrapper( 891): showStatusIcon on inactive InputConnection
I/ActivityManager( 70): Displayed activity com.bigtincan.android.adfree/.FreeMe: 334 ms
I/InetAddress(14257): gethostbyaddr: getnameinfo: 119.161.80.9 = bigtincan.com
I/InetAddress(14257): gethostbyaddr: getnameinfo: 119.161.80.9 = bigtincan.com
D/dalvikvm( 891): GC freed 253 objects / 12792 bytes in 189ms
I/ActivityManager( 70): Starting activity: Intent { comp={com.bigtincan.android.adfree/com.bigtincan.android.adfree.DoUpgrade} }
I/System.out(14257): localver=0,remotever=1246298413
I/ActivityManager( 70): Displayed activity com.bigtincan.android.adfree/.DoUpgrade: 396 ms
D/dalvikvm(14257): GC freed 8568 objects / 427448 bytes in 122ms
D/OpenSSLSessionImpl(14257): Freeing OpenSSL session
I/global (14257): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
D/su (14357): 10053:10053 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
D/su (14361): 10053:10053 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
I/InetAddress(14257): gethostbyaddr: getnameinfo: 119.161.80.9 = bigtincan.com
I/InetAddress(14257): gethostbyaddr: getnameinfo: 119.161.80.9 = bigtincan.com
D/dalvikvm(14257): GC freed 9026 objects / 543472 bytes in 128ms
D/OpenSSLSessionImpl(14257): Freeing OpenSSL session

... GC spam ...

D/su (14366): 10053:10053 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
D/su (14370): 10053:10053 com.bigtincan.android.adfree executing 0:0 /system/bin/sh
D/su (14374): 10053:10053 com.bigtincan.android.adfree executing 0:0 /system/bin/sh

Nothing appears out of whack in the log, so I don't know how much help it will be. Anyways, I'm rooted, and running Cyanogen 1.5r2 3.4.6, with his recovery image v1.2, and Hero 1.2 theme applied.
[G1 Apps and Games] BSDADON:
I had the same issue, and I also couldn't change my audio files because I kept getting the error not enough space after I installed the ophone theme and the prodigal sun theme. I wiped for the first time in a while and started from scratch and it works for me. It almost seemed like every time I flashed something, it wasn't overwriting the previous files, and instead just adding to them(which just seems wrong, but who knows). Have no idea if what I am saying is even possible, but after I wiped no issues and once again ad free. Haven't tried it since re-flashing the theme, but maybe that helps you
[G1 Apps and Games] delta_foxtrot2:
It could be that Cyanogen doesn't put binary files in the distro the same as JF and the ADP build google puts out. If you look at the beginning of this thread I explain how to do this manually, if that fails then you've found the problem.
[G1 Apps and Games] jbacon617:
You can disregard my above post - it worked just fine after a reboot. I'm gonna chalk it up to some wierdness with the Eclipse work I was doing (I prefer using the real phone over the emulator >.>), and the constant app reinstallation over ADB probably had something to do with it.
[G1 Apps and Games] gpmoo7:
I just installed AdFree on my HTC Magic with myhero-0.0.6 (from here) and my phone can't boot now ...
[G1 Apps and Games] delta_foxtrot2:
The app shouldn't have prevented your phone from booting unless you interrupted it before it wrote changes to the system memory and I'm not 100% sure what a corrupted hosts file on Android system would do, I presume it'd keep booting regardless but this does do weird things at times.

I haven't heard of anyone else having this issue however.
[G1 Apps and Games] carnegie0107:
I tried adfree from the market, but it failed to write the hosts file. I'll get a logcat as soon as I can. I tried copying/pasting in SUFBS, and no dice. So in terminal, I mount mtdblock3 as r/w, cd to sdcard, and

#mv hosts /etc

I get failed on 'hosts' - Cross-device link. For some reason, I can't seem to mv from sdcard to filesystem. And I'm getting the same bad address when trying to wget the file from terminal, so I'm not brave enough to rm the hosts in /etc.
[G1 Apps and Games] delta_foxtrot2:
just move it to a diff file name in the same directory, eg hosts.old

This might explain why it doesn't work, what build are you running?
[G1 Apps and Games] SportsFan26:
or, you can download "Root Explorer" from the market...helps me a lot and its for noobs too.....its a mix of file manager/adb/and a terminal.
[G1 Apps and Games] Gilliland12:
Running CM 3.9.10 and am getting a failed to update hosts file error.

Tried uninstalling and reinstalling. No effect.
[G1 Apps and Games] moosefist:
is it just me, or is adfree more obnoxious than the ads themselves. I get my pages littered with big webpage cannot be displayed boxes rather than thin banners now, I attached a picture. For some reason i dont think this is supposed to work this was. maybe its loccy's better browser....
[G1 Apps and Games] jashsu:
This is normal behavior for HOSTS-based blocking. HOSTS based blocking just prevents any internet connections to the sites listed in the HOSTS file. Normally when a browser cannot resolve the address of an image file, it will either not display anything (and render the next element on the page in that space), display a small "broken image" icon, or display a blank box in the area the image would have taken up (only if the web designer hard coded in that space). However, the example you showed is not an embedded image, it is actually an embedded page in an object. These are like the third image example except when browsers can't access a webpage, they usually give a 404-type message. However, the 404 messages will never be bigger than the actual ad objects they replace. The reason that adblockers on full PC browsers can hide these is they don't adblock using HOSTS, they adblock by detecting and removing entire objects from the HTML before it is rendered.

So assuming you actually read and understood all of the above, imo it is still better to do HOSTS blocking than nothing at all because downloading those ad objects consumes 1) bandwidth, 2) time, 3) memory and 4) battery.
[G1 Apps and Games] moosefist:
thanks for the explanation. makes perfect sense.
[G1 Apps and Games] fl3xo:
Weatherbug widget fail to update weather info. Clicking the widget, setting location set location, will force the widget to update. Ho hope it can update without ad...i think
[G1 Apps and Games] llaumgui007:
Hi,

I can't use AdFree with Modaco ROM for HTC Hero. With original ROM, AdFree work good but no with Modaco
[G1 Apps and Games] blackknightavalon:
Currently having the same problem. Any ideas, anyone?

Running CM4.0.4 with the "Black and Blue" theme.
[G1 Apps and Games] Chahk:
Worked fine for me on CM 4.0.4 and is working fine now on CM 4.1.9.2 also. Got a logcat? Have you tried it without the theme?

Could be a permissions issue. Try running the latest version of the fix_permissions script.
[G1 Apps and Games] EvilJesus:
Two questions

1) When we notice new ads, how can you determine the server (i.e. in the Where app)?

2) Everytime you "check for updates", it says there have been changes to the file and you should download the updated file (even if you just did 2 seconds ago). Is this a bug?

Thanks,

EvilJesus