yashsingh1/xdaforums huggingface dataset:
[G1 Apps and Games] sjaak1234:
Man... trying to get this to work reminded my why I hate everything that is linux based. Even getting the simplest things to work are a pain in the ass.

The app doesn't work on my Legend. It just reboots when you try downloading the blocklist.

Well, no problem. There is adb. Doesn't work either. Tried a whole bunch of commands from this topic and another but there is always some error along the way. (wget, cp etc).

Fine. Let's use rootexplorer than. After the initial *****ing about not being able to copy a 600kb file to a directory with 6+mb free (wtf is up with that?) I managed to delete to old hosts file and copy the one I put on my sd card. Phone reboots for some reason and when I check the hosts file in some magical way it put back the old one.

Is there anyway to get this to work?

I almost wish I could get WM6.1 back. Yes it's slow and outdated but it does everything and unlike craptastic linux changing things in the OS is a walk in the park. Get a regeditor and you are good to go.
[G1 Apps and Games] Taomyn:
Could that be why this app won't work on my SGS? Did it manage to copy any of the file over before complaining?
[G1 Apps and Games] pwhitersxs:
I am having this same issue with 4G on the evo. I was going crazy trying to figure out why 4G was busted. I have reverted to a blank host file until a solution has been found. With a blank host file, 4G works as it should. Thank you for this and I hope for a solution in the future.
[G1 Apps and Games] jazzfreek:
Adobe Flash causing the problem..

I had the same problem with those two browsers. Opera worked.I uninstalled Adobe Flash and they started working. Reinstall Flash and now everything works OK. Let me know if this works for you!
[G1 Apps and Games] jjdavola:
AdFree appears to work on my newly rooted "stock" D2G except in Widgetlocker Lockscreen (which I don't recall ever having ads:confused::confused:).

Every once and while I turn on my phone to the Widgetlocker Lockscreen screen and there's a large partial ad at the very bottom of the screen where I need to swipe down.

Any thoughts??
[G1 Apps and Games] chrlswltrs:
I have been using widgetlocker since it was first released and I have never seen an ad with or with out ad blocking.

On a side note I got it working again on the CM7 nightlies.
[G1 Apps and Games] jjdavola:
I thought it was strange too since paid apps usually don't have ads. As a result, I uninstalled and re-installed WL and so far so good.:)

Thank you!
[G1 Apps and Games] jjdavola:
Re-installing actually didn't help. :( :confused: See attached.
[G1 Apps and Games] sjaak1234:
I don't think it actually copied anything because the file is still empty. The weird thing is, I can copy all the files I want but if I try deleting a file it seems the file isn't actually deleted because after a reboot the files are back again. I have no clue why this happens. I tried 3 different file browsers and all don't work.
[G1 Apps and Games] rfunderburk39:
@delta_foxtrot2 I am in the process of building a custom CliqXT ROM & would like to include adfree in the ROM, if its ok with you? Thanks
[G1 Apps and Games] lexluthor:
Any way to figure out what domains words with friends is using to get their ads from and get those added to the hosts file that adfree uses?

Words with Friends just came out yesterday and many of their ads are still being displayed.

It's a zynga game, if that matters.
[G1 Apps and Games] soccern00b:
I would love to have words with friends' ads blocked as well. It's still a pretty new app and Adfree is free itself so I understand any delay we might experience :-) Thanks
[G1 Apps and Games] WillJitsu:
The latest host file update to AdFree Android blocked the ads in Words with Friends. However, the ads on the main screen were overlayed, so now it overlays the screen with an error about being unable to reach the ad URL, rendering the game unplayable.
[G1 Apps and Games] cephraim:
I have the same problem.
[G1 Apps and Games] lexluthor:
Uh oh, better not updated my adfree hosts file then.

Is there going to be any way around this or will those new ad servers just have to be removed?
[G1 Apps and Games] bawdyprawn:
breaks words with friends

