yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] knpk13:
I've had this for a while but tried to ignore it, hoping it would solve itself. Added "t.co" to the allowed list but it didn't solve the issue. Why is t.co blocked anyway, is something wrong with it?

Sorry if the answer is already in the thread, I haven't been on XDA in a long time and it's hard to navigate; the mobile UI is ironically.. not very easy to use anymore. Does AdAway have a discussion platform anywhere else like Telegram/Discord?
[Android Apps and Games] zgfg:
I'm not using Twitter but generally (needed for root + Systemless hosts), did you reboot after adding to Allow list?
[Android Apps and Games] knpk13:
Ok thanks, a reboot fixed a good chunk of links.

Didn't think a reboot was necessary since turning blocking on and off works without it.

I think for the other links I need to allow different domains. Not sure why t.co is blocked in the first place, it's just a link shortening thing right? Like youtu.be?
[Android Apps and Games] zgfg:
Sites are blocked not b AdAway app but by the hosts sources you configure. If you are interested a out t.co, inspect which of your hosts sources blocks and you could ask the maintainer of the hosts source
[Android Apps and Games] knpk13:
Yeah I'm aware. By "AdAway", I was referring to the default hosts lists that are preloaded. Thought someone here might know since Twitter is relatively popular. Guess I'll ask the maintainer of the list. Thanks.
[Android Apps and Games] hawki:
View attachment 5644577

Kits.ca | Canada's #1 Contacts, Glasses & Eyewear Store

Get your first pair of KITS frames FREE. High quality eyewear at affordable prices. Glasses, contacts & sunglasses. Fast delivery. Canada's #1 Eyewear Store.

pubads.g.doubleclick.net

And "googleleadsservices" (I think, I can't seem to figure out how to whitelist? Also, there was a Facebook domain I can't find, not the main one that blocks everything Facebook, one but that blocks most, many but allows you to still use main FB app
[Android Apps and Games] rodken:
*.dartsearch.net
*.googleadservices.com
ad.doubleclick.net
www.googletagmanager.com
www.googletagservices.com
[Android Apps and Games] DiamondJohn:
I personally would never whitelist double click, but if i am not mistaken, the whitelist above does not cover the explicit link to "pubads.g.doubleclick.net"

EDIT: Just on a theoretical note to check my understanding, wouldn't *.dartsearch.net also cover www.dartsearch.net and clickserve.dartsearch.net ?
[Android Apps and Games] markd89:
hi, I have a few host entries that I have manually made. Is there a way to have these preserved rather than being overwritten by adaway?

example:

172.217.6.54 i.ytimg.com

142.251.46.206 www.youtube.com

142.251.46.206 youtube.com

142.251.46.206 youtube-ui.l.google.com

I do this so that I can block all google IPs except two needed for youtube to function.
[Android Apps and Games] zgfg:
You cannot block particular IP address for youtube.com (like 142.251.46.206).

You block youtube.com

AdAway blocks on the DNS level (it will redirect youtube.com to 0.0.0.0 or 127.0.0.1), you cannot block 142.251.46.206.

For blocking IP addresses you will need a firewall

Edit: See post #169444 below
[Android Apps and Games] markd89:
Thanks.. I'm not trying to block these IPs. What I'm trying to do is override DNS so that lookups for youtube.com always return 142.251.46.206 and not one of the alternate IPs.

[I have separate IP tables rules which block all Google/youtube netblocks with the exception of these two IPs]
[Android Apps and Games] Nergal di Cuthah:
I think your best bet is to create it as a source. Adaway can only compile sources and lists and has no capacity to discern addresses
[Android Apps and Games] zgfg:
Edit: See post #169444 below
[Android Apps and Games] DiamondJohn:
Just some crazy ideas;)

I actually haven't used AdAway for a while, but regarding the specific IP mapping of a host, is there a way to modify the host file header (assuming root)? ie where the local host mappings are. Its the obvious place to put host to specific IP mapping like @markd89 is looking to do, and most host builders I have used have the feature. The other way I can think of (for root) is to run a shell script after each build to add them into the end. Or, since you are on root, adding a boot script to the host file module wouldn't be hard. But I am not sure about the timing of boot and mounting the file. ie would it be mounted before being modified by the script.

As for non-root, for which I have NO experience. Maybe look at the adaway SQLite db to see if there is somewhere it could be inserted there.
[Android Apps and Games] zgfg:
Ok, if @markd89 wants to force resolving of www.youtube.com to 142.251.46.206, he should use Redirected list for that (but formally, this is not 'blocking' of any other IP addresses), adding eg 142.251.46.206 www.youtube.com there, etc

