bindhosts/bindhosts ? reverse-engineered prompt
Reverse engineered prompt
Build me a standalone Android root module called bindhosts that gives systemless hosts support for APatch, KernelSU, and Magisk.
I want it to block ads by managing hosts entries without changing the actual system partition, and it should work with a WebUI plus an action button so users can control it easily from their root manager. Make sure it can coexist with AdAway, and support different ways of applying hosts, including manager mount, bind mount, and OverlayFS, plus the redirect methods used by this project.
It should also be self updating, so it can check for updates and handle them smoothly. Keep it friendly for normal users, with clear status, install, enable, disable, and refresh behavior. If you need to, look up the current docs online so the implementation matches how these root managers and WebUI integrations actually work.
Are you gonna build this?
make sure you review the code using coderabbit