I'm having the same problem, the newest update breaks words with friends. as long as we've all been waiting to have this app, it would be a shame to not have it available. please hurry with the update, thanks!
[G1 Apps and Games] Kingsley1:
AdFree Fail

AdFree has completely stopped working for me. Has anyone else had this same problem?
[G1 Apps and Games] chrlswltrs:
Still working for me, just broke words with friends :(

-Sent from my CM7, ogdobber kernel, honeybread theme Nexus S using XDA App
[G1 Apps and Games] Masterpiece Finishes:
Yeah, this really sucks lemons! I'm halfway through 3 intense games on words with friends, and adfree just locked up my game. Unplayable now! Please update, I will donate.
[G1 Apps and Games] dawgpound6985:
Here, a quick edit of the host file to fix the Words with Friends and Medscape. Just copy and paste it into "/system/etc" and overwrite the host file or wherever your host file is located.

Download: http://www.mediafire.com/?mda7sx9eovfkh03

If you wanna do this yourself, use a text editor like Notepad++ and just remove any references to server that's being overlayed in Words With Friends and any references to Medscape.
[G1 Apps and Games] chrlswltrs:
Thank you, worked perfect. Now I can get back to my game!
[G1 Apps and Games] HolyShift:
This is exactly what I was trying to do to get Words with Friends to work. I was just too worried my version edited in Notepad (not Notepad++) wouldn't be compatible once I put it back on. Has anyone tried this?

Also, I'm assuming you want to keep the file extension off the file too. Thanks for your work on this
[G1 Apps and Games] dawgpound6985:
Yes. Just leave the file as is "hosts" no extension. Then just overwrite the one found in your "system/etc" folder. And if it breaks your phone, which it shouldn't, just redownload the host from the Adfree program or you can back up the one you currently have.
[G1 Apps and Games] lexluthor:
Will the official hosts file be updated to reflect these "fixes"?

Otherwise we'll just have to reapply them every time an updated hosts file is available.
[G1 Apps and Games] conquer891:
How does this differ from the ad-free app in the market?
[G1 Apps and Games] chrlswltrs:
They are the same

-Sent from my Nexus S OC'd to 1.3 ghz using XDA App
[G1 Apps and Games] Tx Redneck:
I changed the hosts last night(1AM) but can't remember how I did it since I got the wild hair to see if there had been an updated/corrected hosts file made available through the AdFree App.
[G1 Apps and Games] lexluthor:
I downloaded the manually fixed file and copied that over to the correct folder, but what happens when the app downloads the next hosts update?

Will the hosts file that the app downloads ever be fixed?
[G1 Apps and Games] dawgpound6985:
It'll probably have to be manually removed again unless the server reference is removed from the Adfree source. Luckily, its easy to remove that reference yourself.
[G1 Apps and Games] cephraim:
Does anyone know where the author of Adfree provides support?
[G1 Apps and Games] Vlad83:
Supposedly through here but you can try the website.

http://www.bigtincan.com/contact.html
[G1 Apps and Games] Fat Fred:
Yep ditto :(
[G1 Apps and Games] chrlswltrs:
I had a problem with it not working after flashing new ROMs. Just clear the app data in settings -> manage apps -> adfree. Then open adfree and re download the latest host files

-Sent from my Nexus S OC'd to 1.3 ghz using XDA App
[G1 Apps and Games] Tx Redneck:
Fwiw, they got the issue w/ wwf fixed.
[G1 Apps and Games] lexluthor:
Meaning we can download the file right from adfree, make no manual changes and wwf will still work?
[G1 Apps and Games] Tx Redneck:
That was my experience this AM.
[G1 Apps and Games] chrlswltrs:
Just updated my host file and words with friends still doesn't work for me

-Sent from my Nexus S OC'd to 1.3 ghz using XDA App
[G1 Apps and Games] Tx Redneck:
Hmmm, I wonder why mine worked.
[G1 Apps and Games] lexluthor:
Auto download file still no good for me. Every once in a while, I get a black screen overlay with purple txt link that I can't get rid off.
[G1 Apps and Games] Fat Fred:
Still not working for me - thought it may have been because I'd installed Cyanogenmod7, but seemingly not...
[G1 Apps and Games] Elmoglick:
Adfree not working on Epic4g EB13 kernel

Worked fine with D28, but stopped working with the EB13 update.

Can this be fixed?

Thanks.
[G1 Apps and Games] AndroidKills:
Hmm AdFree still works for me. Are you guys updating the host file through the app?
[G1 Apps and Games] Fat Fred:
Yes, though restored a Titanium backup when I changed mod which didn't work (though perhaps it updated itself) either.
[G1 Apps and Games] chrlswltrs:
It stops working a lot when I update ROMs

Just go to settings -> applications -> manage apps -> clear data for adfree, then redownload the host file and reboot, should work after that
[G1 Apps and Games] MonztA2:
Did that but it doesn't block ads for me (HTC Desire + Oxygen 2.0).
[G1 Apps and Games] Elmoglick:
I've uninstalled and re-installed with no luck. What's strange is that the hosts file in /etc/hosts is the adfree version (some 300k worth). I wonder if EB13 has issues with large host files?
[G1 Apps and Games] craig1965:
I've just upgraded to oxygen 2.0 and add free has stopped working I've cleared data even uninstalled it reinstalled still not working any ideas
[G1 Apps and Games] Fat Fred:
Done. Again. Still no difference - not working on Desire with Cyanogen 7 RC1.

Any alternatives?
[G1 Apps and Games] cephraim:
Still not working with Words with Friends. :confused:
[G1 Apps and Games] SiNJiN76:
Not working on stock rooted 2.3.3. I see all kinds of ads on xda!
[G1 Apps and Games] Elmoglick:
Well, I think I've figured it out, folks, at least on my Epic4G. :p

My suspicions of a file system space issue led me to investigate and sure enough, /system showed 0 bytes free. I suspect the 300k adfree hosts file was probably truncated when it was installed and filled the file system up, which would lead to reports of ad blocking working for some, but not others.

SO, all I had to do was go into /system/app and delete some of the bloatware, like Amazon MP3, and voila! I now have a custom 600k hosts file that seems to block all ads. I have not even tried Adfree, just copied the special hosts based on it, which I found here:

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

(It's a bit dated, but claims to be more thorough than the Adfree version)

Caveat: If you do delete any apps from /system/app, be sure to save a copy of them; vendor updates will fail without them.

Hope this helps.
[G1 Apps and Games] mdubs:
Didn't have to delete any apps but that hosts file did the trick for me.

Woohoo! I can play Angry Birds again!
[G1 Apps and Games] JoeSchmoe007:
Why do I need to create this link:

ln -s /data/hosts /system/etc/hosts ?

I skipped this step and everything seems to be working on my rooted Dinc with S-OFF
[G1 Apps and Games] Fat Fred:
Is there a version of AdFree that can be flashed to install it - thought that maybe would overcome the issues?
[G1 Apps and Games] fatspirit:
If I've discovered blocked non-ad URL, where should I report it?
[G1 Apps and Games] Fat Fred:
It needs someone like you to take on the management of the list, as the last update to the hosts file was some months ago..

Offering?! :D
[G1 Apps and Games] lexluthor:
Nothing changed here? If we upgrade the hosts file via adfree, words with friends won't work?

It'll be a pain to have to manually fix the hosts file to work with WWF each time a new hosts file is released.
[G1 Apps and Games] Taomyn:
Woohoo, finally got it working on my SGS - seems the /system partition was not being converted by Voodoo Lagfix due to lack of space - just 4MB, but that shouldn't have stopped this app. After fixing the space by temporarily moving some larger APKs off, converting to EXT4 and moving them back, I'm finally able to apply a full hosts file, even though the free space is even lower at 2.2MB. Go figure :confused:

I'm not worried about Words with Friends as I dumped it in favour of Wordfeud, which imho is far better and certainly more stable.
[G1 Apps and Games] dkmurphys:
I'm using killall-q's new host file from here:

http://xdaforums.com/showpost.php?p=11956023&postcount=175

And Words with Friends (Free) still has the pop up overlay but occasionally (after exiting Words with the back button), I can get passed the overlay and into the game. I don't have a crash scenario or anything, it just takes a couple of times to get into the game without the overlay but it is playable beyond that.

CM7 Nightly #17

Work around from here. That way Words with Friends still has ads but AdFree still runs elsewhere. Via Terminal:

su root
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
vi /system/etc/hosts
?androidsdk.ads
dd
?mydas.mobi
dd
:wq
[G1 Apps and Games] pvolk:
I'm using an app called NetQFree to browse my Netflix queue. Upon starting the app I get an error saying that I am blocking ads and that the app will not run. I'm not sure how it is determining this. Since it doesn't have root access I doubt it is scanning for the IP filer file. Any thoughts on how to get around this as I'm sure many apps will start implimenting this kind of check in the future. Thanks.
[G1 Apps and Games] Tx Redneck:
Figure out what ads they're tryin to push or its site address and edit that line outta your hosts file.
[G1 Apps and Games] Fat Fred:
Could be it checks the result back from the request for the ad (like pinging the server) - don't know how you could get round this with just the hosts file. You'd probably have to hack the app itself...
[G1 Apps and Games] spuniun:
BlueputDroid is now doing the same method of checking if ads are blocked :/
[G1 Apps and Games] GaryParr:
Apply File Causes Reboot

I'm running an HTC Slide with the leaked 2.2 ROM. After selecting the "Download and Install Hosts" link, the the window pops up saying "Connecting" with the message "please wait blah blah..." then the phone reboots and the file is not applied.

For now I'm just going to just copy over a hosts file manually, but wanted to see if anyone else has had this issue and knows a way around it.
[G1 Apps and Games] cheshyre:
Questions which may be feature requests

[Hopefully, this is the right place for these questions. The Android Market lists this as the app's official website.]

1) How can one view the list of filtered hosts?

2) How can one edit the list of filtered hosts?

3) Currently, the app filters LiveJournal lock icons (which identify restricted entries) and mood icons.

4) Is there any way of turning off filtering, short of uninstalling the app?

