yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] j1gga84:
I think adblock.mahakala.is is not working with older devices (file to big?) because everytime I want to add this hostlist AdAway crashes (Have a Samsung Galaxy i9100).

Regards
[Android Apps and Games] Dakloos88:
Just did soms testing in antutu myself. With adaway enabled (only the general host file+Dutch one) and after with adaway disabled.

The score with adaway disabled was about 2% higher, so it does impact performance negatively. I am keen to know what the impact will be with 17MB host files some are using.
[Android Apps and Games] FlanjeUK:
Ok, heres my results:

Spoiler content hidden.

I think it's safe to say AnTuTu isn't consistent enough to use it to compare, and I also think I'm happy to keep my phone Ad-Free with my massive 17mb host file :P
[Android Apps and Games] Dakloos88:
Haha OK. So you get better performance. It would be nice to see results from other users as well! That way we might be able to conlude stuff;)
[Android Apps and Games] Lord Takyon:
I fail to see how a modified host file would affect a benchmark.
[Android Apps and Games] FlanjeUK:
That was why I done it... ;)
[Android Apps and Games] Dakloos88:
It is a fact that (large) host files affect performance on Windows. Don't know about Android, but wouldn't see why it would have no effect on this platform. That is why it would be helpful if more people would test.
[Android Apps and Games] drnightshadow:
Try to wipe data of adaway and start again.

Or something is wrong with magisk installation or database is corrupted.

Uninstall magisk, reboot and reinstall it than reboot , enable systemless host, reboot again and try again with adaway. Hope you'll fix it.
[Android Apps and Games] blazejwiecha:
Is it still continuing on Android app ?
[Android Apps and Games] tiga_x:
Same issue. 13b1 on Pixel6Pro.
[Android Apps and Games] Atharkhan101:
UNCHECK is not working. I want to uncheck (white list) Glance items from the Blocked section directly (refer the attached screen record). I know to create a white list (Allow list) creating it separately is lengthy like copy each item and paste it while it would be better if we can just uncheck the items from Blocked list. In other words it should be like when we uncheck an item in blocked list, the items should automatically be added to Allowed list. Please make it possible.

View attachment 5607629
[Android Apps and Games] Atharkhan101:
Go to Magisk / Settings (Gear icon at top right corner) / Systemless host (Tap on it).
[Android Apps and Games] anova93:
Hello, recently moved to a new phone and installed this on a rooted custom rom. Everything works/blocks fine and pretty much like it did on my old phone, except for some reason I just can't get the dialog prompt for reboot to pop up after a host update or editing the whitelist. This is regardless if the 'hide reboot dialog' option is checked or not within the settings. I can't seem to find anything in this thread or on github about it, so does that mean it's just a phone specific issue? Have also tried re-installing a few times to no avail.
[Android Apps and Games] DiamondJohn:
I dont use AdAway anymore, but are you sure that the host file was updated? and not the same as last time. Is it possible that adaway does not prompt for a reboot, when there is no change to the resultant hostfile? IDK.
[Android Apps and Games] Atharkhan101:
It's aggressively blocking ads on Amazon app. Bad.
[Android Apps and Games] rodken:
Start from here and work your way down to the successive posts.
[Android Apps and Games] gallegonovato:
Good afternoon:

I wanted to ask you a question since there is no way. At least for me. Adaway works well with Gitea or Codeberg for example.

And my question is that it has to have links or hosts. For Adaway to recognize them as it does with Github for example.

Is that many creators are moving to other platforms. And of course they would also like their work to be suitable for Adaway.

Best regards and thanks for your time
[Android Apps and Games] Nergal di Cuthah:
As long as it's formatted correctly and announces its updates any url will do. 4 out of my 5 aren't git or codeberg but are urls of their own
[Android Apps and Games] Atharkhan101:
I don't see that option. I'm on latest version 5.12.0.

Which version of Adaway has that please tell me so that I'll install version.
[Android Apps and Games] Nergal di Cuthah:
Open preferences

Tap root based ad blocker
[Android Apps and Games] Atharkhan101:
Thank you so much. Found.
[Android Apps and Games] gallegonovato:
Good morning @Nergal di Cuthah

First of all ģthanks for your help and time.

The ones you comment me you have in github and as you say a different format.

