yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] gallegonovato:
good afternoon @zgfg

I am sorry for the inconvenience or problems that it may have caused you. They were not my intention, just that I was surprised that the host source did not go well in adaway and instead the energized one normally did. It was not bad. I beg your pardon. And thanks a million for all your time and help.

By the way, I think I have some bad news. I was reading that the creator of Magisk now works for Google. So I think he is going to leave Magisk. I read it https://topjohnwu.medium.com/state-of-magisk-2021-fe29fdaee458

I hope some developer is still with him. Because if not he can give us a hard time for Adaway.

Best regards

good afternoon @DiamondJohn

Thanks a million for all your time and help. And for your patience with me. I hadn't seen the white list. The truth is, there are a few things that can be blocked. But you clarified the doubt that I had. Since I was wondering that adaway did well, sometimes with the host list energized. And not with that one. In the end I did a host source cleanup. And I'm placing things differently for added protection.

A thousand thanks and a million thanks for all your help and time.

A hug
[Android Apps and Games] zgfg:
No, not a problem. I just don't want to 'bloat' my phone/AdAway with huge hosts since I can achieve everything I need with the short one
[Android Apps and Games] ipdev:
o_O

Now I feel bloated with 19,428 blocked. :rolleyes:

Cheers. :cowboy:
[Android Apps and Games] ipdev:
Actually quite the opposite.

Yes, John does work for Google's security division.

Now that he is an inside man, he has to be careful and make sure it does not breach his employment agreement.

Magisk is still fully suported and John is still actively involved.

The link you refer to actually spells it out quite well. ;)

Google has nothing against the custom / modding Android community.

They support it quite a bit. 🙃

As for AdAway, I am sure Google is quite aware of it since it is popular and open source.

Plus years ago it was on PlayStore. Got booted when they made a policy change about ad blocking.

Even if, for some reason, all root solutions disappears..

You can still use AdAway. The VPN mode does not require root access. ;)

Cheers. :cowboy:

PS.

If you have more questions or concerns about Magisk.

Search and ask in the Magisk General Support / Discussion - xdaThread - Link
[Android Apps and Games] aBetterAndroid.:
I started using AdAway since 2014. Now I got the chance to thank the dev. Good work!
[Android Apps and Games] FuN2OwN:
Heyall, can someone please guide me on how to whitelist youtube vanced in adaway?

thanks
[Android Apps and Games] TonyDTN:
Hi! I'm new in this, so sorry if I missed something. I installed the AdAway 5.8.0 app on a non rooted Huawei P20 lite (so I use it in VPN mode). Works perfectly fine except in Chrome, where it can't block a single ad. I tried disabling the Lite Mode in Chrome and adding 1hos.cf to AdAway, but it still doesn't block any add. What can I do?

Thank you.
[Android Apps and Games] vandyman:
I have not used Chrome browser for a few years now.

Try using Duckduckgo or Brave.
[Android Apps and Games] TonyDTN:
Thank you for the suggestion, if I can't block Chrome ads I'll definitely try those.

However, if I could keep using Chrome browser it would be great, because it's the default browser on my phone and I don't have much space in the storage.
[Android Apps and Games] Uluru25:
Try via browser (about 1.5 MB) e. g. here https://apkpure.com/p/mark.via.gp
[Android Apps and Games] TonyDTN:
1.5 MB? That's REALLY lightweight, I'll try it for sure, thank you :)
[Android Apps and Games] dvhttn:
Try a thread search for chrome and read the last page of results .......
[Android Apps and Games] zgfg:
Frankly, I don't know if you could block ads in Chrome while using AdAway in VPN mode

A year+ ago I had two phones, rooted and not-rooted one, both with AdAway (one hosts, the other VPN mode), both running Chrome with Lite mode off.

On the rooted phone, AdAway blocked ads in Chrome and 'everwhere' (of course, not in e.g. YT).

On the not rooted phone ads were blocked 'everywhere' but I never managed to let AdAway block them in Chrome

Nowadays I have only the rooted phone and AdAway still perfectly blocks me ads in Chrome and 'elswhere'

Btw, Chrome for me is essential, primarily because of the built-in translator - sometimes, if I want I even read in Japanese, Chinese, Arabian, whatever

