yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] guest4711:
Yes, the current version does not indicate it's use of a systemless host file provided by magisk.

It is essential to turn on systemless host in MagiskManager, REBOOT, initialize AdAway (download & merge host files), REBOOT, enjoy...
[Android Apps and Games] geokilla:
Nope still no good. SELinux is set to enforcing if that matters.

Edit: There is a proxy on my APN. No wonder.
[Android Apps and Games] guest4711:
Glad you sorted it out finally...
[Android Apps and Games] geokilla:
Yeah except I can't change my APN in this build of Lineage on my 5T...
[Android Apps and Games] guest4711:
Have you tried to add a new APN first (and deactivate/delete the old one afterwards)?
[Android Apps and Games] geokilla:
The ROM doesn't have that option :confused:
[Android Apps and Games] jcmm11:
You certain? I find it hard to believe that Lineage wouldn't include that. In my ROM (8.1 based) the option is Settings/Network & Internet/Mobile Network/Advanced/Access Point Names/

There's a + sign next to the 3 dot menu in the upper right.
[Android Apps and Games] netaccs:
I am trying to install AdAway v3.3 on Huawei p10 Android 8 non rooted.

When I start the programs it says that the phone is not rooted and only option I have is "Exit".

Is there any way or other app to try to install systemless root?
[Android Apps and Games] Ja_som:
For AdAway you need root, systemless or normal, if you want systemless use Magisk, if normal use SuperSU.
[Android Apps and Games] IronTechmonkey:
Indeed, and in LOS 14.1/N7.1.2 it is Settings > More... > Cellular networks > Access Point Names
[Android Apps and Games] geokilla:
Nope it's blocked
[Android Apps and Games] Pkt_Lnt:
Probably by your cell service provider.
[Android Apps and Games] geokilla:
It's the wrong APN though lol.
[Android Apps and Games] Pkt_Lnt:
Have you called your carrier about it?
[Android Apps and Games] geokilla:
Nope because they charge me $10 per call. And it was fine in LineageOS 7.1.2 on my OnePlus One so it's a ROM issue, not carrier issue. For whatever reason, it's like the above screenshot on Lineage for the OnePlus 5T.
[Android Apps and Games] androcraze:
A note from this thread:

https://xdaforums.com/essential-phone/help/unable-to-add-edit-apn-settings-t3780851

https://www.reddit.com/r/essential/...ma_with_essential_team_april_18_from/dxjz5de/

If reverting to the old Nougat ROM permits editing the APNs, then the update to Oreo is the culprit. Interesting thread:

https://xdaforums.com/pixel-xl/help/android-8-1-how-to-edit-cellular-apn-t3697425

Posts of interest:

https://xdaforums.com/showpost.php?p=74373484&postcount=8

https://xdaforums.com/showpost.php?p=75157321&postcount=14 (after running "adb shell")

https://xdaforums.com/showpost.php?p=75356646&postcount=19

Most of the issues involve Verizon/CDMA SIMs.

Other notables:

https://xdaforums.com/nexus-6p/help/bizzare-apn-editing-issues-t3713181

https://xdaforums.com/showpost.php?p=76039488&postcount=1
[Android Apps and Games] DiamondJohn:
As stated before, Magisk IS root.

The closest way I know is to change your DNS to one that has filtering built in, which without root, is easy on WiFI, not so easy on Mobile Data. However, I think I have heard there are some Apps on Play that enable changing your DNS. I have always had root, so am not that familiar with it.

Search on how to change the DNS in Android in your preferred search engine. Don't forget, this thread is specifically regarding AdAway.;)
[Android Apps and Games] geokilla:
Yup I saw those, but Canadian carriers aren't nearly as bad as the Americans depending on how you look at it. Plus locking down APNs don't seem likely since Canadian carrier websites teach you how to put in the APN for your smartphone. It is probably also against CRTC rules to lock down the APN, especially if it's incorrect. I'm thinking it's the ROM settings.

Checked the LG G6 and Samsung S8 on stock ROM using the same carrier and they can edit APN no problem.
[Android Apps and Games] netaccs:
Don't wanna use vpn apps. Those apps filtering hole network traffic. Just looking for some non rooted method.

