README.md

June 23, 2026 · View on GitHub

Image

Note

Enables AdAway to write a custom hosts file to /system/etc/hosts on KernelSU, SukiSU, APatch, Magisk, and their variants.

Important

Features ✨:

  1. Requires AdAway to be installed — aborts installation if not found.
  2. Mounts /system/etc/hosts via bind mount at early boot.
  3. Copies system hosts file during installation for seamless integration.
  4. Applies correct SELinux context to hosts file automatically.
  5. Auto-refreshes AdAway after hosts file is mounted.
  6. Sends system notification when hosts file is applied successfully.

Tip

  1. Supports Magisk KernelSU KernelSU Next APatch SukiSU and their variants.
  2. Minimum Android 10 SDK 29.

Warning

Disclaimers 🛡️:

  • Use at your own risk. No guarantees are made regarding stability, compatibility, or safety. Always back up your data before installing anything.
  • These works are tested on specific devices only. Behavior on other devices may vary significantly.
  • The author reserves the right to discontinue, modify, or remove any module or plugin at any time without prior notice.

Caution

Warning ☢️:

  1. The developer takes no responsibility for any damage, data loss, or device malfunction caused by the use of these works.
  2. System modifications can be unpredictable. What works on one device may break another.
  3. Always have a recovery solution ready — TWRP, ADB, or fastboot — before proceeding.
  4. If you do not fully understand what a modification does, do not apply it.
  5. Redistribution, modification, or repackaging of these works without explicit permission from the author is strictly prohibited.
  6. Rooted devices with custom ROM may behave differently. Proceed with extra caution.
  7. Any modification applied to the system is your decision. Think before you act.