Skip to content

Adds a hosts file to block advertisements, trackers, etc.

License

Notifications You must be signed in to change notification settings

SchweGELBin/hosts_kernelsu

Repository files navigation

KernelSU - Hosts

Adds a hosts file to block advertisements, trackers, etc.

Install

Apply

There are 2 options, how you can manage your hosts file:

Uphosts

  • Install a Terminal app like termux
  • Run the command "uphosts"
  • Choose your options to manage your hosts file:
# General
Help    - Show this message
Empty   - Clear Hosts / Disable Hosts

Basic   - StevenBlack's Unified hosts
Spark   - StevenBlack's Unified hosts
          with all extensions except social
Full    - StevenBlack's Unified hosts
          with all extensions

Backup  - Backup current hosts
Restore - Restore current hosts

Custom  - Customize hosts
Cleanup - Cleanup Hosts
Cancel  - Cancel this script
  • Customize your hosts file
# Custom
Help   - Show this message
Single - Add a single host

Addon  - Append to hosts file
Hosts  - Replace hosts file
File   - Copies another file's content

Cancel - Cancel this script

App

  • Install an App like AdAway
  • Give that App root access via the KernelSU Manager
  • Manage your hosts file with that app

Build

  • Fork this repository
  • Run Action "CI Build"

Thanks / Credits