In the old days /system was mounted read/only but could be remounted read/write. So it was a common solution to replace /system/etc/hosts once by a link pointing to a place where AdAway could write the file without need to remount /system (or aquiring root).Why would anyone want to move the default hosts file to another place? ?
When using systemless hosts you should not alter the location of the host file in AdAways settings.
It should be /system/etc/hosts .
It's history: On older devices the most common problem was "no space left on /system" so one step was to move the hostfile to another location and making a symlink to it.Thank you so much! I changed it the first time I tried to activate it, because the app itself told me so.. Just changed it to default /system/etc/hosts and it worked like a charm! :highfive:
I use nextdns. Filter lists can be configured.Hello and nicely done to fellow adaway crew. nice to see this evolving though i have an issue that somewhat hinders me using the awesome product you serve. im not rooted anymore, is like yeay, you just brought up whats needed, but i also use vpn so that means either use vpn or have ads purged. i looked for ways to chain 2 vpn apps but it seems due googles limitation not possible. any advice or sthg that would allow me to use this while beeing vpn,ed and unrooted welcome. the dns option of adguard is not welcomed
@PerfectSlayer After updating from v4 to v5, AdAway seems to have difficulty handling the Energised Ultimate list. It force closed a couple times before it was finally able to finish parsing all the lists.
This is only a suspicion, mind. It might not be the Energised Ultimate list, but it probably is, since it has 1M+ hosts, and you mentioned that you added a new custom parser for those.
Well, the app is now laughing at me and not crashing, possibly because the operation succeeded in one of the tries. I'll see if I can get a log the next time it needs an update.Can you post me somewhere a logcat of the FC? I guess it's an OOM exception but I would like to be sure.
I just updated to 5.1 and man that's a great look! And I don't even need to reboot the phone after every list update? That's great!
Thanks dev for the app and the update!
Rebooting was optional. It removes cached DNS entries, and will serve the same purpose now as it served in older (i.e., 4.x) versions, if you use the rooted hosts file method. If you're OK letting time expire your cache, don't reboot.
Did you have any previous version installed or did you just install the app? If you were upgrading, from which version did you came from?Question, please. I'm trying this v5.1.0 without root, but am unable to proceed further.
Thanks for the information. Are you saying the app was launching but no ad blocking option was active in app settings?I just updated to 5.1 from F-droid and I can't get Adaway to use root ad blocking anymore. I made sure systemless host was on in magisk, tried turning it off, rebooting, turning it back on and rebooting but the root option in adaway is still greyed out. Anyone got any suggestions? Thanks!
Edit: fixed the problem. Uninstalled and reinstalled and it gave me the option to choose root then. Leaving this in case someone else runs in to the same issue
Question, please. I'm trying this v5.1.0 without root, but am unable to proceed further.
Sent from my SM-N986B using XDA Labs
Having same issue on redmi note 8, miui 12 global
I wish you the very best. Please really follow the advice of your doctor! Real life comes very first!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).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.
Tested with the local Allowed file, working fine - thanksHi 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:
Here is the result:
- Block list (ie hosts file, so an IP than a hostname per line)
- Allow list (a hostname per line)
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! ❤
- 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
Special thanks to gallegonovato, jawz101 and zgfg for their bug reports.
GitLab, like GitHub do not set LastModified HTTP header so update status is not supported... yet!Is anyone using a hosts list hosted on Gitlab? It keeps showing "Unknown update status".
It works well here. I failed to reproduce as I change the HTTP client library and how I use it.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?
Not really. You could choose a lot of different mode.All the F-Droid apps I know of have manual push updates to the store.
Isn't automatic build basically for nightlies?
Thank you so much! :highfive: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 too!