yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Pkt_Lnt:
I prefer to keep discussions in the thread so everyone can see and offer ideas, but will do if necessary.

Quick look with a cut and paste into NotePad++ This stands out, I just do not know what it means or what can be done.

E/ is an Error returned.

[COLOR="Red"]E/AdAway ( 4627): java.lang.SecurityException: No permission to write APN settings
E/AdAway ( 4627):	at android.os.Parcel.readException(Parcel.java:1684)
E/AdAway ( 4627):	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
E/AdAway ( 4627):	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
[/COLOR]E/AdAway ( 4627):	at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
E/AdAway ( 4627):	at android.content.ContentResolver.query(ContentResolver.java:532)
E/AdAway ( 4627):	at android.content.ContentResolver.query(ContentResolver.java:474)
E/AdAway ( 4627):	at org.adaway.util.ApplyUtils.isApnProxySet(ApplyUtils.java:324)
E/AdAway ( 4627):	at org.adaway.service.ApplyService.apply(ApplyService.java:517)
E/AdAway ( 4627):	at org.adaway.service.ApplyService.doWakefulWork(ApplyService.java:102)
E/AdAway ( 4627):	at com.commonsware.cwac.wakeful.WakefulIntentService.onHandleIntent(WakefulIntentService.java:110)
E/AdAway ( 4627):	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)
E/AdAway ( 4627):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AdAway ( 4627):	at android.os.Looper.loop(Looper.java:154)
E/AdAway ( 4627):	at android.os.HandlerThread.run(HandlerThread.java:61)
I/ActivityManager( 1052): START u0 {flg=0x10000004 cmp=org.adaway/.ui.BaseActivity (has extras)} from uid 10110 on display 0
[Android Apps and Games] patrickdrd:
actually they're not supposed to work with adaway all of them,

e.g. https://fanboy.co.nz/r/fanboy-ultimate.txt does not contain redirection rules,

is adaway converting them?
[Android Apps and Games] ny355145:
That stood out to me too. I saw this when I dug around: https://github.com/AdAway/AdAway/issues/447

I don't it's relevant, I don't have a sim card or any apns on the phone (still setting phone up before I start using it full time). I can try with my sim card in the phone to see if the log changes.

Edit: same error when I put sim card in the phone
[Android Apps and Games] NLBeev:
Now using the mirror posted by [MENTION=5262010]skidaway[/MENTION]

http://sbc.io/hosts/hosts

The local and online date are shown.

EDIT.

The default sources all have "https".

Although unchecked,local and online date are shown.
[Android Apps and Games] NLBeev:
http://sbc.io/hosts/hosts

This link is a mirror of the GitHub url of StevenBlack's hosts.

Working 100% on my Nexus 6.

Thx to [MENTION=5262010]skidaway[/MENTION].
[Android Apps and Games] DEVILOPS 007:
Amy other mirrors for the other github links?
[Android Apps and Games] NLBeev:
Not seen yet. Still using 1 source.

Now with a VPN (payed) to check if ad-blocking keeps working.
[Android Apps and Games] DEVILOPS 007:
Why do these easylist adaway host sources update so often? It's like every 10 minutes or sometimes every hour!
[Android Apps and Games] Mesmurized:
:) Guess my usage is different. I go months between updates... (auto-update anything/everything turned off)
[Android Apps and Games] Pkt_Lnt:
I went lights out last night, thanks for the second update on the SIM. :)

Let's mention a few devs here who can likely find what is going on here.

We'll just wait until they have time to look.

[MENTION=3355398]mrRobinson[/MENTION] [MENTION=4544860]osm0sis[/MENTION] [MENTION=2822685]PerfectSlayer[/MENTION] (and anyone else that can diagnose this) would you please look at this when you have time? ny355145 has an issue posted before, but I suggested logs and got an excellent response posted! I don't know enough to solve this, so your help would be much appreciated if and when possible. Thanks!
[Android Apps and Games] selw0nk:
I added http://sbc.io/hosts/hosts and works just fine :)
[Android Apps and Games] ChazzMatt:
Two of my four host files finally updated this week. But wow, look at the Adaway official host file...
[Android Apps and Games] DEVILOPS 007:
Have you seen my host source list?
[Android Apps and Games] ChazzMatt:
No, I did a search of this thread back two years -- and the only post I can find with your name to "host source" is this recent post where you were asking a question.

Do you have a really good one or something?

