yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] eliasf21:
Same issue on my motoX. Worked like a charm on 4.4 nothing happens on 4.4.2 since last night when I updated...

Sounds kinda weird working for some but not others... Hopefully the devs are working on a newer version!

Really love this app, way better than adfree and less annoying than adblock plus...

On a second thought, since none of the three work on stock motoX 4.4.2 maybe Motorola has somehow patched their build to not be affected by these apps...

Sent from my XT1053
[Android Apps and Games] dimsar2013:
Works well on Galaxy Y GT-S5360 running Evo-x4.2 ROM
[Android Apps and Games] manken42:
Thanks

Thanks. I m using adaway
[Android Apps and Games] dimsar2013:
Tried also on Galaxy Tab 2 7.0 P3113 running Slimbean 4.3 v2.2 stable. Tested and working.
[Android Apps and Games] asistio04:
Wow thanks for the apps
[Android Apps and Games] asistio04:
Wow.. Thanks to this appa
[Android Apps and Games] peterduong:
Hi, I recently updated the hosts file, and realised that the adaway .sufficientlysecure.org /hosts.txt has gone.

What has happened, anyone?

Thanks
[Android Apps and Games] a103:
I'm new to this thread and would like to know if the app gets updated? I'm still using the 10/12 version.

Thanks.
[Android Apps and Games] Pons:
Check out the commits. Last version is 2.8, but yes it is being worked on.

https://github.com/dschuermann/ad-away/commits/master
[Android Apps and Games] gabi11:
Is there a way I can add specific url's to not block them?
[Android Apps and Games] an0n981:
Add them to white list found under menu/your lists
[Android Apps and Games] nadeemakhtar1994:
When will stable version be released. Still shows v3.3
[Android Apps and Games] ktmom:
This has been asked several times and the answer is the same, when the bugs are worked out of the 4.x beta and it is ready for a stable release.

ETA questions are considered very rude on XDA.
[Android Apps and Games] PerfectSlayer:
Hi all,

It looks like the last dev build is quite stable.

Since released (5 days ago), it had more the 1k downloads and nobody complains about FC or new bug.

So what do you think to update the OP with a changelog and a link to the 4.x version?

I guess the main feedback will be the lack of http source support so I would prefer take time before updating F-Droid version in order to document enough this change.

While I'm here to take some advices from the community, I would like to know what you think about bug report library?

I found some open source libraries, like ACRA, which can send crash report to a custom server.

I think it would be useful to fix bugs from stable release, as stable users are not active on XDA.

This library looks nice because it does not send personal data and could be opt-in.

Let's be clear, I don't want personal data to be gathered by this kind of feature. It's again my idea of FOSS and it's a real issue here (in Europe with GDPR laws). So no device identifier, no name, etc... Just app version, android version and stacktrace. Ideally, uploaded crashs should be freely accessible to anyone and report should frequently be cleared (let's say erase any 2*months old crash report).

So, do you think this kind of library could improve the app?

If yes, would you accept to set it up in AdAway?

If yes, any idea of where to setup the custom server (for free)?
[Android Apps and Games] kantjer:
Report library sounds like a great addition
[Android Apps and Games] Ultramanoid:
Personally, and I know I'm against the majority here for sure, I would stop using AdAway, remove it, and go back to merging hosts files manually as I did before.

On principle I do not allow on my devices anything with reporting, or analytics of any kind however anonymous. Zero. Again, I know I'd be the exception, just wanted to make it known since you've been nice enough to ask. I'd pay a good amount for AdAway as is, on top of any donation already made, I'd rather it'd be a clean commercial piece of software than an open source one with reporting.
[Android Apps and Games] manpildo:
Also not an issue because he said it could be opt-in. I don't see why not if it's optional.
[Android Apps and Games] DiamondJohn:
As far as I know, its using Firebase Analytics. Ironically, I use a blacklist within AdAway, which blocks Firebase.;)

----edit----

errr.. I mean crashlitics. Which also catches/stops other apps.
[Android Apps and Games] Ultramanoid:
You didn't read my post well. 1 ) I said on principle, for a start; which means regardless of the conditions. 2 ) The reporting functionality only would be opt-in. The library would still be included in the apk. It IS an issue FOR ME to have such libraries in my system.

