yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Crapping_Bricks:
Hi guys, I'm trying to get Adaway to go systemless with Magisk v12 and MagiskSU. The systemless option is greyed out. My settings in Magisk Manager have Magisk hide and systemless hosts enabled. I have tried turning off the hide option and also disabling my modules, but no luck in getting the option to pop up in Adaway.

Just to confirm, is the process to enable systemless hosts reboot, then go into Adaway tick the systemless mode setting then install the hosts in the default location?

Thanks for your help in advance!
[Android Apps and Games] Pkt_Lnt:
https://xdaforums.com/showpost.php?p=70940479&postcount=8316
[Android Apps and Games] Xin0F:
Hello,

I'm using AdAway and it's working fine but I have an issue with Tapatalk. The links on Tapatalk doenst open. What I have to put on white list to fix?

I out this go.redirectingat.com but doesn't fix it!

Thanks

Enviado do meu MI PAD 2 através de Tapatalk
[Android Apps and Games] Crapping_Bricks:
I was reading that before, but it confused me.. So after reading it a second time, is it just saying that as long as I set the option in Magisk then it will ensure that the adaway hosts in default target location become systemless?

Thanks again!
[Android Apps and Games] PerfectSlayer:
Could you try to change the security type of the hosts file and check if it works better? (keep in mind that chcon may not persist if you reboot)

chcon system_data_file /data/data/hosts

You could check the issues (denials) with SELinux with /proc/kmsg (or /proc/last_kmsg for the previous boot) with

cat /proc/last_kmsg | grep "avc: denied"

Check the official documentation for more details ;)
[Android Apps and Games] MicroMod777:
Anybody know how to block ads in Twitter app?
[Android Apps and Games] Robert342:
Can you add two functions: vpn blocking like on Adguard (alternative method of blocking) and disable javascript on all internet browsers permanently? Cheers.
[Android Apps and Games] anurag_aks:
There is a strange problem with my kenzo device. AdAway works well but for only a day or two...After that it starts showing adds in apps....I really don't know what is the problem.... I tried everything, but AdAway doesn't stop adds on most of the apps after 1-2 days....It works fine for 1-2 days....

