UnbelovedHosts

Xposed hosts blocker.

This app blocks host names of advertising, malware, spam, phone-home etc sites. You could import "hosts"-files by given urls.
With this app you have no more to alter the /etc/hosts file on the system partition, which was also a problem on some devices (eg Nexus 7) because changes where reverted after reboot.

Technical:
Name resolution request are answered with "No address associated with the hostname". This is even better than a common hosts file with redirects to 127.0.0.1, because no connection attemp follows. For logging of hostnames is no tcpdump needed!

Browser:
If you want to block content of websites, you have to use a browser app which does not tunnels everything through a proxy! This is because the proxy does also the name resolution. Negative examples I found: Google Chrome, Mozilla Firefox or Opera Browser does not work.
I'm using Dolphin Jetpack, which works fine for me. Some more info in post #47 of the XDA thread.

This app will NOT be release in the Play Store because of Google's policy. Other apps like AdAway or AdFree where removed in the past... But you could anyway donate in the Play Store and/or on my website.

Limitiation:

  • No support of native querying binaries.

Donation:

  • You support this app!
  • Some hosts file import/export/sharing options
  • Logging of not denied host names
  • Blacklist/Whitelist/Patterns (Regex)
  • Timed download: 150 minutes after reboot, then every 4 days

Permissions:

  • RECEIVE_BOOT_COMPLETED: set timer for download
  • ACCESS_NETWORK_STATE: download only via W-Lan
  • INTERNET: downloading of files
  • WAKE_LOCK: don't sleep while dl/import
  • EXTERNAL_STORAGE: export/import files

This app connects only to the websites you see for downloading hosts files!

Website: http://apk.defim.de

Author(s): 
Package: 
de.defim.apk.unbelovedhosts
Version name: 
3.8.6
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Monday, June 19, 2017 - 03:16
Changes: 

See in the app or on website

Version name: 
3.7.1
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Saturday, February 20, 2016 - 15:28
Changes: 

Android 6: Better background updating (doze mode)

Version name: 
3.5.8
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Monday, November 16, 2015 - 10:47
Changes: 

Fixed FC

Version name: 
3.5.7
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Monday, October 12, 2015 - 09:41
Changes: 

Translation: Chinese (simplified) by alex king
Updated translations

Version name: 
3.5.6
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Monday, October 5, 2015 - 15:21
Changes: 

Translation: Chinese (traditional) by alex king

Version name: 
3.5.5
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Friday, August 28, 2015 - 01:05
Changes: 

Fixed a URL

Version name: 
3.5.4
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Friday, August 7, 2015 - 20:00
Changes: 

See in-app changelog

Version name: 
3.5.3
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Wednesday, July 1, 2015 - 02:48
Changes: 

Many internal changes
If you are using apps to crack please note
http://forum.xda-developers.com/showpost.php?p=61601354&postcount=406

Version name: 
3.1.1
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Sunday, March 8, 2015 - 21:46
Changes: 

(no reboot needed)
Fixed problem with CM12

Version name: 
3.1.0
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Tuesday, March 3, 2015 - 02:15
Changes: 

Full Lollipop support (permissive and enforcing)

Version name: 
3.0.1
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Tuesday, February 17, 2015 - 16:24
Changes: 

Initial Lollipop support
- Enforcing mode not is supported yet
- Switch to Permissive and soft-reboot

Version name: 
3.0.0
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Tuesday, February 17, 2015 - 09:10
Changes: 

THIS VERSION IS ONLY FOR LOLLIPOP
Initial Lollipop support
- Enforcing mode not is supported yet
- Switch to Permissive and soft-reboot

Version name: 
2.5.5
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Friday, January 30, 2015 - 02:35
Changes: 

Display of file size fixed

Version name: 
2.5.4
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Monday, January 12, 2015 - 02:43
Changes: 

Fix issue with exporting to Gmail v5+

Version name: 
2.5.3
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Thursday, November 27, 2014 - 12:51
Changes: 

Fix issue with TouchWiz (Crash/Loop)
Thx @joluke for testing

Version name: 
2.5.2
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Monday, November 17, 2014 - 03:40
Changes: 

Timer: Show number of added hosts in status bar icon of notification, in case more than 0
- Note: You device needs support for this (or enabled it with latest NotifyClean)
Some small fixes
Updated translations

Version name: 
2.5.1
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Monday, October 20, 2014 - 17:45
Changes: 

Fixed possible FC

Version name: 
2.5.0
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Friday, September 19, 2014 - 09:06
Changes: 

Flush DNS cache after hostname changes
Internal optimizations
Updated translations

Version name: 
2.1.1
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Friday, September 5, 2014 - 22:27
Changes: 

