mirror of
https://github.com/SchweGELBin/hosts_kernelsu.git
synced 2026-08-24 10:56:11 +02:00
Adds a hosts file to block advertisements, trackers, etc.
- Shell 93.4%
- HTML 4.2%
- CSS 1.4%
- JavaScript 1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| webroot | ||
| CHANGELOG.md | ||
| customize.sh | ||
| LICENSE | ||
| module.prop | ||
| README.md | ||
| service.sh | ||
| update.json | ||
| uphosts.sh | ||
KernelSU - Hosts
Adds a hosts file to block advertisements, trackers, etc.
Install
- Download latest release
- Flash via KernelSU Manager
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
- AdAway for AdAway
- symbuzzer for the base
- StevenBlack for his hosts
- termux for its termux-app
- tiann for KernelSU and its Manager