---

If you have Android 9 or higher, disable AdAway and enable Private DNS in your native Settings, and for DNS provider put e g: dns.adguard.com

I don't recall anymore but I think Chrome will also bypass that VPN and you will still see the ads in Chrome (that Private DNS uses VPN to the configured DNS server which blocks the sites pushing ads by not resolving their DNS names)

IMHO, only some pretty old versions of Chrome can be enforced to go through your VPN (AdAway or Private DNS), and that's why you cannot block ads in Chrome, with AdAway in the non-root mode
[Android Apps and Games] TonyDTN:
Hmm, that's really interesting, but I have one question, how manage Blokada to block Chrome ads in VPN mode?
[Android Apps and Games] zgfg:
Does it really - can you make it on your same phone, with the same Chrome where you cannot block ads by AdAway?

(Since the time passed I don't recall anymore did it work on that not rooted phone when I tried using Private DNS or dns66 - that's why I suggested you to try yourself with Private DNS)

I don't recall bcs that not-rooted one was my old second phone only for seldom testing until it was finally rested in peace - but I searched in this thread and found my own post from 2020 describing that I could not make it to work with Chrome in VPN mode:
[Android Apps and Games] TonyDTN:
Yes, it does, but it can't block ads in certain aps like Radarbot or Poketype. Adaway can block ads in those aps, but not in Chrome. I'm trying Private DNS now, so I'll tell you.
[Android Apps and Games] DuckMcQUack:
I cant appply hosts on my SGS IV with PA 4.4 RC2...

Any clue?
[Android Apps and Games] RED ZMAN:
Read the first post buddy, the solutions in there. I had the same problem on my Nexus 5 and install the second version listed there and everything works now.
[Android Apps and Games] DuckMcQUack:
Forgot to day that I've already installed the version modded by dark3n
[Android Apps and Games] FlanjeUK:
Are you using anything else that has ad-blocking like an Xposed module or CrossBreeder?
[Android Apps and Games] DuckMcQUack:
I am on pa, I use xposed only for greenify
[Android Apps and Games] Matt Dixon:
need help