I'm only using the original 4 default host files in Adaway. I know it's down to three now, but I kept the 4th one. I know it's better not to use too many, I'm just surprised the "official" Adaway.org host file was only updated back in January 2017. This is now mid-April. Surely there's more ad servers going online more frequently than that -- as evidenced by the updates two of my sources got this week.
[Android Apps and Games] android_smater:
Adway 3.2 not working woth blissrom android 7.1 in Xiaomi redmi-note-3 mine mobile rooted with magisk 11.6 as well as tried with magisk 12 to but still not working all showing ads plz someone help me...
[Android Apps and Games] DEVILOPS 007:
https://xdaforums.com/showthread.php?t=2190753&p=71834471

---------- Post added at 09:51 PM ---------- Previous post was at 09:49 PM ----------

Try enabling the adblocker setting in magisk. Also in adaway enable ipv6 and systemless mode and try changing the redirection ip address to 0.0.0.0
[Android Apps and Games] android_smater:
Ok i got it, also i add some add hots resources which perfectly block ads but face little bit problem can you tell which host or address facebook app use because new custom sources i added block the facebook app connection

Here is that githib link

https://github.com/StevenBlack/hosts/blob/master/readme.md

Unified hosts + social

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

It will be very gr8 full if you help me.. ... ..

Thanks you
[Android Apps and Games] DEVILOPS 007:
You need to do this. Basically what I'm doing is seeing what ad sources are running on the Facebook app and whitelisting them which means these sites are not affected by adaway host source ad blocking. Follow the video I made of my screen capture.

https://www.dropbox.com/s/ab0bedd93piiswi/2017_04_13_22_13_59.mp4?dl=0
[Android Apps and Games] android_smater:
Thanks it really help me
[Android Apps and Games] DEVILOPS 007:
Is Facebook working now?
[Android Apps and Games] android_smater:
Yes facebook working now

And also i learn how to add custom host for ad block in some app

If you want whitelist uploaded in attachment in zip format

Any way once again thank you..... :)
[Android Apps and Games] DEVILOPS 007:
You're welcome mate glad to hear everything worked out for you:)
[Android Apps and Games] thekubiaks:
For what it is worth, I upgraded my Honor 8 from MM FRD-L04C567B150 to Nougat FRD-L04C567B360. After rooting with phh my adaway stopped working, (systemless was greyed out) After several hours reading threads I finally downloaded the systemless zip version of Adaway on my Honor 8 and now systemless was not greyed out So, I selected systemless, rebooted and Adaway once again works , woohoo :)

Note, it is amazing how much garbage adaway blocks, you don't realize it until its not working, the phone is almost unusable.
[Android Apps and Games] androcraze:
I'm a believer in supporting apps that don't push ads (anything open source comes to mind).

There's little you can do about web pages, other than AdAway.
[Android Apps and Games] Jexx11:
I'm using the default hosts files in AdAway, and within the last week they started blocking almost all sales flyer ads from websites. Like Menards, Walmart, Staples, etc I can no longer view their weekly ad flyers. If I disable AdAway, then the flyers show up again correctly.

Any idea what changed or what I could whitelist to get this fixed?
[Android Apps and Games] DEVILOPS 007:
Just do this but for the websites. https://xdaforums.com/showthread.php?t=2190753&p=71849916
[Android Apps and Games] Jexx11:
Thank you! I had no idea this feature even existed in AdAway. I'm getting it sorted out, but it seems most weekly store ads use a form of flyertown or appsflyer for their ads, whitelisting these when I find them is doing the trick.
[Android Apps and Games] DEVILOPS 007:
Cool great to hear:)
[Android Apps and Games] vikasb32:
Pls anyone tell me host file to block ads in mx player ?
[Android Apps and Games] IronTechmonkey:
MX Player uses a form of advertising that circumvents hosts file based domain blocking. You can confirm this by running Adaway's "Scan for Adware" function.
[Android Apps and Games] vikasb32:
I find out which url is responsible for mx player ads its "graph.facebook.com". if i add this to blacklist mx player ads stop but some post in my facebook also get blocked.any solution?
[Android Apps and Games] IronTechmonkey:
As mentioned, MX Player can circumvent host based domain blockers like Adaway (unless something very recently changed) and you can confirm this yourself by running the Adaway scanner. Maybe MX also uses host based blocking but it seems unlikely that "graph.facebook.com" would be the general source of ads MX player.

[EDIT] A search of the thread for MX Player reveals that at some point MX player may have started using at least some hosts based ads which would explain what you've seen, but other people are in the same situation as you, having to block "graph.facebook.com" in one app only to find that another app requires it.
[Android Apps and Games] Snuk265:
Works fine for me gt-i9305 with cm10.2

