How to filter ads on your G1

Search This thread

delta_foxtrot2

Senior Member
Feb 11, 2009
711
616
It's been bugging me for a bit about waiting for the app to check for updates just so I can get into the TCPdump screen, so I added a prompt at start up to boot normally or go straight to tcpdump screen.

0.8.34+ Added Persian/Farsi
0.8.36+ Added option to wipe TCPdump log to TCPdump screen
0.8.38+ Added prompt to boot normally, or immediately switch to the TCPdump screen

And I just realised a mistake I made, after wiping the log file it doesn't bother to restart tcpdump, a fix is almost done for this.
 
Last edited:

vtknightmare

Member
Feb 11, 2009
16
1
/Web Console( 2865): Uncaught ReferenceError: Begin is not defined at http://www.xda-developers.com/?s=adfree&x=45&y=10:4
E/Web Console( 2865): Uncaught ReferenceError: XD_692_3 is not defined at http://www.xda-developers.com/?s=adfree&x=45&y=10:1
E/Web Console( 2865): Uncaught ReferenceError: XD_2707_2 is not defined at http://www.xda-developers.com/?s=adfree&x=45&y=10:1
E/Web Console( 2865): Uncaught TypeError: Cannot read property 'vendor' of undefined at http://www.xda-developers.com/?s=adfree&x=45&y=11
 

sushifor5

New member
Nov 12, 2011
2
0
Problem with ad-free and craigslist...

I've been using the ad-free app since rooting my phone two months ago and I love it...for the most part. I find that the Craigslist Notification app is not always ad-free. It will be when I look at it, and then I go into it again, maybe even two minutes later, and there are ads. I cannot figure out what to do. I have downloaded host file updates. I have not changed any configurations in the ad-free app b/c I don't understand what to change and what it would do...there are no instructions in the app...I am a complete techno newbie. If you could help me get rid of the ads permanently, or instruct me in how to configure the ad-free app, i'd greatly appreciate it. TIA!!
 

delta_foxtrot2

Senior Member
Feb 11, 2009
711
616
I've been using the ad-free app since rooting my phone two months ago and I love it...for the most part. I find that the Craigslist Notification app is not always ad-free. It will be when I look at it, and then I go into it again, maybe even two minutes later, and there are ads. I cannot figure out what to do. I have downloaded host file updates. I have not changed any configurations in the ad-free app b/c I don't understand what to change and what it would do...there are no instructions in the app...I am a complete techno newbie. If you could help me get rid of the ads permanently, or instruct me in how to configure the ad-free app, i'd greatly appreciate it. TIA!!

It's unlikely you'd ever be 100% adfree, it's just too much of a cat and mouse game and there is numerous ways to beat it.

If you enable TCPdump then run the apps and then open the TCPdump log screen it will show host names requested by the apps/browser on the phone.

You can then click on the hostnames and it will attempt to add it to your personal block list on the adfree web interface.
 
  • Like
Reactions: sushifor5

warrez

Senior Member
Nov 9, 2011
119
14
been trying to block ads on QR Droid i first tried the TCP Dump but it gave me empty list so i used alogcat and i got "www.gstatic.com/afma/sdk-core-v40.js" ad request and then my phone received "googleads.g.doublecheck.net:80/mads/....."

tried to add to hosts files

Code:
127.0.0.1 gstatic.com
127.0.0.1 googleads.g.doublecheck.net
127.0.0.1 www.gstatic.com
127.0.0.1 www.gstatic.com/afma/sdk-core-v40.js

but didnt block ads at all any help?

EDIT:

If you run adfree any changes you make will be lost next time it updates, instead we made a website so you can add additional hostnames, or stop a hostname from being added to the list.

where is this site is? link please...

EDIT 2:

i just noticed that there was "googleads.g.doublecheck.net" entry already in the adfree hosts file... but i'm still getting ads >.>
 
Last edited:

CUBENSIS

Senior Member
Aug 28, 2008
440
133
OnePlus 6T
Hi. I'm rooted on a sense 3.5 Rom. Ive used adfree in the past, but switched to adaway for a bit. Im trying out adfree again, but can't get it to work. The only entry it is adding to my hosts file is "127.0.0.1 localhost" . I've tried hoosing /data/data symlink. No difference. Also, the settings in adfree aren't sticking. 5 min later everything is set back to default. Any idea whati might be doing wrong?

---------- Post added at 06:17 PM ---------- Previous post was at 05:35 PM ----------

