yashsingh1/xdaforums huggingface dataset:
[Magisk] guest4711:
So check whether your hostfile (/system/etc/hosts) is populated. It should have more than a few bytes ...

If this is correct check whether your APN settings (if using mobile data connection) does not include any proxy.

And if using chrome disable "data saving" and "async dns".

If this does not help, look in the AdAway thread. And provide proper information, e.g. which browser you use, which android-version etc. before asking for help.
[Magisk] Lurien:
I can't even get it working while connected to wifi ..
[Magisk] Jctatis:
I'm having problem everything was working fine until I decided to disable de unified because the Osm theme wasn't displaying and when I decide to turn in on again now my history isn't displaying anymore I also did again the su hosts with the terminal and re added the whitelist 0.0.0.0 s.youtube.com still isn't displaying the only thing I haven't done is uninstall the unified and try again,
[Magisk] 64ashg:
Yeah, i observed that too..
[Magisk] Jctatis:
In the end I uninstalled it and switch to adaway but still seen some ads the ones from "readcomicsonline" type
[Magisk] simply.vipul:
Can you please block appnext ads. They are annoying. Thanks.
[Magisk] The.Night.King:
Guys do these lists block trackers too?
[Magisk] Phoost:
I have a Problem to make it work.

Enabled systemless in Magisk and AdAway (V4.0..9). Rebooted

Add one of the lists from Post 1 (I tried mulriple one)

Rebooted

After "Check for updates" and "update hosts" in AdAway I have a look in hosts list.

For the list I added it says "update status unknown"

Doesn't matter how often I try it's always the same.

I copied the host entry I added from the host list and checked it in Browser. I got a nice list which looks good.

Because of the copy-past from host list to Browser I'm sure I check the same in Browser as in AdAway.

But AdAway seems to have problems reading or receiving the list.

Any idea why?
[Magisk] guest4711:
Please have a look at the AdAway forum

https://xdaforums.com/showthread.php?t=2190753 . There is a discussion about problems with some host sources, especially with https://hosts-file.net/ad_servers.txt and these hosted on github.

tl:dr; host-file.net seems to be down/the url has been changed, so AdAway does try to update this source at every check but has no success.
[Magisk] handers1234:
Github doesn't have header like others in native adaway host files so adaway doesn't have a way to check if the host in github has been updated or no.Simple way is just to disable and re-enable adaway instead of updating it