If not, consider that a feature request.

5) Related to #4, does AdFree work with Tasker? Can Tasker read/change the state? If not, consider this another feature request.

Thanks.
[G1 Apps and Games] bbrosen:
even after uninstall, reinstall and revert i still cannot play wwf, any fix, i really hate it screwed up my app, i have not seen any definitive answer after searching...help would be much appreciated, 2.2 galaxy s thanks in advance
[G1 Apps and Games] gpz1100:
Is there a question in there? Definitive answer to what exactly?
[G1 Apps and Games] bbrosen:
sorry, after searching this thread i saw no definitive answer for fixing issues with wwf, even after uninstalling app. I reinstalled, did a revert, then cleared caches just trying to get to where i can play wwf again, thanks...
[G1 Apps and Games] dkmurphys:
http://neallambert.com/?p=5

Do exactly as it says and it works (with ads)...
[G1 Apps and Games] bbrosen:
i found this late last night but, it did not resolve the issue for me...i ran it twice, with no errors each time and it still did not work..if anyone knows of a fix it would be much appreciated...thanks tho...
[G1 Apps and Games] dkmurphys:
Then you screwed up, because the fix worked perfectly for me with the first try...
[G1 Apps and Games] luhu:
Can anyone say me how/where I can find the url of a ad server in a decompiled app?
[G1 Apps and Games] hotaru:
any ideas what it is in the hosts file that screws up the received audio in echolink? or maybe it's just the sheer size of the hosts file?
[G1 Apps and Games] G1Dreamers:
Thanks

