yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ipdev:
AdAway v3.3 was the last version that gave me the reboot dialog after enabling ad-blocking / updating hosts. Honestly I tuned it off since it seemed to work for me without reboot.

Starting from v4.0.1, I seemed to only get the reboot dialog when I actually need it.

Changing systemless mode and reverting hosts file, on devices running SuperSU.

Not too surprising since I normally have to reboot SuperSU devices to apply changes vs. Magisk devices.

Devices range from Android 5.1.1 to 9.0.

I assumed it was intended. By design or not, it works for me.

P.S.
[MENTION=2822685]PerfectSlayer[/MENTION]

I run ua on my Nexus 4, 5 and 7.

Hammerhead is now on Pie :) Mako hopefully soon :D Flo/Deb :fingers-crossed:

Link ua-mako
[Android Apps and Games] martyfender:
If it was intended behavior, then why does the setting still exist to turn it off?
[Android Apps and Games] whitehollow:
How can I get rid of the European cookie law? I use i don't care about cookies in firefox. How can I add it on adaway? Other important repositories that u suggest me to add?
[Android Apps and Games] ipdev:
Not sure. Maybe the same reason it was in prior builds or a carry over?

I run into goofiness with 4.x on my devices. The common one is having to close the app after initially updating the host file. If I select a different menu option after enabling / updating hosts file. I get Disabled with a never ending circular icon instead on a check mark on the home menu.

Maybe it's trying to load the reboot dialog? I don't know. Just a quick close and reopen works fine. SuperSU devices may require a reboot, even if AdAway shows updated.
[Android Apps and Games] massima:
Magisk manager isn't able to find update, i activated TCP dump and the only address detected is api.github.com (added in the whitelist). Disabling adaway it can check updates
[Android Apps and Games] ktmom:
Reboot required is more about how your device/ROM handles the DNS cache. Rebooting after applying ensures the new hosts file is being used.

Did you disable Adaway before running TCP dump? Did you reboot your device after applying Adaway with the new whitelist entries?

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] Ultramanoid:
AdAway is a hosts file manager; has nothing to do with the issue.

A cookie warning / GDPR compliance agreement is not something you can solve with a hosts file, look into DOM or Javascript modifying extensions. Check uBlock Origin and the prebake option.
[Android Apps and Games] Pranjul:
Will the ADBlock work if i uninstall app without restoring default hosts file?
[Android Apps and Games] guest4711:
Yes, but it will not be updated... (and you must *not* deselect "systemless hosts" in MagiskManager otherwise host file will be reset).
[Android Apps and Games] massima:
I missed some steps (stop adaway, enable tcp dump, reboot). All works now;)
[Android Apps and Games] archz2:
I want to block certain sites in adaway. Writing xyz.com and adding in the black list doesn't help . I even rebooted my phone after applying the hosts again but still no effect. What should I do? I'm running Oreo 8.1 on my rooted Oneplus 5T.
[Android Apps and Games] jacohell:
My favorite app ??

Thanks ❤?
[Android Apps and Games] gorilla p:
I'm on 9.0 on the OP5T with latest Magisk.

Tried the last 3 versions 4.06, 4.07, 4.08 and none of them will update the host file. (http://1hosts.cf). It just spins non-stop.

Update: The first issue was that I wasn't prompted for storage permissions. I enabled them manually, then I at least got a message stating that my hosts source couldn't be reached. I checked via browser however and the lists comes up without an issue.

I am able to use Steven Blacks list however.

Is it an issue with the list not using SSL (i.e. https?).
[Android Apps and Games] saoudien07:
After reading some feedback, v4.0.8 seams to give a lot headache from here and there....

I ll keep v4.0.7 for now

Honnestly I am tented to go back to 3.3, which was more than perfect :good:
[Android Apps and Games] Nergal di Cuthah:
Fwiw 4.0.8 works perfectly no issues at all. Pixel 2 xl oreo 8.1

---------- Post added at 10:52 PM ---------- Previous post was at 10:49 PM ----------

I use an http source fine (mvps) so I don't think it's that. I'm on oreo not pie though , and I know there are some changes re http/https in pie
[Android Apps and Games] peterlee928:
4.0.8 works for me as well

google pixel 2xl

stock rom sept update

no custom kernels

busybox by osmosis

magisk 17.1
[Android Apps and Games] jcmm11:
I'm not on Pie but the way I interpret what I've read it could very well be an http issue. From what's been posted here I'd expect an attempt to correct this problem with the next beta. Default in Pie is to not allow unsecure (http) transmissions but to enforce a requirement for secure (https) transmissions wherever possible.
[Android Apps and Games] AndroidHtc101:
Is there anyway to find out which ad networks apps are using without dns logging adaway?

There is a particular app that causes me problems with ads ?

I'm no longer rooted on my new phone and have blokada. Is it possible to read the adaway hosts list without adaway?

Many thanks :)
[Android Apps and Games] marciozomb13:
That's how Developer/beta software works, if were 100% stable for everyone, would be released to public.
[Android Apps and Games] ipdev:
Sorry, I mixed that post a little bit too much. :o