If I can get adb shell to my device I think I can add them (hosts file) manually.
[Android Apps and Games] DiamondJohn:
Its NOT a VPN. All internet connections will use a specific DNS (Domain Name Server) to convert the host name into an IP address. Which is exactly what AdAway intercepts.

If you look into the settings of your WiFi connection, the last two settings are to use a specific DNS. http://www.ilovefreesoftware.com/19/android-2/change-dns-settings-android.html

Unfortunately, the DNS used by your mobile data is set by your service provider and is not so easily changed; hence the apps.

As for changing your Host file via ADB, without root, you will not be able to change your host file, as it sits on the system partition. And hence, AdAway needs root. Or Magisk for systemless host file ie systemless root.

Again, setting the DNS is NOT about using a VPN.
[Android Apps and Games] ktmom:
Maybe this thread, [GUIDE][COLLECTION] All About Ad-Blocking by Portgas D. Ace will help you sort through the different ad blocking options.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] martyfender:
There are a couple of Magisk Modules to change DNS:

CloudflareDNS4Magisk

Systemless DNS Changer
[Android Apps and Games] prathu30:
No matter what i do this annoying popup doesn't go away. Every time i click a button this popup page appears. Tried log dns, blacklisted the page but still it pops. However after 3/4 popup it stops(no popup after that for a while). Can someone help me out here
[Android Apps and Games] ktmom:
Use Firefox + u block origin add on.

There isn't much to do in chrome to prevent scripts from giving you popups. The connecting error is showing that the site is blocked.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] maurocds:
hi guys, i have spotify premium and adaway blocks functions of the apps

what can i do? this is for several months now

and yes, adaway is the culprit
[Android Apps and Games] ktmom:
DNS logging

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] Ja_som:
AdAway for sure does not block any functions, AdAway only manages the hosts file, if something from your sources blocked some domain which Spotify needs, it is not a AdAway problem. If it is that case, you can use the DNS to find which domain Spotify needs.

And I have also Spotify Premium and didn't noticed anything wrong, what functions does not work for you?
[Android Apps and Games] ktmom:
Your results are likely different from someone who uses a different source file configuration. The solution is as you said dns logging as I linked above.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] BraianV:
Do we have to add each line of the txt or is there some way to add them all in one move?
[Android Apps and Games] carlese:
Add the link directly lol :)
[Android Apps and Games] BraianV:
Sorry, i dont get it. I got into the web Page "https://raw.githubusercontent.com/Yhonay/antipopads/master/hosts", then copy full link and put it "my list" and it says "host not valid" (im using it in spanish so i cant say exactly what it says).

Also i add the same link to "sources of host files" and i can add it but it says "local: no available" and "online: no available"
[Android Apps and Games] carlese:
It says that but it works, remove all your list and add only this list, then check your hosts file to see if the entries have been added
[Android Apps and Games] ktmom:
As [MENTION=2290290]carlese[/MENTION] says (and was said just a few posts ago), it will work. The problem is that it is not formatted for Adaway (as I said earlier also [emoji6]).

Without the header information, there is no last updated information for Adaway to process. Therefore Adaway does not have date information to display in the line "local: not available" and "online: not available". What's not available is the last update date, not the file. Look at the same line for a properly formatted source: "local: April 25, 2018" and "online: April 25, 2018".

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] DiamondJohn:
If you add the url (ie https://raw.githubusercontent.com/Yhonay/antipopads/master/hosts) into your "host SOURCES" and NOT "your lists", it will include the contents as expected.

Also, "Your lists" is static, where as "Host sources" will retrieve any updates.
[Android Apps and Games] Luckzzz:
Brave Browser is basically chrome with adblock ;) :p
[Android Apps and Games] xlollomanx:
I prefer yandex browser because I can install adblocker from chrome store. Based on chrome but with more feature. Firefox on mobile is very slow compared to chrome.

Sent from my Oneplus One
[Android Apps and Games] xfirefist:
nice work!
[Android Apps and Games] tempymctempface:
Boot Loop