And don't forget to reboot

Eg, see my screenshots, I added redirection of aaa.bbb.ccc to 1.2.3.4 and that creates a line in the hosts file:

1.2.3.4 aaa.bbb.ccc

which should force resolving of aaa.bbb.ccc to 1.2.3.4 / mapping of aaa.bbb.ccc to 1.2.3.4
[Android Apps and Games] markd89:
Thank you, that's exactly what I need :)
[Android Apps and Games] PerfectSlayer:
Yes you can. From the home screen, tap the "Redirected" card and type your redirection.

They will be happened to the hosts file (or VPN rules) in priority.

EDIT: Oopsy, I missed the last page before replying ^^'
[Android Apps and Games] rodken:
Your theory has been noted and post has been corrected.
[Android Apps and Games] q-killer:
I have a feature request, not sure if this is best place to put it... Instead of adaway logo to replace ads, maybe add an option to point to gallery of pictures, or random cats? The idea is from the catblock adblocker for PC, would be nice to have this feature on android as well. Cats or pics of family is better at taking up screen real-estate than the same logo all the time. Love the app tho, great work on it! :)
[Android Apps and Games] Logidroid:
Hello I have a root my Google Pixel 6 Pro and authorized super-user permissions.

But after that I have a message that I lack space while no I have more than 100 Go.

Anyone have a solution ?

I leave you two screenshots in French sorry...
[Android Apps and Games] Gordietm:
You need to activate systemless host in magisk settings.
[Android Apps and Games] Logidroid:
it was already installed i just had to restart my phone :D
[Android Apps and Games] revized:
Hey thanks for any advice , its always greatly appreciated. Sorry I didn't post catlog , because am a noob.

Last week I tried desperately request again and it worked ! Only had like 15 results and blocked the baddies. Today they are back at same webpage ,only webpage that has them out of 72 lol. So check dns request and whoa was like hundreds!

Even listed boot strap and adaway. Attached is a screen of the madness. Upper arrow shows how long the scroll list is and lower show bootstrap result for reference.

Thanks again for any and all advice .
[Android Apps and Games] PerfectSlayer:
Hi all,

The beta for the new major version is running for 3 months now, so it is time to call it stable and promote it! 🎉

As remember, or for those who did not take part to the beta, this new version comes with a whole new VPN ad-blocker implementation that greatly improves stability and reliability. Most of the disconnection issues has been fixed by now.

It also paves the way for DOH (DNS Over HTTPS) support. It already works but it is not yet configurable from the settings and I might add other DNS client alternatives later to provide a better privacy.

And of course, it comes with a batch of bug fixes and third party upgrades.

If you like the project, feel free to show your support or become sponsor 💖

Without further ado, here comes the full changes!

Changelog:

From the last beta version (6.0.2 to 6.0.3):

Improve hosts source cache to reduce bandwidth usage

Improve GitHub API usage to reduce bandwidth usage

Update AndroidX libraries

Update translations

From the last stable version (5.12.1 to 6.0.3):

Add a new VPN ad-blocker implementation

Add initial DOH (DNS Over HTTPS) support

Add VPN connection monitor, heartbeat and throttler to improve reliability

Add long press action to copy hostname from user lists and DNS log to clipboard

Improve screen rotation handling on home screen

Improve hosts source cache to reduce bandwidth usage

Improve GitHub API usage to reduce bandwidth usage

Fix VPN state on network connectivity change and lost

Fix VPN restart when system kills it

Fix wrong DNS read on VPN restart

Fix VPN unwanted restart while paused

Fix crash on application update unknown size

Improve VPN user control reliability

Update logging system

Update libsu

Update mongoose web server

Update Android gradle plugin

Update AndroidX libraries

Update NDK

Update third party libraries

Thanks:

Special thanks to yoshimo for its bug report.

Download:

AdAway 6.0.3
[Android Apps and Games] CobalTitan:
I have a problem with the latest version 6.0.3. When I disable AdAway the VPN restarts by itself and continues to block ads. I have to force close AdAway for the key to disappear.
[Android Apps and Games] PerfectSlayer:
Did the problem was present in 6.02 ?

What do you call "disable AdAway", the pause button from Home?

Can you provide a logcat?
[Android Apps and Games] CobalTitan:
Yes it is present to 6.0.2b, 6.0.1b and 6.0.0b tested
[Android Apps and Games] tlxxxsracer:
Pixel 6a on 13 beta and rooted on the latest beta.