GT-i9305 CM10.2 with PSN pureCM10.2 v2.3.3c Kernel
[Android Apps and Games] AluminumHaste:
Yeah, works fine for me to, now that I have an ad blocker installed........:eek:
[Android Apps and Games] MANswers:
Thanks, loving this app.
[Android Apps and Games] Titan9119:
Okay, so I disable AdAway and uninstall it.For some reasons, I can't seem to access anymore ad site such as ******* :(
[Android Apps and Games] 2uk3y:
try see your host file. is it the default host file or the generated by adaway?
[Android Apps and Games] Titan9119:
The host file was generated by AdAway, I apply it and did nothing else whatsoever.
[Android Apps and Games] 2uk3y:
so this mean that after u disabled and uninstall, the host file still the same. afaik, it should revert back to default host file
[Android Apps and Games] Titan9119:
It still didn't worked :( What can I do to change this back to normal? Full wipe?
[Android Apps and Games] jr67:
Grab the host file from the zip file for whatever rom you're on.
[Android Apps and Games] Hugs88:
Hi,

As other users adfree has stopped to work, I would like to try adaway but each time it says there is no enought space with folder sytem/data/etc/hosts or it needs simlink if I use data/data/hosts, I have a rooted phone and I gave the right to adaway.

Adfree worked without any problem why adaway can't access to my hosts like adfree ? thanks for your help
[Android Apps and Games] Titan9119:
Erm, to which directory should I need to go to grab the zip file consisting the host file? :o
[Android Apps and Games] 2uk3y:
just extract and push this file to etc folder, make sure 644

https://db.tt/4zSViAv3

hope that help
[Android Apps and Games] Titan9119:
Another question, would a full wipe to install a fresh new rom fix this problem? I wanna update my rom to its latest version ^.^
[Android Apps and Games] 22sl22:
Just a heads up, adblock works fine on Android 4.4 KitKat (Nexus 4)
[Android Apps and Games] ZioGTS:
I found a way to solve most of the issues I had in the past with AdAway. Try that yourself, really easy and functional. Looks like what causes most issues is obtaining root privileges. Just enter SuperSU app and select "forget app" for AdAway. Then run AdAway again and concede root privileges. Works for me every time.
[Android Apps and Games] Telyx:
I had the same problem on my T-Mobile Samsung Galaxy S II running rooted stock Jelly Bean. I deleted a few bloatware apps from the phone and AdAway now has no trouble applying the hosts file.
[Android Apps and Games] 2uk3y:
afaik yes
[Android Apps and Games] Hugs88:
Thank you very much!

I deleted few bloatware apps and now it's ok :cool: !
[Android Apps and Games] ZACHARiAS_:
many thanks.

kudos
[Android Apps and Games] hutzdani:
For any Nexus 5 owners this seems to work on 4.4 stock rooted.

Installed as normal with unknown sources, in setting select to look for updates and then download the latest hosts files and blamn its up and running :)
[Android Apps and Games] NLBeev:
Another player. We all should remove apps like this.
[Android Apps and Games] IronTechmonkey:
I deal with MX Player by fire-walling it and only using VLC on networks.
[Android Apps and Games] Ultramanoid:
Don't use or support adware.

There's VLC and Kodi, both open source and free, not to mention powerful.

Or find a paid option that relies only on payment, not on a dangerous, insulting, privacy-intrusive, unsafe monetizing scheme.
[Android Apps and Games] MatthewD26:
Hi, I have a problem
[Android Apps and Games] twowheeler:
Is there any benefit to enabling the systemless hosts option in Magisk when using this app? I'm on 6.0.1 on the oneplus one
[Android Apps and Games] NLBeev:
AdAway creates the file ' system/etc/hosts '.

When this isn't possible, because there's no space enough in the system partition, systemless mode is needed.

There's no benefit it is a question of needed or not.

In this thread you can read that on devices running Magisk the systemless mode must be set in Magisk and not in AdAway.
[Android Apps and Games] DEVILOPS 007:
How do you expect anyone to help if you don't tell us the problem?
[Android Apps and Games] Piemo:
Is it normal that adaway can't recognise root with magisk?

Inviato dal mio LG-H815 utilizzando Tapatalk
[Android Apps and Games] githyanki:
Works for me.

Does magisk manager say that everything is working properly, and other apps get root access?

Only thing you need to do while using magisk is enable systemless host for adaway in the Magisk options.
[Android Apps and Games] Feder00:
Very usefull app! I've searched a lot for a similar app
[Android Apps and Games] rumz82:
Hi. Hope you're well. Which systemless.zip did you use? On my Adaway app, the systemless option is greyed out. I do however have the option ticked in magisk.
[Android Apps and Games] Pkt_Lnt:
There is one in the OP, but DO NOT USE it with Magisk, it is NOT NEEDED with Magisk, or you will have problems.