I wasn't directly referring to how the device, system or root method handles the hosts file. Using the same device and rom. SuperSU does require more rebooting than Magisk but, the same glitch shows up in both.

I was primarily referring to a glitch in AdAway 4.x for me, after rebuilding the hosts file. When Hide reboot dialog was not selected. It seems to get stuck verifying the host sources are up to date?

Normally closing and reopening AdAway would correct it, until I rebuild the hosts file again.

Reverting the hosts file seems to work regardless of Hide reboot dialog selected or not.

At least for me, it is the same across devices and roms.

Root method makes some little differences.

Screen recording. MP4-Link

Logcat. Pastbin

Above example from Nexus 4, LOS 15.1 and Magisk 17.1
[Android Apps and Games] daddyc:
Where can i get v4.0.8?

Download link please
[Android Apps and Games] IronTechmonkey:
The link as well as some good about the differences between the last few versions can be found within the first page or 2 of results when searching this thread for "v4.0.8". ;)
[Android Apps and Games] Caltinpla:
https://androidfilehost.com/?w=profile&uid=890129502657583021
[Android Apps and Games] DiamondJohn:
Possible host sources with short descriptions

FYI: I scraped this info from Blokada, It includes a list of possible host files sources, with a brief description about each of them.

https://www.hastebin.com/ocitehekux.cpp
[Android Apps and Games] m0han:
updates not getting reflected

i'm on v3.3. added a few hosts from that page. but, the updates, if any, are not getting reflected for most of the newly added ones.

View attachment 4591711
[Android Apps and Games] DiamondJohn:
For starters, I never said I personally validated any of them. Secondly, if you read above, there have been many many posts regarding certain host sources (github sources being the first that come to mind) not always working. Test your sources on your PC to confirm they are valid URL's first. You may even be blocking some of the source URL's in other lists.
[Android Apps and Games] m0han:
wow! i wasn't - in the least - accusing. just gave feedback, so others also could check.

edit:

1. https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts - Date: September 09 2018

2. https://raw.githubusercontent.com/EnergizedProtection/block/master/blu/formats/hosts - Updated: Fri, 07 Sep 18 11:14:22

3. https://raw.githubusercontent.com/jawz101/MobileAdTrackers/master/hosts - page is accessible; but, no dates.

4. https://zerodot1.gitlab.io/CoinBlockerLists/hosts - Last modified: 2018-09-06 14:30 (reflected)
[Android Apps and Games] AdroitAdorKhan:
Use Energized MIRROR RAW Link from the website/git. It will show you the last updated date!
[Android Apps and Games] ipdev:
Hi all.

To remind and recap a few common and recent posts.

Starting from v4.0.5 target SDK is 28. (Android 9 Pie)

I missed that one myself. Thankfully it was pointed out to me. ;)

This means http:// sources will not work on Pie(9) and up. Oreo(8.1) and below you can still use http:// sources.

Android change.

Local files still work for a host source.

file:///sdcard/YourHosts.txt

Even on Pie

https://raw.github has always had date issues but will normally download and be added to the hosts file.

It has to do with the last modified header.

PerfectSlayer has taken over active development, mrRobinson let him take the reins.

Gave him the Signing key actually.

The Preview builds from GitHub will point you to this xda thread and PerfectSlayer's current downloads. Android File Host. Where you can download the v4.x preview builds.

Note:

