Bindhosts

bindhosts

Magisk KernelSU APatch
v2.1.5
Version
252.25 KB
Size
Aug 24, 2026
Updated

Module Info

  • Contributors backslashxx, KOWX712, Rem01Gaming, rifsxd, bryanyee33
  • Source Code View Repository
  • Tags
    #Bindhosts #Hosts #APatch #KernelSU #Magisk Module #Ad Blocking #Systemless

About this module

Take absolute control over your network traffic with Bindhosts. This ultra-lightweight module provides seamless, systemless injection of custom hosts files, granting you robust ad and tracker blocking without modifying your core Android partitions.

Systemless Ad Blocking

Clean up your web experience at the DNS level. Bindhosts efficiently filters malicious requests with virtually zero battery or CPU overhead.

Native Filtering

Blocks intrusive ads and telemetry natively by routing known malicious domains directly to a null IP (0.0.0.0).

Bind Mount Magic

Overlays your custom hosts file via `mount --bind`, ensuring your `/system` partition remains completely untouched and intact.

Universal Support

Engineered to work flawlessly across all modern root managers, including Magisk, KernelSU, APatch, and KernelSU Next.

Under the Hood: Systemless Injection

Instead of flashing a modified file to your system partition, Bindhosts utilizes Android's mount namespace capabilities. During boot, your root manager executes a script that temporarily binds a custom hosts file over the original, providing a seamless filtering environment.

# Conceptual execution of systemless hosts
mount --bind /data/adb/modules/bindhosts/system/etc/hosts /system/etc/hosts
# Example of traffic routing inside the hosts file
0.0.0.0 adserver.example.com
0.0.0.0 tracking.analytics.net

Frequently Asked Questions

No. Unlike VPN-based ad blockers that require constant background processing, Bindhosts acts at the OS level. It actually saves battery by preventing your device from downloading unwanted ad assets and telemetry.

The module works passively in the background once flashed via your root manager. For managing specific host sources, you can utilize compatible terminal scripts or third-party host management apps that recognize systemless implementations.