Oh and this is Unified Hosts Adblocker thread not adaway I suggest you post your problem in respective thread(adaway)
[Magisk] Macusercom:
The module has disappeared from the Magisk Manager app. Any reason why? :(
[Magisk] Jaymin.0.1910:
It was removed because it was considered inappropriate by the moderator team.
[Magisk] guest4711:
Yes, because it is e.o.l., not maintained anymore in favour of AdAway. See the ops announcement: https://xdaforums.com/apps/magisk/magisk-unified-hosts-adblocker-t3559019/post77280069 from 2018-08-08.

---------- Post added at 05:37 PM ---------- Previous post was at 05:34 PM ----------

Could you please tell us the source of this information?
[Magisk] Jaymin.0.1910:
Check my signature :p
[Magisk] Zackptg5:
Yup. Great efforts are underway to cleanup the magisk repo so it doesn't end up like the xposed repo. This includes removing EOL mods like this one
[Magisk] neekless:
Care to explain some reasoning behind the removal of some very valid modules? Such as those changing DNS. I do not find those modules to be "low quality" and they do provide some real effects.

While I agree with rules about plagiarism, I think these two rules should be removed:

- A module that only contains some simple boot scripts.

- A module that only uses system.prop to modify system props.

Such modules may be simple but can still have tangible uses and effects. They are also useful for people who are not familiar with writing their own boot scripts or modifying system props. I think the moderation rules are too strict.
[Magisk] Jaymin.0.1910:
This module was possibly removed because it was discontinued. For DNS modules, You can set your custom DNS in Android via network setting, just search for it a little harder, it is natively supported in Android, so creating a Magisk Module for something that Android already has, is strictly unexpected. If your ROM doesn't support that, you can still use apps like AdAway (which also replaces UHA in our revision).
[Magisk] neekless:
Custom DNS in Android on works only on Wi-Fi, while the modules enable custom DNS on mobile data, which is not natively supported in Android, so making magisk modules for it is valid. I think those modules are removed unjustly.
[Magisk] Jaymin.0.1910:
[MENTION=6014314]neekless[/MENTION]

I respect your opinion on this. You're correct, but many of those modules were unstable.

I will discuss about it with the team, but I recommend you to open an issue regarding this here, too.
[Magisk] neekless:
Don't get me wrong. I think it's good that the repo is moderated to remove useless modules that don't do anything. But when a group of module developers decided that some modules are too simple or not complicated enough, even though they actually do something, it makes the repo seem like an elitist place where only "complicated" modules can exist. There seems to be some conflict of interest there. I am not a module developer, and I am not going to develop any modules soon, so I'm not losing anything. But there are useful modules that I use that are removed and I feel it's not fair to their creators.

Is this worthy of creating an issue? If it is then I will create an issue soon.
[Magisk] Jaymin.0.1910:
If you think it's unfair to their creators, then you should create an issue :)
[Magisk] guest4711:
Even if some modules are very simple (as setting some props) they are useful for users. Not everyone knows how to enable "low-ram-settings" on older devices or how to enable wifi-channels 12&13 on N and above if no sim card is inserted etc. pp.
[Magisk] Jaymin.0.1910:
We are discussing about this currently, I'll keep you guys updated here.
[Magisk] Jaymin.0.1910:
[MENTION=8010004]guest4711[/MENTION] [MENTION=6014314]neekless[/MENTION]

The decision is pretty simple, modules created by noobs and morons that pollute the repo should be rejected from the repo.

I'm humbly sorry for any inconvenience regarding dns modules, UHA and other modules. DNS modules will be added back to the Repo, UHA won't make be back though since it's discontinued.

If you guys ever have any complaints/queries regarding moderation, feel free to open an issue at submission repo.

With kind regards,

Jaymin Suthar,

Repo Moderator.
[Magisk] neekless:
[MENTION=8570610]JayminSuthar[/MENTION] Thanks for the reply.

I 100% agree with this.

I also agree that UHA should be removed since it's discontinued. My original question wasn't about UHA but was mainly about DNS modules since I use the Cloudflare module which was removed. Modules created by noobs should be removed but modules created for noobs should stay, especially if they are not placebo/useless modules but actually do something. Sometimes a simple module (maybe scripts or prop edits) can actually be very useful to people who are not familiar with these sort of things (and may mess up their device if they try to do something themselves). I'm glad to hear the mod team had discussed about this, and I hope there will be more careful considerations to come.

Peace.
[Magisk] Noru29:
A working module ?

Hi,

I installed Magisk on a friend's phone and wanted to install this module.... and it isn't anymore in official repo (Sic !).

I came here and see the news.... bad news.

I don't understand Moderator mentality, an EOL module doesn't mean that the module doesn't work....

I used this one cause it's the easiest way to block ads with a GUI for a noob like my friend !

After reading here, I tried Energized Protection (what a deception to come back to terminal to apply protection without simple way to update it).... and it doesn't work (can't download any pack, address error) and really confused module... too many "options" with no explaination... except when you go to official site... my god !

Uninstalled, reboot, install Adaway (I had a very bad experience with it in the past !).... and following thread.... but ads are here, no blocking ads anymore.... :eek:

I'm desperate to see how is Magisk now and lost many good modules (but not enough for admin !!!!).....

Is there somebody who have an Hosts Blocking working method ?????
[Magisk] Zackptg5:
The download link on the OP is still good for this mod, it's just not updated for magisk 17 so you won't get any support is something goes wrong
[Magisk] guest4711:
Yes, because it is e.o.l., not maintained anymore in favour of AdAway. See the ops announcement: https://xdaforums.com/apps/magisk/magisk-unified-hosts-adblocker-t3559019/post77280069 from 2018-08-08 and the title of this thread ("deprecated").
[Magisk] realista87:
please someone support this module for latest magisk :)
[Magisk] Nevermindthelabel:
I am using it with the latest magisk, no issues
[Magisk] LeMoise:
You can make Adaway use the same host files that this module used. Just go to the main post, copy the host URL for Master + FakeNews (or whatever host file you want) and past it into Adaway like it says too.

I haven't had any problems with Adaway yet as long as you follow its instructions properly it should work. Make sure Systemless Hosts is turned on in Magisk and Adaway, add whatever host files you want and change the redirect IP from 127.0.0.1 to 0.0.0.0
[Magisk] Vij4k:
It's possible to block Google ads in apps?
[Magisk] nefillim78:
https://xdaforums.com/attachment.php?attachmentid=4626992&d=1540477975