WARNING: Before this update you HAVE to unhide the launcher icon in the settings if you had hidden it! You could enable it later again
Fix a FC on Gingerbread
Larger "count" row for collection on big displays
Host files with more then 10MB will not added automatically anymore
Updated translations
Translation: Russian by combat44
Hint: Maybe you have to recreate your app link in the launcher after this update.
Initial support for different app icons. Write on XDA if you want to add yours.

Version name: 
2.1.0
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Saturday, August 30, 2014 - 17:55
Changes: 

New: Collect host names and request count
- Enable collecting in the settings
- Open by menu item

Version name: 
2.0.1
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
210091b0a6778317541416337b456bce
Uploaded on: 
Saturday, August 16, 2014 - 13:09
Changes: 

Fixed a NPE in timer notification (Android 4)

Version name: 
2.0.0
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
bcf70832b4ab7221025f61d0d8f27b7f
Uploaded on: 
Wednesday, August 13, 2014 - 10:50
Changes: 

Android 2.3 Gingerbread (API10) support
Updated translations

Version name: 
1.1.4
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Wednesday, July 2, 2014 - 18:51
Changes: 

Updated translations
Translation: Japanese by RyokoN

Version name: 
1.1.3
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Wednesday, June 25, 2014 - 03:45
Changes: 

New options for Regex-Pattern/Whitelist/Blacklist:
- Clear, Import, Export, Share, Open
Translation: French by Gynoid

Version name: 
1.1.2
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Tuesday, June 3, 2014 - 06:27
Changes: 

New option: Set answer mode
Updated translations

Version name: 
1.1.1
Release type: 
Experimental (high risk of bugs)
Uploaded on: 
Saturday, May 31, 2014 - 21:11
Changes: 

No longer use logging of Xposed
Synced translations with oneskyapp.com

Version name: 
1.1.0
Release type: 
Stable (low risk of bugs)
Uploaded on: 
Saturday, May 17, 2014 - 05:05
Changes: 

Update for Xposed 2.6 beta

Version name: 
1.0.9
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
2e0f95fb7da9db69d3f7496797cf0c88
Uploaded on: 
Sunday, May 11, 2014 - 15:42
Changes: 

Fixed coloring for timer in the logfile

Version name: 
1.0.8
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
1fe536b1f7cbc36dfcc4340a3f4254e1
Uploaded on: 
Saturday, May 3, 2014 - 13:54
Changes: 

Bugfix: FC on unpack zip,gz,bz,tar with timer

Version name: 
1.0.7
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
3f45af16376441ec1aec2e0cc993ce31
Uploaded on: 
Saturday, May 3, 2014 - 03:28
Changes: 

Support for zip,gz,bz,tar

Version name: 
1.0.6
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
9f7e9751ae3307cac629333bd0c6d19f
Uploaded on: 
Sunday, April 27, 2014 - 16:38
Changes: 

Notification: Show added hosts count
Translation: Portuguese by supergonkas
Translation: Indonesian by dewadg
Translation: Greek updated
Notification while module is loading hosts file
Detection of WSM Tools

Version name: 
1.0.5
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
357b3dac276d2b342958e47aa0bb28a1
Uploaded on: 
Thursday, April 24, 2014 - 04:33
Changes: 

Bugfix: Move settings from cache to files dir
Added warning about huge hosts files
Translation: Greek by pugsang

Version name: 
1.0.4
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
d7f5339320831de814583f4e48565377
Uploaded on: 
Wednesday, April 23, 2014 - 04:17
Changes: 

Some small fixes
New options (donators):
- Blacklist
- Whitelist
- Patterns (regex)

Version name: 
1.0.3
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
4d2120986e4bd924f45908b24026cbed
Uploaded on: 
Monday, April 21, 2014 - 16:18
Changes: 

Many improvements and enhancements
Performance of huge hosts files not extensively tested!

Version name: 
1.0.2
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
d69e67b99c29bc6eef14616e735a49dc
Uploaded on: 
Sunday, April 20, 2014 - 07:34
Changes: 

Added main switch to disable host blocking
Logfile: Text could be copied
Added toast with count of new imported hosts
Automatically update (donator)
- New option: Enable logging
- New option: Use only W-Lan
- New option: Notification while task
- New option: Notification when done
Other small changes

Version name: 
1.0.1
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
66f6b4d69ff1d2e7d75a1716e591813f
Uploaded on: 
Thursday, April 17, 2014 - 11:38
Changes: 

Fixed FC in settings

Version name: 
1.0.0
Release type: 
Stable (low risk of bugs)
MD5 checksum: 
dd48230c5768aadda64ae90f3fa25583
Uploaded on: 
Thursday, April 17, 2014 - 08:26
Changes: 

First release in Xposed Repository