I had a running Lineagoe OS 15.1 yesterday having TWRP as recovery and rooted with magisk.

I wanted to try out Adaway yesterday, but after rebooting the phone is stuck in a boot loop since.

I can access the file manager in TWRP but I can't find a folder which seems to belong to Adaway anywhere.

I have seen some posts about deleting Adaway from TWRP got the phone running again, but no one mentioned the path to find the files.

Can you guys help me out and tell me where I can find the files to delete them?
[Android Apps and Games] guest4711:
AdAway does basicly nothing more than changing your host file (/system/etc/hosts). You may revert it but I don't think that will solve your problem.

You should try to remember the changes to your system since the last successful reboot and revert them.
[Android Apps and Games] tempymctempface:
I started my phone to install Adaway which I did, I installed the apk linked from adaway.org .

Then it asked me to reboot my phone which I did, but then it doesn't boot anymore.

All that happens is the lineage sign appearing but it doesn't finish.

Since there was nothing else I altered, I'm pretty sure Adaway is the issue here.

So is there a filepath, after all I installed it from an apk, so there has to be an application somewhere which changed the hostfile?
[Android Apps and Games] ktmom:
Dirty flash your ROM.

Which version did you use? I'm assuming you downloaded from fdroid. I'm also guessing 3.3 and if so, go back to 3.2.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] jcmm11:
To completely remove AdAway remove the following directories.

/data/app/org.adaway*

/data/misc/profiles/cur/0/org.adaway

/data/misc/profiles/ref/org.adaway

/data/data/org.adaway

/data/user_de/0/org.adaway

To get back to the original hosts file you'll have to turn off the option in Magisk.
[Android Apps and Games] itmdn:
hello

i'm using custom rom : crDroidAndroid-8.1-20180428-find7-v4.2.zip running android 8.1.0

devices : OPPO FIND 7 - chinese layout

i try install adaway from official adaway.org but can't install no error just app not installed

then i do research at here ... i found this thread, download lastest apk try install also same app not installed ...

any help ? or just not support android 8.1.0 ?

tq
[Android Apps and Games] Toutatis_:
I'm also using crDroid on my Nexus 6P and it ships with a pre-installed AdAway version.

I guess it's the same with Oppo Find 7 crDroid builds. Check by going to Settings > crDroid Settings > Miscellaneous tab -> Ad Away
[Android Apps and Games] itmdn:
Dude tq so much.

Sorry before is omni user... and today just install crdroid.

Thanks dude :good::laugh:
[Android Apps and Games] PieceKeepr:
I did that but it still says not available. This was after applying and rebooting.
[Android Apps and Games] prathu30:
Uncheck the rest of hosts and only apply that one, reboot and then check your hosts file if there are entry you're good to go. Apply the rest of hosts. See there's no line in the antipop host specifying the date of host so adaway doesn't shows it.
[Android Apps and Games] ktmom:
As I said earlier, not available means the update date, not the file.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] marciozomb13:
XDA latest is 3.2. Is telling me to downgrade haha ?
[Android Apps and Games] joeo10:
There's also Override DNS which I have been using lately to change DNS on mobile networks especially but its useful.

https://labs.xda-developers.com/store/app/net.mx17.overridedns
[Android Apps and Games] EkkyUchik:
Please update this aplication for magisk
[Android Apps and Games] DEVILOPS 007:
It works fine with magisk.
[Android Apps and Games] BombeerHC:
hello guys, sorry for the question, perhaps obvious but how come adaway does not provide the function of cosmetic filtering?
[Android Apps and Games] guest4711:
Because adsway filters dns requests, not http(s). AdAway does not mamipulate the data received. If you need this funtionality use a plugin for your browser, e.g. uBlock-origin. I use it additional to AdAway. So the amount of data transfered is limited by AdAway, the cosmetic filtering done by uBlock-origin.
[Android Apps and Games] BombeerHC:
thanks for the quick response. the only browser that will support uBlock for android is firefox?

edit_____

this type of filtering do you think can be implemented in adaway without this being the load on the cpu?