See this:

https://xdaforums.com/showpost.php?p=70940479&postcount=8316

https://xdaforums.com/showpost.php?p=70940772&postcount=8319

https://xdaforums.com/showpost.php?p=70945575&postcount=8321
[Android Apps and Games] jcmm11:
What you are seeing is expected behavior for Magisk. You do not need systemless zip. Turn on option in Magisk, option in Adaway will be grayed out. Not sure if box should show as checked or not though (I don't use Magisk). If it should show as checked then you need a different Adaway version. Hopefully someone using Magisk will chime in.
[Android Apps and Games] Pkt_Lnt:
^^^^^^ I did! ;)
[Android Apps and Games] rumz82:
And here i was thinking why on earth isn't that option available on Adaway. I don't come across ads for the most part but do get alot of them whilst playing games such as Jetball and Wave just to name a couple.

Thank you for your response and help.
[Android Apps and Games] jcmm11:
That's what I get for not reading ahead :silly:
[Android Apps and Games] Rebel7022:
Hi, does anybody know what (allow redirections) option in adaway does, does that mean allow pop ups? And I'm running magisk and in adaway systemless root option is greyed out, does that mean I'm automatically running systemless root?
[Android Apps and Games] Pkt_Lnt:
Please read back about 5-10 replies just above for the answer.
[Android Apps and Games] Rebel7022:
Ya I read that already, all he said was if you have the option in magisk checked then its greyed out and checked in adaway. So i unchecked it and now is greyed out still, but unchecked. Does that mean I'm running systemless root?
[Android Apps and Games] 63ck0:
That does not mean that you are automatically running systemless hosts, but that you do have to set or disable 'Systemless hosts' option in Magisk Manager, not in AdAway.
[Android Apps and Games] Rebel7022:
I'm sorry to bother you, right now I have systemless host in magisk unchecked, and in adaway the systemless host box is empty but greyed out so I can't tick it, is this the right way to be set up?
[Android Apps and Games] 63ck0:
If you have Magisk, the option 'systemless hosts' will always be empty and grayed out in AdAway regardless wheather you have enabled systemless hosts or not. You will not be able to change that setting in AdAway while using Magisk.

To change the systemless hosts setting, please use Magisk Manager app. This is the way to set up that option and the way to find out what setting you are currently using.

If you have unchecked the option 'systemless hosts' in Magisk, then you currently do not use systemless hosts. If you wish to use systemless hosts, you have to enable the option in Magisk Manager app. That's all.
[Android Apps and Games] Axel85:
Hi, I searched all thread but can't find an answer. I have adaway on a nexus 7 2013 (resurrection remix 7.1.1) ,nexus 6 (pure nexus 7.1.1 ) ,galaxy nexus (dirty unicorns 7.1.2) . In all 3 devices when I start battery saver ,some websites doesn't load. I can see data downloading and uploading ,then stops as normal , but the page is not loaded . It happens only on some sites , and if I disable battery saving the situation turns back to normal. I tried to restore hosts ,and with battery saver on everything is working . Do you have any idea where to check? It happens on WiFi or mobile data
[Android Apps and Games] BaTarrY:
Enable systemless hosts in magisk settings
[Android Apps and Games] Lownita:
Do you also have to enable it in adaway settings? Because there, the option is greyed out for me.
[Android Apps and Games] BaTarrY:
No, cuz magisk "systemless hosts" option maid the host file itself systemless.

Therefore, it is not possible for adaway to edit system hosts cuz it is not present.

Thats why adaway not let you choose otherwise, and forces it as systemless.
[Android Apps and Games] kherio:
I have it rooted with Magisk and disabled the systemless Hosts settings.

I cannot open Adaway because it says there is no su binary... ?? It says it needs a rooted android :)

Thx in advance...
[Android Apps and Games] Rebel7022:
Ya, turn off busybox in magisk and download busybox from the store. I use jrummy busybox
[Android Apps and Games] 63ck0:
As [MENTION=7794470]Rebel7022[/MENTION] already said: you have to disable BusyBox in Magisk settings. Magisk BusyBox is known to cause issues.

Btw I use Stericson BusyBox, also running very well. :)
[Android Apps and Games] kiwigi:
Am I allowed to bump my question?

Thanks
[Android Apps and Games] NLBeev:
I give it a try.