The above information can be found in the thread.

You can find the posts if you search for them.
[Android Apps and Games] guest4711:
This is mostly a cosmetic problem. AdAway uses the contents of the http "last modified" header to display the online status but some servers, e.g. github, do not send these information.

So AdAway displays "not available" even if this source is used... (a new version should display the timestamp of last download for local state imho).

But that has been mentioned before and before and ...
[Android Apps and Games] Paleskin:
where is the magisk module ?
[Android Apps and Games] Portgas D. Ace:
You can enable systemless hosts within Magisk before starting AdAway for the first time, that's it. No Magisk module available/required.
[Android Apps and Games] 8bitcode:
Hello i have a problem with the new canary build of magisk and Adaway, it runs smooth the game of Fate Go, but when i install Adaway the game doesnt run like when it detects the phone is rooted, if i unistall Adaway it runs great again.
[Android Apps and Games] osm0sis:
Sounds more like the game is detecting that one of its ad servers is getting blocked and interprets this as root. Figure out which one and you can whitelist it.
[Android Apps and Games] guest4711:
Do you mean https://xdaforums.com/apps/magisk/magisk-unified-hosts-adblocker-t3559019/page1

which is deprecated in favour of AdAway?
[Android Apps and Games] OronDF343:
HTC 10 on Android Oreo. Magisk 17.1.

On both 4.0.8 and 4.0.7 AdAway gets stuck on "Applying hosts file"
[Android Apps and Games] xanthrax:
You tried giving storage permissions ?
[Android Apps and Games] NPOA556:
I had the same problem as [MENTION=6122154]OronDF343[/MENTION]. Regardless of which source I used, it always got stuck at "Applying... Applying hosts file" with the spinning red circle to the right. I have never been prompted to grant storage permissions, but I went ahead and did that through the app settings. That fixed it! Thanks!
[Android Apps and Games] OronDF343:
Unfortunately that solution doesn't work for me. Sometimes it actually works but only after a lot of fiddling, it seems random...
[Android Apps and Games] gorilla p:
Try clearing data and then give it storage permissions.

Try removing default sources and using just one

You can try

https://github.com/StevenBlack/hosts

Check to make sure it has superuser permissions as well.
[Android Apps and Games] BombeerHC:
Hi [MENTION=2822685]PerfectSlayer[/MENTION], I ve got one simple request for new version.

can you add an option to copy a single domain in tcp dump results? maybe with a long press on

thankyou
[Android Apps and Games] ktmom:
The 4.0.8 beta has this functionality. The the circle with bar adds to the blacklist, the checkmark adds to the whitelist and the double arrows will add to the redirect list.View attachment 4594393

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] PoochyX:
Will Adaway ever be able to do Http Filtering and if so without a user certificate?
[Android Apps and Games] guest4711:
No, because filtering of https would break security... It is safer and easier to perform this in the browser as uBlock-origin is doing it for firefox/fennec/mozilla...
[Android Apps and Games] ktmom:
Not to mention it's outside the scope of a hosts file manager like Adaway.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] PoochyX:
Isn't Http filtering a good way of adblocking and by it compromising security do you mean the network may be monitored notification?
[Android Apps and Games] guest4711:
No, filtering of https outside the browser is nothing else than an successful "man in the middle attac".
[Android Apps and Games] PoochyX:
Why does it ask for a user certificate when you Http filtering
[Android Apps and Games] BombeerHC:
thanks for the answer.

I'm on 4.0.8 too but it is not what I was looking for, I know well the three functions you described but I'm looking for the functionality of copying in the clipboard of the single domain.

my english is not so good. I hope you understand me :)
[Android Apps and Games] ktmom:
Yes, I understand and agree that feature is not available.

I'm not sure I understand why you want TCP dump to be able to copy to the clipboard. The only thing I can guess is to use the domain information outside of Adaway.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] martyfender:
I recommend the Steven Black mirror instead:

http://sbc.io/hosts/hosts
[Android Apps and Games] BombeerHC:
exactly, I want to report some not blocked domains in a group ;)
[Android Apps and Games] Nergal di Cuthah:
Maybe make a screenshot of the log and highlight the ones you wish to present to said group.
[Android Apps and Games] BombeerHC:
Yes, absolutely, thanks for the suggest. there are so many alternatives that I usually use, but I asked the developer if he could add this feature, that's all.
[Android Apps and Games] sobriquet506:
I updated to the beta 4.08 from 3.3, and while it mostly seems to be a great update, this version has been unable to automatically update hosts in the background.