I apologize if my questions are off-plan or badly processed but I try to understand .. thanks again for your patience :)
[Android Apps and Games] Ultramanoid:
Already answered, but let's give it another try. AdAway is a hosts file manager. It does not do anything else, the hosts file itself is what blocks or allows connections.

If you want to change the rendering of web sites in a browser, such as hiding the failed connection banners for blocked domains ( 'cosmetic changes' ) then it has to be done in the browser. As mentioned before, uBlock Origin does this on Firefox. If you want or need a Chromium based browser, then try Bromite or Brave.

Edit : The Bromite project provides WebView builds as well.
[Android Apps and Games] Pkt_Lnt:
Read the relevant posts here. There are about 10 - 15, and you can see the technical issues and the fact that it IS being worked on.

https://xdaforums.com/showpost.php?p=76413579&postcount=24627

A search in this thread (as you agreed to search first when you signed up for XDA) will show it has been something complicated and attempting to make it seamless for months.
[Android Apps and Games] Tecalote:
AdAway didn't get host file update since 24. April on my device, also not with current version 3.3.

Anybody else has seen that?
[Android Apps and Games] zgfg:
Same for me, no updates since Apr 21 - I checked on two my devices (different phones, Android versions, rooting methods, AdAway versions) - they both used to uutomatically update hosts file practically every day but stopped updating on April 21.

If I open AdAway it says that newest hosts file is already enabled.

If I manually force the update, it updates timestamp in the hosts file but otherwise content remains the same (I uploaded to PC and compared them before and after the manual update)

If the three default sources are no more updated/maintained, should we add another source URL and which one?
[Android Apps and Games] zgfg:
This source file

https://raw.githubusercontent.com/Yhonay/antipopads/master/hosts

lacks header and therefore AdAway cannot know if/when it was updated, that AdAway can auto-update (its date is 'unavailable')

Also, instead of usual loopback or localhost address 127.0.0.1 this source file resolves unwanted sites to the non-routable address 0.0.0.0 - compare it to the AdAway's default source (not updated since Apr 19 ?!)

https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext

PS: For difference between (and its potential consequences) loopback 127.0.0.1 and non-routable 0.0.0.0, see

https://www.howtogeek.com/225487/what-is-the-difference-between-127.0.0.1-and-0.0.0.0/
[Android Apps and Games] DiamondJohn:
I may be mistaken, but I *think* AdAway strips the ip in the file and sets it to whatever you select in the settings. I haven't tested this myself, but I think I have noticed it when I switched between settings.
[Android Apps and Games] martyfender:
I use the recommended: sbc.io/hosts/hosts , which is a mirror of Steven Blacks host file that will show the local as well as the on-line, up to date version and is updated very frequently. I use it as my only source on 4 devices, with no problems.
[Android Apps and Games] zgfg:
Thanks, I added to the sources, manually enabled and after rebooting it shows its on-line and local date May 3 (as on the screenshot) - looks promissing, will see when and how often will update :)

Btw, I have updated AdAway just recently to ver 3.3, it would be nice to have this http://sbc.io/hosts/hosts

included in its default sources list
[Android Apps and Games] zgfg:
You mean Preferences and to check-in Allow Redirections (not checked by default) and to use Redirection IP to 127.0.0.1 (as offered by default) - as on the screenshot?

Btw, this http://sbc.io/hosts/hosts also resolves blocked FQDNs to 0.0.0.0, not to 127.0.0.1 (so I want to redirect 0.0.0.0 to 127.0.0.1)
[Android Apps and Games] jcmm11:
If you check the hosts file on your phone I think you'll find that it's already been set to 127.0.0.1

AdAway uses the value in 'Redirection IP' when generating the hosts file. Do NOT check 'Allow Redirections'. That should (I think) use the values from the source files rather than rewriting them. I also think that it's not working at the moment. In any case you don't need to check the box.
[Android Apps and Games] zgfg:
Yes, thanks, even with Allow Redirections disabled, entries in local hosts file have IP addresses 127.0.0.1, hence