I have tried three different roms but the problem persist:(

Only after clean installing AdAway works,but again only for 1-2 days....

I have tried everything..Even on SuperSu an Magisk

Plz help me...I am on Nos (7.1.1)

Is there any issue with AdAway on 7.1.1???
[Android Apps and Games] aholeinthewor1d:
New to adway. Would this work on a Pixel rooted running Pure Nexus? Thanks
[Android Apps and Games] selw0nk:
Yes, it would work on your Pixel rooted running Pure Nexus.
[Android Apps and Games] fucitol:
It didn't work

gemini:/system/etc # chcon system_data_file /data/data/hosts
gemini:/system/etc # ls -Z /data/data/hosts
system_data_file /data/data/hosts
gemini:/system/etc # cat /proc/kmsg | grep "avc: denied"
<36>[14982.706332] type=1400 audit(1491228325.044:253): avc: denied { read } for pid=15903 comm="netd" name="hosts" dev="dm-0" ino=19527 scontext=u:r:netd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
<36>[14982.707675] type=1400 audit(1491228325.044:254): avc: denied { read } for pid=15903 comm="netd" name="hosts" dev="dm-0" ino=19527 scontext=u:r:netd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
<36>[14982.707918] type=1400 audit(1491228325.044:255): avc: denied { read } for pid=15903 comm="netd" name="hosts" dev="dm-0" ino=19527 scontext=u:r:netd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
<36>[14982.964220] type=1400 audit(1491228325.300:256): avc: denied { read } for pid=15905 comm="netd" name="hosts" dev="dm-0" ino=19527 scontext=u:r:netd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
<36>[14982.968198] type=1400 audit(1491228325.300:258): avc: denied { read } for pid=15905 comm="netd" name="hosts" dev="dm-0" ino=19527 scontext=u:r:netd:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0
[Android Apps and Games] ShapeShifter499:
I don't know what I'm doing wrong but this doesn't appear to work with Magisk 12, Magisk Hide, and MagiskSU. I keep getting the following message below, I tried both 3.2 and the February 8th dev build. I submitted a possible fix? But I really don't know if that is the correct way to go about it https://github.com/AdAway/AdAway/pull/875. I also noted it here https://github.com/AdAway/AdAway/issues/845#issuecomment-286992727 and submitted a issue https://github.com/AdAway/AdAway/issues/876 Any ideas guys?

"Rooted Android required. Either the su binary could not be found or you did not allow root permission for AdAway"
[Android Apps and Games] seanskiT!:
Try with out using hide. I have no issues with it working.
[Android Apps and Games] flocke000:
I have no issues with Magisk 12.0 and Magisk Hide enabled ...
[Android Apps and Games] JohnnyEighty:
i still have a problem. sometimes ads are showing up again, i figured out when i turn off systemless in options of adaway ads are gone.

then sometime later i have ads again, when i then open options of adaway systemless is turned on again. i turn it off and ads are gone again then sometime later the systemless option turnes it on itself.

i tried dev and 3.2 version, the systemless option turns it on itself sometime after i turned it off.

what can i do to turn the systemless option off permanently?
[Android Apps and Games] githyanki:
Try clearing data on adaway. You will lose any custom entries, so back them up first.

If it still occurs, see if you can get a log of this.

Thanks!
[Android Apps and Games] DorianX:
Are you sure about this? I'm on 6.4.0 and still getting ads [emoji20]

Enviado desde mi Nexus 6P mediante Tapatalk
[Android Apps and Games] kiwigi:
Hello All. I am using Adaway 3.2 on ArchiDroid 3.1.5 . Would someone have an idea why Adaway host files have to be downloaded after any reboot? Other than the reboot problem it works well. Browser being Dolphin.Thanks in advance.
[Android Apps and Games] NLBeev:
Yes I am sure. Checked it again.

I think you are using the pro version.

On my device I see in settings only one line 'Version 6.4.0'.

On your screen shot I see two lines. 2nd line showing ....'Pro activity'
[Android Apps and Games] DorianX:
But I downloaded from apkmirror and as I know they don't provide w@rez

Enviado desde mi Nexus 6P mediante Tapatalk
[Android Apps and Games] NLBeev:
We can conclude that there are more versions with the same number.

After an update Tapatalk showed ads.

I restored the previous version with Titanium Backup.
[Android Apps and Games] DorianX:
Can you share your backup?

Enviado desde mi Nexus 6P mediante Tapatalk
[Android Apps and Games] NLBeev:
XDA rules....?
[Android Apps and Games] mobileman88:
I am using 6.4.3 pro. Build 400853. No ads for me
[Android Apps and Games] Ja_som:
When you have pro, of course you will not have ads...
[Android Apps and Games] NLBeev:
Did you see the screenshots of [MENTION=2185114]DorianX[/MENTION]?

It's clear that it concerns a pro version.
[Android Apps and Games] Ja_som:
Sorry, my bad

I never seen any ad in my pro version

[MENTION=2185114]DorianX[/MENTION] the best thing what you can do is contact Tapatalk.

Another edit: :)

I bought pro a long time ago, then they canceled it, and for pro buyers they created a VIP status. VIP was (is) w/o ads, and then they again released pro version. On the Google Play Store in the description for pro version they have "If you purchased the Tapatalk app when we were a paid app, you are eligible for VIP status (and no need to purchase a subscription). Contact us or details.". So as I wrote, if you bought pro contact them and you will probably get the VIP for free...
[Android Apps and Games] NLBeev:
OK - understand.

Doubt of buying it; update and unexpected large ads; not so sympathetic.
[Android Apps and Games] mobileman88:
I don't see a VIP status. But I did get mine a long time back years ago. Could be why I don't see Ads at all.
[Android Apps and Games] ntice:
I can't get AdAway to work on LineageOS (Android 7.1.1). It can't write the hosts file for some reason. I tried all 3 suggested locations. Is it some weird security feature in LineageOS which is blocking AdAway?
[Android Apps and Games] Ja_som:
I have no issue with AdAway on my Nexus 7 II with LOS 14.1 and with LOS Su, do you have root?
[Android Apps and Games] ntice:
Yes, I granted AdAway root permission. It's in the list of root apps in the OS settings.
[Android Apps and Games] Ja_som:
And do you get any error message?
[Android Apps and Games] ntice:
Yes, "copying of hosts file failed". But wait! I just tried it again and it worked! Why would it fail 10 times and then suddenly work? I didn't reboot or change any setting. Very strange...
[Android Apps and Games] Pkt_Lnt:
They changed versions at one time, you need to email them to get the VIP status back. This is from the app in the Play Store.
[Android Apps and Games] ShapeShifter499:
I found out the cause of my issue. For some reason trying to modify or remove the system property "ro.build.selinux" in any way causes AdAway to fail to detect root. The only reason why I was trying to modify that property was because a root detection app called "RootBeer Sample" was looking for that property as a sign of a rooted system. I'm not sure why that property would be a sign of root though. Anyways, I've made a new issue about it. https://github.com/AdAway/AdAway/issues/882
[Android Apps and Games] Rob94:
How do I get rid of the gray boxes?
[Android Apps and Games] Rob94:
its gone now i dont know how. there was a gray box that replaced the ads.
[Android Apps and Games] NLBeev:
On websites you'll see boxes when ads are blocked.
[Android Apps and Games] cognitivedissonance:
Hello, I'm using a Nexus 6P running the most recent version of 6.0.1 (stock.) I've used Nexus Root Toolkit to unlock my bootloader, root (SuperSU), and flash TWRP. I flashed Xposed using the Xposed installer. Now I'm looking to get AdAway up and running. I've done some searching and I see some conflicting reports about how to set it up properly. Stuff I've heard is:

