[Android General] mikbeHD:
Introduction

Adblock Plus hides ads for wireless and even mobile data (see http://xdaforums.com/showthread.php?t=2726443), but it does not always prevent connections to the servers.

I decided to also block the servers by using NoRoot Firewall, but manual insertion of thousands of records would be needed.

Therefore, I put together a small shell script which allows to convert Adblock and also Microsoft filterlists to a blacklist and then import this blacklist as primary filter into NoRoot Firewall.

Requirements

Linux/OS X

adb

pax

Android Backup Extractor

sqlite3

shell script norootfirewallAdsFilterConverter.sh

They can be installed as mentioned in http://xdaforums.com/showthread.php?t=2011811

abe.jar must be in the script directory.

adb must be in path variable.

sqlite3 can be installed via macports for OS X and should be available for linux too.

Download Link

>> View attachment 2994679 <<

Instructions

1. Install the required tools and create a working directory. Unzip norootfirewallAdsFilterConverter.sh.zip. Start a terminal/shell from this directory and run norootfirewallAdsFilterConverter.sh.

#
# Description:
#
# This bash script converts ads filter lists and imports them
# to noRoot Firewall. Supported are ms filter lists and adblock
# lists.
#
# The script will backup the device filters, add ms/adblock
# filter lists, and restore the modified backup to the device.
# NoRoot Firewall has three types of filters: apps, primary
# and postpositioned. Only apps and postpositioned filters will
# be restored. The primary filters consist of custom defined
# filter in the file list_primary_custom_in.txt and the
# ms/adblock filter lists. The lists are separated because
# you don't want to maintain a few custom filters within
# thousands of ms/adblock filters.
#
# Usage:
#
# Run option 1 to define an example primary custom filter. Modify
# this file as required.
#
# Run option 2 to define an example filter url file. Not all
# given files have to be used later.
#
# Run option 3 to download filters given in filter url file.
#
# Run option 4 to run adb backup.
#
# Run option 5 to extract apps and postpositioned filters
# with Android Backup Extractor.
#
# Run option 6 to create the filter rules from:
# -apps and postpositioned filters (list_apps_and_post_in.txt)
# -custom primary filters (list_primary_custom_in.txt)
# -downloaded filters (all other *.txt)
#
# Run option 7 to pack backup with Android Backup Extractor.
#
# Run option 8 to restore modified backup with adb to device.

In input file list_primary_custom_in.txt, type in any existing primary rules. If no file exits, a new file containing some urls will be created. The allowed format is the same as in NoRootFirewall, i.e.

Notes

I recommend to create two post filter rules allowing any connection to port 80 or 443. Thus, no interaction with NoRootFirewall is needed when surfing as only the blacklist is considered. The creation should be done prior step 1.

View attachment 2942129

If you don't want to connect to google site when surfing, you should add the google ip ranges to your filterlist of the browser.

For firefox for example, you can add this to the file list_apps_and_post_in.txt after step 5.

173.194.*.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.128.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.129.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.130.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.131.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.132.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.133.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.134.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.135.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.136.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.137.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.138.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.139.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.140.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.141.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.142.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.143.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.144.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.145.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.146.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.147.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.148.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.149.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.150.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.151.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.152.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.153.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.154.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.155.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.156.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.157.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.158.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.159.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.160.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.161.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.162.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.163.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.164.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.165.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.166.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.167.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.168.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.169.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.170.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.171.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.172.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.173.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.174.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.175.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.176.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.177.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.178.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.179.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.180.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.181.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.182.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.183.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.184.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.185.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.186.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.187.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.188.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.189.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.190.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.191.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.192.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.193.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.194.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.195.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.196.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.197.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.198.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.199.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.200.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.201.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.202.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.203.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.204.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.205.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.206.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.207.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.208.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.209.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.210.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.211.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.212.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.213.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.214.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.215.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.216.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.217.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.218.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.219.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.220.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.221.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.222.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.223.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.224.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.225.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.226.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.227.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.228.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.229.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.230.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.231.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.232.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.233.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.234.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.235.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.236.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.237.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.238.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.239.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.240.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.241.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.242.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.243.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.244.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.245.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.246.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.247.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.248.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.249.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.250.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.251.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.252.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.253.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.254.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
209.85.255.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.32.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.33.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.34.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.35.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.36.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.37.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.38.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.39.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.40.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.41.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.42.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.43.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.44.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.45.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.46.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.47.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.48.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.49.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.50.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.51.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.52.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.53.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.54.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.55.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.56.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.57.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.58.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.59.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.60.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.61.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.62.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
216.239.63.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.160.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.161.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.162.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.163.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.164.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.165.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.166.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.167.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.168.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.169.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.170.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.171.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.172.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.173.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.174.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.175.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.176.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.177.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.178.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.179.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.180.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.181.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.182.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.183.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.184.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.185.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.186.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.187.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.188.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.189.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.190.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
64.233.191.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.0.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.1.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.10.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.11.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.12.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.13.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.14.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.15.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.2.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.3.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.4.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.5.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.6.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.7.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.8.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.102.9.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.64.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.65.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.66.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.67.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.68.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.69.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.70.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.71.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.72.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.73.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.74.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.75.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.76.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.77.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.78.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.79.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.80.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.81.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.82.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.83.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.84.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.85.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.86.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.87.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.88.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.89.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.90.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.91.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.92.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.93.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.94.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
66.249.95.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.192.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.193.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.194.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.195.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.196.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.197.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.198.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.199.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.200.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.201.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.202.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.203.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.204.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.205.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.206.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.207.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.208.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.209.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.210.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.211.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.212.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.213.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.214.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.215.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.216.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.217.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.218.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.219.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.220.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.221.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.222.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.223.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.224.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.225.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.226.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.227.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.228.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.229.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.230.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.231.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.232.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.233.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.234.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.235.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.236.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.237.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.238.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.239.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.240.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.241.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.242.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.243.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.244.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.245.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.246.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.247.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.248.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.249.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.250.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.251.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.252.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.253.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.254.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
72.14.255.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0
74.125.*.*,0,-1,0,"",1413580702741,2,2,Firefox,org.mozilla.firefox,"","",0,10280,0

Testing

The script has been tested on HTC One M7, android 4.4.3

NoRoot Firewall version was 2.2.5

Hopefully some of you will find this useful.