It tries, and gets all the way to the 'Applying host file' phase, before returning with 'Not enough space'.

Despite this, there's plenty of space on the partition, and I can just disable, then immediately re-enable ad-blocking from the home screen to successfully download and update the hosts file. I do use the 'Energized Ultimate' list, which is comparatively huge (~16mb), and takes commensurately longer to download / process, so I might be running into a timeout or something.

There were no similar issues using 3.3 with the same sources. I'm on an H918, running N (7.0), and using Magisk 17.1 with 'Systemless hosts' enabled (I'm using system/etc/hosts as target). AdAway is running as a system app, and is set to be ignored by my system battery optimization.

I appreciate the recent work on this, and just wanted to report.
[Android Apps and Games] QuinNExotic:
adaway can't block YouTube Ads now?? It doesn't work for me for 2-3 days now
[Android Apps and Games] guest4711:
Curious that it should has been worked for you. It's common sense that host based blockers like AdAway can not block ads on youtube and spotify...
[Android Apps and Games] QuinNExotic:
deleted
[Android Apps and Games] The.Night.King:
That's strange because I face exactly the same issue but when applying energized protection through terminal emulator.

When I apply any energized pack for 1st time, it works, second time onwards no space.

Here, the beta works fine for me. But I use unified hosts using adaway. Go to unified hosts XDA thread, they've provided info to configure adaway & unified hosts already contain adaway's stock lists.

---------- Post added at 08:23 AM ---------- Previous post was at 08:20 AM ----------

Use NewPipe friend.

BTW, guys when you apply adblocking using adaway 4.0.8, do you get notification channel warning?

Please enable notification channel warning toast, the toggle is located at the bottom of developer options.

Check and report friends.
[Android Apps and Games] OronDF343:
Still having trouble. After every boot AdAway believes that it is Disabled, and no solution works reliably to bypass "Applying hosts file"
[Android Apps and Games] DiamondJohn:
Just a thought. If before you first apply large Host file, the newer one can fit as the existing one takes up no space. However, after the large one has first been applied, the amount of space consumed by the existing large host file is not added back to the total available. ie used space is calculated as having both large host files.
[Android Apps and Games] sobriquet506:
As I mentioned, the 'Energized Ultimate' list was working fine for a long time in AdAway 3.3, and continues to work in 4.08, as long as I update from the AdAway home panel. AdAway 4.08 is only failing to update my hosts file when it runs in the background.

It does seem like it might be an issue with the size of the 'Ultimate' hosts list though, because I got the 4.08 background update to work with the 'Energized Basic' list, which is a few megabytes smaller.
[Android Apps and Games] AndroidHtc101:
In around 5 years, HDR will be standard on most YouTube videos. All new phones will have HDR panels. It will change how we view content online believe me.
[Android Apps and Games] jcmm11:
One more - grab the info from /data/data/org.adaway/cache/dns_log.txt

There's a bunch of other data in there as well but it's easily strippable with a competent text editor.
[Android Apps and Games] Mahz4130:
How do you add 'Energized' to the hosts list. Thanks in advance.
[Android Apps and Games] ktmom:
Go to the Github README page for links to the different flavors. If there's a working mirror link, you probably want that over the raw link (which won't give last update dates).

The ultimate variant is 16M! IMHO, a bit excessive for an android device.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] sobriquet506:
My device internal storage is 64 GB, + a 200 GB SD card... so 16 MB seems trivial, and I'm not sure why I'd want less ad-blocking on android than any other device.
[Android Apps and Games] shaqman89:
The thing is, system storage is usually limited. But I agree, it's somewhat nothing.