But for example from gitea https://git.nixnet.services/Narsil/hosts . I can't get them to work. First it recognizes them, in theory. It comes out installed for x amount of time. Then if I restart the phone, puts updated for x time, but if you give to update or search for updates laz lists of hosts. Sometimes it removes it from the global computation, and when you hit update it adds them back. And for example gitlab does not happen to me. For example https://gitlab.com/Jorgu81/hosts (without problems).

And from Codeberg I have the same problem as with Gitea. And I spoke with Codeberg and they told me that changes could be made for proper operation.

Thanks for everything and hug
[Android Apps and Games] Atharkhan101:
+1 Yes I would love to see separate section for per app ad blocking.
[Android Apps and Games] zgfg:
If you use VPN/non-root mode then you do have the option to whitelist apps.

In that case AdAway controls to which apps it opens the virtual VPN DNS resolving channel or not

In the host/root mode AdAway only writes/updates into the hosts file.

Apps use the Android API to read from the hosts file - AdAway has no control over that and no info which app asks to resolve the host name from hosts file - AdAway does not even need to be running (if you leave it running in background for the root mode it will only periodically check the hosts sources and update the hosts file from, but it usually requires manual reboot to take in effect, specially if using Systemless hosts since Magisk will remount the updated hosts file only when rebooting - all together, I use AdAway in root mode but with all updates turned off and AdAway is not automatically started and does not run in the background, not eating battery, resources or anything )
[Android Apps and Games] XtraWater:
I can't suddenly no more links open in Twitter. When adaway is disabled it works. I'm only using the three default sources.

Edit : it works again. Did api-26-0-0-26-6-1.twitter.com and t.co add to the whitelist.
[Android Apps and Games] Nergal di Cuthah:
Well, both of those links lead to the landing page and not a host file. I couldn't find the actual file but i only glanced at the pages. If you can link to the actual files. i have limited knowledge though, but will try and help.
[Android Apps and Games] ciaoant1:
I have a strange issue (I am using the non-root version of the app, if that makes a difference):

When I use Google maps, it doesn't seem to get the live updates regarding traffic. When I disable AdAway, it works. I don't know what to whitelist, and I even tried to whitelist the app, but...the app does not appear in the list of user apps!

Any suggestions on what could be wrong?

PS: I found this bug report, but no resolution:

Smithsonian Eclipse 2017 - Google Maps and GPS function blocked by Adway · Issue #928 · AdAway/AdAway

App has a feature to show map from Google Maps, and current location. Map doesn't load and app doesn't get location. Disabled Adaway and app functions perfectly fine. https://play.google.com/store/...

github.com
[Android Apps and Games] shremi:
Can anyone help me whitelist.

https://www.nike.com/launch

I have tried everything but i think it's the trackers that get blocked not the actual page.

Thanks
[Android Apps and Games] Nergal di Cuthah:
Ok to get the host to work from the 1st link go to raw version such as https://git.nixnet.services/Narsil/hosts/raw/branch/master/Google/HostsGoogle

And it shows update time and gives me 2k hosts
[Android Apps and Games] XtraWater:
For me it opens the page, but it seems the content is missing. It shows only menu entries. For you too?
[Android Apps and Games] shremi:
Yeah exactly i guess it blocks the trackers inside the page ....

Whitelisting the webpage doesn't seem to so anything because what is blocked is the trackers i guess .
[Android Apps and Games] Nergal di Cuthah:
I just tried with a clean hosts file (default no entries after a reboot) and the page is all white (content flashes on the page then loads as a unscrollable white box) for me too (firefox all addons disabled). I don't think it's adaway that's doing it.

It should also be noted that nike.com and nike.com/register opens fine with my full hosts file and ublock and privacybadger enabled
[Android Apps and Games] ps000000:
This work for me.
[Android Apps and Games] shremi:
Yep exactly is not Nike.com i think it's the trackers inside that it's blocking ...

i tried opening it with brave browser and see which trackers were the culprits .... They were many i tried whitelisting as many as i could find but still no success.

If you disable AdAway the page loads perfectly. So i know it has to be some hosts in the site that are not getting along with adaway
[Android Apps and Games] Nergal di Cuthah:
That was not my experience as i stated above. But maybe I'm wrong,
[Android Apps and Games] ipdev:
I did a quick check on nixnet.services.

Thank you to @Nergal di Cuthah for the raw link. ;)

Last-modified header missing -- time-stamps turned off.

The gitlab link should work. :unsure:

Jorgu81/hosts

