https://github.com/energizedprotection/magisk
Energized Protection Magisk Module Development.
https://github.com/energizedprotection/magisk
android energized magisk module protection root
Last synced: about 1 year ago
JSON representation
Energized Protection Magisk Module Development.
- Host: GitHub
- URL: https://github.com/energizedprotection/magisk
- Owner: EnergizedProtection
- License: mit
- Created: 2020-05-21T08:57:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-13T00:06:54.000Z (over 5 years ago)
- Last Synced: 2024-02-23T22:42:01.888Z (over 2 years ago)
- Topics: android, energized, magisk, module, protection, root
- Language: Shell
- Size: 98.6 KB
- Stars: 27
- Watchers: 9
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Energized Protection - Magisk ⚡
ad.porn.malware blocking.
This repository consolidates several reputable filters, and merges them into couple of protection packs with duplicates and dead/inactive domains removed. A variety of tailored packs are provided.
A Trio Project with ❤ from Bangladesh, India & Zanzibar.
## Features
- __hosts based:__ based on `Hosts` file, all the bad stuffs blocked with `0.0.0.0`
- __any device:__ compatible with all devices, regardless of OS.
- __blockings:__ strictly blocks `advertisements, malwares, spams, statistics & trackers` on both web browsing and applications.
- __multiple formats:__ different `variants` for different `devices`.
- __speed you need:__ reduces page loading time upto `half` of its actual time!
- __privacy:__ with all these annoyances blocking, it also `increases` privacy.
- __saves expense:__ greatly decreases data consumption `saving` expense.
- __clean:__ no `extra` abracadabra!
Requirements
------
- Use Magisk v20.4 for better compatibility.
- Magisk v20.0 - 20.3 users are required to install `Busybox for Android NDK` module, unless the module won't work.
Run
------
- First Enable Systemless Hosts in Magisk Manager
- Open terminal then type:
```
su
ep -h
```
or
```
su -c ep -h
```
Usage:
------
### Script arguments
```
Usage: ep [options...]
-b, --black
>> Instantly add the domain(s) to hosts.
> e.g., ep -b example.com new.example.com www.example.com
-B, --blacklist
>> Add the domains in blacklist file to hosts.
>> blacklist file in /sdcard/EnergizedProtection directory.
> e.g., ep -B
-c, --clear
>> Clear the hosts file and revert back to stock.
> e.g., ep -c
-C, --config-file
>> Open and edit the config file.
> e.g., ep -C
-e, --extension
>> Add extension pack(s) to the hosts.
> e.g.,
ep -e
ep -e porn
ep -e regional
ep -e xtreme
ep -e social
-h, --help
>> Print help.
-i, --info
>> Print all the information.
-m, --menu
>> Show the full menu with more information.
> e.g., ep -m
-o, --open
>> Open the hosts file.
> e.g., ep -o
-p, --pack [-e|--extension]
>> Download the pack and extension of your choice.
> e.g.,
ep -p spark
ep -p blugo -e xtreme
ep -p blu -e regional social
-r, --redirect
>> Redirect the domains in redirectlist file to specific IPV4/V6.
>> redirectlist file in /sdcard/EnergizedProtection directory.
> e.g., ep -r
-u, --update
>> Update currently applied hosts pack and extension(s).
>> Also whitelist, blacklist and redirect domains to current IP.
> e.g., ep -u
-w, --white
>> Instantly whitelist the domain(s) from hosts.
> e.g., ep -w example.com new.example.com www.example.com
-W, --whitelist
>> Whitelist the domains in whitelist file to hosts.
>> whitelist file in /sdcard/EnergizedProtection directory.
> e.g., ep -W
-bp, --backup
>> Backup the current hosts setup.
> e.g., ep -bp
-ck, --check
>> Check whether the domain is in the list.
> e.g., ep -ck example.com
-ip, --redirect-ip [-4|-v4|-6|-v6]
>> Change current redirection IP.
> e.g.,
ep -ip -4 127.0.0.1
ep -ip -6 ::1
-ir, --instant-redirect [-4|-v4|-6|-v6]
>> Instantly redirect the domain(s) to specific IPV4/V6.
> e.g.,
ep -ir -4 127.0.0.1 example.com new.example.com
ep -ir -6 ::1 example.com new.example.com
-re, --restore
>> Restore the backed up hosts setup.
> e.g., ep -re
-un, --uninstall
>> Uninstall the module setup.
> e.g., ep -un
-v, --version
>> Print version.
```
*`Energized`, `energized`, `Ep`, `ep` & `epro` would also work, as symlink.*
- Then follow the on screen prompts.
Config Setup
------
Only use true/false to enable/disable features.
```
# Check for hosts update on startup
checkHostsUpdate=true
```
`Note.` _More options will be available shortly._
Uninstall
------
- Run Uninstall option via main menu `un` or `ep -un`
Changelog
------
v.1.3.3
- Added support for Android 11 and Magisk 21.x!
- Updated user-agent for downloading hosts.
- The `hitWeb` function shouldn't make you wait for long now.
v.1.3.2
- Added missing cut alias. (Which was breaking domain verifying functions.)
- Fixed missing systemless hosts print.
v.1.3.0
- Added back Magisk v20.0 - 20.3 support.
_***Magisk v20.4+ users won't require separate busybox module.**_
_***Magisk v20.0-20.3 users will have to install Busybox for Android NDK module.**_
v.1.2.5
- Added CLI Flag support.
- No more separate busybox required for Magisk v20.4+. Magisk Busybox will be used by default.
- Updated Magisk Template to v20.0+. No more support for Magisk 
## Disclaimer
------
Energized Protection Block Lists are basically `blacklists` files to block access to domains. If you don't know how it works, then please try this at your own risk. I won't be responsible for any damage or loss. Never forget to make backup.
## License
------
The content of this project itself is licensed under the [MIT](https://github.com/EnergizedProtection/magisk/blob/master/LICENSE) license, and the underlying source code used to format and display that content is licensed under the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license.
---