No Firebase ( which is basically what for many years we used to call malware ) or Crashlytics in AdAway at present that I can find. Where did you install it from ?
[Android Apps and Games] guest4711:
Why not use a crash report by email as e.g. f-droid does? No need to setup an analytics server, no problems with privacy, fully transparent when used... And opt-in on demand - no submission without user's agreement.
[Android Apps and Games] nithin9:
PerfectSlayer said

First of all I'm a noob in AdAway thing. Does this means latest AdAway 4.x works only in https website and not in http website? I think that means something else, but just wanted to confirm before installing.
[Android Apps and Games] guest4711:
No, it means the host sources have to be accessed by https...
[Android Apps and Games] ktmom:
This is a Pie limitation affecting Adaway. I believe there is a work around, but I've not cared enough to sort it out [emoji6]

On my N6 on Oreo, the http:// protocol worked fine using Adaway 4.0.x.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] DiamondJohn:
Sorry for the OT ie discussing a list as opposed to the AdAway app itself:o

I built the list a while back (so maybe it needs a review), I did not record how I got the domain names, but the list I use is attached. I have a boot script which automates the insertion of lists into my blacklist in AdAway 3.3.

If there is another (ie not Firebase or crashlytics) tracking, if its not IP based, you should be able to find the domain name and add that to your blacklist ie see the previous tcpdump posts
[Android Apps and Games] carlese:
Guys I have the StevenBlack list and the antipopads, both from github, but my host file has like 10 entries.. What's wrong?
[Android Apps and Games] ktmom:
There's not enough information here to begin to help you.

Start with at least: device model, Android version, stock or custom rom (if custom which one), how are you rooted, which version of Adaway, links to each hosts sources you're using, do you have white/blacklist entries. The entries that made it into the hosts file are from the black list, from one of the sources but incomplete?

And a complete report would include a logcat made during the application of the hosts sources with debugging turned on in Adaway settings.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] Ultramanoid:
It is not off-topic, but we misunderstood each other I think. I was discussing the application itself, and not speaking of blocking analytics services. I was saying AdAway the application does not include at present Firebase or Crashlytics libraries in the apk, or any other analytics package that I can see by analyzing the AdAway apk. I thought you said it does, hence my question.

( Edit : On topic since we've been asked about the inclusion of ACRA for crash reporting in AdAway. )
[Android Apps and Games] DiamondJohn:
OK, I can see where I went wrong. You were actually replying to a post suggesting including some analytics, NOT saying there were analytics in AdAway :o my bad.

I said I was OT as I wasn't explicitly discussing ACRA, but simply providing a list; ie crashlytics blocking.
[Android Apps and Games] carlese:
Oneplus 5

Stock OOS 5.1.7 (oreo 8.1)

Magisk 17.3

Lists:

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

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

I have 3 entries in the whitelist but none show in the host file.. Using latest 4.0.11, previously I was using 4.0.8
[Android Apps and Games] patrickdrd:
this source looks nice:

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

I wish it had a mirror
[Android Apps and Games] DiamondJohn:
Thats exactly what a white list should be doing. its a black list if you wish to block it ie appear in your host file. Or have I completely misread your post :confused:
[Android Apps and Games] carlese:
Ok for the whitelist part, but the problem is that my host file has only 10-15 entries, usually it has a lot more, si something isn't right here..
[Android Apps and Games] guest4711:
Please quote or attach your whitelist so we can check it.

You could easily whitelist all domains putting * into whitelist or all Russian domains by putting *.ru into it independent from the host sources you are using...
[Android Apps and Games] carlese:
It's not a problem of whitelist, the problem is the two lists I mentioned not getting applied.. I only see a few entries in the hosts file, I don't think it's normal..
[Android Apps and Games] ktmom:
We are trying to help you. You must help us help you.

It's not a hazing ritual to ask you to answer specific information that will allow someone here to pinpoint the problem for you. Particularly when everything is working fine for our devices.

I absolutely understand that you are certain it has nothing to do with a whitelist. Then explain how you know that.

It was explained to you how an inadvertent entry in the whitelist could cause the problem you are describing. That's why asking for a screenshot of your whitelist entries could help rule that in or out.

I strongly suggest that you go back and fill in the blanks of information that you were asked for. If you are positive it's a failure of the hosts sources to download/apply, them the only way to prove that is with the logcat I asked for originally.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] ipdev:
The hosts worked fine for me, 1.75 meg host file, 59393 lines. Take out 10 lines for the header, 59383 host names.

Without knowing your complete setup, here is what I would try.

Disable Ad-Blocking to revert your host file back to normal.

Using just one or both host sources, Enable AdBlocking to download and create the host file. Check the host file, if it's correct then start adding things one at a time.

Other host sources and your lists. By adding one at a time, you will eventually figure out what is breaking it.

Or it's OOS 5.1.7 :laugh:

Just joking, unless 5.1.7 never makes it to official release on OnePlus website. ;)