Enviado desde mi Nubia M2 mediante Tapatalk
[Magisk] Zackptg5:
Just an update guys, Adaway 4.0.10-181015 supports unified hosts auto-updating now :)
[Magisk] e2vinay:
Link for download?
[Magisk] Zackptg5:
It's in the OP. It's the same link as always
[Magisk] e2vinay:
Thanks for your reply but cannot see version 4.9.10-181015 in op link
[Magisk] abacate123:
This is the latest one:

https://androidfilehost.com/?fid=1322778262904028532
[Magisk] zpower:
Just organized versions by date
[Magisk] Noru29:
Last version works great. THanks !
[Magisk] Noru29:
Just one thing, I'm on MIUI 10 and security tool delete appd and apk... somebody knows how to made an exception rule in MIUI ?
[Magisk] cjrivera04:
Followed instructions in OP, but I get a download failed when I enabled the app. Any idea why?
[Magisk] Noru29:
Back to Unified Hosts Adblocker v.3.7..... AdAway doesn't block ads in my apps..... UHA does !
[Magisk] guest4711:
Then there is something going wrong: Both solutions simply replace the standard hostfile. While this module can only use one source at once, AdAway unfies multiple sources (if selected). When you use the same source for this module and for AdAway you should have identical results...
[Magisk] UzE ™:
Can you share the zip , i am not able to find it.
[Magisk] Noru29:
Official Link
[Magisk] jsauder2:
Adaway works totally fine. If you use the same source as unified hosts adblocker, it will block the exact same things. It's also easier to white or blacklist in adaway.
[Magisk] cmohan0004:
In app ads still showing like with imdb app..
[Magisk] guest4711:
Discussed a lot of times: If adds are delivered from the same servers as the payloads they cannot be blocked by a host based solution like AdAway. And if the adds are addressed using ip (not name) a host based solution could not filter them...
[Magisk] cmohan0004:
So how to block in app ads?
[Magisk] guest4711:
Try to find out where the ads come from using the "Log Dns" feature of AdAway. Add these hosts to your blacklist.

If this does not help: Either pay for the service (if applicable), use another app/service or ignore the advs.
[Magisk] zoel.fahmi:
Still the best
[Magisk] GryphonBR:
I think I'm missing a step here. I downloaded version 4.0.10 but still it wants to update the default file under /system, even when I choose "Enable systemless mode". Do I need to pick a different "Target hosts file" option?
[Magisk] guest4711:
No, if you enable systemless hosts in Magisk Manager /system/etc/hosts is overloaded by a file on magisk.image (you do not write to the real system partition).
[Magisk] GryphonBR:
Oh, so THAT'S what I'm missing, hehehehehe... Thanks!
[Magisk] ktsarlz:
For some reason, I can't get this to work. I have disabled the systemloss option in magisk and enabled in adaway as OP stated. Add his lists. Tried updating but it asks me to symlink which works and then asks me to reboot. Afterwards, checking the app there's still an update it seems it's not applying the changes. It also always asks for the symlink option.
[Magisk] tanfidzularus:
Guys need help,

If i already implement unified adblocks, how about the black list that i add in the adaway? Will it blocks the ads? Or should i add it again manual in terminal?
[Magisk] tomaasz:
When I use 'm' together with any other letters it is always showing syntax error. Why?

Wysłane z mojego SM-N920K przy użyciu Tapatalka
[Magisk] biggdevon:
M is the master file and is already included in the other options. Selecting fg installs master+fake news+games, so by selecting mfg you've attempted to double install the master file resulting in the subsequent error. You can combine the others in any combination but m is a stand alone install
[Magisk] incognitonk:
This doesn't block ads on youtube right?
[Magisk] rignfool:
Correct
[Magisk] DawoodSahi:
I used ps but with social, it also blocked Facebook and I couldn't even access it. Just using master+p rn.
[Magisk] tomaasz:
hi

thanks for great tool