Can't wait to install.. thanks for the tip
[G1 Apps and Games] rickg99:
Adfree works again for me

Adfree failed to work for me a while.

looking into that I discovered that /system/etc/hosts and /data/data/

has only the localhost entry and not more. The hosts file just didn't got updated!?

After trying a lot what helped was

- deinstall the app

- check that /dada/data/com.bigtincan.android.adfree and /dbdata/databases/com.bigtincan.android.adfree is non existent otherwise delete it with Root Explorer

- reinstall adfree

- in Adfree DO NOT check "symlink from /data/data/hosts"

After that it runs just fine again. Hopes that helps.
[G1 Apps and Games] cephraim:
Have they fixed the conflict with Words with Friends yet? Or, do we still have to manually edit the adfree hosts file?
[G1 Apps and Games] SGT John Doe:
I really need some help to get Adfree to work. I've tried every solution with no success. It seems like my hosts file is empty when i looking at it with "root explorer" so no ads become blocked.

I've also tried this method

mount -o remount,rw /dev/block/mtdblock3 /system

cd /system/etc

rm hosts

wget "url removed because i cant post else" -O hosts

But when i type "rm hosts" it only say "cant remove hosts, not empty"

And yes. I'm running with CM7 and root.
[G1 Apps and Games] Tx Redneck:
Why don't you just copy paste the hosts file to /system/etc?

