Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Brenardo
Old
#1  
Senior Member - OP
Thanks Meter 41
Posts: 433
Join Date: Nov 2010
Default [Q] Another Ad Blocker question...

I have used adfree for a long time and never had any issues until the TB. For some reason the ads are still all over the place. I have updated host files and all I know to do... any suggestions?
 
shock2sys
Old
#2  
shock2sys's Avatar
Member
Thanks Meter 5
Posts: 70
Join Date: Dec 2010
Location: Indiana
i'm assuming that you're rooted, right? i'd verify that your hosts file in /etc has entries other than for the local host.
alternatively, you could try using dolphin hd with the ad-blocker add-on.
 
yareally
Old
(Last edited by yareally; 12th April 2011 at 04:11 AM.)
#3  
yareally's Avatar
Senior Member
Thanks Meter 205
Posts: 1,395
Join Date: Feb 2011

 
DONATE TO ME
open the /system/etc/hosts file on your android phone via the command line or with a file explorer (must be rooted and have write permissions for /etc/system/hosts)

add the ad server list from http://pgl.yoyo.org/adservers/ to the file

(if you change the IPs to 0.0.0.0 instead of 127.0.0.1, the ads will be killed faster, since they wont die in the loopback with 127.0.0.1, since 0.0.0.0 is an invalid address)

If you find ad server lists from elsewhere, add it to the file and filter out extras doing a unique sort on it. I normally keep the same list on my desktop/laptop and phone and add to it as I go using something like live http headers in firefox to find new ad servers

On a linux box you can do a unique sort with:

sort -u oldFileName > newFileName

Here is my list of adservers I block from found lists and ones I added myself.
http://pastebin.com/pF1QNEm2
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...