PS.

Attached the host file created from the above two sources. If nothing else, you can unzip it and try adding it as a local host source using the file:// option.

Cheers.
[Android Apps and Games] carlese:
I got it working, I think magisk was stuck so I un installed, reinstalled and now adaway works as it should.. Thanks to everyone!
[Android Apps and Games] patrickdrd:
there's not much usage in using the file:// option,

because for example I'm preparing the file in my laptop and

then I'm just copying it to the etc folder,

why use that?
[Android Apps and Games] guest4711:
1. Copying to /etc is not systemless, so you will not receive any OTA updates to your ROM if doing so.

2. When you like to share a blacklist between some devices the file protocol is convenient to do so - you put all your hosts you want to blacklist into a single file while you use the automatic update of AdAway for the standard sources. And you may use this file on other OS too.

BTW:. If you prepare your hostfile on your laptop there is no need to use AdAway anywhere....
[Android Apps and Games] Ultramanoid:
You don't have to. Others do, and was requested several times.
[Android Apps and Games] patrickdrd:
From my experience I've learned that the most useful and critical thing to share

is the whitelist, not the blacklist, as I posted to the energized thread,

because all (or almost all) the sources are full of useful stuff and

everything is rolled out to the users completely untested!
[Android Apps and Games] sinthemau:
Hi all,

sorry for the noob question but reading first post and some other I cannot understand the right way to go with AdAway and Magisk:

- Device: MI A2 Lite

- Unlocked

- Magisk 17.1 rooted with "Host Systemless" ON

- AdAway last releas 3.3 (61) with Activate Systemless Mode GREYED OUT (Cannot change).

My question is really silly but so am I:

Could I leave all exactly as it is or I MUST add/modify the host list???

I don't need a complete block of all the Ads, just a normal Ad Blocker without having to do a lot of work by myself..

Thanks so much all

EDIT

My major concern is to not mess with system so to not block OTA update
[Android Apps and Games] guest4711:
It is completly normal for 3.3 that systemless host settings is grayed out (and set to "off") even if Magisk uses systemless hosts. You may ignore the display as long as your settings in MagiskManager is correct:

1. Make sure in MagiskManager 'systemless hosts' is enabled

2. If not, enable it and reboot.

3. Turn on AdAway (by downloading & merging host sources)

4. Enjoy!

It's been discussed here a lot of times... The search function could help you to find an answer to your questions.
[Android Apps and Games] sinthemau:
Yes, you are right I searched and it seemed to me as you said, but I've seen a lot of posts talking about different host file...so I have some doubts...now all is clear and in fact AdAway is worlking great!!!

Thanks so much
[Android Apps and Games] ipdev:
Actually it is a very powerful option.

By using the file protocol you can:

Build your own host list.

Use Backup source lists.

Use a github or http source that you copy.

Your own mirror file.

Works as Black List, White List or Redirect.

Depending on format.

I agree.

Personally I use minimal black lists and only add to the blocking as I run into it.

I also add a few to a white list when need be. ;)
[Android Apps and Games] DarkSide®:
[emoji848] why?View attachment 4642423

