If you are looking for a final solution to get rid of ads, malware, and trackers forever, then Re-Malwack is the best choice for you and your family.
- Table of Contents
- Features // What makes this module special?
- Requirements
- How to use Re-Malwack
- Download
- How does it work? - Frequently Asked Questions (FAQ)
- Activity
- Credits List
- Donations
Important
⚠ I'm not available in telegram currently until further notice. This warning will be removed once I return back....someday maybe.
- ⛔ It blocks ads, malware and trackers By default[*], you can also block porn sites, fake news sites, gambling sites and social sites, and even use safebrowsing! (note: may break some youtube features, use with caution!)
- ⚙ Allows you to modify and manage hosts file (whitelist & blacklist urls, reset hosts, auto update adblock)
- 💡 A smart protection status indicator in module description
- 📦 Shipped with a curated list of adblock profiles [!]
- 💫 Supports wildcarded whitelisting
- 🧰 An app-like WebUI, Built with Vite and Material design Expressive UI (Thanks to @KOWX712 for his Awesome work)
- ⏸ Ability to pause/resume adblock without disabling the module
- ⛑ Can handle hosts mounts by itself
- ▶ Module action button purpose customization (Pause/Resume protection - Update hosts)
- 🔄 Can indicate/show blocked entries count by each enabled blocklist & enabled host source
- 🔎 Ability to query domain, and check whether it's blocked, or redirected
- 📝 Supports adding custom hosts rules
- ✨ Easy to use, Just set and forget!
- 💉 Supports zn-hostsredirect
- 🧲 Ability to import your adblock setup from AdAway, bindhosts, and Cubic-Adblock [@]
- 📝 A detailed logging system to debug module behavior and to detect bugs
- 🛠 Supports Magisk, APatch and KernelSU (and their variants)
- 👀 Also can protect non-root devices
- 🔧 Regularly maintained & updated
- ❤ Made with love and care
Caution
[*] Re-Malwack comes with a pre-configured hosts sources setups in which can be used freely without worrying about configuring everything from scratch. However, in-app ads such as sponsored posts on Facebook or spotify ads that show up for "non-premium" users are NOT blocked because they are elements inside the app itself, The type of ads that get blocked are those ads that show up in websites and in-app pop-up external ads by Google etc.
Tip
[!] A profile is a group of hosts sources in one file, and it's automatically selected - during installation of the module - based on your device resources, which makes sure you will get a perfect adblocking experience yet not sacrificing all your device performance, you may also switch between profiles and even customize everything as you like!
Tip
[@] Supported stuff for import: Hosts sources, custom rules (bindhosts only), whitelist and blacklist (bindhosts and AdAway only)
Caution
Also avoid using other types of adblock files, only adblock files in hosts format (Linux/Windows) are accepted
Important
- Stable internet connection. (You can also install the module without internet, then setup things later after reboot)
- and umm...just a working brain.
Caution
- Do not use this module with any other ad blocker module/app, such as AdAway and Magisk's built-in systemless hosts module.
- In case module is active but ads are not blocked in browsers such as chrome/chromium-based browsers, Please enable superuser mode in KSU manager app for target browser app then try again*
- Re-Malwack WebUI can be accesed using KSU, 5ec1cff's KSUWebUIStandalone/KOW's Fork of KSUWebUIStandalone, Apatch and MMRL
- Run
suthen runrmlwkin the terminal to show up the next help message which will clarify how to use it:
[i] Usage: rmlwk [--argument] OPTIONAL: [--quiet]
--update-hosts, -u: Update the hosts file.
--profile, -p <default|lite|balanced|aggressive|custom>: Switch adblock level profile.
--auto-update, -a <enable|disable>: Toggle auto hosts update.
--custom-source, -c <add|remove|edit> ...: Add/remove/edit custom hosts sources.
--custom-rule, -cr <add|remove> <IP> <domain>: Add or remove custom hosts rules.
--reset, -r: Reset hosts file to default.
--query-domain, -q <domain>: Query if a domain is blocked, redirected, or not blocked.
--adblock-switch, -as: Toggle protections on/off.
--block-trackers, -bt <disable>, block trackers, use disable to unblock.
--block-porn, -bp <disable>: Block pornographic sites, use disable to unblock.
--block-gambling, -bg <disable>: Block gambling sites, use disable to unblock.
--block-fakenews, -bf <disable>: Block fake news sites, use disable to unblock.
--block-social, -bs <disable>: Block social media sites, use disable to unblock.
--whitelist, -w <add|remove> <domain|pattern> <domain2> ...: Whitelist domain(s), only whitelist one domain at a time, otherwise use wildcard or use multiple domains in case of unwhitelisting.
--blacklist, -b <add|remove> <domain1> <domain2> ...: Blacklist domain(s).
--export-logs, -e: Export logs to a tarball in Download directory.
--help, -h: Display help.
Example command: su -c rmlwk --update-hosts
-
You can still protect your device without needing for root access, just copy paste this url into DNSnet, or AdAway, or any other app of your choice :
https://raw.githubusercontent.com/ZG089/Re-Malwack/refs/heads/hosts-update/hosts
Note
Default hosts sources used for non-root hosts can be found here You can also see default hosts sources used for the module itself here
Tip
- You can download the module from:
- Or from Github Releases section.
Tip
How does this module block ads?
- It uses your system's
hostsfile systemlessly to block ads and malware by denying access for your phone to connect to them completely.
Tip
There's a problem when using the module
- Export logs via module WebUI, then create an issue explaining your problem and attach ss of the problem if there is any. You can also report your problem in our telegram support group as well.
Tip
AdBlock doesn't work on some apps (ex: Chrome), or doesn't work completely
- As was said above, Make sure you have disabled umount for the target app (if you use KernelSU), also make sure you disabled LiteMode (if you use APatch). If nothing works then create an issue about it or report the problem in our telegram support group. If you've already done these, and no result then switch to a stronger adblock profile/add more robust host source from your own choice.
Tip
Can I contribute in something?
- You may suggest features via Github Issues or in our Telegram support group, You may also create your own fork of this repo, apply your modifications and then do a pull request explaining the change, and its importance.
Note
- If you want to reach out to @person0z, contact him using his email: root@person0z.me.
- @KOWX712
- @ikuyo-kita07
- @GalaxyA14user
- @myst-25 (Testing & feedback)
- @dnascorpionofficial (Testing & feedback)
- @person0z - Malwack Founder
- @topjohnwu - Magisk Founder
- jqlang/jq - Command-line JSON processor
As an 11th-grade student who have to study almost all the time, and at the same time taking care of projects like this, your support would mean the world to me. If you find this module useful, please consider making a small donation using the button below, this will make a difference in my life 😁❤️