I'm still getting ads (especially on xda). I use chrome and it no longer has a data save feature to turn off.

Suggestions? If there's a host file that'll block more, I'd be happy to know where one resides.
[Android Apps and Games] rodken:
Quite possibly these.

Spoiler content hidden.
[Android Apps and Games] Dreamic:
I have a feature request.

With DOH support coming and hosts file for rooted and local VPN for unrooted already supported there is yet another way, using Samsung Knox for unrooted Samsung devices.

Disconnect Pro in the Galaxy Store does this method.

This is better than local VPN for unrooted Samsung devices.
[Android Apps and Games] Nergal di Cuthah:
Just my take on this. It's likely that to access knox you need to have a valid security key for the API. AdAway is open source. Samsung would frown on the api being shown in the source. AdAway would be forced to close part of their source. This would probably mean it could no longer be available in fdroid. This would make users sad.

This is only my opinion and might be very wrong.
[Android Apps and Games] Dreamic:
Hm, well as an opt-in feature or something somehow it would be nice.
[Android Apps and Games] Zzneaker:
Newbie question, how do I redirect a website say like Instagram.com to another like Wikipedia.org using adaway?
[Android Apps and Games] zgfg:
Open Redirect button, take +, and for Hostname put Instagram.com (maybe better *Instagram.com) and under address put the address of Wikipedia.org (use DNS lookup, should be like 91.198.174.192).

Add, Apply and reboot
[Android Apps and Games] Zzneaker:
View attachment 5678663

I get this error.
[Android Apps and Games] zgfg:
First of all - have you successfully configured and used AdAway BEFORE this redirection?

