-
how to: get Adfree Android working on htc Incredible. :)
i take no credit for this, just found it over on XDA.
Here's how to get this working
1. Search for Adfree Android on the market
2. Install and run
3. allow it to download and install new hosts file, it will copy it to your sdcard and try to replace /system/etc/hosts but fail (it should reboot the phone shortly)
3a. Phone may reboot, this is fine, don't worry. if it doesn't reboot, check your SD card for a file simply named "hosts". if it's there, then continue on.
4. Power off the phone and hold Volume Down and power.
5. Use volume down to select recovery
6. In clockwork recovery volume down to "partitions menu" and hit the track pad to select
7. Select "mount /system", "mount /sdcard" and "mount /data"
8. Plug in your usb cord and open a command line on your pc
9. enter adb shell and type: cp /sdcard/hosts /data/data/hosts (This copies the AdFree hosts file from the SD Card to the /data partition, where it can be edited by AdFree)
10. mv /system/etc/hosts /system/etc/hosts.bak (This renames the current hosts file, rather than deleting it, should you ever want to remove AdFree and return to the original hosts file)
11. ln -s /data/data/hosts /system/etc/hosts (This creates a symbolic link, which allows AdFree to edit the hosts file stored in /data while allowing the OS to use the file as if it were stored in /system. You won't need to reboot into recovery each time you want to update the hosts file!)
12. Reboot and enjoy.
EDIT: updated with new method. just did this myself and it works great. it updates on it's own now.
ANOTHER EDIT: I just had a guy PM me asking "what if the phone doesn't reboot on step 3?"
it may or may not reboot. bottom line is that we want the "hosts" file to get downloaded from Adfree onto our SD card. so if the phone doesn't do an instant reboot when getting the hosts, just check your SD card for a file named "hosts". if it is there, then you are good to continue on and follow the rest of the steps. let me know if you need any further help. i did it the old way about a week or so ago, and then did it the new way last night so that i could have Adfree automatically update the hosts file on its own. the new method does work flawlessly.
Last edited by jasonb; 07-01-2010 at 10:48 PM.
Rooted HTC Incredible!

-
06-24-2010 01:39 AM
# ADS
-
there is also talk of creating a symlink which will let adfree android update hosts without any issues. will update when i know more.
Rooted HTC Incredible!

-
Not working for me. I followed instructions to the tee and didn't have any problems with the instructions. Adfree just didn't work blocking ads, rebooted my phone and then FC'd. Uninstalled, but hopefully a newer version will work better. Host files never updated correctly.
-
its been working fine for me all day long.
also the symlink has been confirmed to work, but i haven't done it yet.
Rooted HTC Incredible!

-
What does "6. In clockwork recovery volume down to "partitions menu" and hit the track pad to select" mean? I get to that point and I get lost. The red triangle appears.
-

Originally Posted by
adamhosman
What does "6. In clockwork recovery volume down to "partitions menu" and hit the track pad to select" mean? I get to that point and I get lost. The red triangle appears.
do you have ClockWorkMod recovery on your phone?
Rooted HTC Incredible!

-
No I do not, were can i find that please?
-

Originally Posted by
adamhosman
No I do not, were can i find that please?
you need to download the unrevoked reflash tool and flash it onto your phone.
Rooted HTC Incredible!

-
What do you guys experience ads with?
-

Originally Posted by
e-man
What do you guys experience ads with?
some apps include ads, pandora for example. obviously the browser has ads all over the place. doing this little hack blocks ALL ads from apps and the browser.
Rooted HTC Incredible!