redirected from 0.0.0.0 as they are listed in http://sbc.io/hosts/hosts
[Android Apps and Games] PerfectSlayer:
Hi all,

As promised, here is a dev build of the next 4.0.0 version.

Keep in mind it is a dev build so it is not intended to be as stable as the 3.x version. It might crash, blow your battery, burn your screen or even tear the world apart... :eek:

Install it only if you want to test it and help me by providing some feedback. (I don't know if I will keep it online for long... I might delete it if I get too much crash reports.)

Keep in mind I don't use analytics (like crashlytics or firebase) to respect your privacy so you are my crash test!

So you are still here, feel free to use it and send report with app version (4.0.0-180506) and logcat attached.

If you need to remember what is new, check one of my previous post but there was a lot of changes under the hood (actually ~130 commits ahead of master).

Otherwise, go for download and good luck! :fingers-crossed:

(And if you like this new version and you can afford it, feel free to check my donation links on my XDA signature. The ones in the application are not mines.)
[Android Apps and Games] Toutatis_:
So far so good. Nexus 6P / latest crDroid ROM (v4.2 / Android 8.1) / Magisk 16.0

I noticed a small graphical glitch when downloading host source(s): "Downloading" text is displayed over the host URL being downloaded.

Just out of curiosity, would you consider adding pull-to-refresh to check for updates?

Keep up the good work :good:
[Android Apps and Games] Ultramanoid:
Thank you, thank you, THANK YOU. ( Although I might be the only Android user without a single analytics package in the system. )

Will do. Maybe they should be in the application as well.
[Android Apps and Games] Midomad:
The new AdAway design is magnificent,

Also the "enable systemless mode greyed out"bug is fixed!

Thanks a lot.
[Android Apps and Games] ktmom:
@PerfectSlayer

The app crashes when accessing Preferences -> Redirection IP

Logcat

Once the hosts file is updated, the confirmation dialog is difficult to distinguish from the background text. Maybe this could be a toast?

When importing a (previously exported) black/white host list, it's necessary to disable, then re-enable Adaway in order to apply the new personal black/white list.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] Toutatis_:
Same.
[Android Apps and Games] martyfender:
I also have this issue. In addition, Enabled Newest hosts fils enabled, the lines are not far enough apart so Enabled merges into the second line. Also, I use sbc.io/hosts/hosts I could always see the local and online version dates without going to host sources on the first page in the old version. In addition under host sources I don't see local and online version dates, like in the older versions. It just states up to date.

Thanks
[Android Apps and Games] kryzeK:
[MENTION=2822685]PerfectSlayer[/MENTION] please, for v4.0 add a adaptive launcher icon and proper app shortcuts icons (colored red icons with #f5f5f5 background, that in fact can also be adaptive)
[Android Apps and Games] ktmom:
I think this was a design choice. I was just about to post applauding the choice. It might reduce the number of people who post that the source isn't working.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] DiamondJohn:
I have a list of crash analytics servers as part of my personal blacklist. Have yet to build a list for Firebase.
[Android Apps and Games] DiamondJohn:
I have noticed this behavior for a long time, but it just seemed too petty to post it, but I was in a position to easily get some screen shots, so here it is. As I said, its not something I am too concerned about.

When I open AdAway manually, it automatically checks for host sources,, and commonly finds an update is required, so it creates a persistent notification.

View attachment 4494819

However, after manually clicking on the refresh/download button and waiting for all the downloads to process/complete and merge etc, the notification is still there, and also appears on my home screen; after the download/update has completed.

View attachment 4494820View attachment 4494819

I think the notification should be removed automatically by AdAway after the downloads/merges have completed. You may notice I have avoided using the "B" word ;)
[Android Apps and Games] martyfender:
I've never had that issue using sbc.io/hosts/hosts, that the host is not working, however that feature was an important confirmation to me. I will continue to test the new version on one of my 4 devices, the same as in my signature, in the hope I can help improve development of this great app.
[Android Apps and Games] x.trinity:
4.0, clean&neat. Nice work dude! Works nicely on my side. Previously 3.2/3.3 versions had an issue while importing list.

4.0 did it without any efforts.