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

Search This thread

Ebbasta

New member
Jan 22, 2021
2
2
3
Two Malweres In Virus Scan test.
Attach Screenshot.
 

Attachments

  • Screenshot_2021-01-22-16-25-53-692_com.android.chrome.jpg
    Screenshot_2021-01-22-16-25-53-692_com.android.chrome.jpg
    470.4 KB · Views: 179

andy356

Senior Member
Jul 5, 2016
1,294
563
113
Changelog:
  • Add new unique source parser with parallel processing
Thanks:

Special thanks to andy356, fusionneur and sr1canskhsia for their bug reports.
Special thanks to YOU, Bruce! You implemented an entire new source parser based on my bug report. That's amazing! Thank you so much for working on this critical app. Can't wait to try this update out when it arrives on F-Droid.
 

CaptainChrom

Member
Jan 3, 2018
20
2
3
Feature Suggestion

Automating the addition of new hosts sources/user rules

Currently you have to add every new hosts source, or rule by hand by copying the link and then pasting it into the settings in AdAway.
This requires you to go through multiple screens until you are inside the respective menu inside AdAway and can add a new rule.
If you visit a lot of sites that you want to support by allowing ads, the ~20-30 seconds needed to copy & paste the link everytime will add up really fast and make it annoying to add exceptions. This reduces the chance that a user adds a website to their exceptions a lot.

Here's my suggestion:
The task could be automated through the android share menu.
When a link is shared with AdAway (or if turned on, the pop-up is clicked after a link is added to the clipboard) it opens AdAway (or just a pop-up if draw over other apps permission is granted and shows a screen where you can pick whether you want to add the URL to your blocking, or your exceptions list. Then the app takes you back to your browser (or whatever app you were using before) and applies the new settings in the background.
This could also be implemented by adding multiple shortcuts to the share menu, so that the app doesn't even need to be opened to add the new rule.

This would reduce the required amount of taps & time by a ton. Instead of 14 taps & ~20-30 seconds (press on URL bar, long press link, copy link, home, app drawer, adaway, exceptions, plus button, hold for paste, paste, add, apply settings, recent apps, last used app) it would take only 4 clicks (3 if multiple shortcuts are added) and a couple of seconds (three dots menu, share, AdAway, select hosts source/positive or negative rule).

Optionally you could also add the ability to force close and reopen the last used app, so that you can continue browsing with the new settings applied without having to reboot the device, or force close & reopen the app manually, which also takes a lot of clicks.
This could be implemented by adding a box that you can tick, or a second button, so that you can always choose wether you want to force close or not using a single click. The button could have a different icon to make it easily distinguishable from the regular button.

It could look like this (pop-up after you tap on AdAway on Android share menu):

[Add as hosts source] (plus icon) (reload icon)
[Add as positive rule] (plus icon) (reload icon)
[Add as negative rule] (plus icon) (reload icon)

I would love to hear feedback on this idea and I would love seeing it implemented inside the app one day even more.

Cheers ;)
 
Last edited:

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,956
4,222
243
Sydney
Feature Suggestion

Automating the addition of new hosts sources/user rules

Currently you have to add every new hosts source, or rule by hand by copying the link and then pasting it into the settings in AdAway.
This requires you to go through multiple screens until you are inside the respective menu inside AdAway and can add a new rule.
If you visit a lot of sites that you want to support by allowing ads, the ~20-30 seconds needed to copy & paste the link everytime will add up really fast and make it annoying to add exceptions. This reduces the chance that a user adds a website to their exceptions a lot.

