Adds a hosts file to block advertisements, trackers, etc.
  • Shell 93.4%
  • HTML 4.2%
  • CSS 1.4%
  • JavaScript 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-11-04 22:49:34 +01:00
.github/workflows Update release.yml 2024-01-06 16:32:24 +01:00
webroot Reorganize webroot 2024-02-26 19:28:15 +00:00
CHANGELOG.md Update CHANGELOG.md 2024-01-24 16:52:22 +01:00
customize.sh Update customize.sh 2024-01-06 16:03:30 +01:00
LICENSE Update LICENSE 2023-09-18 23:23:13 +02:00
module.prop Update module.prop 2024-01-24 16:51:14 +01:00
README.md Update README.md 2024-11-04 22:49:34 +01:00
service.sh Update service.sh 2024-01-06 16:01:59 +01:00
update.json Update update.json 2024-01-24 16:51:00 +01:00
uphosts.sh Update uphosts.sh 2024-01-24 16:49:49 +01:00

KernelSU - Hosts

GitHub Downloads (all assets, all releases)

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

Changelog

Build

  • Fork this repository
  • Run Action "CI Build"

Thanks / Credits