Inviato dal mio Redmi Note 4 utilizzando Tapatalk
[Android Apps and Games] ktmom:
Earlier discussion in the thread:

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] osm0sis:
Duplicate. Delete please.
[Android Apps and Games] osm0sis:
[MENTION=2822685]PerfectSlayer[/MENTION], you might need to double-check some things with the new Magisk Canary (17316). Systemless hosts is now a Magisk module loaded like a normal module. Some Magisk paths have changed (backwards compatible, for now). Also, ad blocking seems to work, but the webserver doesn't seem to be serving anything, so the ad boxes still show up on webpages.
[Android Apps and Games] guest4711:
I'm using the canary build one one device, kantjer's build on another. I don't see any (new) problems with 3.3, even the webserver does it job as always.
[Android Apps and Games] osm0sis:
It seems to be working somewhat, but some pages still have the ad boxes, not sure what to make of it.
[Android Apps and Games] Vankog:
Depends on the version. 3.3 has issues with long hosts indeed. But this was fixed in the new builds.

---------- Post added at 06:07 PM ---------- Previous post was at 06:04 PM ----------

Do you have some examples you could share?

Does this also happen when Webserver is disabled?
[Android Apps and Games] Squallo91:
Systemless hosts not working at all

Hi all! (especially [MENTION=2822685]PerfectSlayer[/MENTION])

I unlocked my bootloader and rooted my device with sole purpose of using a modified hosts file and heard of Adaway as a good app to achieve that goal. I was worried of risks (no OTA, not working banking/gaming/social apps etc.) associated with messing with /system files so "systemless hosts" functionality sounded wonderful to me.

The problem is, Adaway (tried v. 3.3 from F-Droid and v. 4.0.10-181015) doesn't work properly on my device:

- if hosts download and replacement works fine, it is only valid till reboot; after reboot the hosts file is back to original one and sites are not blocked anymore

- the "systemless" functionality is always grayed out in Adaway so it's quite confusing (even though I read some posts that it still should work systemless if set properly in Magisk)

- sometimes there's only the red cross and after trying updating the hosts file it fails and refers to help (where I can see nothing about the reasons for that)

- the newer version (4.0.10) comments failed attempts with "not enough space on partition, try different path"; different paths also fail and suggest that there is no symlink and that I should try that (how?)

-also, a bug I spotted in 3.3 was that links from https://xdaforums.com/apps/magisk/magisk-unified-hosts-adblocker-t3559019 thread weren't working properly - I uploaded my hosts.txt file and it worked, so maybe it was because those files are without extension.

I have my own hosts file so I could try to replace the Android one manually but dunno what is the path to Magisk systemless hosts file and whether it's possible.

My current Android setup:

Huawei P9 Lite (VNS-L21C432), firmware ver. B504 (after install flashed B504's boot partition image patched by Magisk), Android 7.0 Nougat with EMUI 5.0.3. Used custom recovery (Elite_TWRP_3.1.1) to make a full backup, then flashed original recovery partition image. Magisk - v17.1, "systemless hosts" setting always on, tried with and without "core only mode"/"preserving AVB 2.0/dm-verity" (even when unchecked it is checked after reboot, normal?) - no difference. SafetyNet check - always correct. Root Checker app says I'm rooted.

Any help much appreciated! :)
[Android Apps and Games] jcmm11:
If I had to guess you're Magisk partition is low on space and needs to be resized. For starters:

What Magisk modules do you have installed?

What's the output of (in a terminal emulator, as root)

df -h

[MENTION=2822685]PerfectSlayer[/MENTION] you may want to consider some logic to resize the Magisk partition on the fly. This issue has come up before. It doesn't happen often since the hosts file tends not to be that big and there's usually enough room, but apparently it does happen.
[Android Apps and Games] Ch3vr0n:
Idyllic phone and look

Verstuurd vanaf mijn Nexus 6P met Tapatalk
[Android Apps and Games] PerfectSlayer:
Hi all,

Feedback:

AdAway will only merge the hosts it can parse.

There is hostname a validation in RegexUtils.java which is tested in RegexUtilsTest.java.

I put your samples into a file and add it as a file:// source (see it's useful!) and yes, parsing failed.

So they are not included in the final system hosts file and you are right, it is a bug.

I fix it by removing all legacy parsing using homemade regexp to replace it by Guava validator implementation.

And now, it works well! But I had to enable proguard shrink (no obfuscation) in order to build the app.