1. Install the apk, update hosts, and done.

2. Install apk, use a program (like Titanium Backup) to convert AdAway to a system app, update hosts, done.

3. Install apk, flash some sort of AdAway package in TWRP, update hosts, done.

4. Install apk, do a couple adb commands to create a symlink of some sort, update hosts, done.

5. I haven't heard anyone really mention it, but in the AdAway Preferences I see an option to "Enable systemless mode," so I'm not sure if that comes in to play.

6. I also saw someone say that I need to use a file explorer with root permissions after updating hosts to manually switch the host file's permissions in order to improve performance.

Can someone explain how I should setup and optimize AdAway?

Thanks!
[Android Apps and Games] Ja_som:
This way should be enough, it work for many people...
[Android Apps and Games] JollyDrifter:
So I'm trying to whitelist some sites like arstechnica and it doesn't work. What am I doing wrong?

I go into whitelist add www.arstechnica.com reboot and I still see no ads.
[Android Apps and Games] cognitivedissonance:
So you don't think I should check the "enable systemless mode" in Preferences?

If I do have systemless root, what will *not* checking that box do? Will AdAway just fail to block ads?
[Android Apps and Games] githyanki:
You have to download and apply after adding any white or blacklist items.
[Android Apps and Games] JollyDrifter:
I should have written more clearly. I do that before reboot.
[Android Apps and Games] Promez:
Hey guys i've always used the original hosts but i started to see a lot of ads because the hosts aren't been updated since days.

I tried to add some new hosts like StevenBlack and someonewhocares but adaway says "local:not available , online:not available"

Any advice? thanks
[Android Apps and Games] simplicio11:
Is there a way to put an app in whitelist? My TV app streaming, doesn't work with adaway ON, so I have to disable adaway and then my app (RAI PLAY) works fine.

Thanks
[Android Apps and Games] Skull97:
No...
[Android Apps and Games] githyanki:
No.

Use the logger and find out what address it is requesting, then add it to the whitelist.
[Android Apps and Games] sagarnab:
I can't receive calls it is switching of automatically
[Android Apps and Games] seanskiT!:
Why you posting that here?
[Android Apps and Games] DEVILOPS 007:
Hi are you still just using that stevenblack host source as I know you have been testing?
[Android Apps and Games] NLBeev:
Yes, still StevenBlack 'only'. No ads, several weeks now.

