yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] guest4711:
Why do you think so? Which app is fake in your opinion? Which source is tempered with malware afayk?
[Android Apps and Games] carlese:
After installing 4.0.5 over 4.0.4 my exchange work account gets blocked and shows no connection on Gmail.. If I disable adaway it works.. I tried dns logging but can't see anything important there..
[Android Apps and Games] Nezorflame:
This is plain stupid.

Even the official website https://adaway.org/ states that the place to download the app is the F-Droid.

More than that, F-Droid builds are based on the release tags from the official source code repo (available here - https://github.com/AdAway/AdAway) and that's exactly what [MENTION=2822685]PerfectSlayer[/MENTION] develops.

Don't post such things unless you have some proof.

[MENTION=2822685]PerfectSlayer[/MENTION], thank you for your continued contribution. Hope that the latest release will be soon available on F-Droid as well.
[Android Apps and Games] TheNec:
Because it's true. Every app from [MENTION=2799345]M66B[/MENTION] (xprivacy, NetGuard) for example is, let's say, unofficially on F-Droid.

I have found at least one app that I am pretty sure about that it was fake/malware but I can't tell you the name because it was months/years ago. F-Droid told me that an update for an app that hasn't been updated for 2-3 years is available. Same version number as on playstore but the size has nearly doubled while no new version appeared on playstore even after waiting for several weeks. Update not possible because signed by another (f-droid) key. This is imo enough to not recommend f-droid to other people!

But you can try it yourself. "Steal" some source code. Add potentionally harmful code to it. Submit it to f-droid. As long as it compiles you will see it appearing in the repository after some time.

I would recommend to use YalpStore perhaps in combination with something like SaferPlay

btw. we should stop the discussion here because it doesn't have any connection to AdAway (except the release on f-droid)

Read again the comment I referred to and then mine. But slowly :P
[Android Apps and Games] Ja_som:
[MENTION=2822685]PerfectSlayer[/MENTION]

thanks for the update.

I have a issue, for some reason when I apply (also tried before updating hosts) I can't use the XDA Labs app. It just thinks I'm not connected to the internet. I tried to enable DNS logging, but there is nothing. Only when I "didable ad-blocking" it works.

Can someone please confirm?

I use only the default 3 host sources (adaway.org, hosts-file.net and pgl.yoyo.org), and in the black list I have only imedia.cz and commerce.forpsi.com.

I think all other apps works fine.
[Android Apps and Games] Nergal di Cuthah:
I think he was joking (thus the emoticon)
[Android Apps and Games] GuardianUSMC:
That was my initial instinct given that it is the dev branch, but given the statement about the db migration led me to think it might be on top install. Hence the confusion and why I asked to be sure.

That's what I thought too, thank you for confirming my suspicion on that but being the "dev" branch threw me a bit, so I will go ahead and do an on top install. I will report back if anything goes awry, thank you.
[Android Apps and Games] Sh0X31:
Hi,

How i add this host to adaway :p
[Android Apps and Games] GuardianUSMC:
I just installed the latest release on top of 3.3 and I am happy to say that everything went smoothly, all settings, lists and hosts "transferred" successfully over. I love the sleek interface and I specially like that when you add something to block or whatnot it takes effect immediately and you no longer have to reapply the hosts to get them to take effect, that is very nice. It initially threw me when I couldn't find anyway to apply the hosts but this was a very welcome discovery. Thank you for a great release :good:
[Android Apps and Games] Ultramanoid:
There are several versions that block different things. Choose the one you prefer. For instance if you choose default + fake news + gambling :

https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts

Copy the link, paste it in AdAway going to :

Host sources > Plus button ( + ) > Add source
[Android Apps and Games] ktmom:
To add to the excellent advice you already received(/given)...

You might consider using the link in the non-github mirror column. As discussed recently in this thread, github hosted sources sometimes give problems.

[MENTION=2456950]Sh0X31[/MENTION], if you hadn't realized; on the page you linked, click through the link "View all of readme.md". This will take you to a page with expanded information, including a matrix of the various hosts source combinations with github links and non-github mirrors. Then copy the link you want and add it to your Adaway source

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] martyfender:
The best way, in my opinion, is to use the Steven Black mirror:

http://sbc.io/host/hosts
[Android Apps and Games] carlese:
Up please.. [MENTION=2822685]PerfectSlayer[/MENTION] no matter what host file I choose, my work account doesn't receive mails, it works only when adaway is disabled and shows nothing in the dns log.. I see that another user has the same problem..
[Android Apps and Games] ktmom:
Since I don't have access to duplicate your problem, and you're saying using the DNS logging isn't helping you, here is what I suggest...

If Adaway is enabled, disable it and make sure you can access the problem server.

Disable (uncheck) all hosts sources in Adaway. Then enable Adaway. You should have a small /system/etc/hosts file consisting only of the standard loopback entries and white/black lists entries if any.

Check again if you problem server works.

If now you can not access the server, it's not the hosts source file causing the problem. Compare the stock hosts file to the one that was just created. Maybe there is a black list entry.

You can look at the system hosts file pretty easily through a browser on the device using the URL:

file:///system/etc/hosts

The advantage of using a browser is you can open a tab with the stock hosts file (Adaway disabled), then open a new tab with the modified hosts file.

If the simplified hosts file still works to access your problem server, then I would download to your device the hosts file that is creating the problem. Make sure it stays in .txt format but without an extension. It may be easier to do this on a PC then push the file to the device.

Now edit a copy of the file (again, probably easier on a PC in a text editor like Notepad, not Word) and make it a minimal file. Delete from the file everything below the header starting where the host redirects begin (e.g. 0.0.0.0 badserver.com) to the end of the file. With this modified file on the device, add it to Adaway's hosts sources using a link to the file on the device that looks something like:

file:///storage/emulated/0/Download/hostsMinimal

Enable only that source, and re-apply Adaway. Using the browser you can see that the modified file is applied. Test access to your server.

If it still works then there must be a blocked host that is causing the problem.

Using the original unedited problem source file, edit it and remove 50% of the host lines. Apply that modified source in Adaway. If the server now stops working, start narrowing down which entry by removing 50% of the entries at a time.

Any time the server starts working after removing a chunk, restore that chunk and remove the other portion (that had worked). Confirm it still does not work and then start narrowing down 50% of the entries at a time.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] carlese:
I disabled all my sources so when I activated adaway I had 0/0 and adaway enabled and guess what? Gmail didn't work.. Then I disabled adaway and it started to work again, so my guess is that there is something in the new adaway build that is not working properly..
[Android Apps and Games] ktmom:
Please attach the Adaway hosts file created with all of the sources disabled.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] carlese:
I think I found it.. These are the only 3 entries that I see with all the sources disabled:

0.0.0.0 outlook.office365.com

0.0.0.0 www.exercisetimer.net

0.0.0.0 api.branch.io

The thing is, those 3 are in the whitelist but act like they are in the blacklist..
[Android Apps and Games] ktmom:
And if you delete them from "your lists" (white or black) then reapply Adaway, with your sources enabled, do things work correctly?

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] carlese:
Yes, that's right..
[Android Apps and Games] ktmom:
[MENTION=2822685]PerfectSlayer[/MENTION]

I can confirm that 4.0.5 has a problem where black list entries are ignored and white listed entries are blocked.

This happens whether it's cleanly installed, or installed as an upgrade over a previous version.

Steps to repeat:

Disable Adaway, then turn on DNS logging. visit whatever site(s) and white list the entry in Adaway through the DSN logging. Repeat to add a couple of black list entries.

The white listed sites will be displayed in the white list and the black listed sites will be in the black list. Now when Adaway is applied, the black list entries are ignored and the white listed sites are directed to 127.0.0.1.

Edir:

Redirecting works correctly

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] Fa1saru:
Adaway doesn't block any ads on any browser .. i tried everything. it works fine with all other apps :(

any fix?
[Android Apps and Games] ktmom:
Adaway Wiki: Common Problems with Solutions

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] jeffreymcclain:
Same Venmo Issue

Did you ever find a solution that involved whitelisting / switching host sources? I don't want to disable Adaway if possible, I rarely use Venmo anyways.
[Android Apps and Games] androidfive:
before a stable release comes out, could you add a feature that adds the whitelist and blacklist without having to download the complete hosts again?
[Android Apps and Games] Fa1saru:
Already tried those solutions .. didn't work
[Android Apps and Games] xdarthanonx:
The most likely culprits are 1 and 2.
[Android Apps and Games] ktmom:
Which version of Adaway are you using? If the newest test release 4.0.5, your whitelist entries may be being blocked. Either revert to a different version, or use the redirect list to manually whitelist a domain. Read the last couple of pages.

If you are not dealing with the test release problem, and white listing everything that comes up with DNS logging doesn't help, then comparing a logcat covering the app launching to failure both with and without Adaway enabled should give you some insight.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] BriVG:
Try unchecking https://hosts-file.net/ad_servers.txt in hist sources if it isn't already. This solved some page access errors for me already.
[Android Apps and Games] crazyrexz:
what is the latest version adaway ?

im currently using 3.3 , use the default download hosts
[Android Apps and Games] Ch3vr0n:
The one you're using. The 4.x series are 'dev/beta' versions somewhat until the new developer things it's stable enough to be released.

Sent from my Nexus 7 with Tapatalk
[Android Apps and Games] crazyrexz:
oh, thanks for your answer :)
[Android Apps and Games] PerfectSlayer:
Feedback:

a) It is a frequent request here, so I guess I should have a look at it.

I like the fact there is a built-in help in the app so I put it on the welcome screen. But it becomes frustrating for power-users.

I will add a dismiss button to the welcome card and a "Help" entry in the menu under "Preferences".

b) No. It will only check last modified time from the online hosts files and last update time in the database.

You could get a preview of the file in the "open hosts file" UI. It displays the first lines which contains the hosts generation date.

c) Definitely! It is good idea and easy to implement.

I think I will also add a second line under the "Web server" title saying "running" or "stopped".

So it should match the layout of the hosts card.

Confirmed! Mr.Ronbinson shared its keys with me. So the dev builds and beta builds on this thread are signed with this keystore.

The only different build is the one from F-Droid which uses its own keystore.

(and yes, I publish one dev build in the past with my own keystore before I got the Mr.Robinson one but it is no more the case...)

Could you provide a logcat? Don't forget to enable the debug option in the settings before.

Could you provide a logcat please?

Moreover, if you could share your black/white list it could help too.

Thanks [MENTION=2290290]carlese[/MENTION] and [MENTION=6617276]ktmom[/MENTION] for your investigation!

I might have found the issue…

// add whitelist from db
parser.addWhitelist(blackListHosts);
// add blacklist from db
parser.addBlacklist(whiteListHosts);

I don't think so. It will be a long term goal as it requires to rewrite the whole "download and apply thing" to create a local cache.

I have other related improvements so I will keep it for later. I will try to finish a release first.

Changelog:

Add web server status (icon and text) in the home card UI,

Fix black and while list inversion bug.

Download:

AdAway 4.0.6 on AndroidFileHost (md5: 819e7ec97a681446cb1bb99f8c110151)
[Android Apps and Games] carlese:
Glad to help man! I can confirm that now whitelists work as intended!
[Android Apps and Games] patrickdrd:
[MENTION=2822685]PerfectSlayer[/MENTION]:

the issue with applying blacklist and whitelist seems resolved with 4.0.6, I tried just now and it worked, thanks
[Android Apps and Games] Phoneum:
The app is easy to install and it works flawlessly! No issues whatsoever! Great update, too!
[Android Apps and Games] Shtiff1:
Can't install 4.0.6 over 3.3.
[Android Apps and Games] mitchdickson:
Just uninstall 3.3 and install 4.0.6....
[Android Apps and Games] Shtiff1:
Won't I lose all my host sources?
[Android Apps and Games] mitchdickson:
Crap dude, how many do you have?

I would bet you could have written them down by now.
[Android Apps and Games] Shtiff1:
Lol, thanks
[Android Apps and Games] GuardianUSMC:
@PerfectSlayer, Just a little feedback, I can't tell you why but just sharing what is happening and hopefully people smarter than me can figure it out. Two devices, both configured exactly the same and running 3.3

Device #1, rooted, systemless -> installed 4.0.5 on top and everything went smoothly, no issues and still shows systemless and didn't lose anything and worked flawlessly, applied 4.0.6 on top today and still flawless.

Device #2, rooted, systemless -> installed 4.0.6 on top and it threw an error that it conflicts with a package of the same name (see screenshot) -> so I backed up my filters on that -> removed the app -> installed 4.0.6 and the systemless mode was greyed out, host lists wouldn't update -> rebooted the device and miraculously systemless was checked again and the lists updated -> tried to import my filters back and it instantly crashes, repeatedly and without fail, cannot absolutely cannot import my list back

Not sure if device 2's issues are related to me doing 4.0.6 (since I did device 1 using 4.0.5 to make sure it works correctly before doing this one and 4.0.6 was already out so I decided to straight to that) or something else is going on but while I have gotten device 2 working pretty much correctly now, I still cannot import my filters as it crashes the app instantly and I figured, maybe the exported list was old version so I exported from the device 1 running 4.0.6 and then tried to import, still crashes instantly, not sure what's going on, but wanted to share that in case it helps in any way or you have any suggestions, thanks.
[Android Apps and Games] guest4711:
It looks for me that on one device you used a version signed by another key (perhaps the f-droid version). And after deinstalling it and installing the new version it could be missing the storage permission - so it is crashing when trying to import your lists. Perhaps (revoking and) granting "storage" permission would solve your problem.

---------- Post added at 06:13 AM ---------- Previous post was at 06:12 AM ----------

It looks for me that on one device you used a version signed by another key (perhaps the f-droid version). And after deinstalling it and installing the new version it could be missing the storage permission - so it is crashing when trying to import your lists. Perhaps (revoking and) granting "storage" permission would solve your problem.
[Android Apps and Games] duckredbeard:
Seems like my device just started allowing ads everywhere about 2 days ago. I have made no changes through all of this. I am also getting the hosts file copy fail. Data saver is off, proxy is off in apn, several reboots, tried 3.2, 3.3, 4.0.6.

Wow I did not realize how many ads were being blocked until now. Now it is all I see!
[Android Apps and Games] ktmom:
start with basics;

did the /system/etc/hosts increase in size after applying? You can also compare the hosts file with Adaway disabled and them enabled in a browser by using a link like;

file:///system/etc/hosts

If the file doesn't change, then you need to figure out why it's not getting written. The "hosts copy fail" error suggests that you don't have write permission - systemless hosts in Magisk enabled? Depending on which installed version of Adaway we're now talking about, you may need to enable systemless hosts in both Magisk and Adaway.

If the Adaway enabled hosts file is populated, then try going to one of the entries in the hosts file in a browser; it should be blocked.

{SCAVENGER HUNT} Step 6:

https://xdaforums.com/oneplus-6t/help/oneplus-6t-t4025509/postXX#postXX

where XX = 365377387175 / XDA member ChainFire highest number of thanks on a single post
[Android Apps and Games] duckredbeard:
Looks like I can get to this one! https://hosts-file.net/ad_servers.txt. Tried to attach a screenshot of that.

I set systemless hosts to "on" in magisk manager but if I back out and go back in it set back to "off". Running Magisk 16.0 and manager 5.8.3. I am unable to set systemless in adaway, section is grayed out.

Using FX File, I am not seeing a system/etc/hosts folder.

Currently on adaway 3.3.
[Android Apps and Games] ktmom:
Start by resolving the Magisk problem of getting systemless to stick. That is a prerequisite.