just install this couple hour ago, then run Adaway to block ads, at first it run nicely, let my phone sleep around 1 hour, when try to wake up my device,my screen just blank, blue notification led lit up straight, at the time my phone get hot around 40`c. then try to restart my phone using press and hold power button for 8s, finally my device wake up normally. immediately disable Adaway then reboot and device get back to normal. any idea guys? :confused:

Galaxy Note 2 N7100, root, stock rom. :fingers-crossed:
[Android Apps and Games] MatVekk:
AdAway by d4rken is OK :)
[Android Apps and Games] 78Staff:
Probably better off contacting the app's dev with these issues. https://sufficientlysecure.org/index.php/adaway/ This is essentially a re-package and distribution thread since the app was removed from Play Store.

From the OP...
[Android Apps and Games] jw12321:
Thanks, I've posted it there. Can't post links, but it is issue 526.
[Android Apps and Games] 530farm:
Exempt entire app?

Hi,

I've been having trouble with adaway as it won't allow some links to be opened inside the browser. For instance, the google sponsored links at the top of a search page. Clicking those will give me "web page not available". The browser I use has its own built in ad blocker and was wondering if there is any way to disable adaway for a specific app.

Thanks
[Android Apps and Games] FlanjeUK:
That's not possible, but you can whitelist the websites you want to not be blocked (or just scroll past the adverts to the actual results...)
[Android Apps and Games] 530farm:
So the site I have the most trouble with is slickdeals.net. Which basically is a forum with links posted. Most of the links won't open and they all vary. What would be the simplest way to get this site to work properly?

I have slickdeals.net under my white list but it still doesn't work.
[Android Apps and Games] bberryhill0:
White list the sites that show up as unavailable. One is anrdoezers.com.

Swyped from my Verizon LG G2 using Tapatalk Pro 4.5.2
[Android Apps and Games] ~kyle:
You need to add their redirect links, this will help you:

http://slickdeals.net/forums/faq.php?faq=sd_faq_item#faq_sdlink_faq_item
[Android Apps and Games] 530farm:
THANK YOU!!!! Is there any easy way to add all those sites at once, or would it need to be 1 at at time? Also, in adaway, would I need to add the www. or should I just past them as shown w/ no www.?

nvm, found this, think i'll have to add some missing new links, but i'm guessing this is the correct format for making a list to import.

http://slickdeals.net/f/6271286-slickdeals-and-adaway-ad-blocking-on-android
[Android Apps and Games] ~kyle:
Yes, you can use that list and yes, it's best to use the * before the link as they have them listed in the list you found. You may have to add a few as you go but that's a good start.
[Android Apps and Games] 530farm:
Thanks. To confirm the "white" in front is necessary? What about if I'm adding the. 1 at a time later on? Would I need to add the "white" or would the *name.com* be sufficient?
[Android Apps and Games] ~kyle:
If you are adding them individually, add the (*) at the beginning of the link. The list you linked to is an actual export from the app itself. The "white" at the beginning is added by the app to the exported list. You should be able to save that list as a file somewhere on your phone, open the app, go to "Your Lists", then "Import all lists", and browse to and select the file. It should import those links to your white list.
[Android Apps and Games] my95z34:
So, I run PAC nightlies on my Nexus 5 and for the past few days AdAway is no longer working. It applies successfully, but no ads are blocked. I've tried changing the location of the hosts file, and creating sym links and everything, but still nothing. I have no idea why it wouldn't be working... Any clues?
[Android Apps and Games] Full House:
add this to the list: 👇

s.youtube.com
[Android Apps and Games] zgfg:
What exactly is that needed for?

I checked, it was blocked (now I whitelisted) but I never observed any issue with YT/Vanced
[Android Apps and Games] Full House:
anyway YTvanced does not contain ads but installing Adaway can block the YouTube history that's why we add it to the whitelist
[Android Apps and Games] FuN2OwN:
thanks a bunch! works perfect.
[Android Apps and Games] FuN2OwN:
precisely why i asked to whitelist youtube. my history on different devices don't get synced, and i get suggested vidoes i already watched etc.

cheers y'all!
[Android Apps and Games] osm0sis:
Nice! I also never understood why my phone YouTube history wasn't being saved. 👏
[Android Apps and Games] DiamondJohn:
You will get video's you watched suggested again. Its a part of YouTube AI. I would guess the logic as, if you were interested once, you may watch it again (possibky by accident), and its simply another opportunity for google to serve you ads.
[Android Apps and Games] PerfectSlayer:
Hi all,

I can successfully block ads on Chrome if lite mode is not enabled.

I just set up an emulator on Android 11 with Play API, install AdAway, block a custom site, apply and check if it is blocked on Chrome. It is.

Not I did not set a Google account so lite mode was not enabled.

Did you move to another app? if so, which one?

I could have a look to check how it handles the hosts merge better but it is challenging subject. I already released several implementation of the subject and they is currently two strategies running in the app...

The solution I have is to do the merging client side. So you can set as many as host files you want without impacting your device resources but (there is always a but) I should charge for this feature.

I don't know how much but moving the processing power from all your devices to one place won't be free from the cloud provider that will run it ^^'
[Android Apps and Games] terraterm:
hi

thx for the app.

sometimes the app starts on it's own.

What could be causing that?

thx
[Android Apps and Games] vandyman:
Do you mean the notification is popping up? If so that is normal until you disable the notification.
[Android Apps and Games] jsbthree:
AdAway blocks Spotify?!

Recording dns request and allow them didn't solve the problem.

Any ideas?

With my old phone AdAway and Spotify worked well. Only with new phone I have the problems.
[Android Apps and Games] terraterm:
no not the notification, but the app itself.

I don't have the app on all the time, especially at home, but i notice that the app has turned itself on, without any interaction from myself
[Android Apps and Games] Nergal di Cuthah:
Are you using vpn mode or root mode
[Android Apps and Games] zgfg:
Preferences, Updates, disable all automatic updates

However, non-root must be running all the time its VPN service, monitor media reconnections - search for the non-root version and some reconnection issues already reported and discussed in the thread
[Android Apps and Games] terraterm:
using VPN mode

will turn off auto updates

will turn off the auto update, and try that.. thx
[Android Apps and Games] DrunkUncas:
Getting this "Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: {Mod edit, as requested in the below post}

This app is wonderful. Thank you!
[Android Apps and Games] PerfectSlayer:
Hi!

Thanks for the info.

There are some issues here. First database should answer. Then, error should not leak the database password (that I just changed).

I will investigate what happened for those two problem and revert the whole hosting to ensure nothing was altered... (better safe than sorry).

Could you trim the error message from your post? It won't prevent Google from indexing it or remove it from the Internet history but better removing it. Thanks.
[Android Apps and Games] Oswald Boelcke:
I did it.

@DrunkUncas Please advise if I was too "pro-active", and I reinstate your complete post.

Regards

Oswald Boelcke
[Android Apps and Games] PerfectSlayer:
Thanks for the quick edit!

On my side, my hosting provider just changed my database domain name 15 mins ago, breaking most of my services...

And I also found an error in the debug settings on the AdAway backend that I obviously did not test, leading to display error context in production.

Everything should be back in order now.
[Android Apps and Games] gallegonovato:
Good afternoon @PerfectSlayer

First of all thank you for your work and time.

I wanted to report a bug in Adaway. It turns out that if you update, add lists of hosts, etc... With data, normal wiffi there is no problem. But if you use 5 ghz wiffi. Adaway goes crazy. Meaning:

On the main screen where you get the number of sources you have installed, and the ones to update. Well, you see how the number of installed lists decreases, and even says 0 installed fonts. Again where this the lists of hosts. To some of them it says installed a few minutes ago, to another one updated for few minutes. Or simply it does not load the total. That is to say for example source Steven and it leaves a number for example 250k and this number removes it.

I have already tried rebooting, reinstalling Adaway and backup, Adaway without backup and putting one by one the lists. Clearing cache, etc... And always the same.

And it is not a failure of the mobile or wifi. Because everything goes fine on the wiffi 5 ghz. That is browser without problems, fdroid without problems, etc... I tested on a Nexus 6p with lineageos and Magisk in its latest version. And on Samsung S9+ also with lineageos magisk updated. And Adaway in its latest version 5.8.0 . And this before I did not do that I realize. And I have not changed anything on the phone

I would also like to ask you if it would be possible to add Adaway. An option that after updating the sources of the host lists, are updated. Adaway reboot the mobile. Or a warning if you want to restart the phone or not. As it happened in versions 4. I comment it because I see that Adaway processes better the updates and changes after restarting the mobile.

Thank you very much for your time and help.

Best regards
[Android Apps and Games] pegasoc:
Hi,

sorry but I don't know English.

I have installed Adaway 5.8.0-210808 on POCO F3 ROM Xiaomi.eu when I start the app and get to the sync it says "Sync failed: Unable to install new file". I understand that I need to change some settings but I don't know exactly what and where to find them.

Can someone explain to me how to do this? Thank you.
[Android Apps and Games] zgfg:
Rooted?

You need to enable Systemless hosts in Magisk
[Android Apps and Games] pegasoc:
Yes was the problem in Magisk. All solved. Thank you.
[Android Apps and Games] joefuf:
I am getting ERR_CONNECTION_REFUSED for websites that are part of my Allowed or Redirected lists. Specifically, I am trying to add the ad services sites used on SlickDeals. Here is a paste of my backup JSON that I try to restore. I see that you can only have them in Allowed or Redirected. I have tried both methods, but I still get the error when browsing.

Specifically, in the case of tkqlhce.com, I see that it is part of the Blocked list. Is that causing a conflict? Can I remove it somehow?

Is there something else that I need to do?
[Android Apps and Games] vssu:
most of podcasts have been unable to play on any podcast app after i recently updated some hosts. which ones do i whitelist to re-enable playback?

Thanks
[Android Apps and Games] Nergal di Cuthah:
Kinda a broad question, you probably have to do a dns request log. However I know when my podcast player, podcast addict, was blocked by a host it (the podcast app) told me that chtbl.com was blocked and once I added it to my adaway allowed list they returned to functional (if it matters I download my podcasts not stream)
[Android Apps and Games] vssu:
I'll i know is that podcast playback works if i disable adaway and that this issue popped up a few days ago after i updated my hosts, chtbl.com didn't fix unfortunately.
[Android Apps and Games] DiamondJohn:
before AdAway included a DNS logging, the method I use to use to find the offending blocked host was to

i) Cut the host file inn halfand enable the reduce host file

ii) test, if it still does not work, do step (i) again to the npow 50% reduced host file.

iii) if it works, add back 50% of what I previously cut

iV) if it now fails, its in the bit I added. Continue with 50% cuts to get down to the lines that make the app fail. You will be surprised how quickly youu can find the host(s).

NB: It may come down to multiple hosts, spread out over randon sparse location withyin the larger host file. Nore difficult, but still possible.

BUT, DNS logging is generally the quickest avenue, and the above would currently be a fallback method at best.
[Android Apps and Games] awdrifter:
Does AdAway support wildcard in it's blocklist?
[Android Apps and Games] DiamondJohn:
No. Only in the whitelist. And therefore not in redirect either.
[Android Apps and Games] vssu:
i figured how to use the dns log and fixed, thanks
[Android Apps and Games] awdrifter:
Hopefully they'll add this feature in the future.
[Android Apps and Games] DiamondJohn:
I guess it *may* be possible using the non-root version, but using the root version depends on the features / functionality of the host file, which is pretty fixed and will not be changing anytime soon or even later.
[Android Apps and Games] awdrifter:
I see. I hope some other apps figures out a way to block the entire domain.
[Android Apps and Games] zgfg:
As standard hosts file, does not support a wildcard - you can google about (e.g., hosts file wildcard)
[Android Apps and Games] gallegonovato:
Good afternoon @PerfectSlayer

First of all, thank you for your work and time.

I wanted to report a bug in Adaway. It turns out that if you upgrade, add host lists, etc. ... With data, normal wiffi no problem. But if you use 5 ghz wiffi. Adaway goes crazy. Sense:

On the main screen, where you get the number of sources you have installed and the ones you want to update. Well, you see how it decreases the number of installed lists, and even says 0 installed fonts. Again where is the list of hosts. To some it says installed a few minutes ago, to another updated for a few minutes. Or it simply does not load the total. I mean, for example, Steven font and leaves a number for example 250k and this number removes it.

I have already tried rebooting, reinstalling Adaway and backup, Adaway without backup and putting one by one the lists. Clearing cache, etc ... And always the same.

And it is not a failure of the mobile or wifi. Because everything goes well on wiffi 5 ghz. That's browser without problems, fdroid without problems, etc ... I tested it on a Nexus 6p with lineageos and Magisk in its latest version. And on Samsung S9 + also with lineageos magisk updated. And Adaway in its latest version 5.8.0. And this before I did not do that I realize. And I have not changed anything on the phone.

. I would also like to ask if it would be possible to add Adaway. An option that after updating the sources of the host lists are updated. Adaway reboot the mobile. Or a warning if you want to restart the phone or not. As it happened in versions 4. I comment this because I see that Adaway processes updates and changes better after restarting the mobile.

Thank you very much for your time and help.

Sincerely

Device

AdAway version: 5.8.0

Device: Huawei Nexus 6p and Samsung S9+ and Nexus 5

Android version: Lineageos 17.1 and lineageos 18.1

Root version: Magisk 23 and systemless active
[Android Apps and Games] zgfg:
Hello, I've seen earlier you reported the same (I think) but there was no feedback

Actually, it was interesting but e.g. I thought it was about the non-root version (non-root does have some issues with reconnections hence I thought it was the reason for your troubles with WiFi 5G)

But you say now that you have issues with 5G but with the root version?

I have WiFi 5G at my work (with many APs all around the building) and I have never observed any issue

Reading more closely now how you described the problem (related to updates) I could think of the following scenario:

Open Preferences and disable autonatic updates (you can always manually update every few days) and check would it help.

Maybe you have problems that AdAway attempts to update (hosts sources or the app itself) and due to certain problems with 5G (shorter range, more often jumping from one AP/channel to another) it results with that unexpected behavior

Btw, if I'm not wrong, AdAway might be trigerred to re-try the previous broken update every time you reconnect from one AP to another (you might be sitting between two of them, and the phone often jumps from one to another), repeating the troubles and making it just worse for you