More importantly though, the more entry there is, the more RAM memory it is needed (more for running apps is always better rather than system tasks), and the longer it is to process the blocking since there are more entries to be checked. Those two reason, makes it excessive for an android device since most of the entries won't be needed anyway.
[Android Apps and Games] sobriquet506:
Fair enough. I have a perfectionist's approach to ad-removal (and 4GB of RAM), so to me the trade is a good one, but to each their own.
[Android Apps and Games] GabbyWC:
This has nothing to do with AdAway.
[Android Apps and Games] AndroidHtc101:
Wrong forum post sry!
[Android Apps and Games] DiamondJohn:
I too use what others would call an "excessive" host file;). However, no matter what your storage is, its the system partition (ignoring systemless hosts) that the host file sits on, which is not 64GB. For example, one of my phones is a 32GB Nexus 5, It has a system partition of only 1GB (no matter how empty the other storage is). It means I have gotten a space limitation after installing something like RR Oreo. When trying all my hosts sources, it fails with a space limit; but its a spare phone so not a big concern. I cant even install a GApps other than PICO! with RR.:eek:
[Android Apps and Games] sobriquet506:
I understand that the system partition is typically separate.

If you look at my original post, I mention that I'm using Magisk 17.1, with systemless hosts... so yes, I should basically have the full internal partition available for AdAway, if I understand correctly.

As I've said, available space doesn't really seem to be the issue, because I can update the list successfully from the AdAway home panel.
[Android Apps and Games] kos25k:
hello.past few days,my app doesnt update the hosts.it just keeps saying that it searches for updates.both on my phone and tablet.I live in Greece..any idea?thanks.
[Android Apps and Games] knpk13:
Why is AdAway 4 not available on XDA labs or fdroid? They're both stuck on version 3.2

Edit:

I see a version 3.3 on the official github releases page, and links to apks for version 4 floating around this forum. I'm not sure whether to update or not and which version to update to.
[Android Apps and Games] Pkt_Lnt:
It is still beta and not officially released.
[Android Apps and Games] ktmom:
Updating to 4.0.8 is fine. As pointed out in the post above, it is a beta. Just search this thread for the link.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] knpk13:
Ah I found the documentation on preview builds on github. Thanks. Thought it would be mentioned in the first post too. Oddly enough, although 3.3 is the latest stable version, labs and fdroid only show 3.2 for me. I updated to 4.0.8

Funny thing is I learnt that there's actually a new version because my substratum theme suddenly came with an option to theme adaway 3 and 4.
[Android Apps and Games] ktmom:
Subscribing to this thread and setting the system to send you a weekly digest email would be an effective way to stay on top of development.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] guest4711:
On f-droid 3.3 is available since 2018-03-19 (but perhaps only if "unstable updates" is checked in settings): AdAway (Block advertisements) - https://f-droid.org/app/org.adaway
[Android Apps and Games] cmonty14:
Troubleshoot issue with: Spotify

Hi,

I have identified AdAway as the root cause for the following issue:

Spotify cannot stream to WLAN speakers in my local network.

To my understanding Spotify sends a broadcast to 0.0.0.0 (confirmed by Net Monitor), however when AdAway host-file is active there are no devices identified.

As soon as I reactivate the original host-file there's no issue with Spotify.

I can reproduce this on any device (Samsung, Huawei, Sony).

How can I fix this issue?

THX
[Android Apps and Games] mondohow:
What happens if you go into Settings/Preferences and change the Redirection IP from 0.0.0.0 to something like 127.0.0.1?
[Android Apps and Games] cmonty14:
The current setting for "Redirection IP" is: 127.0.0.1

This means with this (default) setting the issue is reproducible.
[Android Apps and Games] broomer68:
Still getting warning for channel "null" on 4.0.8

Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk
[Android Apps and Games] ktmom:
A quick thing to try is change the redirect from 127.0.0.1 to 0.0.0.0, then rebuild and try Spotify again.

If it still doesn't work, disable all of your hosts sources. Then rebuild the hosts file. After this the hosts file size should be in the ballpark of 277 bytes. Test Spotify again.

If it works with the simplified hosts file (without sources) and/or it works using the 0.0.0.0 redirect, you need to use the wiki instructions for DNS logging when Spotify is launched and running.

---------- Post added at 08:14 ---------- Previous post was at 07:56 ----------

I scrolled back through your previous posts and I can't find any hint what you are referring to. Maybe a complete problem report; I do this, expect that but get this other result. It's always useful to include specifics about your platform like device manufacture and model, OS version, other mods (e.g. Xposed, Magisk modules, ect).

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini