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

Search This thread

Akash sky

Senior Member
Jun 2, 2013
936
394
Delhi
Hey there, I'm using adaway on my oneplus 7T,Yaap rom.
But recently i started facing issues regarding amazon app so i decided to delete the adway but even after deleting the app, it is still block amazon n other ads.
please help.
 

Wolfcity

Recognized Contributor
  • Apr 26, 2013
    4,305
    2,702
    Bonn, Germany
    Moto G 2014
    Moto G5 Plus
    Hey there, I'm using adaway on my oneplus 7T,Yaap rom.
    But recently i started facing issues regarding amazon app so i decided to delete the adway but even after deleting the app, it is still block amazon n other ads.
    please help.
    It would have been enough to disable the webserver in adaway (a search in this thread for "Amazon" would have given you several results to fix your problem).
    If you still want to stay without AdAway just delete the host file and reboot. Android will create a new one.
     
    • Like
    Reactions: ipdev

    syanz87

    Senior Member
    Hey there, I'm using adaway on my oneplus 7T,Yaap rom.
    But recently i started facing issues regarding amazon app so i decided to delete the adway but even after deleting the app, it is still block amazon n other ads.
    please help.
    I had same issue with Amazon app (INDIA).
    Updated my whitelist in Adaway. And After......... Amazon works Perfectly..
    This is the SS of the list. 👇🏻👇🏻
    Screenshot_2021-05-12-21-53-11-133_org.adaway.jpg
     
    • Like
    Reactions: ipdev and Wolfcity

    Wolfcity

    Recognized Contributor
  • Apr 26, 2013
    4,305
    2,702
    Bonn, Germany
    Moto G 2014
    Moto G5 Plus
    Hey there, I'm using adaway on my oneplus 7T,Yaap rom.
    But recently i started facing issues regarding amazon app so i decided to delete the adway but even after deleting the app, it is still block amazon n other ads.
    please help.
    One possible solution. As said above: A quick search would have brought you there, disabling webserver or whitelisting the related URLs.
    I had same issue with Amazon app (INDIA).
    Updated my whitelist in Adaway. And After......... Amazon works Perfectly..
    This is the SS of the list. 👇🏻👇🏻View attachment 5307241
     

    gallegonovato

    Member
    Feb 25, 2021
    47
    5
    Good afternoon:

    First of all let me thank you for all your work, your effort. And for all that you do.

    It turns out that today while reviewing the filters I have in Adaway, I noticed one thing. That inside AdAway I have:

    StevenBlack

    StevenBlack Complete

    StevenBlack Unified Hosts

    Is it just me or do I have StevenBlack hosts in triplicate?

    And one more question if I may. I wanted to blacklist Adaway. A website, but I saw that the fellow who wrote a little bit above used the * . So if for example, let's imagine I want to block everything from tiktok. I would just blacklist *tiktok.com or *tiktok. That is to say with the *, I indicate that I want to block everything from that site?

    Thank you very much for your help
     

    zgfg

    Senior Member
  • Oct 10, 2016
    5,304
    2,606
    Good afternoon:

    First of all let me thank you for all your work, your effort. And for all that you do.

    It turns out that today while reviewing the filters I have in Adaway, I noticed one thing. That inside AdAway I have:

    StevenBlack

    StevenBlack Complete

    StevenBlack Unified Hosts

    Is it just me or do I have StevenBlack hosts in triplicate?

    And one more question if I may. I wanted to blacklist Adaway. A website, but I saw that the fellow who wrote a little bit above used the * . So if for example, let's imagine I want to block everything from tiktok. I would just blacklist *tiktok.com or *tiktok. That is to say with the *, I indicate that I want to block everything from that site?

    Thank you very much for your help
    * sign replaces any string (even empty string) at the place where you put the sign *

    I.e., *c* will blacklist any site having the letter c anywhere in the URL (hence also all .com sites)

    cc*m* will blacklist any site starting with cc and having a letter m anywhere after the cc

    And so on.
    Blacklisting *adaway will even block the adaway github page but it will not block adaway.org site because *adaway ends with adaway while adaway.org ends differently

    I don't understand why would you block adaway

    Default AdAway comes with only three sources, all others you added yourself.
    You can go to Settings/Apps/AdAway and Clear Data - you will have to reconfigure your AdAway but you will see then what were the default sources AdAway comes with (IMO, only the third Steven Black from your list, but no guarantee)
     
    Last edited:

    gallegonovato

    Member
    Feb 25, 2021
    47
    5
    Good afternoon @zgfg

    First of all thank you for your help and for always being there :)

    So if I put *tiktok it would block everything that contains tiktok. I mean ads and so on. And whether the domain is, com or org. If I understand you wrong?.

    I don't want to block adaway just put some pages and so on.

    About Adaway I know it has three sources of origin hosts. And the rest I put them. But looking today I saw those three from Steven. The StevenBlack Unified Hosts (which comes by default in Adaway) but for example the StevenBlack Complete I put it to cover gaming stuff, porn and others as Steven says in his github. But I noticed that in those two that I added is included all the StevenBlack Unified Hosts. That's why I said to change the complete one so I don't have to add the fakenews and others. Because I thought that in the Unified hosts + fakenews + gambling + porn + social was already included fakenews and others. But I see that I have https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts left over, which would be the one that includes Adaway. But I should have added it because in the https://github.com/StevenBlack/hosts table it says Additional sketch domains as I come across them.

    I don't know if it would be possible for new versions of Adaway to add https://github.com/jerryn70/GoodbyeAds or do you know or could you tell me a good and complete one with the ads?

    A hug and thanks for your help.
     

    zgfg

    Senior Member
  • Oct 10, 2016
    5,304
    2,606
    Good afternoon @zgfg

    First of all thank you for your help and for always being there :)

    So if I put *tiktok it would block everything that contains tiktok. I mean ads and so on. And whether the domain is, com or org. If I understand you wrong?.
    No , *tiktok covers anything ENDING with tiktok - tiktok.com STARTS with tiktok but ends with .com

    Better you put tiktok.* to cover both tiktok.com and tiktok.org - but that would also blacklist sites like (if they exist) tiktok.WHATEVER.uk and so on
     
    • Like
    Reactions: gallegonovato

    DiamondJohn

    Recognized Contributor
  • Aug 31, 2013
    5,221
    4,830
    Sydney
    ...snip...

    It turns out that today while reviewing the filters I have in Adaway, I noticed one thing. That inside AdAway I have:

    StevenBlack

    StevenBlack Complete

    StevenBlack Unified Hosts

    Is it just me or do I have StevenBlack hosts in triplicate?

    ...snip...
    I have gone down the path of better to add the block-list, than to investigate it further and thereby not add it. As such I have something like 60 host sources.

    To better understand how these host sources overlap, I built a script that compares the contents between lists. Even lists from other unrelated sources could completely cover the other. For example, Steven Blacks list includes a bunch of other sources, so including the source list could be considered redundant (ignoring timings).

    In the menu of my app TeMeFI, there are a few analysis items for AdAway, including "Currently Running>Hosts>AdAwau Info>Exclusive Hosts", which lists your hosts that have unique hosts items, not present in any other list sources. So its a possible comparison between lists not necessarily obviously related.

    One thing to be weary of, is do not run these methods while adaway is updating the database.. Although it makes a copy of the AdAway database (and hence wont damage a live dB), if AdAway is processing it, the database copy will be malformed.

    I just ran it on mine, and the steven black unified list, was the only one that came up with unique hosts. The other Steven blacks had no unique hosts. Which may be because of steven blacks "Unified" hosts, or the fact I have some really big other hosts host sources. There is also a method to compare individual lists against all others. But in my case, the database is so big, the shell commands have I/O errors.

    01-UniquieHosts.PNG

    So from the above, Steven Black Unified has only 143 hosts that are not in any other list. BUT those 143 may just be the 143 that allow my apps to source their ads from.

    Due to my large lists (i have around 900k blocked hosts today), i do get a lot of I/O errors in the analysis. but using smaller lists, it should be OK.
     
    Last edited:

    the bolt of thunder

    Senior Member
  • Jun 15, 2011
    86
    22
    So my amazon app keeps crashing after installing AdAway 5.6.0. I used the search function here and am finding to disable web server.

    What exactly does enable/disable web server do? Will I lose ad blocking abilities by disabling this?
     

    Wolfcity

    Recognized Contributor
  • Apr 26, 2013
    4,305
    2,702
    Bonn, Germany
    Moto G 2014
    Moto G5 Plus
    If i enable adaway my play store says connection problem...i am in miui 12.5 A11...
    Have you any host lists other than the default ones activated?
    The lists that AdAway comes with shouldn't block the playstore.
    Try DNS logging:
     
    Last edited:
    • Like
    Reactions: ipdev and zgfg

    zgfg

    Senior Member
  • Oct 10, 2016
    5,304
    2,606
    If i enable adaway my play store says connection problem...i am in miui 12.5 A11...
    I'm too on MIUI 12.5, A11 (Xiaomi Mi 9T, Xiaomi.eu 21.5.12), but I have no problem with Google Play store

    As responded in the previous post, check which hosts sources you use. Disable all other hosts sources than the three installad by default with AdAway. Restart the phone and test againt

    Indeed, there are various hosts sources published on Internet, and some of them are openly anti-Google, blocking the traffic from Google sites

    Additionally (also recommended in the previous answer above), you can disable AdAway blocking and then use DNS logging from AdAway (while accessing Playstore) to recognize which site(s) must not be blocked - then add those sites to your Allow list in AdAway. Find the more detailed instructions on AdAway page

    Edit:
    Attached is my adaway-backup.json (download and unzip).
    You can disable all your hosts sources and manually added blocked sites, then import my json (AdAway Preferences, Backup and Restore, Restore), restart the mobile and test with - by using those hosts sources (more than the default three), I have no problem with Google Play
     

    Attachments

    • adaway-backup.zip
      679 bytes · Views: 7
    Last edited:

    gallegonovato

    Member
    Feb 25, 2021
    47
    5
    Good afternoon:

    I have adaway 5.6.0 with 40 host lists. And before I had more number of things blocked but since one day ago though I update the host list. It doesn't go over 1167542 of blocked things and I don't know why.

    Best regards

    Pd: attached adaway backup with the lists and things I have blocked.
     

    Attachments

    • adaway-backup.json
      21 KB · Views: 8

    Top Liked Posts

    • There are no posts matching your filters.
    • 7
      Regards and kudos for your continuous work Sir :cheers: @PerfectSlayer

      Just wanted to ask something about webserver issue on latest version. If I remember correctly, enabling webserver hid those ugly broken faces/links in place of ads with white blank space or ad away logo. But currently, this isn't working. Is it intended this way? Because previously, this was the only benefit of using webserver as I know.

      Phone: S7 edge G935F
      OS: One ui 2.5 android 10
      Ad away ver : 5.6
      Magisk ver : 23
      Thanks!

      About the web server, it serves two purposes:
      * Help applications that need to get answer when their ads are blocked (some applications froze or crash otherwise)
      * Remove some « ugly deading pixel in gray area » on your browser when ads blocked (it's currently limited to http ads and doubleclick (Google) https ads)

      But it might also come with compatibility issues. For example, Amazon app is famous to dislike its answers... It was the same for Spotify broadcast few years ago.
      6
      Moderator Announcement

      Thread cleaned from discussions about other app then AdAway. Such discussion are not only off-topic in this development thread but also disrespectful towards the developer of AdAway.
      Please refrain from such posts in here in future.

      Stay safe and stay healthy!
      Regards
      Oswald Boelcke
      Senior Moderator
      5
      Hey all! Just wanted to say thanks to the AdAway team for continuing to maintain this great application over the years, and to @gallegonovato for liking my project enough to suggest it be included as a default option in AdAway. I was planning on doing so *eventually* myself (with the *mini* variant of my hosts file), but wanted to slim it down and tweak it a bit more before I did, as - IIRC - AdAway has very specific standards for the default list selections, and rightly so.

      In regard to @ipdev pointing out that my main hosts file was not updated for 6 days as of @gallegonovato's proposal, I recently had a family emergency which required a fair amount of travel, and forgot to sync the latest iteration of my backend scripts between my main computer and travel laptop (see more here: https://community.blokada.org/t/introducing-combined-privacy-block-lists/11657/5?u=bongochong) and will ensure that such an oversight never occurs again in the future. Much love.
      4
      I think AdAway is getting too aggressive and it kills few apps (CVS and NY MTA)
      As a result, I spent money to acquire more adguard license. I added root supported function, and all look good now
      AdAway is not aggressive, its the host lists you select that control how aggressive the blocking is or is not.
      4
      Moderator Announcement

      Thread cleaned from discussions about other app then AdAway. Such discussion are not only off-topic in this development thread but also disrespectful towards the developer of AdAway.
      Please refrain from such posts in here in future.

      Stay safe and stay healthy!
      Regards
      Oswald Boelcke
      Senior Moderator
      Thanks for pointing that out and apologies, however no disrespect intended at all, far from it.

      The developer himself and others have discussed other solutions in this thread, including the one I mentioned. The issue I and a few others are experiencing with AdAware VPN is not widespread, reported on GitHub, and the developer has tried to get to the bottom of it. The fact that I don't have these issues with another VPN ad-blocking solution might help the developer potentially resolve this issue in AdAware VPN as it could mean that it is not necessarily a ROM/device/network issue.

      Was just trying to help fellow XDA-ers...
    • 3295
      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)