Will report here when ads appear.
[Android Apps and Games] DEVILOPS 007:
Okay thank you:)
[Android Apps and Games] anurag_aks:
:( I have tried most of the rom (even 6.0.1 ROMs), But i am facing strange problem with any adblocker apps.The problem is that after i install Adaway or any oyher adblocker application,It only works for 1-2 days after install!:(

It only works if i fromat my device

Is there any problem with my device??

Or i am forgetting to wipe something??

Plz help
[Android Apps and Games] githyanki:
Most likely one of the other apps you are installing is redirecting your DNS requests.

When it stops working, check the size and contents of your host file and see if adaway is working. If it looks OK, you have something else redirecting your traffic.
[Android Apps and Games] anurag_aks:
How will i know after checking host file ,that my adaway is working or not??
[Android Apps and Games] Patov94:
problem

i am running android 7.1.2 and i cant make it work. I installed the systemless zip and the 3.2 apk but when i run adaway it says it doesnt detect root, but the app never ask for it.my phone is rooted other apps works perfectly.
[Android Apps and Games] NLBeev:
http://www.googleadservices.com

Press the link. When blocked it's working.

AdAway created a hosts file and Google adservices is blocked and many other url's
[Android Apps and Games] DEVILOPS 007:
It should look like this
[Android Apps and Games] doubleho:
I have the same problem,pixel stick 7.1.2
[Android Apps and Games] githyanki:
When you open the hosts file you will see several lines that look like :

0.0.0.0 adserver.com

If it is working you will see the page about not found, but if host file looks right, but you still see ads, there is something else that is going on. AdAway only modifies hosts file. Network connections are not touched.
[Android Apps and Games] anurag_aks:
Yea, its blocking the page from opening

But I still see adds in other app???:(

Will wiping internal storage before flashing a rom work??
[Android Apps and Games] githyanki:
Adaway is working, it does not always block ads in apps. The ads are hard coded in, or the ip address is set so it doesn't look it up.

All adaway does is change the host file to stop the lookup of the address to the ad servers, they can get around that.
[Android Apps and Games] Knutselmaaster:
While in the past there were regularly updated host files, I haven't had any updates for a few weeks already. Is something wrong on my side or is this normal?

Thank you in advance for your replies.
[Android Apps and Games] ChazzMatt:
Right. Of the three current default Adaway host sources, one hasn't been updated since January and the other two are March 14th and 20th. (See top three in screenshot below).

I do run a 4th hosts file but it's also not been updated since March 23rd.

Is this usual? I don't remember it ever being this way...
[Android Apps and Games] Aasresh:
Do the battery life gets affected if we use this app?
[Android Apps and Games] dlfollmann:
Yes. Positively.
[Android Apps and Games] androcraze:
To clarify: it's reducing ads pushed. Battery life should increase, at least in theory.
[Android Apps and Games] NLBeev:
As long as ads are blocked updating of the hosts file is not critical.

Take a look at the following source

https://raw.githubusercontent.com/stevenblack/hosts/master/hosts

It's a hosts file updated regularly.

Since several weeks I am using this as the only source. No ads seen yet and my 'hosts' is a lot smaller. I've to say that I am not a heavy user and don't use game apps for instance.

EDIT

Mirror-link http://sbc.io/hosts/hosts

Works better (local and offline dates are shown)
[Android Apps and Games] Crazy_Oni:
Im using this sources. And only my custom added one gets updates frequently.

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[Android Apps and Games] ignitionnight:
Can somebody "for dummies" explain how this works (or doesn't) work when I have a vpn. I just signed up for Private Internet Access VPN and am using it on my desktop, but downloaded the app to my phone as well. Is adaway broken when I use the PIA VPN app? My understanding is adaway prevents my phone from connecting to add server ip host names/ip addresses, but when alll those go through a VPN how can my phone know not to connect when it's connecting through PIA?

I'm just not using the VPN app when I don't need it specifically, I was just curious how this worked or if it even does. I searched for this but all I can find are questions about VPN adblockers, not specifically my question. Thanks in advance for any help.
[Android Apps and Games] Pkt_Lnt:
No, it works fine with a VPN. I have PureVPN on my home router for laptop, Nexus 6, Nexus 7 when home. I have the PureVPN clients on my laptop, Nexus 6 and Nexus 7, but I do not activate them at home behind the router since the router has an OpenVPN connection plus I use Entware and AB-Solutions for home network ad blocking, plus DNScrypt for secure DNS as well.

When I disconnect from my home wifi, all there devices will connect to VPN and AdAway works fine. I just leave AdAway active on the Nexus 6 & 7, and no conflicts. The laptop has AdGuard installed and I disable it at home and enable anywhere else. Everything just works, no issues.

tl;dr The DNS servers work the same on all devices with or without vpn. You are overthinking this issue. ;)
[Android Apps and Games] NLBeev:
I give it a try to answer your question.

Without VPN the hosts file that AdAway created supersedes DNS look ups. As a consequence Url's listed in system/etc/hosts are blocked.

When a VPN changes the method of your internet connection. The hosts file is not used. You could see ads,

EDIT

Recent use of a payed VPN (ipvanish).

My IP is changed, but ads are blocked most of the time; the hosts file created by AdAway keeps working[emoji1] .

It's now only 1 day, will report here in a week or so
[Android Apps and Games] kinfolk248:
these are some good ones!!!!
[Android Apps and Games] vishal1404:
What all custom host sources are best....could any1 list them?
[Android Apps and Games] ainurrofiq:
This is mine

[url]http://winhelp2002.mvps.org/hosts.txt[/url]
# [url]https://adaway.org/hosts.txt[/url]
# [url]https://easylist-downloads.adblockplus.org/abpindo+easylist.txt[/url]
# [url]https://easylist-downloads.adblockplus.org/adwarefilters.txt[/url]
# [url]https://easylist-downloads.adblockplus.org/antiadblockfilters.txt[/url]
# [url]https://easylist-downloads.adblockplus.org/fb_annoyances_full.txt[/url]
# [url]https://easylist.to/easylist/easylist.txt[/url]
# [url]https://easylist.to/easylist/fanboy-annoyance.txt[/url]
# [url]https://fanboy.co.nz/r/fanboy-ultimate.txt[/url]
# [url]https://github.com/reek/anti-adblock-killer/blob/master/anti-adblock-killer-filters.txt[/url]
# [url]https://hosts-file.net/ad_servers.txt[/url]
# [url]https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext[/url]
# [url]https://raw.githubusercontent.com/heradhis/indonesianadblockrules/master/subscriptions/abpindo.txt[/url]
# [url]https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt[/url]
# [url]https://raw.githubusercontent.com/stevenblack/hosts/master/hosts[/url]
[Android Apps and Games] xeplayer:
I will try it.
[Android Apps and Games] DEVILOPS 007:
That's a lot! Are these github ones supposed to say what they say? Do they for you? Thanks bro:D
[Android Apps and Games] NLBeev:
My list

https://raw.githubusercontent.com/stevenblack/hosts/master/hosts
[Android Apps and Games] selw0nk:
When I add that it says Local: not available, Online: not available
[Android Apps and Games] NLBeev:
Same here. Seems something in AdAway to me. After a while it can change.

When you open StevenBlack's URL in a browser you can see the date.

EDIT

The GitHub URL of StevenBlack's hosts is the only source NOT showing the Local/Online date. So I doubt, possibly NOT caused by AdAway,
[Android Apps and Games] androcraze:
You have "https:" and not "http:", right?
[Android Apps and Games] skidaway:
Any list that AdAway uses must have the IP (numerical) address and hostname listed. None of the other lists (the adblock ones) are doing anything to block ads. You should remove them from your sources list.

---------- Post added at 06:36 PM ---------- Previous post was at 06:29 PM ----------

You can disable the github address and add this one, it is a mirror and works:

http://sbc.io/hosts/hosts

I had used the github address in the past and it was working, but not working for me at the moment. The mirror worked fine though.
[Android Apps and Games] ainurrofiq:
So what should I do.?

And can you provide me another good adblock list?
[Android Apps and Games] vishal1404:
Woah.... That's a huge list ...how did you even manage to find those?
[Android Apps and Games] patrickdrd:
we need them in text in order to copy and paste them in ours as well
[Android Apps and Games] DEVILOPS 007:
Just use universal copy and paste it in a text editor like Evernote.
[Android Apps and Games] ny355145:
I saw a couple of posts about this but didn't see a resolution. AdAway is no longer working for me after upgrading to 7.1.2 on my Pixel. Thoughts/ideas?
[Android Apps and Games] ainurrofiq:
Easylist bro
[Android Apps and Games] Pkt_Lnt:
No one has posted logs so there is not way to troubleshoot why, and impossible to offer a solution.
[Android Apps and Games] ny355145:
Which logs would be helpful? Happy to post them if they would be helpful.
[Android Apps and Games] Pkt_Lnt:
A logcat while running adaway to download and apply list would be good.

A logcat is the best log 99% of the time, for almost any issue, unless you are diagnosing kernel or recovery flashing issues.
[Android Apps and Games] Pkt_Lnt:
Let's see. I'm not a developer, but an ok trouble shooter, sometimes. We need Mr. Robinson. maybe PerfectSlayer, maybe osm0sis to look at it and see what they can see.

One note, you can use pastebin or hastebin to post a complete log and provide a link here. I full log is nice to load into a unix editor like NotePad++ to search and analyze more easily.
[Android Apps and Games] ny355145:
https://pastebin.com/YM7WpRwm

Let me know if you want me to re-run anything or another log. Feel free to message me too.