The missing time-stamp will cause an error since there is no way to know if the source file has been modified.

Cheers. :cowboy:
[Android Apps and Games] shremi:
Weird ..... If i disable AdAway i can get through fine.

Here is the report from Brave i think one of this or maybe all are the culprit.

https://74779947ea2d.cdn4.forter.com/sn/74779947ea2d/script.js

https://c.go-mpulse.net/boomerang/R6SH7-84RFL-GQQ8S-CW6MF-W5RWR

https://dkupaw9ae63a8.cloudfront.net/main.9749779996474eac2d40.js

https://insights-collector.newrelic.com/v1/accounts/714737/events

https://js-agent.newrelic.com

/nr-spa-1215.min.js

https://mpsnare.iesnare.com/snare.js

https://s.go-mpulse.net/boomerang/R6SH7-84RFL-GQQ8

I tried whitelisting all but still no dice.
[Android Apps and Games] Nergal di Cuthah:
When you're whitelisting are you putting the whole address in or just the top domain (eg s.go-npulse.net)

Edit; a few questions, what sources are you using. Have you tried as i said and wheddle down which sources block. I can't help much because as i said clean host file still resulted in white blank site for me.

Do you have adaway webserver on or off?
[Android Apps and Games] zgfg:
Sorry, not following your original problem but just generally, my screenshots show how to use Allowed list. No https, no slashes - just the site names
[Android Apps and Games] Nergal di Cuthah:
Ok i pared down the culprits lists to be adaway.org and steven black (which uses adaway.org in its list)
[Android Apps and Games] ipdev:
Quick try of nike.com/launch using Brave browser.

I only had to add cdn.optimizely.com to my Allowed list (white list).

AdAway official hosts - [GitHub] - Line 7,636

You can read about Optimizely on their website.

Privacy Policy and a few other links are in the footer of the website.

---

It is a bit easier to use AdAway's Show DNS request log option.

You can see what is called and if it is currently being blocked.

Then decide what you need to add to your allow list, and simply add it by selecting the check mark.

Hope it helps more than confuse. 🙃

Cheers. :cowboy:

PS.

Screen shots never upload in the correct order. ;)
[Android Apps and Games] Nergal di Cuthah:
I can confirm that this entry's whitelisting works
[Android Apps and Games] Attached2Android:
I Am Trying To Open A Link Which Redirect Me To "https://linkredirect.in/visitretailer/"

View attachment 5614417

But This Website Is Not Opening

I Already Tried Allow Setting

View attachment 5614419

But Still It's Not Open, To Open That Website I Have To Turn Off.

Any Solution For That.
[Android Apps and Games] shremi:
Thank you so much ...

This works.
[Android Apps and Games] hacker812c:
Hello @PerfectSlayer If possible, remove the domains of this application from the rules sources, it is used by the third largest Bank of Brazil. Domains bradesco.com.br - banco.bradesco - Bradesco Google play store app

Thank You my friend
[Android Apps and Games] Nergal di Cuthah:
You need to whitelist them, adaway is agnostic about what content is in a list. I doubt those three that you mention are blocked by any list though. Check to see if webserver is running in adaway, i know this broke my banking app
[Android Apps and Games] PerfectSlayer:
Hi all,

It's been a long time since (more than two months 😮) the last update.

During this period, I mainly spent all my free time preparing for job interviews and, good news, I just signed a new contract! 🎉

And with my 2 weeks trip to USA canceled due to covid, I found some hours this week to fix the most urging issues.

So, here comes the v5.12.1 that fixes the root ad-blocker on Android 13 (AdAway failed to install the hosts file).

It also slim down the F-Droid build that recently grows from 15mb to 25mb (due to the wrong NDK).

On top of that, I will also relaunch the beta update channel to distribute the v6.

Since I know I will have free time in the coming weeks, I could properly follow its launch and handle the user feedback. So stay tunes!

(As usual, beta versions will only be available for the GitHub install users as F-Droid store does not handle it.)

Changelog:

Fix hosts file install on Android 13

Thanks:

Special thanks to AAGaming00 and KieronQuinn for their bug reports.

Download:

AdAway v5.12.1
[Android Apps and Games] hacker812c:
Thank You my friend

Best Regards
[Android Apps and Games] JayTheKid:
How to block YouTube app ads?
[Android Apps and Games] DiamondJohn:
You cant with host blocking (ie AdAway). You have to use something like Vanced etc
[Android Apps and Games] gallegonovato:
Good afternoon @Nergal di Cuthah @ipdev @zgfg