Is it possible to hide Adblocker for 3 minit ?
[Magisk] justjr:
Is just me, or the zip downloaded from magisk have wrong folder tree? Like, instead of the root having META-INF, common and system folders, it have a folder with the module name? This makes me not being able to install it, I have to unzip it zip it again without the module name folder.
[Magisk] Didgeridoohan:
Are you downloading from GitHub? If you download from the Manager you should have no such issues.
[Magisk] justjr:
Actually no, is from magisk, everytime I try this happens, tried with 4 ROMS till now, AEX, DU, Stock and Lineage.
[Magisk] Zackptg5:
That's weird, works fine from my end with magisk manager. If you're having weird issues with that, just use the zip in the OP
[Magisk] prone1:
Thank you, do anybody have created some basic whitelist for pages like internal facebook browser pages, google shopping links and this sort of useful as ads act pages? Thank you in advance
[Magisk] emilrune:
Great module, but it messes with me being able to send MMS, I use Textra. Tried disabling it and then the MMS go through fine, anyone know how to have this module enabled and MMS send/recieve capability at the same time? Thanks!
[Magisk] Zackptg5:
The module itself doesn't mess with sms, sounds like a magisk issue. Also, if you're using the social filter, try not and seeing if it works
[Magisk] uvera00:
Wont boot on AICP 12.1 nightly on Mi5; running these modules:

Mic fix, O Emojis, AudModLib, DNSCrypt, GA enabler,Greenify4Magisk, Sony Music, V4A with V4Arise apk, DAC enabler, Xiaomi SN Fix

last_magisk.log

magisk.log

Can someone check those?
[Magisk] Zackptg5:
Why do you have audmodlib installed? You're not using any audmodlib modules, so flash the uninstaller for audmodlib (note you have to flash the uninstaller, just removing it through magisk manager isn't sufficient)
[Magisk] uvera00:
V4A is by ahrion, just swapped v4a.apk
[Magisk] Zackptg5:
Oh, okay. When you say not booting, do you mean stuck on oem logo, or stuck on boot animation? If stuck on boot animation, can you post a logcat?
[Magisk] uvera00:
Was getting stuck at boot anim, flashed again and can't logcat cause now it booted properly, weird...
[Magisk] Schuan:
Dear developer, I noticed everytime I enable this module in Magisk, my wifi password will be forgotten by the phone. Everytime when i need to reconnect with WIFI i need to manually key in the password again. This is very frustrating, please have this fixed.
[Magisk] LinuxPanda:
Great app. Thanks for your effort & releasing it for free. :o
[Magisk] Nemo Aeternam:
Doesn't work with Magisk 18. Updates?
[Magisk] guest4711:
No, as the title says, the usage if this module is deprecated in favour of AdAway. So there will be no update...

See the ops announcement: https://xdaforums.com/apps/magisk/magisk-unified-hosts-adblocker-t3559019/post77280069 from 2018-08-08 and the title of this thread ("deprecated").
[Magisk] parashar_TARUN:
Hi everyone. I want to whitelist an application

Hill Climb Racing 2 (com.fingersoft.hcr2)

Can someone help me please. How to do that.

I play that game a lot and the by watching video advertising intentionally I can open chests sooner. That's why I want to whitelist that.

Any help would be appreciated. Thank you.
[Magisk] Carom3de:
Thank you!!!

Excellent!

Poco f1 8.1
[Magisk] madbat99:
You cannot whitelist apps with a host based adblocker.
[Magisk] parashar_TARUN:
yes i figured. thats why i miss MINMIN Guard RIP XPOSED

Thanks anyways
[Magisk] pv71:
How do I block the following: ||vidcpm.com^ This is the format used in ublock Origin. AdAway by default doesn't block it. Just add the above to Blacklist? Thanks.
[Magisk] guest4711:
Yes, but adding vidcpm.com to your blacklist will block this host only (and not the whole domain). To block www.vidcpm.com too you have to add it, too.
[Magisk] vuckovic_stefan:
For me it works, unlike adblock. Try this. Uninstall everything. Toggle systemless host in Magisk. Reboot. Install module. Reboot. Update host. Reboot. It will work.