Here's my suggestion:
The task could be automated through the android share menu.
When a link is shared with AdAway (or if turned on, the pop-up is clicked after a link is added to the clipboard) it opens AdAway (or just a pop-up if draw over other apps permission is granted and shows a screen where you can pick whether you want to add the URL to your blocking, or your exceptions list. Then the app takes you back to your browser (or whatever app you were using before) and applies the new settings in the background.
This could also be implemented by adding multiple shortcuts to the share menu, so that the app doesn't even need to be opened to add the new rule.

This would reduce the required amount of taps & time by a ton. Instead of 14 taps & ~20-30 seconds (press on URL bar, long press link, copy link, home, app drawer, adaway, exceptions, plus button, hold for paste, paste, add, apply settings, recent apps, last used app) it would take only 4 clicks (3 if multiple shortcuts are added) and a couple of seconds (three dots menu, share, AdAway, select hosts source/positive or negative rule).

Optionally you could also add the ability to force close and reopen the last used app, so that you can continue browsing with the new settings applied without having to reboot the device, or force close & reopen the app manually, which also takes a lot of clicks.
This could be implemented by adding a box that you can tick, or a second button, so that you can always choose wether you want to force close or not using a single click. The button could have a different icon to make it easily distinguishable from the regular button.

It could look like this (pop-up after you tap on AdAway on Android share menu):

[Add as hosts source] (plus icon) (reload icon)
[Add as positive rule] (plus icon) (reload icon)
[Add as negative rule] (plus icon) (reload icon)

I would love to hear feedback on this idea and I would love seeing it implemented inside the app one day even more.
For adding new host lists in bulk, I have used the import JSON file.

As for restarting the last used app, if you are using Magisk systemless hosts, then restarting the last used app wont do it. You have to reboot your device.
 

zgfg

Senior Member
Oct 10, 2016
4,969
2,259
233
For adding new host lists in bulk, I have used the import JSON file.

As for restarting the last used app, if you are using Magisk systemless hosts, then restarting the last used app wont do it. You have to reboot your device.
You want to add ten or hundred hosts to the block list?

Create your own file e.g. myBlockedList.txt with the same format as online hosts file:
127.0.0.1 24log.de
127.0.0.1 24pm-affiliation.com
127.0.0.1 2mdn.net
127.0.0.1 2o7.net
127.0.0.1 2znp09oa.com

Then go to the Hosts sources list, + to add new one, and instead of URL click to File, and navigate to your file

Apply and voila

See the screenshots, observe that instead of https://, this is now content:// type
 

Attachments

  • Screenshot_20210124_074046_org.adaway.jpg
    Screenshot_20210124_074046_org.adaway.jpg
    232.2 KB · Views: 73
  • IMG_20210124_080051.jpg
    IMG_20210124_080051.jpg
    278.6 KB · Views: 75
  • Like
Reactions: androcraze

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,956
4,222
243
Sydney
You want to add ten or hundred hosts to the block list?

Create your own file e.g. myBlockedList.txt with the same format as online hosts file:
127.0.0.1 24log.de
127.0.0.1 24pm-affiliation.com
127.0.0.1 2mdn.net
127.0.0.1 2o7.net
127.0.0.1 2znp09oa.com

Then go to the Hosts sources list, + to add new one, and instead of URL click to File, and navigate to your file

Apply and voila

See the screenshots, observe that instead of https://, this is now content:// type
It wasnt me that had the question,. and the poster who did ask the question, explicitly said host sources, not individual hosts.
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,956
4,222
243
Sydney
Hosts sources through json already answered
Its ALL been answered before, including the hosts in a file you spoke of. I know this, because I was part of the conversation before it was an option built into AdAway, and presented and tested a work around that worked. My response was specific to HIS specific question.. I do not understand where you are going.
 

CaptainChrom

Member
Jan 3, 2018
20
2
3
Its ALL been answered before, including the hosts in a file you spoke of. I know this, because I was part of the conversation before it was an option built into AdAway, and presented and tested a work around that worked. My response was specific to HIS specific question.. I do not understand where you are going.

No, it's not all been answered. You only focused on the way less important part (the hosts) and left out the most important stuff: the user defined rules. Those are what have to be added over and over again. Once you have added a bunch of host sources when you set up the app you don't need to add many new sources or individual urls anymore. Yeah you may encounter a URL which is not included in any of your hosts lists, but that's very rare, especially if you have added a lot of hosts sources which get updated very frequently.
But you have to add new sites to your custom rules every single time your browsing and visiting new websites you want to support.
 
Last edited:

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,956
4,222
243
Sydney
No, it's not all been answered. You only focused on the way less important part (the hosts) and left out the most important stuff: the user defined rules. Those are what have to be added over and over again. Once you have added a bunch of host sources when you set up the app you don't need to add many new sources or individual urls anymore. Yeah you may encounter a URL which is not included in any of your hosts lists, but that's very rare, especially if you have added a lot of hosts sources which get updated very frequently.
But you have to add new sites to your custom rules every single time your browsing and visiting new websites you want to support.
I repeat, i was answering a specific question, specifically.
 

Nameless Foe

Senior Member
Jan 23, 2021
147
55
38
22
Does this app use a internal VPN?? I have my own i pay for.. Will this app use the adblock vpn or can i use mine still?
 
Last edited by a moderator:

Top Liked Posts

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

    Here is a quick update that improves the app update screen, validates domain redirection and fixes a crash with VPN using IPv6 DNS. Nothing exceptional but it is always welcome.

    On a personal note, I will take few weeks off the project as my doctor ask me to do because I suffer from burnout.
    The project is not abandoned but I think it is healthier to me to step aside a moment until I take time to focus on myself and honestly evaluate if AdAway brings me more stress than pleasure.

    So don't expect me to handle the umpteenth question about YouTube history or some wrong text alignment GitHub issue soon! (but accessibility is an other and real subject, don't get me wrong here ;))

    Changelog:
    • Add redirection validation
    • Improve application update screen
    • Update Android gradle plugin
    • Update NDK
    • Update dependencies
    • Fix VPN crash when the only system DNS server available uses IPv6 and IPv6 is disabled from settings
    • Remove html
    • textview dependency and jcenter repository

    Thanks:

    Special thanks to FrostbiterTy, SapphireExile, zgfg for their bug reports.

    Download:

    AdAway 5.5.1
    41
    Hi all,

    I hope your are all going well.
    I get a new version for you that addresses a long running issue: being able to allow hosts from your sources! 😊
    For this occasion, I reworked the source UI in order to select the type of list you use:
    • Block list (ie hosts file, so an IP than a hostname per line)
    • Allow list (a hostname per line)
    Here is the result:

    1615998465729.png


    I got some other bugs fixed too, like TLS issue with web server thanks to the new mongoose version and a no internet connection issue on source update check when the application can't check any last modified date.

    On top of that, I merged more than a hundred PR of translations. So thanks to all the translators!
    I also had a sixth GitHub sponsor yesterday 🥰 and I enjoy to read all your nice words in the donation comments. Thanks a ton for your support! 🤗

    Changelog:
    • Add allow list support
    • Improve source edition UI
    • Improve source update check
    • Improve animations
    • Update mongoose web server
    • Update dependencies
    • Fix web server TLS issue

    Thanks:

    Special thanks to gallegonovato, jawz101 and zgfg for their bug reports.

    Download:

    AdAway 5.5.0
    14
    On a personal note, I will take few weeks off the project as my doctor ask me to do because I suffer from burnout.
    I wish you the very best. Please really follow the advice of your doctor! Real life comes very first!
    We're looking forward to seeing you back in the best condition, whenever that is. It's your decision, and please "play" very carefully or better not at all with your health.
    Thanks very much indeed for everything that you contribute to us and the whole XDA community! Your "products" are examplary, and your permanent support (from which you now probably suffer) has always been absolutely excellent. I couldn't and wouldn't use a device without YOUR AdAway! A very personal thank you from my side.
    Take care, stay safe, stay healthy!

    Regards
    Oswald Boelcke
    7
    Hi all,

    Here is a quick update that improves the app update screen, validates domain redirection and fixes a crash with VPN using IPv6 DNS. Nothing exceptional but it is always welcome.

    On a personal note, I will take few weeks off the project as my doctor ask me to do because I suffer from burnout.
    Take care @PerfectSlayer ! Everything is nothing without health (I know what I'm talking about).
    All the best for you, sometimes you have to set priorities.
    4
    Hi all,

    I hope your are all going well.
    I get a new version for you that addresses a long running issue: being able to allow hosts from your sources! 😊
    For this occasion, I reworked the source UI in order to select the type of list you use:
    • Block list (ie hosts file, so an IP than a hostname per line)
    • Allow list (a hostname per line)
    Here is the result:

    View attachment 5252635

    I got some other bugs fixed too, like TLS issue with web server thanks to the new mongoose version and a no internet connection issue on source update check when the application can't check any last modified date.

    On top of that, I merged more than a hundred PR of translations. So thanks to all the translators!
    I also had a sixth GitHub sponsor yesterday 🥰 and I enjoy to read all your nice words in the donation comments. Thanks a ton for your support! 🤗

    Changelog:
    • Add allow list support
    • Improve source edition UI
    • Improve source update check
    • Improve animations
    • Update mongoose web server
    • Update dependencies
    • Fix web server TLS issue

    Thanks:

    Special thanks to gallegonovato, jawz101 and zgfg for their bug reports.

    Download:

    AdAway 5.5.0
    Tested with the local Allowed file, working fine - thanks
  • 3277
    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