When the hosts file is changed, than caches can be out of sync. Your browser and other apps that are using DNS caching will probably need a restart to sync the cache(s).
[Android Apps and Games] kherio:
I have installed BusyBox and disabled BusyBox from magisk settings zero but I get the same error... Su is not detected :rolleyes:
[Android Apps and Games] Rebel7022:
Might be a rom issue
[Android Apps and Games] kiwigi:
The apps had been restarted multiple times before the reboot of the S3.

Is there a setting in Adaway that could change/ help avoid this anoying step of having to re-download the host files.
[Android Apps and Games] 63ck0:
Did you use a root checker app to verify that your device is properly rooted? Are you having issues only with AdAway, or also with other root apps?
[Android Apps and Games] NLBeev:
As long you see no ads there is no need to download new hosts file sources.
[Android Apps and Games] kherio:
Yep. It's rooted because another apps ask for permissions... Anyway, i have just solved reinstalling magisk. :fingers-crossed:

Thx anyway
[Android Apps and Games] osm0sis:
I'm also told mine is pretty decent. :p;)
[Android Apps and Games] jcmm11:
It's not bad :laugh: fwiw I have both yours and Stericson installed (his in/system/xbin, yours in /su/xbin. You each have some modules activated that the other doesn't. :confused: If I had to pick one it would probably be yours :victory: (but I'd have to force it into /system/xbin, that's another story having specifically with how I have some things setup. Eg - I don't like the way toybox mount, or xarg, work. So I delete those shortcuts, but still need mount to get a proper boot.)
[Android Apps and Games] osm0sis:
Thanks! Good work, but I take it those shouldn't be capitalized? Like:

c2i-cdn.startappnetwork.com
c2i.startappnetwork.com
sbfunservice-mirror.cc
sbfunservice.cc
xsso.sbfunservice-mirror.cc

Also:

sdk.adincube.com

Does the trick for Terrarium TV. :D:good:

I won't go too OT here, but I'll add a feature to allow you to force a system install by adding "system" to the zip name. I have it on some other zips, so it should be pretty easy to add. :)
[Android Apps and Games] DEVILOPS 007:
I'm just using terrarium TV. Showbox screws around and seems to update slower with less sources. I used lp to block the ads but I'll add what you said for it:)
[Android Apps and Games] IronTechmonkey:
Please dont take this a b!tchy nag but AFAIK, LP is considered warez and taboo on XDA. I'm claiming no moral high ground nor claiming that you use it inappropriately, just respect for Developers in regards to something that allows people "to bypass premium applications license verification".
[Android Apps and Games] DEVILOPS 007:
I understand and I completely agree with you. I don't use lp for purposes many people do, sorry if I made it seem like that. I just use it for harmless custom patches and removing some ads and rebuilding apps and messing with smali. I don't use it for cracking license verification or getting in app purchases for free. I buy everything from the play store and I have lp uninstalled the majority of the time now and don't really use it anymore because of substratum themes not allowing me to. Thanks for saying what you said and don't worry, I didn't take it as a b!tchy nag:)
[Android Apps and Games] IronTechmonkey:
Doesn't matter what it is used for. Like I said not a judgment. The point is that that the mere reference to it is considered taboo (as would continued discussion about it I suppose).

Veering back on topic (with apologies for going off topic), Adaway, has been working so reliably as I update a few devices from CM12.1/SuperSU to LOS14.11/LOS SU that I've hardly had to post here lately. Still using the adaway hosts list (smallest fo the bunch) with a dozen or 2 manually added items quite effectively.
[Android Apps and Games] kurtn:
The topic was magisk and adaway? You propose to use a conventional SU instead of magisk?
[Android Apps and Games] taytev:
Works very well ! Nice job !
[Android Apps and Games] ademasp:
Hello! Can someone here help me? I have a problem with Tokopedia app (https://play.google.com/store/apps/details?id=com.tokopedia.tkpd&hl=en), I always get an error everytime I'm going to the payment page. Things went smooth if I disable AdAway.. So I guess there is somethings I need to whitelist. But how do I know which site I need to whitelist?
[Android Apps and Games] DEVILOPS 007:
https://xdaforums.com/showthread.php?t=2190753&p=71849916
[Android Apps and Games] pkelly517:
Or reboot.
[Android Apps and Games] Beakhole:
Well now I never need to reboot. Easy.
[Android Apps and Games] osm0sis:
Badass! Nice work. This definitely needs to make it into the next version of AdAway! :)

[MENTION=3355398]mrRobinson[/MENTION] [MENTION=2822685]PerfectSlayer[/MENTION]
[Android Apps and Games] Pkt_Lnt:
Yeah, but.....

XDA is all about geeking out, even if just for $#!+s & giggles, to do it, ;)