HOME AdBlock Hosts File for Droid
iPhone Guides Android Guides
Writing Arcade Other Projects...

AdBlock Hosts File for Android

Android is a Linux-based operating system, which means that you can add entries to the hosts file to redirect ad sites to neverland. This effectively wipes out the ads in the browser and in all the apps, giving your device a nice speed boost along the way.

Automatic Method!

  1. Make sure your device is rooted.
  2. Download and install Adfree from Google Play.
  3. Tap Download and Install Hosts. Let it install.
  4. Power off your phone and power it back on.

Manual Method

  1. Make sure your device is rooted and you know how to use ADB.
  2. Download the hosts file using your Droid by long-pressing on the link and saving it to the SD Card. Alternatively, you can manually place hosts.txt on your SD card under download using your computer.
  3. Open up a new Terminal (Mac) or CMD (Windows) window and begin an ADB shell session as normal. Enter this ADB code, line by line, pressing return after each line:
    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    cat /sdcard/download/hosts.txt > /etc/hosts
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot

Bugless Beast on Droid 1

  1. Launch Bugless Beast toolkit. Tap Script Helper.
  2. Tap ads -b. Tap Yes.
  3. Restart by holding down r and pressing the power button.

Comments