First of all I apologize for replying so late. But I had some problems and it was impossible for me to do it before.

The hosts source https://gitlab.com/Jorgu81/hosts/raw/master/Google/HostsGoogle works perfectly that list of Jorgu81/hosts with no problems. Adaway recognizes her perfectly. And it marks you that there are updates when the developer makes changes. And update it. And even if there are no updates Adaway does not remove it from the total or does not put it installed recently.

but instead https://gitlab.com/Jorgu81/hosts/-/blob/master/Router/Other I get the raw: https://gitlab.com/Jorgu81/hosts/-/raw/master/Router/Other

And for example from gitea https://git.nixnet.services/Narsil/hosts/raw/branch/master/Router/12345

And from Codeberg nothing.

The failure that happens to me, is that it installs them. But instead it is always looking for updates. That is to say if I give it to look for updates it removes them of the total of lists of hosts. And in those it says installed a few minutes ago.

Talk to the creator and he says that they work fine. But I can't find the kit

I use the latest version of Adaway in root mode, lineageos and magisk with the corresponding module.

A hug and thanks for your help and time.
[Android Apps and Games] PerfectSlayer:
Hi all,

For the record, I patched the backend to improve the beta channel behavior.

It will now serve whatever beta or stable stable release is the most up-to-date.

So now, if you subscribe to beta channel, you will receive the upcoming beta builds (as previously) but your app will keep updating once the v6 hits stable channel (whereas previously it was stuck on old beta builds indefinitely).

For those who want to try the bleeding edge, feel free to switch to beta channel!

(keep in mind beta channel is only available for GitHub install users)
[Android Apps and Games] juanmikun:
Does anyone know why on one plus 10 pro, android 12, non root, it keeps disconnecting? Specially on WiFi. I have the option keep vpn on, but it keeps disconnecting nevertheless... I don't know what else to do.

Thanks a lot!
[Android Apps and Games] Nergal di Cuthah:
Quick 1st question: what version of adaway
[Android Apps and Games] juanmikun:
5.12.1, and 5.12.0

Same behaviour observed.

I also noted that it happens depending on which network on my WiFi I'm connected...

It usually works on data, but I also observed it randomly stops disconnecting vpn sometimes... Feels quite random.
[Android Apps and Games] PerfectSlayer:
Hi all,

I talked about it for weeks, if it's not month, but it's finally here! 🎉

The new major version comes with a whole new VPN ad-blocker implementation that greatly improves stability and reliability. Most of the disconnections issue should be fixed by now.

I daily use it for months, using cellular (4g + 5g) and WiFi (private + public + public behind authentication portal) networks, doing handovers between them and it works fine. I distributed early builds on GitHub issues and I got good feedback too.

I also work on DOH (DNS Over HTTPS) support. It works but it is not yet configurable from the settings.

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:

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

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 Android gradle plugin

Update AndroidX libraries

Update NDK

Update third party libraries

Download:

AdAway v6.0.0b
[Android Apps and Games] m0han:
any special installation instructions for this new major version? dirty install 6.0.0b over 5.12.0 possible?
[Android Apps and Games] daywalk3r666:
Yes simple update the app
[Android Apps and Games] gallegonovato:
Good afternoon @PerfectSlayer

I wanted to ask you a question if I may.

The AdAway v6 versions will still be valid for lineageos 18.1 for example?

And

Sorry to bother you here, but I'm trying to get into the github. In the translation part and I don't know what's going on that doesn't allow me to enter.

I wanted to make a suggestion in the Spanish language. If you allow me.

It turns out that in the main page of Adaway. When there is an update button, it says in English 1 source outdated. And in Spanish it would be:

1 actualización disponible . O 1 fuente para actualizar.

Then on the page where you put the url of the host list. Put block and allow. And it would be in Spanish:

Bloquear

Permitir

Permitir redirecionamiento

A hug
[Android Apps and Games] PerfectSlayer:
Good questions! You can seamlessly install the beta over the stable version (so dirty flash).

If you want to revert, you can export your block rules from the settings, uninstall the app (required as Android does not allow you to downgrade an app), reinstall the stable version, and import back your block rules.

Keep in mind you can't update from F-Droid builds as they use their own sign key. You will have to uninstall the F-Droid builds firsts.

The min SDK has not changed so it should not break any compatibility.