Here's the hosts file I use and still be able to play wwf.

http://db.tt/zojYTMN
[G1 Apps and Games] cephraim:
Is WWF still not working properly with the built-in hosts file from Adfree?
[G1 Apps and Games] SGT John Doe:
I have tried that to. But i cant delete or edit the original hosts file that is placed under /system/etc.

And here is what happens when i try the same thing with AndroidSDK

hxxp://i1117.photobucket.com/albums/k588/minlillaponny/androidsdk.jpg
[G1 Apps and Games] SGT John Doe:
Really, is it only me with this problem? I cant use S-OFF because of H-BOOT 1.01. I'ts maybe one solution left but i dont know how to do, how do i move files with AndroidSDK?
[G1 Apps and Games] datajosh:
Looks like there are some new hosts that need to be added to this, particularly ad servers used by Lockerz. So far I've found these:

cdn.vdopia.com

serve.vdopia.com

ads2.mojiva.com

ads1.mocean.mobi

Not sure how many others there are but I'd love to do away with the annoying ass video ads Lockerz has above photos on their mobile pages.
[G1 Apps and Games] Tx Redneck:
Use ES File explorer it you have root. Go to settings while in es file exp and give it root permission then mount /system, copy paste the hosts file to /system /etc
[G1 Apps and Games] SGT John Doe:
Thanks for the advice, but that does not either work. "hosts copy failed" :(

The funny thing is that i cant see some hidden files or directory with ES File explorer, even when the "show hidden directory" and "root permission" is used.
[G1 Apps and Games] SiNJiN76:
I have this installed on mine and wife's N1. Works on mine fine. Blocks ads. But on hers it doesn't. When I look at the host file...its got all the ad free stats and the list of blocked ads...but still does not block ads...I see the ads here on xda with her phone....but not mine

Is there something that can fix this?
[G1 Apps and Games] Crox:
Did not work on my SGS with original 2.2.1

Angry Birds, GPS Status etc. - all show ad. What to do? By the way, I rooted my SGS.
[G1 Apps and Games] Crox:
Any idea how to make adfree running on my rooted SGS with original 2.2.1? No error occours after downloading database, adfree seems to work - but doesn't block any ad.
[G1 Apps and Games] Crox:
Now I know what the problem is, but couldn't solve it.

I took the hosts file from a downloadlink above and tried to copy it with root explorer to system/etc. It doesn't work because of too less space in the system/etc.

Are there any programs I can delete riskless?
[G1 Apps and Games] AndDiSa:
Programs probably not, but you can delete some media files, e.g. some sound files from /system/media/audio/ringtones/
[G1 Apps and Games] Crox:
You made my day! I deleted one ringtone with 500kb - installed adfree again and now it works fine :D

Thanks a lot!
[G1 Apps and Games] chrlswltrs:
I always delete that whole folder and the notification folder, lol

All my ringtones and notifications are custom and on my SD.

Oh, and I always delete cameraclick.ogg that is in the audio/ui folder so my camera is silent :cool:
[G1 Apps and Games] SGT John Doe:
Did as you guys said but it stil doesn't work. These picture is taken after adfree installation.

hxxp://i1117.photobucket.com/albums/k588/minlillaponny/screenshot1.jpg

hxxp://i1117.photobucket.com/albums/k588/minlillaponny/screenshot2.jpg

Sorry for the incomplete url, i cant still post links

Internal memory is 69MB used and 117MB free :(
[G1 Apps and Games] dubqnp:
I love AdFree - I wonder if its possible to block airpush? I installed a program that made ads appear in the notificationbar - apparently airpush is the culprit.
[G1 Apps and Games] bobbyphoenix:
symlink from/data/data/hosts?

Sorry if this has been answered as I read a couple pages, but not all 69. What exactly does the option "symlink from/data/data/hosts do when checked? I downloaded and installed hosts from the top button, and everything went well. Do I need the symlink option for anything special? I'm using this on a Defy. Thanks.
[G1 Apps and Games] bobbyphoenix:
So I played around with the app a bit. I reverted back to stock, and found if I have this option checked, and download new hosts, ads aren't blocked. I reverted back again, but un-checked this option, and downloaded new hosts, then the ads were blocked. I did this a couple of times to check, so I guess I don't need that option, but I would still like to know what it is suppose to do. :)
[G1 Apps and Games] secretformula:
The reason it that when a file is put in data a program doesnt need root (superuser) access to write to that file. The file in /etc/host is linked to the file in data so that way you can still use adfree on an unrooted android device.
[G1 Apps and Games] ssserpentine:
Help. I installed from the market and now can't watch anything on seeon.TV

Galaxy tab 2.3.4
[G1 Apps and Games] Diana Prince:
Is this compatible with GB update? I'm seeing nothing but ads now.
[G1 Apps and Games] Dan_Aykroyd:
Blocking in radio apps (Digitally Imported, Sky.fm, Jazz Radio)

Hi there,

I've found that in these three apps (which use the same client, I think that it's provided by AudioAddict), the ads at the top are never blocked.

