[MODULE] Energized ⚡ Protection - ÉCLAIRS - Magisk

AdroitAdorKhan

Senior Member
Nov 11, 2014
699
938
133
23
Madaripur


Energized Protection - Magisk
Version: éclairs | Updated: Oct 13, 2019 | Status: Stable

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.

Cloud Codenvy | License CC BY-NC-SA 4.0

Website | Energized Repo | Check Energized | Telegram

A Trio Project with ❤︎ from Bangladesh, India & Zanzibar.

M A I N T H R E A D
XDA Thread - Get to know more about Energized!


F E A T U R E S
ϟ 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!

W H A T I S T H I S F O R ?
This Energized System is designed for Unix-like systems, gets a list of domains that serve ads, tracking scripts and malware from multiple reputable sources and creates a hosts file that prevents your system from connecting to them.
I know, there are couple of great sources to use, but this project is one of my hobby projects, and I'm still learning how to do these things properly. There will be mistakes and bugs, hope to fix them with all of your help! So, let's make an annoyance free better open internet, altogether! :)


I N S T R U C T I O N S
GUIDE: 2ND POST for usage instructions.

D O W N L O A D
DOWNLOADoad: Energized Protection > Magisk Manager - Single Module to get the job done!
CHANGELOG: READ HERE - All the changes of Energized Protection Module.

P A C K A G E D E T A I L S
DETAILS: Check our GITHUB README for better viewing experience.

S U B M I T I S S U E
Got any issue? or any query? Need to report broken app/site issue? Found a legit site blocked? or any annoyance that bothering you, and you want to block?
ENERGIZED BOX: Intorducing Energized Web App - ENERGIZED BOX- More Info.

L I C E N S E
CC BY-NC-SA 4.0

D I S C L A I M E R
Energized Hosts are basically hosts 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 backups.

T H A N K S
For their great scripts.
Code:
♡ LarappsOfDongle - RP's Script
♡ QwertySDuos2 - Base Script
♡ topjohnwu - Magisk
♡ Zackptg5 - UHA Script
Let's make an annoyance free better open internet, altogether!
A project by Ador with ♡ from Bangladesh.
Say Thanks!

XDA:DevDB Information
Energized ⚡ Protection, Tool/Utility for all devices (see above for details)

Contributors
AdroitAdorKhan, badmojr
Source Code: https://github.com/Magisk-Modules-Repo/Energized-Protection


Version Information
Status: Stable
Current Stable Version: éclairs
Stable Release Date: 2019-10-13

Created 2018-06-20
Last Updated 2019-10-13
 

AdroitAdorKhan

Senior Member
Nov 11, 2014
699
938
133
23
Madaripur
Instructions



Requirements:
- Install the Busybox For Android NDK Busybox Module from Magisk Manager.
- Install any Terminal App from Google Play Store. Recommended Termux

Run:
- First Enable Systemless Hosts in Magisk Manager; or the script won't run.
- Open terminal then type:
Code:
su  
energized
- Then follow the prompts to install host file of choice

Whitelist Instructions:
- Find text file on sdcard called whitelist in sdcard/EnergizedProtection/
- Add the domain with redirecting IP, domain name or regex to whitelist the exact domain.
Code:
Example -

 redirecting IP -  0.0.0.0 abcd.com
 domain name -  abcd.com
 regex -  .*abcd.*
- Run hosts script and choose whitelist w option.

Instant Whitelist:
- To instantly whitelist a domain, select iw and then type your domain.
- Type Y and press enter.

Blacklist Instructions:
- Find text file on sdcard called blacklist in sdcard/EnergizedProtection/
- Add exact lines you want to remove it (do not include the 0.0.0.0 -> so for example: abcd.com)
- Run hosts script and choose blacklist b option.

Instant Blacklist:
- To instantly blacklist a domain, select ib and then type your domain.
- Type Y and press enter.

Remove Whitelist/Blacklist:
- Just run hosts script and reinstall host file of choice without selecting whitelist/blacklist.

More Instructions - GIT INSTRUCTIONS

*If you find any issue while using this, feel free to report the issue here, on Telegram or in Github!



Whenever you are facing issue, help us with the log.
NON-ROOT -
- Download this DNSfilter Energized Fork App.
- Install and Apply the filter.
- Open the app you are having issues, and re-check the dns log in DNSfilter app.
- RED Marked ones are Blocked and GREEN Marked ones are open.
- Now send us the Screenshot or log.


ROOT -
- Download AdAway App.
- Remove any applied hosts and reboot.
- Install AdAway and open the app.
- Go to Options > Log DNS Requests and toggle TCP DUMP on.
- Now go back to your app, open and run the app till you get your issue fixed.
- Open Adaway > Log DNS Requests > Open Log File.
- Now send us the Screenshot or log.


WINDOWS -
- Download DNS Query Sniffer Software.
- Install and follow the detailed instructions here.
 
Last edited:

AdroitAdorKhan

Senior Member
Nov 11, 2014
699
938
133
23
Madaripur


