yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] EMJI79:
I meant no ad throughout all the apps and history in YouTube.

I have nothing against Google, it's a big company with lots of creatives and skilled devs. There are sharks in the company like in all the society, even in health or religion.

As long as I don't let them eat me I can stay at their tables as some of them can propose great meal.

We couldn't live without them totally
[Android Apps and Games] smartfaune:
Web server couldn't be activated here

AdAway 5.0.4

Android 9
[Android Apps and Games] elreydenj:
Experiencing the same thing. It is no longer working on 5.0.4 for me either.
[Android Apps and Games] Wishmasterflo:
Do you use the root or VPN method in Adaway?

I use the root method and dont have any issue with the 5.0.4 Version until now.
[Android Apps and Games] Ps24u:
[MENTION=2822685]PerfectSlayer[/MENTION], is there any hope for us 4.3.4 users to have a final 4.x build with a fix for the negative time, or is work on 4.x discontinued for good ?
[Android Apps and Games] ipdev:
Hi again.

The negative time is not fixed on v5.x either.

Instead of a negative value it shows for a few minutes and will not download the host list until the device time is after the host source time.

I am pretty sure if/once fixed [MENTION=2822685]PerfectSlayer[/MENTION] will back-port it to v4.x if he can.

pgl.yoyo website - Link

Shows # last updated: Mon, 25 May 2020 19:06:31 GMT

When I checked for updates this morning, Mon, 25 May 2020 it found that update but would not download/update that host source.

Same results when I tried to update earlier this afternoon.

This evening [18:30:xx(ish) local time] when I checked again, I was able to update it because it was 4 hours old.

I am currently GMT -5 (US DaylightSavingsTime), so is was 23:30.xx(ish) GMT this evening when I checked.

The problem is how to figure out the time offset when a server is not synced with GMT/UTC.

Since the time offset is beyond a known variable.

I just sent an email to ppg@yoyo asking about their server time sync and if they had any suggestions.

Not sure if I'll get a response back or not. ;)

Cheers. :cowboy:
[Android Apps and Games] PerfectSlayer:
Hi all,

Feedback:

I can't fix it as it requires min SDK 27. I remove the navbar color customization.

Thanks! About s.youtube.com, it is not blacklisted by default hosts.

There is a tradeoff between breaking all your apps and privacy. You can start by blocking any GAFA domains if you don't want any of your data be collected.

But you won't be able to do a lot of things (at least easily) on your device.

Oh... Thanks for bringing to my attention. I fix it.

Good to know! It wasn't hard to fix but took me time to find where the bug was...

Oh thanks. That's valuable feedback.

I think there is several issues here:

1. Your lists should not notify for updates if it come from a source but only if you edit your own blocked/allowed/redirected items.

2. The app is not able to load a sample of data to populate the UI. It fetches batch of 50 entries (prefetch by 150 and overall count). It should be able to handle this kind of queries even if the app is parsing the hosts file.

General:

In general, just few words about list names. I replaced original "black" and "white" list names by "blocked" and "allowed".

I think it first, it is more expressive about what the lists do but it also be less offensive for colored people.

I can read the old terms here and there but, in short, blocked, allowed and redirected are the most adequate terms.

As explained in the OP and the FAQ, the current version is 4.x. The 5.x is a beta: not stable, not feature complete.

Is there hope? Yes. Especially if someone had a look to the open source code to fix it =)

Have you ever play to a life simulation game (like the Sims)? There is often a motivation gauge attached to any sim that evolves according few traits or events.

Some are intrinsic like helping others, improving software skills, etc.. others are external / environmental like:

++ Having external contributor to source code,

+ Receiving well crafted bug report,

+ Receiving warm feedback,

- Being ping / quoted on GitHub, XDA, Tweeter DM on low priority stuff

-- Being ask for ETA

Don't fall in the last ones and please help everyone by taking part in the bug report discussion instead.
[Android Apps and Games] knpk13:
I think this changed when the 3rd default host source was changed to StevenBlack's list. I'm using the default hosts sources and it is included in them. I don't mind whitelisting it manually though, thanks for 5.0.4.
[Android Apps and Games] Tommytommy1234:
I'm using the StevenBlack which include fakenews and gambling and don't have anything whilelisted. Will try the default host to see if there are differences.

Edit:I install the default host and didn't find any whitelisted entries. I also have disabled allow whitelist if it's matter.
[Android Apps and Games] zgfg:
Thank you for your response and the upcoming fixes ?

In addition, today I had an interesting incident with 5.0.4, root:

I suddenly realized my XDA app wass leaking ads but I thought, maybe XDA had changed something or so

Then I observed ads in one game where I didn't see them for a long (since I reconfigured my hosts sources list two months ago), and at first I also thought maybe it was due to the yesterday's app update or if they started to push ads from a new url that was not yet added to hosts sources

But when I saw ads also in browser and more apps, I checked AdAway and besides that 11 hosts sources were up to date and one needed the update, everything else looked ok.

Unfortunately I didn't take a screenshot but it was also showing as usual 170 K blocked domains

I also checked Magisk and all looked ok, Systemless hosts were active

Finally I opened /system/etc/hosts from MiXPlorer (it works correctly with symlinks activated by Magisk like the systemless hosts file) and found it totally strange, as on the screenshot

It had correct header:

"This hosts file has been generated by AdAway on...

This file is generated from the following sources..."

listing all my twelve sources, but beneath it had only localhost IP v4 and v6 addresses and not a single blocked domain?!

Finally I deactivated and reactivated AdAway (from its main screen) and forced the update of all sources, and from then my hosts file is again 9.5 MB and blocking ads works as usual

---

Btw, I later double-checked how the hosts file looks lafter deactivating AdAway from its main screen (thinking, maybe I deactivated it earlier by mistake), but then the file has no header, only two lines with localhost addresses (like the bare, original hosts file before you install AdAway).

Hence the improper hosts file on my screenshot must have been a result of the failed AdAway's update of sources or something

I know I have a lot of hosts sources but the app should be more robust and I had no such issues with v4. Hoping you will sort the bugs out, these are like child's deceases after the major v5 updates and refactoring
[Android Apps and Games] JudgeDread11:
Same happened here (although I didn't check the actual hosts file) but suddenly ads started showing up. Deactivate and reactivate and forced update got them hidden again.

I have just the basic 3 lists, nothing added manually.
[Android Apps and Games] zgfg:
I also have a strange albeit benign case on the not rooted phone

At some point AdAway's notification changes from:

AdBlocker VPN active

to:

AdBlocker VPN starting

and from then on it remains "starting" forever.

It does work and everything is ok, it just says Starting instead of Active

I can simply pause it and resume, then the notification corrects to Active but after some time (with inactive screen?), when I check my notifications again, I find t back at endless Starting

Zipped screenrecording attached

Edit: Sometimes it doesn't work (ads leaking) and I find it showing two notifications in parallel:

VPN AdBlocker active

and

VPN AdBlocker reconnecting error

Opening AdAway it looks all ok but to get it really working correctly back I have to pause it and resume
[Android Apps and Games] Wolfcity:
I can confirm exactly the same behaviour, VPN mode, Xiaomi MI 9T.
[Android Apps and Games] dadoc04:
Thanks much .. This worked
[Android Apps and Games] ipdev:
Hi all.

For those who use the pgl.yoyo.org hosts source.

I got a response.

It was a bug on his side after a code update/change.

He found a bit where he missed the change and fixed it.

So as of this morning, it now is synced with GMT.

Cheers all. :cowboy:
[Android Apps and Games] zgfg:
Sorry to bother you but I think most of the serious issues with v5 are related to (or start with) parsing and updating the hosts sources

So one more thing that is easy to reproduce, just please watch closely:

-If the main screen shows ONLY ONE (some) out-dated sources, when you click to update (icon in that raw, not the icon above next to the whole list), it starts parsing ALL sources

Ofc, this is easier to catch if you have longer list of hosts sources, and in that case it results with more and longer unnecessary parsing, seemingly accounting for more possible troubles if updating fails like:

- the hosts file with AdAway header/timestamp but empty blocked list although AdAway displays that blocklist was properly generated

https://xdaforums.com/showpost.php?p=82670491&postcount=14884

- or VPN error reconnecting notification in which case AdAway main screen also shows as if everything is ok albeit VPN resolving is not really running

https://xdaforums.com/showpost.php?p=82671537&postcount=14886
[Android Apps and Games] nipan1:
is it possible to block sponsored Ads in Facebook and Instagram app using Adaway? I am a new user of adaway, almost everything is working fine but want to rid of fb insta ads.

also is it normal seeing these errors in web pages (Scrrenshot included)
[Android Apps and Games] nipan1:
Any difference between these?? which one i should add in adaway host source List.
[Android Apps and Games] zgfg:
Hosts.txt like (Blu):

https://block.energized.pro/blu/formats/hosts.txt
[Android Apps and Games] dhacke:
[MENTION=2822685]PerfectSlayer[/MENTION]

I'm only curious. Did you archive some progress regarding encrypted dns together with vpn mode of AdAway in the last time? The feature isn't critical for me because i'm using root but nevertheless it interests me.

btw thx for your newest update 5.0.4:)
[Android Apps and Games] LiBYan.DroiD:
i am on lineageOS 17.1 on my poco f1

is there any way to install AdAway without magisk

by trwp

thank you
[Android Apps and Games] knpk13:
Yes you can use install the new beta version available in the first post. It has a non root VPN method available which you can try. There are other similar apps like DNS66 that use the VPN method if you'd like to try them too.
[Android Apps and Games] LiBYan.DroiD:
so there is just VPN method for unrooted devices

i can't install AdAway with recovery mode

and thanks for reply
[Android Apps and Games] zgfg:
Not because adAway runs as application, from Android, and to manage hosts file it needs root privilege

From TWRP, File explorer, you can copy yourself, directly, content from some hosts source to your /system/etc/hosts file - if you don't have read-only system (as on some Android 9 and 10 devices - in that case you really need Magisk and systemless hosts)

It will block ads, but you will have to manually update (again through TWRP) your hosts file from time to time

Search on XDA (it was also mentioned here few days ago) for scripts for Windows that will merge content from a given hosts sources into the single text file, that you can then copy manually (again by TWRP - if you don't have root) to your hosts file
[Android Apps and Games] N²O:
I'm trying the pre-release version for Android 10 and found this... The images seems doesn't fit or is that the it should be? Btw, nice hi improvement.

---------- Post added at 02:14 PM ---------- Previous post was at 02:13 PM ----------

---------- Post added at 02:18 PM ---------- Previous post was at 02:14 PM ----------

[IMG="this"]https://ibb.co/chKNv9Q[/IMG]
[Android Apps and Games] masri1987:
anyone using the DJI go app? how do you whitelist it's dns or whatever it needs to get access? right now the app is acting like i don't have internet, but when i disable adaway it works fine
[Android Apps and Games] marciozomb13:
Please, read the OP and wiki.
[Android Apps and Games] tinaag:
I can't use it after update my phone to android 10

I have an OnePlus 5, updated yesterday. AdAway used to work fine on 9.0. After update, appears this:

"Symlink missing

Symlink from your target to /system/etc/hosts is not existing or incorrect! AdAway will not work if it is not pointing to the right file.

Do you want to creating a symlink?

no yes"

I click yes, reboot the phone, and still same message appears, can anyone help me with this?
[Android Apps and Games] zgfg:
Have you enabled Systemless hosts in Magisk Manager, Settings (then reboot)
[Android Apps and Games] tinaag:
I did.

Turns out that I installed the version 3 listed in this OP and it worked for me, thanks!
[Android Apps and Games] pepit0grillo:
Could anyone tell my why latest AdAway version is not available in XDA Labs?
[Android Apps and Games] zgfg:
Isn't it named Beta in the OP post #1:

"Beta versions are available on XDA development thread only

AdAway 5.0.4"
[Android Apps and Games] pepit0grillo:
But I mean stable version, not beta. On XDA Labs I can only see beta version:
[Android Apps and Games] knpk13:
Version 3? That's outdated. I mean you even circled the date, which is 2017... Get the apk (latest stable is 4.3.4) from the first post of the thread or from GitHub or F-Droid, not Labs.
[Android Apps and Games] ipdev:
This post sums it up nicely.

xdaPost 14860 - Link

Cheers. :cowboy:
[Android Apps and Games] masri1987:
i read OP and checked out the sources that are being blocked, only thing i could find is

0.0.0.0 com.djinnworks.scd.s3.amazonaws.com

Which has nothing to do with dji drone app ?

plz advise
[Android Apps and Games] ipdev:
Hi.

DNS Log (TCP Dump) will show activity once started.

If there is a background app running, you will get dns requests from them also.

amazonaws.com could be related.

Especially given the name?

Remember that you have to disable the ad blocking if you are using AdAway in root mode.

Seems there is a few versions of DJI.

I did a quick test with DJI GO 4. - PlayStore DJI GO 4--For drones since P4 - Link

I do not have nor did I create an account with DJI.

I attached the dns log I got from starting, running and refreshing the app.

See if adding one or more to your allowed (white) list helps.

Depending on your device and/or setup, you may need to refresh/download hosts in AdAway and/or reboot the device.

Cheers. :cowboy:

Text file list of the servers.

DJIGO.adaway.txt

AdAway backup JSON file format.

DJIGO.adaway.json.txt

(The .txt at the end was only added to JSON file to attach it to a xda post.

Remove the .txt and use the restore option in AdAway to add it.)

They are set to false (non selected).
[Android Apps and Games] pepit0grillo:
Thank you very much. English isn't my main language but I think I got the point: there's a problem with the former AdAway developer and the new one in order to publish updated versions to XDA Labs.

Well, I will downloaded versions from this thread. Thanks!
[Android Apps and Games] JudgeDread11:
Minmin guard works very different.

It disables the ad activities in apps. You can do this manually for each app with 'my Android tools'.

As a reminder adding too many lists makes you hosts file very big we l which in turn will have an event on your device performance.
[Android Apps and Games] marciozomb13:
Pretty excessive and unnecessary. I just use Steven Black and it's ok. Many hosts can cause performance issues.
[Android Apps and Games] IronTechmonkey:
Agreed. I'm late to test but in a clean install of the beta I experienced somewhat similar symptoms to one of your previous posts. Adaway starts with all hosts checked but any attempt to uncheck any of them seems to work for a moment (main page shows less sources) but no matter the order of user actions all become enabled again. Sometimes this can be seen as the empty check boxes get re-checked over the course of several seconds. Pie, LOS16, (possibly also Oreo LOS15) Magisk. I can retest, log, and provide more details if needed.
[Android Apps and Games] Ultramanoid:
Ah. So that's why my hosts file, which is only supposed to be the result of merging two URLs into a 1.5 MB file has turned into an almost-5-MB monster. I was thinking Black was starting to block the internet, as in : all of it.

I was so not kidding asking for a version that would fetch and merge two files, and did nothing, nothing, nothing, nothing else.

Edit : Indeed. A much older version gets the merge right only using the 2 URLs I specified, and the hosts file is as it should be.
[Android Apps and Games] IronTechmonkey:
Another factor with host file size, not related to the Adaway beta, is that the adaway host list has grown from about 3,000 entries to about 12,000 entries some time in the past few months. I think it happened all at once but don't recall when. Not sure about the others.
[Android Apps and Games] ipdev:
Read PerfectSlayer's fourth response in post - 14881

Oh... Thanks for bringing to my attention. I fix it.

I also mentioned a few work-arounds in post - 14869

5.x is beta and not just a simple update.

So yes, there will be problems. Sometime a fix will reveal another problem or break something else.

5.x is a big revamp to the code and function of AdAway.

Cheers. :cowboy:
[Android Apps and Games] DiamondJohn:
In addition to what others have said, I think you also have at least one dead source

https://hosts-file.net/ad_servers.txt

And possibly a few that are in the wrong format. I didn't check, but I think I saw at least one in your list that ended to imply it was simply a host list, and not a redirect, And "FanBoy" is for adblockplus. I have not checked every one of your lists, but you should go through them.

---------- Post added at 08:57 ---------- Previous post was at 08:26 ----------

Sorry for the OT to everyone, but which two sources are you so focused on?
[Android Apps and Games] Ultramanoid:
For years I only used Pollock's, and now that one and others are all included in Black's, which more than covers my needs ( and I would argue most people's... ), except I need to merge to that a specific hosts file for Japan.

For anyone looking for country specific hosts files for web browsing only, I'd just recommend using uBlock Origin and going through its list of country options.

Edit : And I say for web browsing, because for "apps", the solution is not AdAway, hosts, or any other application to block or manage their "advertising", the solution is to never install such things. Data miners at best and malware at worst. Pay for clean and safe commercial software or support clean and safe open source software. Malvertising should never be an option.
[Android Apps and Games] PerfectSlayer:
Nope, I'm drowing in bux fixing. I don't even talk about UI adjustment request ^^'

AdAway is no more released on XDA lab. Don't have the account to nor the time.

It's fixed. Wait for the next beta to get the patch or use a GitHub CI build.

Which version are you using? Can you share sources you use?
[Android Apps and Games] zgfg:
Ok, reported my issues from here also to Github:

https://github.com/AdAway/AdAway/issues/2070

Regarding to post #14884 here

https://github.com/AdAway/AdAway/issues/2069

Regarding to post #14886 here

https://github.com/AdAway/AdAway/issues/2068

Regarding to post #14890 here

FYI, [MENTION=5993745]JudgeDread11[/MENTION] and [MENTION=5237901]Wolfcity[/MENTION], you had confirmed the first and second issue respectively in the posts #14885 and #14887 here
[Android Apps and Games] Ultramanoid:
I just test betas, but I stopped using AdAway around version 3.3 two years ago, I think. It's more and more work with each version to simply fetch and merge two files, and features upon features that keep getting in the way. I already commented on this before. ( I know, I should just leave the thread, but I still believe my feedback is valid and represents other users who won't say anything and just put up with the changes. )

The problem is not the sources I define ( Black's from GitHub and another Japanese specific hosts also from GitHub, direct links both... ), which are parsed just fine, the problem as reported by others is that the latest beta does not follow the preferences and adds its own sources even if removed -- you say it's fixed anyway.

Edit : On second thought, I will just unsubscribe, you've got enough issues as it is. One has to learn when to let go. Good luck and thank you for picking up development when Mr. Robinson retired.

^_^
[Android Apps and Games] zgfg:
There is a workaround described by [MENTION=7280276]ipdev[/MENTION] in the second part:

https://xdaforums.com/showpost.php?p=82653871&postcount=14869

It was also reported to GitHub and closed/fixed for the upcoming new beta:

https://github.com/AdAway/AdAway/issues/2067
[Android Apps and Games] :
How do I block ads that are in the apps?
[Android Apps and Games] pycxe-01:
You would need root i.e. Magisk for that & I would have sticked with AdAway v4.3.4 for now!

Additionally, you should consider using a second ad blocking program on your smartphone.
[Android Apps and Games] :
Rooted but no EdXposed. AdAway installed and working.

Which other ad blocking program?
[Android Apps and Games] knpk13:
Your feedback and opinion about the beta (it is a beta as you know) may be valid but that's a confusing way to respond, not sure why you need to unsubscribe. You did mention the stable version worked fine for you though right, and it seems minimal and functional enough. How do you block ads now then, if you don't use Adaway?
[Android Apps and Games] zgfg:
Since he unsubscribed, he will not answer. Btw, if you searched back, you will find the answer in his posts

He manualy downloads (just two) hosts sources to his PC, runs a script to merge them and copy the content to hosts file. You can do it with some root explorer on the rooted Android or even from TWRP, then you don't need Magisk/root (not just that on the read-only SAR where you need systemless hosts)

That's it, this is the essence of how AdAway works, no magic here. He was actually asking for the bare, most simple but bug free, with no whistles and bells (e.g., no fancy UI) version of AdAway that will do it (it doesn't need to run in the background to update hosts sources periodically, user just runs the app once a week or month, that is usually enough)

You can copy such a content also to hosts.txt file on the Windows PC, or to hosts file on any Linux device (Android is derived from Linux) and you have the same blocking on your PC
[Android Apps and Games] knpk13:
I know, but he does it manually? Geez updates must be a pain. Isn't that what adaway stable does basically though? I don't see any extra features that he wouldn't like that are enabled by default on the stable channel.
[Android Apps and Games] zgfg:
Put the path

https://block.energized.pro/blu/formats/hosts.txt

(you don't need to merge, they merge for you from other hosts sources)

to Advanced Download Manager app (rock-solid app for downloading huge files), download and add few (standard hosts file) lines on top:

127.0.0.1 localhost

::1 localhost

127.0.0.0 localdomain

rename the file to hosts and copy over your /system/etc/hosts

You can do it all in a minute, directly on the rooted phone.

If you want to whitelist, then you need a good editor that can handle tens of thousands of lines (like Notepad++ on the PC) to find and comment out/delete the lines with URLs you wanted to whitelist - or a script (shell, Python) can do it for you

Btw, read my previous post, I've edited with more info about SAR devices and even hosts.txt file on the PC

Also, search back in the thread for his posts and you will find more info on such a simplistic approach
[Android Apps and Games] djdelarosa25:
Anyone have the same issue? UI elements are enlarged causing text and icons to clip. My Moto Z Play's display is 1920x1080. AdAway 5.0.4