Please completely remove Adaway 3.3, reboot, then make sure Magisk systemless hosts is enabled, finally install Adaway 4.0.6 (yesterday's release).

Launch then apply Adaway and then reboot. Using the default hosts sources, access to "googleadservices.com" should be blocked in a browser.

If you continue to have problems, then please re-read my original response to you. I didn't ask if you could access one of the hosts sources, but rather, if the hosts file on your device is being modified, there will be (several) entries that are blocked. Can you access one of the entries in the device's hosts file?

BTW - /system/etc/hosts is a file not a directory

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] duckredbeard:
After uninstalling adaway and rebooting, I saw that systemless stayed enabled in magisk.

I installed adaway 4.0.6 and enabled, then rebooted. Double checked magisk - still enabled.

Tried googleadservices.com - blocked!

Launched apps that had recent history of ads - NO ADS!

Thank you for your help and supporting the community!

---------- Post added at 04:14 PM ---------- Previous post was at 03:54 PM ----------

Wonder what made this all get out of order and start showing ads…
[Android Apps and Games] gonzo1963:
Good afternoon,

Maybe it's already answered, if so, I'm sorry.

These latest versions (4.X.X), are they betas or are they stable?

Regards.

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] Ch3vr0n:
See post 11497

Sent from my Nexus 7 with Tapatalk
[Android Apps and Games] ktmom:
Briefly, I suspect your Magisk install experienced a random hiccup. Magisk does this periodically. The 16.0 stable causes my device to periodically bootloop on a reboot. 16.7 beta hasn't had a problem so far.

Since the actual "/system/etc/hosts" file is never touched (thus the systemless install), and the file actually resides in a Magisk directory and is symbolically linked on top of the system copy. If Magisk wacks out, the symbolic link is lost and the non-modified copy is used instead.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] GuardianUSMC:
Thank you but no I am not missing the storage permission or I wouldn't even be able to select the file.
[Android Apps and Games] androcraze:
What devices and ROMs are you running on each device? Did I miss that?
[Android Apps and Games] DiamondJohn:
You only require read permissions to see a file, but write permissions to modify it. And that would possibly be different between your file manager where you select the file, and what is allowed to AdAWay.

Forgive me if its been covered, as I have not followed your issues closely, but have you tried checking your logcat for a hint?
[Android Apps and Games] jerryn70:
When was the last update of adaway host files occurs ?
[Android Apps and Games] guest4711:
It depends on the sources: 2018-08-04 and 2018-08-05.
[Android Apps and Games] gonzo1963:
Good morning,

Thanks for the answer

Regards.

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] R3van:
Hi,

i can`t get the webserver to run.

When i click enable then it changes to enabled but when i open up somethin esle or go elswhere in the app and then back, the webserver is back to disabled.

How can i find out why the webserver isn`t running?
[Android Apps and Games] :
I believe you have to update after enabling it...
[Android Apps and Games] R3van:
What do i have to update? The Hosts list?

That did not work
[Android Apps and Games] ktmom:
Which version of Adaway? At least on the latest test release (4.0.6), you need to enable it in preferences.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] R3van:
4.02 and it is enabled in preferences.
[Android Apps and Games] guest4711:
I know this problem from a ROM where AdAway was preinstalled as system-app (or /system/priv-app).

It work well after deinstalling this app and indtalling it as normal user app. After granting root permission all was working well.
[Android Apps and Games] R3van:
I`m on Renovate ROM and i read that somewhere else so i tried that already, unfortunately with no success
[Android Apps and Games] ktmom:
Turn on debugging in preference and grab a logcat.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] R3van:
Here it is

https://xdaforums.com/attachment.php?attachmentid=4566674&stc=1&d=1533653425
[Android Apps and Games] GuardianUSMC:
No you didn't, sorry I should have included that, my bad - Stock ROM / SuperSU root

I understand that, thank you, but since it can export, then write permission it there. Since it can load the built-in explorer to select the file, then read permission is there. Therefore, not the issue, the problem occurs as soon as the file is selected and the app crashes.

I have not had a chance to look at the logcat but given that this happens every time, I have a hard time believing this is a device specific issue, but I may wrong on that and willing to explore that but permission are not the issue, that much I know for a fact.