First of all, heartfelt gratitude towards all the amazing human beings who have been loving our work and supporting us since the very beginning. We are really glad to have you by our side.

But maintaining a quality blocking project takes a lot of time. Energized Protection is completely independently funded. We fight for our users. This does mean however that we also have to spend our owns to pay the bills. This is where you can help: by chipping in you can ensure more time is spent improving Energized rather than dealing with distractions.
Support Us -
PayPal - [email protected]
 
Last edited:

Redhawk2000

Senior Member
Jun 1, 2016
844
462
63
Will this work with adaway if it is used to block some specific sites (Spotify ads).

Also, how to uninstall?

Sent from my LEX727 using XDA Labs
 
Last edited:

AdroitAdorKhan

Senior Member
Nov 11, 2014
699
938
133
23
Madaripur
Will this work with adaway if it is used to block some specific sites (Spotify ads).

Also, how to uninstall?
Yea. It can be used with Adaway. As Spotify's Video Ads sources are generated dynamically like the Google Video! So it will be impossible with hosts to block all of'em!

Else, it removes all other ads.

To uninstall Magisk Module, just remove the module from Magisk Manager and reboot!
 

raxijuciro

Member
May 29, 2018
19
6
3
Yea. It can be used with Adaway. As Spotify's Video Ads sources are generated dynamically like the Google Video! So it will be impossible with hosts to block all of'em!

Else, it removes all other ads.

To uninstall Magisk Module, just remove the module from Magisk Manager and reboot!
how it can be used with adaway? afaik it both changes the host file right? and adaway will refresh and replace the host with its version only
 

AdroitAdorKhan

Senior Member
Nov 11, 2014
699
938
133
23
Madaripur
Why is the all in one module of such small size compared to the others?
Because, All-In-One let's you choose the pack you want to use. It also comes up with whitelisting and blacklisting with extensions support on the go! It's all about script!
When you choose a pack, it downloads and applies the pack.

Otherside, standalone packs contain the hosts in it and just need to flash, to work!
 

AdroitAdorKhan

Senior Member
Nov 11, 2014
699
938
133
23
Madaripur
how it can be used with adaway? afaik it both changes the host file right? and adaway will refresh and replace the host with its version only
Get the MIRROR link of the PACKAGE from the main thread you want, and add it to Adaway > Hosts Sources. Then simply apply.

Yea, it will replace the hosts or systemless hosts of your device.

Feel free to ask, if you need any help! :)
 
  • Like
Reactions: Triviox

tlf55

Senior Member
Mar 21, 2011
1,555
185
83
Does it work just like adaway or it also block Facebook ads and YouTube ads ? Or does it hide the ads white space ? (Like adguard)
 
Last edited:

Redhawk2000

Senior Member
Jun 1, 2016
844
462
63
So just quickly trying it, I disabled adaway and flashed the 12kb all in one zip via magisk manager. It hung on reboot for several minutes so I forced a reboot again and it booted normally. Magisk manager showed the module as installed but I see ads as if no effect.

I removed that module and flashed a stand alone module via M manager and rebooted fine but still no effect. When I reenable adaway ads are blocked.

Am I missing something?

LeEco Pro3 with AICP Oreo 8.1

Sent from my LEX727 using XDA Labs
 

abacate123

Senior Member
Feb 22, 2015
1,266
1,800
153
So just quickly trying it, I disabled adaway and flashed the 12kb all in one zip via magisk manager. It hung on reboot for several minutes so I forced a reboot again and it booted normally. Magisk manager showed the module as installed but I see ads as if no effect.

I removed that module and flashed a stand alone module via M manager and rebooted fine but still no effect. When I reenable adaway ads are blocked.

Am I missing something?
Have you tried anabling (or disabling) the systemless hosts option in Magisk Manager settings?
 

J4jks

Senior Member
May 20, 2015
637
247
73
Hyderabad
So just quickly trying it, I disabled adaway and flashed the 12kb all in one zip via magisk manager. It hung on reboot for several minutes so I forced a reboot again and it booted normally. Magisk manager showed the module as installed but I see ads as if no effect.

I removed that module and flashed a stand alone module via M manager and rebooted fine but still no effect. When I reenable adaway ads are blocked.

Am I missing something?

LeEco Pro3 with AICP Oreo 8.1
After enabling module have u downloaded hosts packs?
Just installing module doesn't block ads
You have to download hosts

In terminal
su
energized

Then select a pack of your wish.
 

AdroitAdorKhan

Senior Member
Nov 11, 2014
699
938
133
23
Madaripur
Does it work just like adaway or it also block Facebook ads and YouTube ads ? Or does it hide the ads white space ? (Like adguard)
Yea. It's kinda like Adaway, but with more hosts, from reputable sources baked in!

You know, Facebook Ads are from graph.facebook.com, You can block it personally. It causes few issues with Facebook Apps if we block it.

Moreover, you can't use cosmetic filters with hosts. So it won't be able to hide all the ads. One of the few limitations of hosts.

Stay Energized Mate!