Hmmm...I just manually placed the mvps hosts file in /system/etc. Then I went to adfree and pressed update. It proceeded to replace the hosts file with a completely empty file. As I mentioned, I'm on sense 3.5 Rom on my htc incredible. Any idea why this would be happening?
 

delta_foxtrot2

Senior Member
Feb 11, 2009
711
616
been trying to block ads on QR Droid i first tried the TCP Dump but it gave me empty list so i used alogcat and i got "www.gstatic.com/afma/sdk-core-v40.js" ad request and then my phone received "googleads.g.doublecheck.net:80/mads/....."

tried to add to hosts files

Code:
127.0.0.1 gstatic.com
127.0.0.1 googleads.g.doublecheck.net
127.0.0.1 www.gstatic.com
127.0.0.1 www.gstatic.com/afma/sdk-core-v40.js

The hosts file only deals with host names, not URLs so the first entry should have been sufficient.

but didnt block ads at all any help?

Did you reboot to flush the DNS cache?

Also if it was being blocked that would be why it didn't show up with TCPdump, but without knowing which website/app I wouldn't be able to comment any further.

where is this site is? link please...

http://adfree.bigtincan.com
 

sushifor5

New member
Nov 12, 2011
2
0
It's unlikely you'd ever be 100% adfree, it's just too much of a cat and mouse game and there is numerous ways to beat it.

If you enable TCPdump then run the apps and then open the TCPdump log screen it will show host names requested by the apps/browser on the phone.

You can then click on the hostnames and it will attempt to add it to your personal block list on the adfree web interface.

Sorry to be dense (but I'm really a techno dunce, LOL)...I went into the adfree app, checked the box for TCP and then went into the craigslist app, went back to adfree, pushed the menu button, pressed the TCP option and all i got was a blank screen. Am i doing something wrong? thanks much for your help!
 

dind84

Member
Oct 22, 2011
30
3
Have you tried the Application adsRemover in the app section of this forum? Is it working with this device?
 

warrez

Senior Member
Nov 9, 2011
119
14
The hosts file only deals with host names, not URLs so the first entry should have been sufficient.



Did you reboot to flush the DNS cache?

Also if it was being blocked that would be why it didn't show up with TCPdump, but without knowing which website/app I wouldn't be able to comment any further.



http://adfree.bigtincan.com

if the first enrty should have been sufficient it still didnt block the ad on QR Droid... try and install it ( free ) and see for yourself.. i dont get what i did wrong...
 

Nainconpetant

Senior Member
Oct 22, 2011
192
35
Terrebonne, Quebec
i guess im stupid but i didnt backup the hosts file before replacing it

/system/etc/hosts

Here is a screenshot of what it look like now




I actually want to get rid of it to see vids on one particular site.
the site is www.rds.ca

is there a way to add an exception or something like that for this site only?

so far i saw that its the only site that have a problem with the ad blocking.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    You can find the latest version of this app on the slideme app store.

    http://slideme.org/application/adfree

    This is the old thread, I started a new thread in the general section => http://xdaforums.com/showthread.php?p=40759351

    ================================================================================================================================================

    Spoiled by ad free browsing on my normal desktop computer it became increasingly annoying seeing all the ads on my phone. However it's really easy to make them disappear, although you most likely will need root on the phone.

    Download the hosts.txt file from http://www.mvps.org/winhelp2002/hosts.txt, you may need to run dos2unix over the file to remote \r characters, rename the file hosts and copy it to /system/etc on your phone and say goodbye to most ads.

    You may find the list to be imperfect, for example some feedburner URLs are "blocked" as a result which can screw with RSS feeds, although it's annoying giving too much info to Google but like everything else in life some things are a trade off.

    If you want to root your phone, try this article.
    7
    I'm getting a fatal error saying that my copy is too old, I'm using latest version from market/play store 8.44

    I've been dreading this day since my hdd was wiped a while back, I've uploaded a new version using a new signing key 0.8.45, but you'll need to remove the current version first.
    6
    I really would like to see Adfree in another store like FDroid!!

    Cheers.!

    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
    5
    new Ad blocker

    Hi folks,

    I have released my own hosts-based ad blocker named AdAway, it can be found on the market with the following features:

    • AdAway is Open Source
    • AdAway lets you select your own sources of hosts files
    • You can add exceptions to your Whitelist if some apps are not working with ads disabled
    • You can define extra hostnames in your own Blacklist

    Market: market.android.com/details?id=org.adaway
    Website: code.google.com/p/ad-away
    Source: gitorious.org/adaway

    I would like to hear suggestions and ideas for possible future releases. Please look into the Issue tracker before and add your suggestions there: code.google.com/p/ad-away/issues/list
    5
    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.