Eg, on new devices System is read-only and you must enable Systemless hosts in Magisk (and reboot - I'm talking about root/hosts mode)

Otherwise I don't see a reason why AdAwaywould inot be abke to apply the configuration

---

But you don't need to bother with this redirection since it will not work properly

Suppose you redirect instagram.com to 172.217.20.164 (that is, to Google)

Now sites and browsers force https, they no more want to use http

Hence, when you would try to open

https://www.instagram.com, you will be redirected to https://172.217.20.164

But from there, it will obtain Google's certificate instead of the expected Instagram certificate, and browser would complain that security was broken and would not want to connect to the redirected Google's https site
[Android Apps and Games] Zzneaker:
I fixed the error. For some reason magisk was uninstalled and twrp was gone on my phone. I don't get the error now but the redirection doesn't work either. So you're saying there's no other way to redirect websites?
[Android Apps and Games] zgfg:
Yes. You have also some documentation on AdAway site, you can study how AdAway works
[Android Apps and Games] PerfectSlayer:
I had a quick look but it looks like it can only block ads on the Samsung browser, isn't it?

If so, what is the benefits compare to using a browser with an adblocker extension (or even a browser with builtin one)?

More than an opt-in feature, it might need to be a downloadable plugin (or another build variant). This kind of feature will also require a backup upgrade in order to handle this use case as I can't distribute the app on the play store and F-Droid does not support it.

I also had a feature request to add a hook engine as blocking method. Though it requires a rooted device and some magisk modules, it should be possible to block even more ads inside browser or inside YT for example... But it won't be that easy to implement 😅
[Android Apps and Games] Dreamic:
No, it's system-wide like AdAway etc. I don't use Samsung Browser. Disconnect Pro logs everything it blocks, can whitelist apps etc.
[Android Apps and Games] PerfectSlayer:
Is it this app you are talking about? https://play.google.com/store/apps/details?id=com.disconnect.samsungcontentblocker

Because they only talks about the browser ad filtering in description. Blocking ads in the system is a violation of the Google Play policies. They will even restrict this behavior from VPN app…
[Android Apps and Games] Dreamic:
That version does not do it, Google Play Store. I mentioned it in Galaxy Store in my OP.

Disconnect Pro Privacy and Performance - Apps on Galaxy Store

Named the favorite privacy tool of the New York Times in 2016, 2017, and 2018, Disconnect offers simple to use and powerful protection. Disconnect Pro blocks privacy invasive trackers across your...

galaxystore.samsung.com

It's mentioned a number of times on Reddit etc when people are talking about blockers.

It's like the only thing that uses Knox.
[Android Apps and Games] zgfg:
Yeah, but that is an API only for Samsung phones
[Android Apps and Games] Dreamic:
Is anyone capable of reading my first post?

I don't really have anything more to say and this is getting annoying, unsubscribing from notifications.

Will continue using Disconnect Pro until something else can do unrooted blocking without local VPN or DNS.
[Android Apps and Games] PerfectSlayer:
Ok. I did know this store as I never owned a Samsung device.

I had a quick look at the documentation and a such feature would require:

To use the Firewall Know API

To have a MDM provider (so having a dedicated backend)

To have a Know licence

To own at least one Samsung device to test it

It might be considered if anyone help with those points... But otherwise, it could be quite easy to create a new adblocker model for Knox.
[Android Apps and Games] palopaxo:
Is there anyway to block the discovery page from Snapchat? There're not specifically ads but is pretty annoying.
[Android Apps and Games] bottedumal:
Hi all, I love adaway but sometimes it blocks pages I want to access. I try pause button but am still redirected to adaway 127.0.0.1.

Am I missing something? Using it with magisk and systemless host module.

I also try to put the adress in whitelist but seems to not be working 😢

Thanks in advance!
[Android Apps and Games] zgfg:
With Magisk and Systemless hosts, after Pause, you have to reboot to 'clean' the real /system/etc/hosts file and therefore to have the ad-blocking stopped

And after un-pause, you again have to reboot to take in in effect

I'm not going to describe you how and why - it has been many times described here how Systemless mounting by Magisk works, and that is the consequence of

You should probably better find which hosts you need to whitelist. If not familiar with, search/read through this thread and/or on the AdAway site
[Android Apps and Games] ahb83:
How can I create a filter list to block. Adblock. Detecting scripts?

I tried to enter by url and file, but it doesn't work
[Android Apps and Games] DiamondJohn:
AdAway is HOST blocking, not URL or file.
[Android Apps and Games] ahb83:
I know, I have a list of hosts to block, but was unable to get it working itself adaway
[Android Apps and Games] DiamondJohn:
The list https://raw.githubusercontent.com/jkrejcha/AdmiraList/master/AdmiraList.txt is the wrong format for adaway. Its simply a list of hosts, not in the correct format of a host list.
[Android Apps and Games] gallegonovato:
Good afternoon:

I would like to make some suggestions for the translation. But I login at https://www.transifex.com/free-software-for-android/adaway/ with a github account. But I get: https://ibb.co/q0B2Gsw and I don't know what to choose?. Do I have to pay or something?

And in the other steps since it says 1 out of 3

A hug
[Android Apps and Games] Nergal di Cuthah:
Where did you get that url, i don't think that the correct one
[Android Apps and Games] Oswald Boelcke:
That link is provided on Github. Guess it's correct.

AdAway/TRANSLATING.md at master · AdAway/AdAway

AdAway is a free and open source ad blocker for Android. - AdAway/AdAway

github.com

Regards

Oswald Boelcke
[Android Apps and Games] Nergal di Cuthah:
Ok followed the link from github now i see (pshew)
[Android Apps and Games] gallegonovato:
Good afternoon:

As Oswald Boelcke rightly comments I got it from Github. But I was looking at the Adaway website. And I get the same

What surprised me because in the first option I get. It is free trial for fifteen days.

Is there any other way to make the language suggestions?

Thank you for your time and help.
[Android Apps and Games] ipdev:
I am not sure how you got to that page but, if you select Join an existing organization.

Does it give you a search option?

If so search for AdAway and join it.

You will be asked for your Name (First and Last) and language.

Then you should be directed to the AdAway Dashboard.

---

If you have not created a transifex account yet..

When you follow the first link to get to AdAway's translation project.

Click on the "Join This Project" button.

Then you can create an account (I used my github account to create a transifex account).

Then you will get into AdAway's initial setup.

You will be asked for your Name (First and Last) and language.

Then you should be directed to the AdAway Dashboard.

Cheers. :cowboy:
[Android Apps and Games] Nergal di Cuthah:
It's confusing because it takes you to the non open source account creation. I clicked open source and no sales pitch

Transifex - Sign up

Sign up to start your own project or help translate an existing one.

www.transifex.com
[Android Apps and Games] gallegonovato:
Good afternoon @ipdev

Thanks for your help and time.

If I choose to join an existing organization. I get what you are saying.

Thanks for your help.

Good afternoon @Nergal di Cuthah

Thank you for your help and time.

If I go to the link that you comment, and select register with github. I got the same screen that I put.

But you have to choose to join an organization. And it is as ipdev says

What I don't know is why I get the 15-day trial... Being for open source stuff. I imagine that they will activate something extra or so. Or it will be to maintain the web.

A hug
[Android Apps and Games] m0han:
Google Play to ban Android VPN apps from interfering with ads

Google Play rule change disallows ad-blocking VPN apps

Developers say this is not the privacy protection it's made out to be

www.theregister.com
[Android Apps and Games] Nergal di Cuthah:
Sad but doesn't apply to adaway as it was banned from play store long ago
[Android Apps and Games] Oswald Boelcke:
Was to be expected as it contradicts Google's business model.
[Android Apps and Games] sancho_panzer:
Linux doesn't work like Windows. The RewriteMap mechanism has an almost undetectably low impact on performance.

Sent from my GT-I9505
[Android Apps and Games] mrRobinson:
It won't on Android. The only benchmark people should run are DNS queries.
[Android Apps and Games] TheDarkDefender:
Anyone got this working on Android L preview? Doesn't seem to apply hosts.
[Android Apps and Games] in1400:
Works fine on Android L

gesendet von meinem Nexus 5 mit Tapatalk Pro
[Android Apps and Games] Chadneu:
Definitely does not for me.
[Android Apps and Games] Wakamatsu:
Ditto for me.
[Android Apps and Games] hepi_hape:
Btw, im failed to apply file host...

What app may bother this process ?? Im already get root

CM11 rom :/

EDIT : Solved, privacy guard bother adAway. So disable it
[Android Apps and Games] zimbara:
I installed the app and updated it but i'm still getting ads in some apps? Should I add more hosts or is something else the problem?
[Android Apps and Games] mp107:
Most probably yes. You should add more entries. With what application you have a problem?

This application works on Nokia N9 on NITdroid Alphs 6 ROM.
[Android Apps and Games] Dakloos88:
Do you know if the notorious Air Push Ads can circumvent adaway? It seems they can do that with Adblock for Android, but also with Adaway? And if yes, how is it possible?
[Android Apps and Games] jackdubl:
For the life of me, I can't stop ads in one application, Reversi Online ( https://play.google.com/store/apps/details?id=com.spwebgames.othello ).

Tried logging and blacklisting practically my whole phone. Any help of direction would be greatly appreciated.
[Android Apps and Games] rfunderburk39:
Neither the latest version nor the alternative works with aicp 4.4.4 for the lg g2. After restarting the host do not stick. Thanks for the hard work.
[Android Apps and Games] sancho_panzer:
Problem must be ROM, many guys here using it on 4.4.4, including me (now on CyanogenMod, previously on S4 Google Edition).

Sent from my GT-I9505
[Android Apps and Games] nisby:
+1 HTC One GPE ROM 4.4.4 no problem
[Android Apps and Games] larkhillv:
Does anyone else have issues with Disqus on blogs? If I go to Disqus.com it says I'm logged in but won't log me in when Disqus comment threads load on sites like Android Authority. I added www.Disqus.com and m.Disqus.com to adaway's white list but it still almost never lets me log in for commenting. I tried disabling adaway and rebooting and immediately Disqus is working again. So it has got to be something with adaway blocking access or something. Anyone have any ideas? Thanks!
[Android Apps and Games] timmyd463229:
Does this work for ads when browsing the web
[Android Apps and Games] ssenemosewa:
Thankfully, yes.
[Android Apps and Games] beautifulsun:
Adaway removes ads or substitutes them with "white blocks"?
[Android Apps and Games] Pimpace:
Sam problem here... :( I'm using [ROM] [4.4.4] [OFFICIAL] LiquidSmooth v3.1 - i9305 rom.
[Android Apps and Games] OffDatGoGo:
This app stopped working for me once Liquid added their own ad blocker. I'm currently on the d2lte (d2tmo) LS v3.1 7/8/14 build.

I'm about to dirty flash the latest LS v3.2 7/16/14 build. I'll see if anything changes as far as Adaway compatibility on this ROM. I miss the tweaks that Adaway has vs LS's built in enabled/disabled plainness.
[Android Apps and Games] XtraWater:
Hello

I'm a Adaway long time user on my phones. Now I installed the app on my Mi Box S (Android TV Box). Since the box isn't rooted I selected VPN. In the next step it tires to sync and downloading the sources. But it never ends. Was anyone successful with this? My only goal was to get rid of the Prime Video and Disney adds on the default Android TV launcher.
[Android Apps and Games] vacs03:
Hi, I can't open any links on twitter, it just opens this. Any ideas how to fix this?

View attachment 5702753
[Android Apps and Games] rodken:
Did you use the 'Search This Thread' feature for anything 'twitter' related to this thread, e.g., here?