I couldnt get adblock app to work, dont know why, i tried everything.
[Magisk] saba.ahang:
I'm incredibly disappointed. Unified Hosts Adblocker Module from Magisk previously completely removed ads from everywhere. not only browser but also apps. Now I updated Magisk, and realized that this module is discontinued. Installed Adaway again. It works but ONLY for browser! So deprecating this module is unjustified! Adaway doesn't do the same thing this module did! :( Please anybody has any other suggestion to remove in-app ads that doesn't involved installing exposed!? I don't want to install exposed just for sake of apps
[Magisk] Didgeridoohan:
Just change the hosts source in Adaway to Steven Blacks hosts file of your choice (links in the OP) and change the redirect address to 0.0.0.0. That'll be exactly the same as what this module did.
[Magisk] guest4711:
No need to change the redirection address. http://sbc.io/hosts/alternates/social/hosts

or https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts

(e.g.) works out of the box.
[Magisk] my370z:
Stevenblack host block my Twitter feed and Facebook feed on Android app
[Magisk] JoroBo:
Choose a StevenBlack list that does not include social sites (look at the OP here, all explained).
[Magisk] guest4711:
As the url/name says: This list tries to save your privacy by blocking sending data to the companies which collect all data of you and your behaviour. If you really need to feed them whitelist your favorite "social" sides or choose another list, e.g. the general one.
[Magisk] Au5t1n:
I've added a hosts source but I'm still seeing it change the hosts file within /system/etc/hosts. I've also enabled systemless mode in Adaway so I'm confused :confused:

Edit: I've disabled the Systemless Hosts module within Magisk Manager and then after rebooting I realized that the default hosts file was restored. After re-enabling the module and rebooting again I still see /system/etc/hosts modified from the new specified hosts source. So I guess it's not systemless?
[Magisk] Didgeridoohan:
If you have the systemless hosts module active it's not modifying the real /system/etc/hosts, but the file that Magisk has magic mounted in it's place.
[Magisk] guest4711:
It is systemless (but because the new file is mounted as /system/etc/hosts you think the original one is changed. But the original system partition is untouched, the checksum is still ok. If you boot into recovery and check the hostfile (e.g. via builtin filemanager after mounting system) you'll notice there's still the old hosts file.
[Magisk] Au5t1n:
Thank you for clarifying. I've been rooted for years but am still learning about the filesystem and commands. So basically mounting the new hosts file over /system/etc/hosts in this scenario means it's just mounted over that directory rather than overwritten?
[Magisk] Didgeridoohan:
That's pretty much it. If you want further details there's some info in the official docs:

https://topjohnwu.github.io/Magisk
[Magisk] Lurxs:
When trying to add unified hosts to adaway it just says "sources are unreachable"?
[Magisk] guest4711:
Which url do you use? Newer versions of AdAway (and Android in general) need a secure connection ("https").
[Magisk] Lurxs:
I was using one of the URLs listed in the first post. I left if for a day and it seems to be working now. Very strange.
[Magisk] guest4711:
These should work. But sometimes there is too much traffic on the servers so the connections are slow and unstable (and AdAway can not download the file on the first attempt).
[Magisk] Zackptg5:
Just sharing a quick discovery I made. Unified hosts breaks parkmobile app - it'll endlessly load. You need to whitelist

api.branch.io

to fix it. This is present in the master list so all unified hosts files need this
[Magisk] amn1987:
Why is it that Blockada is able to block ads for ex. in Google News but AdAway can't? I seem to remember that Blockada uses the Energizer Blu Go as the source. But even adding it ( or the largest 35M file )to AdAway didn't make any difference.
[Magisk] jenslody:
Blokada creates a vpn and can filter ads like a browser-extension, while a host-file based solution only works by returning fake ip's (e.g. localhost) for named servers, but ads that are called by an app directly via ip can not be blocked.
[Magisk] CCJ22:
So it's better to use blokada then?
[Magisk] okahdidi:
Please adaway is preventing me from doing system update via magisk even though have enabled systemless host what could be wrong and what's the fix if any? I use xiaomi mi a1
[Magisk] MoHuToP:
Unified hosts doesnt work after magisk beta update.

Edit: Magisk 19.4 beta is causing the issue. Investigating...
[Magisk] jenslody:
I've got a fixed hosts-script, that still works (at least on devices with a /cache-folder).

I can upload the hosts-script or create a module-zip and upload it. The latter will probably take more time, because it would most likely need some fixes to be compatible with recent Magisk.
[Magisk] Didgeridoohan:
If anyone's interested, here's my Tasker profile that updates the hosts file once a week. Whitelist and blacklist feature included, just like the original module in this thread.
[Magisk] vergil666:
please update for magisk 20.0 i got error when update

and i don't want adaway
[Magisk] adydaddy89:
Hello there so basically this will get rid of all ads on google aswell, right ?

Like fake porn gambling and so on
[Magisk] doctor-who:
Why would I block porns??
[Magisk] jibgilmon:
I good example would be if you were setting up a tablet for a child.
[Magisk] doctor-who:
I wouldn't give that tech crap until they 20 years