All the translations of the app is handle on the Transifex platform where translators can discuss about wording, semantic, etc... Once a translation improve, it is automatically committed to GitHub.
[Android Apps and Games] juanmikun:
EDIT: Nothing, it keeps disconnecting when on wi-fi... I'm on Android 12, Oneplus 10pro
[Android Apps and Games] oldman20:
Im using adaway, but all links in google flaged "Ads" blocked, how can whitelist it? Adaway v5.12 rooted.

--------

I already whitefish googleadservices.com
[Android Apps and Games] juanmikun:
This is what happens when I connect VPN when on wifi... and right after it proceeds to disconnect the VPN (even though I have the option "keep it on" on Android). Anyone knows how to fix this? (Android 12, Adaway 6.0.0, Oneplus 10 pro)
[Android Apps and Games] rodken:
dartsearch.net
googleadservices.com
www.dartsearch.net
www.googleadservices.com
*.dartsearch.net
*.googleadservices.com
ad.doubleclick.net
www.googletagmanager.com
www.googletagservices.com
clickserve.dartsearch.net
[Android Apps and Games] biontx:
@PerfectSlayer

Good evening, could you update libsu to 5.0.1 please? tx in advance 😇
[Android Apps and Games] PerfectSlayer:
Hi biontx,

Do you see any advantage to upgrade to 5.x?

It's currently a work in progress on my side but it has remove some API I use. Moreover, BusyBox is no more included where AdAway use shells commands like dd, chown et chmod.

Does any one know if those three commands are officially supported over the various devices since Android 8?
[Android Apps and Games] oldman20:
thank bro, i will check it!
[Android Apps and Games] biontx:
I have downloaded your source on github...

Made some changes android studio chipmunk 2021.2.1 ... compiled it as debug apk... screenshots later on ...

// Root related

implementation 'com.github.topjohnwu.libsu:core:5.0.1'

implementation 'com.github.topjohnwu.libsu:io:5.0.1'

// Optional: APIs for creating root services. Depends on ":core"

implementation "com.github.topjohnwu.libsu:service:5.0.1"

// Optional: Provides remote file system support

implementation "com.github.topjohnwu.libsu:nio:5.0.1"

//-------------

buildscript {

repositories {

google()

}

dependencies {

classpath 'com.android.tools.build:gradle:7.2.0'

}

}

compileSdkVersion 32

buildToolsVersion '33.0.0 rc4'

ndkVersion '24.0.8215888'

compileOptions {

sourceCompatibility 1.8

targetCompatibility 1.8

}

//---------------

private void checkRoot(@nullable View view) {

Boolean isRooted;

notifyVpnDisabled();

isRooted = Shell.isAppGrantedRoot();

if (isRooted == null) {

// valid!

notifyRootEnabled();

} else {

if (isRooted) {

notifyRootEnabled();

} else {

notifyRootDisabled(true);

}

}

}

//---------------

// Copy hosts file then set owner and permissions

Shell.Result result = Shell.cmd(

"dd if=" + privateFile + " of=" + target,

COMMAND_CHOWN + " " + target,

COMMAND_CHMOD_644 + " " + target

).exec();

working perfectly....

//---------------

etc... :)

Running the apk on pixel 3a ... Android 12.1 ... rooted: Magisk (756d8356) (24312)
[Android Apps and Games] osm0sis:
I think John said you could just save and use the busybox module from before he removed it, then drop it into later releases, since he made it self-contained first:

Mark BusyBoxInstaller as deprecated · topjohnwu/libsu@8d352c6

Also remove all usage of any utility methods from the core module, as this is planned to be the last release of the busybox module. This version should be fully self contained so that it may be use...

github.com
[Android Apps and Games] ipdev:
The shell commands are included in Android's toybox or (deprecated) toolbox binary.

Is there a reason to include (use) BusyBox version(s) on Android 8+ ?

Cheers. :cowboy:
[Android Apps and Games] osm0sis:
Also true! 8+ has all of those: https://chromium.googlesource.com/a...pstream/shell_and_utilities/#android-8_0-oreo

(Actually you can see Android's had those specific commands since the beginning, though their implementations weren't without their quirks back then). 🙂
[Android Apps and Games] PerfectSlayer:
It was already included by libsu. No other reasons if all the commands I use are officially supported!

It should trim down the application side :)

Thanks! That was the kind I doc I struggled to find 🙏