[APP][ROOT/NONROOT][OFFICIAL] AdAway v5.6.0

Search This thread

DiamondJohn

Recognized Contributor
Aug 31, 2013
5,068
4,480
Sydney
Nope, no root - no TWRP... anyway that's kind of offtopic here and I intend to use a curl script anyway if nothing better pops up.
The issue is to manage the hosts file in Android (I'd like to keep using AdAway for that) and then being able to push the generated hosts file somewhere by shell script I already use (NAS in that case). Again: without root and twrp.
Not sure if its there already, or it would need to be added to AdAway. But if you could access the AdAway internal data via a content provider, that may enable you to access and build your own host file. Thereby using AdAway to do the download and combine of sources.

The script I posted uses curl, but also does all the combining etc and fallback and multi-threaded etc etc for you. Downloading hosts (eg AdAway and my script) is MOOOORE than a simple curl command. I also realised after walking away that there is some non-root busybox installers.
 
  • Like
Reactions: dr4go

Sacob

Senior Member
Jan 8, 2011
912
84
Depending on your Android OS you can tweak things. Use notification settings per app.

If it is a system notification on Redmi, it might not be possible.
I'm on a Oneplus and it's not a notification. is there nothing i can do?

Screenshot_20210415-230345.jpg
 

Yaxie

New member
Oct 11, 2015
2
0
Hello everyone, with Adaway, can I block certain website from redirecting me?

I'm visiting a website but every 4 or 5 clicks, it redirects me to a certain page, where I have to click skip the ad or wait 8 seconds.
 

mad4some

Senior Member
Dec 10, 2012
525
161
East TN
Today I was setting up a custom 11 rom on my OP8T that was previously running the same rom along with latest adaway without any issues. Today, no matter what I did adaway kept turning off all by itself. I tried a slightly older version and same result, I also wanted to grant file and storage permission to adaway but the "permissions" setting was greyed out and I could not access it :unsure: Am I correct that it needs this permission to operate correctly?....and why would it be greyed out? Many thanks :cool:
 

Claudio4780

Senior Member
Feb 6, 2016
163
43
Port Elizabeth
To add to what @PerfectSlayer said, as I understand F-Droid's build process (which is very little), F-Droid build servers look at an application's git repository- specifically at the version tags. So if Perfectslayer makes 100 commits on GitHub but never creates a new version tag, F-Droid build servers won't build a new version.

That being said, I don't know if Perfectslayer builds or tags a new version after EVERY commit. Probably not. So F-Droid may be a little behind simply because of how often the developer chooses to tag a change as a new version of the program.
Last evening the latest v5.5.1 became available via F-Droid...
 

gonzo1963

Senior Member
Mar 25, 2013
382
42
Good afternoon,
I installed version 4.3.6 on an old smartphone with Android 4.4.4 that I use as GPS.

After installing it, I try to "enable the ad lock" and I always see a window that indicates "failed download: None of your host file sources enabled are achievable".
Of course, the smartphone is rooted and I have a good Internet connection, all other apps work without problem.
I have tried to delete cache and data from the app, and the same error continues to appear.
I have tried to use the three "host file routes", with all three still appears the same error.
What can I do?

Regards
Good evening,
Is there a solution to make it work?

Regards
 

TerrySpeed

Member
Aug 29, 2014
5
1
Good afternoon,
I installed version 4.3.6 on an old smartphone with Android 4.4.4 that I use as GPS.

After installing it, I try to "enable the ad lock" and I always see a window that indicates "failed download: None of your host file sources enabled are achievable".
Of course, the smartphone is rooted and I have a good Internet connection, all other apps work without problem.
I have tried to delete cache and data from the app, and the same error continues to appear.
I have tried to use the three "host file routes", with all three still appears the same error.
What can I do?

Regards
Maybe you need to enable systemless partition on Magisk?
 

argonaut459

Member
Sep 18, 2020
35
6
Pardon my silly question.
Does AdAway block ads in other apps (like instagram, YouTube), miui, etc or just on homepages that I open via browser?
The Homepage is not really clear or specific about that, and 800 pages of Thread are a mouthful to go through.
 
Last edited:

gallegonovato

Member
Feb 25, 2021
30
2
Good afternoon:

First of all thank you for continuing to make Adaway a wonderful application.

I wanted to ask you two questions.

The first one, although you already gave me the answer some time ago. I wanted to look into the possibility of making Adaway accept hosts from other more proprietary sources. Like codeberg, notabug, 0xacab.org/, etc...

The second one is if the hosts from https://0xacab.org/twann/filters work for you.

Thanks for your time and help.
 

Wolfcity

Recognized Contributor
Apr 26, 2013
4,289
2,674
Moto G 2014
Moto G5 Plus
so maybe i should reinstall it. does the root method triggers the safetynet validation?
Yes, reinstall and take care that you choose the root install method.
As far as I know AdAway doesn't trigger safetynet validation at all. There's only a handful of root apps (Titanium backup for example) that could trigger safetynet.
Don't forget to activate systemless hosts module in Magisk and reboot before using AdAway.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    Hi all,

    I'm still having a break but I put my hands in the code base from times to times to think about anything else than work.
    So no big update here. I mainly rework the DNS log feature that needed love for a long time.
    It could now be easily accessed from home screen and clearly states usage and limitation. I hope users will find it easier to use.

    About VPN issues, the last updates bring a fix with IPv6 and a watchdog to enable in settings in order to mitigate VPN disconnections. It is quite hard to fix as I can't really reproduce and I don't get many logcats around here. But don't hesitate to discuss all together your problem here, a pattern might emerge.

    Take care

    Changelog:
    • Improve navigation by moving DNS logs to home screen
    • Improve DNS logs usage by explaining usage and limitation
    • Update dependencies
    • Update translations

    Download:

    AdAway 5.6.0
    10
    To add to what @PerfectSlayer said, as I understand F-Droid's build process (which is very little), F-Droid build servers look at an application's git repository- specifically at the version tags. So if Perfectslayer makes 100 commits on GitHub but never creates a new version tag, F-Droid build servers won't build a new version.

    That being said, I don't know if Perfectslayer builds or tags a new version after EVERY commit. Probably not. So F-Droid may be a little behind simply because of how often the developer chooses to tag a change as a new version of the program.

    Yes, there are two kinds of build on GitHub :
    • The releases, the apk I shared on each new version,
    • The dev builds, the apk related to each commit (also known as continuous build),
    You can find the GitHub releases here : https://github.com/AdAway/AdAway/releases and the dev build at each commit action result page :

    1618466028984.png


    (The dev build are non-signed debug variant built by GitHub action servers where release builds are signed release variant manually built on my computer)

    And when there is a GitHub release (always associated with a new version tag), F-Droid will make a build for this tag.

    Now you know everything about the automated build I set in place! :)
    10
    A quick comment here: F-Droid itself is in charge of building the application updates for its store.
    As often, it is failing to do so (See the last build log: https://f-droid.org/wiki/index.php?title=org.adaway/lastbuild) and it may retry later.

    Once built, I update the application backend to serve the update for the user who doesn't have installed the F-Droid store to let them receive the update. So all updates should come to F-Droid at mid-term.

    Remember, you can't mix update from GitHub and F-Droid due to different apk signature, GitHub will always have the updates first and does not contains the Sentry opt-in only telemetry library.
    5
    Btw, this is one scanner out of...30? This is a classical case of a false positive report. When it comes to 10 positive out of 30 on virustotal you can think about a possible risk. And even than it depends on the file.
    A root app for Android, a key generator for Windows all those files often cause false positive results.
    brain.exe is one of the best virus scanners.😉
    4
    I don't know if I should write it, sorry if this is off-topic, but didn't find a page where useful whitelists are posted for adaway

    So, I had a problem logging in to my yahoo account on a fresher version of android.
    Found out, that one particular URL prevented that by being on the blacklist of an adblock, it was google analytics (o_O). Maybe it's somehow connected with access to google-accounts on the phone, maybe it prevents loading of login tab somehow otherwise

    Next URLs was found into dns-trace of a freshly installed app just before hitting the login button (my adaway was switched off at this moment):
    ssl.google-analytics.com
    login.yahoo.com
    api.login.yahoo.com
    udc.yahoo.com
    s.yimg.com

    After putting the first line into the whitelist, everything becomes okay after switching adaway back on.
  • 3285
    icon.png
    AdAway

    AdAway is an open source ad blocker for Android using the hosts file.


    Google Play Store notice:

    According the Google Play Developer Policy, especially the "Device and Network Abuse" section, ad blocker like AdAway violates the "Apps that block or interfere with another app displaying ads." rule and can't be distributed on distributed on the Play Store.
    As Free and Open Source Software, AdAway is available from F-Droid Store or this XDA thread :good:


    Requirements:

    This application requires Android 8 or above and does no more require root.

    For older Android versions, a rooted device is required.


    Changelog:

    If you don't want to read each announce post of this thread, you can:


    Downloads:

    Stable versions are available on F-Droid Store and below:


    Beta versions are available on XDA development thread only:

    AdAway 5.0.10


    Problem? Read this:

    * If you use Chrome and still see ads on web pages, remember to disable the "data saver" or "reduced data usage" browser option
    * Check your APN settings for any proxy, the proxy itself could be allowing ads. Disable the proxy.
    * After you install or make any change to AdAway, you must reboot for those changes to take effect
    * If you are still having issues please read and understand all the info in the wiki before asking for help here

    Otherwise, this is the right thread to discuss about it or file a bug report here.


    Contributors:

    PerfectSlayer, Vankog, jawz101
    Source Code: https://github.com/AdAway/AdAway
    170
    Hi all,

    A new year is coming and I wish you all to have nice holidays :victory:

    Just few words about this ending year. There was about 12 releases in 2019 which brings you a new UI, a lot of bug fixes, Android 10 support, Gist and GitLab hosting support and better Magisk support.
    All of this is possible thanks to the community to help users to discover the app, learn how to use it and report any new bug and also your moral, nice words and thanks you can send to me, and financial support.
    Thanks a lot for all donators, GitHub sponsor and the Pixel 2 you sent me to test Android 10 support.

    For the next year, I hope to release the next version (V5), at least in beta to start. It's been 9 months since its first lines of code and things are working quite nicely.
    It aims to make the app simpler to use for the main use cases, support rooted and non rooted devices and remove old hacks/workaround which are no more needed on recent setups.

    But before this big next update, I still have time to fix current issue with a new release :p

    Changelog:
    • Fix GitLab hosting support (commit date parsing failed)
    • Translation update

    Thanks:

    Special thanks to @gallegonovato for its helpful bug report and @Vankog for translation update.

    Download:

    AdAway 4.3.2 on AndroidFileHost (md5: 78fde09a0e92044c45e901bb1cec8e2e)
    159
    Hi all,

    Long time no see! It's been more than two months since the last update.
    I can't say I was not active on the project as I start working on a new version (5.x.y) as a side project.
    I won't share the source code yet as it is not ready at all and I don't want to give an ETA but this new version targets the following goals:
    • 1. Revamp the UI
    • 2. Clean up old support
    • 3. Address one of the main drawback of the app

    1. The card based UI does not feel right. Welcome card takes too much space, update button / status has a lot of critic. I guess I can do better.
    I started a new simpler and lighter design which provide the most useful information on home screen and all main actions to trigger in one tap (no more burger menu).
    It is still under heavy development but I hopefully get a friend onboard, specialized in graphics and design, to help me :highfive:

    2. In order to simplify the development, I clean up the app and remove support for old features.
    I bump target SDK version so I finally get Java 8 language feature (it was released 5y ago…) and move to topjohnwu root library (instead of home made one). It means systemless support is now handled by Magisk and other root solutions will still work.

    3. Think of what prevent most of users to use AdAway? Now it's gone!
    It's not gone forever. It's still here but there will be a fallback to workaround it.
    I won't tell more until the first public beta but I guess you get the point :fingers-crossed:

    In the meanwhile, here is a new version!

    Feedback:

    Is anyone using a hosts list hosted on Gitlab? It keeps showing "Unknown update status".
    GitLab, like GitHub do not set LastModified HTTP header so update status is not supported... yet!

    Changelog:
    • Add Gist and GitLab hosting support for hosts file
    • Add option to set default IPv6 redirection
    • Improve reboot command
    • Improve UI for overlays
    • Update translations

    Thanks:

    Special thanks to @MSF Jarvis and ralayax for theirs contributions and @andy356 for its helpful bug report.

    Download:

    AdAway 4.2.5 on AndroidFileHost (md5: ab81225745afaaa7646024109de299c0)
    148
    Hi all,

    Feedback:

    Hmm, not working for me for this URL, v4.1.0 shows something like not updated in -360 days (some large negative value). Can you please see if you can reproduce?
    https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts
    It works well here. I failed to reproduce as I change the HTTP client library and how I use it.
    But update date for the source you link definitely works now.

    All the F-Droid apps I know of have manual push updates to the store.

    Isn't automatic build basically for nightlies?
    Not really. You could choose a lot of different mode.
    For example, F-Droid server watches AdAway GitHub repository to find tags which match a specific versioning pattern.

    I exist still... do you know what i have to do to transfer ownership? if i edit project it doesn't let me change the primary author so i assume i have to PM some higher up to make this happen?
    Thank you so much! :highfive:

    This is now done, @PerfectSlayer is the OP of this thread.
    Thank you too!


    Changelog:
    • Add hosts source download cache
    • Add snackbar notification to update host from DNS request listing
    • Update UI from Material Design to Material Theming
    • Update gradle, plugins and dependencies
    • Fix crash parsing not defined host source last modified date
    • Fix native modules build script (required for F-Droid build server)
    • Fix Transifex issues

    Thanks:

    Special thanks to all recent donators! Your help is really appreciated :good:

    Download:

    AdAway 4.2.0 on AndroidFileHost (md5: 023169e7c345ef7297095793024f8478)
    142
    Hi all,

    After receiving a lot of bug reports about the translation issue with the menu drawer, I finally take time to try to fix it (my holidays just start ;))
    So I fix all incomplete string-array issues the best I could (I can't really understand all languages the app has) but you should get at least all menu entries.
    If some of them are switched or mislabeled, it could be fixed by a translation update. I hope it will encourage translators to patch it when needed (whereas a missing entry could be easily missed).

    I also improve the "not enough space" dialog error.
    It will now display a more detailed message, like failed to mount as rw, which leads to no space to write hosts file.

    Finally, I removed the telemetry startup message (for F-Droid opt-in users only) to replace them by app update only.
    It allows me to understand which versions of the app are installed on which Android platforms.
    (let's say there is a new target version available and I would like to know if I should spend hours to migrate right now or wait few months until more dev feedback becomes available ^^')

    Changelog:
    • Improve hosts file parsing
    • Improve hosts file install error message (add more details than not enough space)
    • Fix menu drawer translation issue
    • Update translations
    • Replace startup (opt-in only) telemetry messages by app update only

    Thanks:

    Special thanks to @yky for its helpful bug report, @ipdev for gifting me XDA Ad-Free for one full year :highfive: and to all other donators.

    Download:

    AdAway 4.2.9 on AndroidFileHost (md5: 36a19c1d6208a8522025637182a400a7)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone