PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-24-2011, 04:08 PM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Block Ads in Android Apps

EDIT: You don't need my instructions below unless you want to experiment. manekineko says is simpler just to download AdFree from the Market.


OK, I just tested this out and it works. Basically, listed below are the instructions to block ads from showing up in Android Apps (usually the free ones from the market). I found this trick by searching through Google.

Quote:
This modification blocks advertisements from being displayed on your phone as well as statistics data that may be collected by websites you visit. These statistics can include your location, browser type, device type, how long you’re on a web page, and more. This mod blocks that info from being sent as well. Enjoy your ad-free Android phone.
So here are the instructions. This assumes you know how to edit the conf/froyo.user.conf file. For illustration purpose, I assume your Android files (zImage, rootfs.img, system.ext2, startup.txt, etc) are located in the "andboot" directory on your SD card (if not, adjust the instructions below accordingly):
  1. Download the attachment (hosts.zip) and extract it. The extracted file is "hosts"; copy it to your "andboot" directory on your SD card.
  2. Edit the froyo.conf.user file located in your andboot/conf directory and add the following line to the custom_shells section at the end:
    Quote:
    mount --bind /sdcard/andboot/hosts /system/etc/hosts
  3. Save froyo.conf.user
  4. That's it! When you boot into Android, the ads should be blocked.

NOTE: I don't know of any bad side effects as I just started testing for a couple hours. I hope this prevents wasted data communication bandwidth used to download unwanted ads.

EDIT: I have tested this on the FRX04 and Tiad8's BLAZN builds.
Hope you enjoy this "early" easter egg.
Attached Files
File Type: zip hosts.zip (121.5 KB, 32 views) Click for barcode!

Last edited by ndno; 02-24-2011 at 04:49 PM.
Reply With Quote
This post has been thanked 1 times.
 

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 06:35 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com