It could cause some trouble. I did some basic tests of all features to customize proguard rules but I might not found all the issues.

That is where a crash report library (see my post) could be useful but only few of you answered about it.

Is it because others don't care as soon as its opt-in and privacy respectful and agree to include it?

About email reporting, I don't find it easy to use. It seem difficult to analyze a bunch of mails to find the most impacting or occurring bugs.

I tried and it works well on the latest beta. We already talk a lot about StevenBlack and GitHub support and it should be working now.

There is some users on GitHub which report that Gist and Pastebin is not fully working (modification date not updated).

As the server does not provide this information, it will require some workaround. Let me know if any of you use a lot this hosters.

Do you have any pointer to Magisk documentation to look at?

Changelog:

Fix issue when getting last modified date on file:// hosts source

Fix excluded hostnames from source due to parser failure

Thanks:

Special thanks to [MENTION=5417899]DiamondJohn[/MENTION] and [MENTION=2148774]Vankog[/MENTION] for theirs helpful bug reports.

Download:

AdAway 4.0.12 on AndroidFileHost (md5: 931683eaf6be99832d07f06d3b519af8)
[Android Apps and Games] dingsaller:
[MENTION=2822685]PerfectSlayer[/MENTION] thx a lot for 4.0.12 and your excellent work!:good:
[Android Apps and Games] martyfender:
https://github.com/topjohnwu/Magisk/tree/master/docs
[Android Apps and Games] Squallo91:
Problem solved

[MENTION=2822685]PerfectSlayer[/MENTION]

[MENTION=4487388]jcmm11[/MENTION]

After flashing TWRP recovery, updating Magisk to 17.3 beta and installing v. 4.0.10 of Adaway - the problem is gone. My guess is that the fault was on Magisk's side as after updating it the "systemless hosts" function in Adaway was no longer grayed out. My altered hosts file stays after reboot and after uninstalling Adaway,
[Android Apps and Games] manpildo:
Were you using 3.3 before? Systemless hosts being greyed out was a very known bug of AdAway, not Magisk. Updating the app would have been enough.
[Android Apps and Games] DiamondJohn:
I definitely think reporting bugs via email is a last option. As for including a reporting library, It sounds good in that it is opt-in and that it is user cleansed. The other thing in the back of my head is also that ironically, one could use AdAway to block the hosts to the report destination server; if its not via an explicit IP. So, if it would make your life easier, then I say go for it; as well as making our app experience better in there being less bugs.
[Android Apps and Games] jcmm11:
Specifically for resizing the Magisk image see the imgtool applet referenced

https://github.com/topjohnwu/Magisk/blob/master/docs/tools.md
[Android Apps and Games] nadeemakhtar1994:
Using Adaway 3.3 on Android 8.0

Added stevenblack host -https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

But is says not available.

---------- Post added at 12:22 PM ---------- Previous post was at 12:22 PM ----------

Using Adaway 3.3 on Android 8.0

Added stevenblack host -https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

But is says not available.
[Android Apps and Games] ktmom:
Is there a reason you're using 3.3 on Oreo instead of the most recent beta release 3-4 posts above yours?

If you still have trouble with the beta, turn on logging in Adaway preferences, then grab a logcat covering the time that you try to apply the hosts sources.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] nadeemakhtar1994:
Updated to 4.0.12 . Added stevenblack host. Shows "unknown update status"
[Android Apps and Games] ktmom:
Yes, that status is to be expected from GitHub sources. It's well discussed in this thread.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] jcmm11:
If you just updated your hosts exit AdAway and go back in. That message will be updated and show a timeframe
[Android Apps and Games] nadeemakhtar1994:
Yes. Did. Now showing steveblack host upto date for 10 days. I am new to adaway. Could you tell me if i need to change any settings in preferences for better blocking.

Also i am using default hosts along with stevenblack
[Android Apps and Games] ktmom:
Not on every device. Doesn't ever update on my PH-1 [emoji6]

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] jcmm11:
You should be fine with no changes. I find that stevenblack by itself is sufficient, but leaving the defaults alone is fine as well (duplicates will get removed when creating the final hosts file).

You may eventually want to add entries to the black and/or white lists, but see how things go with no changes for a while.