Do you know if it's using some mechanism to work through the DNS blocking, or the banner's addresses are not included in the host file?

Thanks!
[G1 Apps and Games] pdgsmr1702:
now im pissed

I added this thing to my phone and now where there was an add there is a huge "page cannot be displayed" sign and a url 20 miles long....i have tried clearing everything and reinstalling everything. how do i get that crap off because with it on there...i cant click anything....the page wont let me scroll down. please help.
[G1 Apps and Games] micfva420:
I have the same problem, when trying to use certain apps that connect VIA the internet I'm getting the same long url and am unable to open it. Any ideas how to remove the ad blocker from certain apps
[G1 Apps and Games] AAccount:
New Hosts Entries

Whoever is in charge of the hosts file for AdFree, would you please add these entries:

127.0.0.1 rovio.appads.com
127.0.0.1 an.appads.com
127.0.0.1 caggsm-img.appads.com
127.0.0.1 rovio-news-app.angrybirdsgame.com
127.0.0.1 rovio-news-assets.angrybirdsgame.com

The newest version of angry birds uses these. I think everyone will appreciate this.
[G1 Apps and Games] BuddaBelly:
Thanks...Added this to my Hosts file but it still has ads that get thru. Really sucks because the game is ruined with the ads and there is no option to purchase an ad free version.