Remove All Ads from XDA

Block ads on your Android phone (2010-04-15)

116 posts
Thanks Meter: 12
By phaelox, Senior Member on 15th April 2010, 11:52 PM
Post Reply Email Thread
1st May 2012, 04:14 PM |#261  
lost101's Avatar
Recognized Contributor
Thanks Meter: 9,214
Donate to Me
Tried AdAway?
The Following User Says Thank You to lost101 For This Useful Post: [ View ] Gift lost101 Ad-Free
10th May 2012, 10:48 AM |#262  
Janfi_FR's Avatar
Junior Member
Flag Rognac (13)
Thanks Meter: 12
Originally Posted by lost101

Tried AdAway?


I'm using it on Hero and on my new phone, it works very well and it's full free software (GPL v3). Give it a chance !
21st May 2012, 05:15 AM |#263  
c_shekhar's Avatar
Inactive Recognized Developer
Thanks Meter: 40
Originally Posted by lost101

Tried AdAway?

Great suggestion....
works great!!!!
28th May 2012, 09:02 AM |#264  
Junior Member
Thanks Meter: 0
Donate to Me
AdAway is brilliant! So glad I read this thread and found it, massive thumbs up!
28th May 2012, 10:09 AM |#265  
1ceb0x's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 6,445
Donate to Me
There is AdFree also
10th July 2012, 05:12 PM |#266  
TheWall279's Avatar
Junior Member
Thanks Meter: 8
Sorry but this needs to be done. Your stealing from the developers. Put this in your application to view the hosts file and see if they are blocking the ads.

BufferedReader in = null;
Boolean result = true;
try {
in = new BufferedReader(new InputStreamReader(new FileInputStream("/etc/hosts")));
String line;
while ((line = in.readLine()) != null)
if (line.contains("admob")) // change this to whichever site you use
result = false;
} catch(Exception e){}
if(result == false){
Toast.makeText(getApplicationContext(),"admob detected in /etc/hosts", Toast.LENGTH_LONG).show();
public void adblockerFound(){
Do all the bad stuff here. I usually use a dialog and simply notify the user but I still let them use the application. I pretty much give them a guilt trip. But if you wanna be nasty you can do this.finish();

Ive also seen people ask for SU and then make the hosts file writeable and edit the admob out during the readline()
Post Reply Subscribe to Thread

hosts block filter ads

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes