5,606,151 Members 34,333 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
bazzix
Old
#11  
Senior Member
Thanks Meter 1
Posts: 114
Join Date: Nov 2007
what about non rooted phones? I just got myself a htc desire, I'm happy with it but would be happier if I wouldn't be required to see all those ads.
 
phaelox
Old
#12  
Senior Member - OP
Thanks Meter 12
Posts: 107
Join Date: Feb 2009
Unfortunately root is required to remount /system as writable to be able to overwrite the hosts file.

Without root you could use another free app found in Market called "AdBlock", which functions as a localhost proxy. Just set localhost as proxy in APN/wifi settings. It doesn't come with a prefilled list of keywords to block though, but it works on a URL level, not FQDN, so you can specify a url or part of it to block.
[DEVICE] HTC Hero (Kimera 2.1[OC_non-BFS] w/ Sense)
[RADIO] 63.18.55.06PU_6.35.15.11
[RECOVERY] Amon-RA-hero-v1.6.2-blue
[BOOTSCREEN] Android Supernova for Hero
[HOW TO] Make your own bootscreen and create signed zip
[HOW TO] Block ads on your Android phone (2010-04-15)
 
tmayne
Old
#13  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Apr 2010
Just one more quick concern about the Data Connectivity issues: Certain areas of my university require a redirect page login in order to connect to wifi. However, it seems that at certain locations, I get the Data Connectivity error pop up repeatedly and my phone never makes it to the redirect page.

Actually it seems my phone only likes the wifi in my dorm. As stepping outside (to a library or classroom) and attempting to connect to the same wifi produces the error.

Is this an issue with the hosts file or with the phone itself??

Thanks!
 
phaelox
Old
#14  
Senior Member - OP
Thanks Meter 12
Posts: 107
Join Date: Feb 2009
If you DO see the wifi redirect page at SOME locations, then the hosts file is not blocking it (wouldn't make sense as it's likely an intranet page anyway). Sounds like wifi reception is unstable on your phone.

This is getting off-topic, but..... Have you already updated your radio? (the part of the ROM that handles everything related to GSM/3G/WiFi/Bluetooth connections). If not, here for the latest radio update.zip - flash through recovery.
[DEVICE] HTC Hero (Kimera 2.1[OC_non-BFS] w/ Sense)
[RADIO] 63.18.55.06PU_6.35.15.11
[RECOVERY] Amon-RA-hero-v1.6.2-blue
[BOOTSCREEN] Android Supernova for Hero
[HOW TO] Make your own bootscreen and create signed zip
[HOW TO] Block ads on your Android phone (2010-04-15)
 
tmayne
Old
(Last edited by tmayne; 22nd April 2010 at 07:07 PM.) Reason: EDIT: Reason for stalled "Starting download" is due to school's blockage of needed port
#15  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Apr 2010
Quote:
Originally Posted by phaelox View Post
If you DO see the wifi redirect page at SOME locations, then the hosts file is not blocking it (wouldn't make sense as it's likely an intranet page anyway). Sounds like wifi reception is unstable on your phone.

This is getting off-topic, but..... Have you already updated your radio? (the part of the ROM that handles everything related to GSM/3G/WiFi/Bluetooth connections). If not, or the latest radio update.zip - flash through recovery.

I should note that I'm using a Motorola Cliq...Handler 1.5 ROM. There is a radio update available for the Motorola Cliq (I'm currently using 1.3.18 and 1.4.8 has been released) but there are some apk incompatibilities with it (particularly Swype which I love...since it's in closed beta right now, there are no accessible updates for it unfortunately).

Since I bought my phone off of ebay, I can't send it back for a new one. The essential things work but it is a bit frustrating that it has some problems.
 
carbonyle
Old
#16  
carbonyle's Avatar
Member
Thanks Meter 0
Posts: 80
Join Date: Aug 2007
Quote:
Originally Posted by tmayne View Post
I should note that I'm using a Motorola Cliq...Handler 1.5 ROM. There is a radio update available for the Motorola Cliq (I'm currently using 1.3.18 and 1.4.8 has been released) but there are some apk incompatibilities with it (particularly Swype which I love...since it's in closed beta right now, there are no accessible updates for it unfortunately).

Since I bought my phone off of ebay, I can't send it back for a new one. The essential things work but it is a bit frustrating that it has some problems.
I'm pretty sure that updating radio won't affect other softwares since "radio" is *just* the piece of code that can handle GSM/Wifi/BT/3G, ... signals
 
phaelox
Old
#17  
Senior Member - OP
Thanks Meter 12
Posts: 107
Join Date: Feb 2009
I'll always keep an open mind, but from what I know, I'm with carbonyle on this.

Back on topic:

if you come across an app that still displays ad, regardless of my hosts file, please reply in this topic with the app/version (and a logcat output would be nice if you know how) and I'll see if I can find the ad provider domain and update the hosts file.
[DEVICE] HTC Hero (Kimera 2.1[OC_non-BFS] w/ Sense)
[RADIO] 63.18.55.06PU_6.35.15.11
[RECOVERY] Amon-RA-hero-v1.6.2-blue
[BOOTSCREEN] Android Supernova for Hero
[HOW TO] Make your own bootscreen and create signed zip
[HOW TO] Block ads on your Android phone (2010-04-15)
 
:No-Frost:
Old
#18  
:No-Frost:'s Avatar
Senior Member
Thanks Meter 270
Posts: 1,338
Join Date: Sep 2009
Location: Santiago
I'm confused... This is for blocking apps adds???
Twitter
----------------------------------------
Phone : HTC One
Recovery : CWM
ROM : ARHD (Latest)
----------------------------------------


HTC Magic 32A >> HTC Desire HD >> HTC ONE
 
r1enh
Old
#19  
Junior Member
Thanks Meter 3
Posts: 18
Join Date: Apr 2010
Quote:
Originally Posted by :No-Frost: View Post
I'm confused... This is for blocking apps adds???
Yes it is. See it like a firewall wich blocks mobile ads. Because the app wont recieve any response from the ad url it tries to reach, it'll simply not display the ad (like when you use the app without wifi or data connextion on)
 
:No-Frost:
Old
(Last edited by :No-Frost:; 25th April 2010 at 06:53 PM.)
#20  
:No-Frost:'s Avatar
Senior Member
Thanks Meter 270
Posts: 1,338
Join Date: Sep 2009
Location: Santiago
Wooooooo thanks... worked like a charm in glympse shazam and others =D...

PS: Air Control still have adds... Mmm how can we know what's the host for the add in the apps so we can contribute into blocking them???
Twitter
----------------------------------------
Phone : HTC One
Recovery : CWM
ROM : ARHD (Latest)
----------------------------------------


HTC Magic 32A >> HTC Desire HD >> HTC ONE

Tags
hosts block filter ads
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes