yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
The servers may be limitless, but they often named by a pattern, which can be used in whitelisting. e.g. the video servers may be

a89263.video4.weatherchannel.com
doq632e4.video1.weatherchannel.com
cbhwgb2.video99.weatherchannel.com
[Android Apps and Games] bsam55:
I am afraid I didn"t see anything like that but rather completely different address names. They obviously have their s**t together on making it difficult to circumvent ad blocking protection.
[Android Apps and Games] PerfectSlayer:
Hi all,

"Good news everyone!" I finally fix the issue with filed based hosts sources.

In addition, this new beta brings a lot of improvements for hosts sources.

They now display a label and a hosts count. It should be easier to distinguish them and see which one is light or heavy for your system.

And the source list and edition UI were improved, I hope you like it.

But one of the greatest addition of this new beta (imho) is the support of the Storage Access Framework (SAF).

First, it fixes the issue of not being able to read the device files without read/write device permission but it also bring the support to a lot of "file provider", like Google Drive for example.

So you can build your own list on gdrive, use it as source, sharing it across your devices or with your friends and everything is backup online.

It should allow the emergence of new small sources without requiring a web hosting solution.

I will have a look to the VPN stability issue while changing network type for the next beta.

We are getting closer to moving the v5 to the release channel :highfive:

I also ordered some stickers with the app logo. Can't wait to see the result!

Changelog:

Add hosts sources Storage Access Framework support

Add hosts sources label and host counter

Improve host sources list and edition UI

Improve allowed and redirected hosts settings by applying them per source

Fix file based hosts sources not installed due to missing permission

Update AndroidX dependencies

Thanks:

Special thanks to [MENTION=7786725]zgfg[/MENTION] for its helpful bug report.

Download:

AdAway 5.0.7
[Android Apps and Games] guest4711:
Sorry, the link points to 4.3.6
[Android Apps and Games] JudgeDread11:
When I click the provided link I get version 4.3.6

The link from the op works.
[Android Apps and Games] PerfectSlayer:
It's fixed. Thanks!
[Android Apps and Games] lukjod:
Still doesn't work for me. Its magisk rooted s10+. Previous 4.3.6 works perfect. What is wrong?View attachment 5080343View attachment 5080341

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Android Apps and Games] vonstarr:
Thank you first for this amazing labour of love. Phone feels so much lighter and zippier without having something pop up every two seconds to interrupt my enjoyment of what I'm doing.

Could I make a request to have a long press option to move individual or a selected group of hosts between the blocked, allowed and redirected statuses? It may make things considerable easier when trying to move a hosts group than typing out each one.

Thanks again and great job! Looking forward to v5!
[Android Apps and Games] zgfg:
Not sure if understood you completely, if you use the new 5.0.7 you can create your own Blocked and Allowed list (local, textual file on the phone)

That way you just update your e.g. myBlockedList.txt and AdAway will read and merge with the blocked domains updated from online hosts file
[Android Apps and Games] vonstarr:
Just suggesting another way of doing the same thing I suppose.
[Android Apps and Games] 7adm:
Thank you for providing this great app, it's been keeping my android ad free for 3 generations of handsets!

I'm currently running the 5.0.7 preview on a stock oreo A3 2017. Alas, since I've been using that phone, the automatic update feature is not working. This has also been the case with the 4.3.6 version.

I think the problem lies with the device itself (or oreo), as I didn't encounter this issue with my S4 (or S2 for that matter).

Maybe someone has an idea and could nudge me in the right direction towards a solution.

I've already disabled any battery optimizations and allowed background data usage for the app.

Any help would be appreciated!
[Android Apps and Games] zgfg:
Exactly. However, Blocked list from the local file works fine but I couldn't make the Allowed list from local file to really work:

https://github.com/AdAway/AdAway/issues/2185
[Android Apps and Games] PoochyX:
Which is the best lite host file for good blocking

([emoji88]Descendent GSI[emoji88])
[Android Apps and Games] zgfg:
It's like "what is the best drink" ?

Maybe you find what is good for your needs in this review:

https://linuxreviews.org/Comparison_of_HOST_file_blacklists

or use a package (Spark, Blu) from here:

https://energized.pro/
[Android Apps and Games] Danny1976:
I am currently using the beta version 5.0.7. I am having issues with the Amazon not loading properly. I went into the blacklist section, but I can't uncheck the links being blocked. I cannot even copy the link to add it to the whitelist.

I turn on the DNS log but it doesn't show the Amazon links that need to be added to the whitelist. It would be nice..... if the option to select or copy the links was available to either copy links to whitelist or vise versa.

What links need to be whitelisted for the Amazon shopping app to work properly? If I edit the host file and remove Amazon links... They get added when the sources update.
[Android Apps and Games] bombadier:
Try unticking Webserver in preferences/ad blocker/root based ad blocker, think that's a known problem
[Android Apps and Games] zgfg:
On this page, top-right, there is Search icon/field to search through the previous posts.

Put the word Amazon and find the answer (already asked and answered several times): Disable Webserver...
[Android Apps and Games] __Michael__:
New call of duty mobile update gives fc with adaway enabled , just routed DNS requests and found out that adaway blocks beacon.qq.com that should be enabled to game to work.
[Android Apps and Games] jugg1es:
Is there a list of host sources?

“Power brings a man many luxuries, but a clean pair of hands is seldom among them.”

― Robert Harris
[Android Apps and Games] sonixdan:
I have a very strange behavior on my phone.

HTC One (m7) with CyanogenMod 11.0

Installed ist the AdAway v2.8.1 d4rken mod

I start AdAway, the files are downloaded and the hosts file is created. But then I see the error, that the hosts file cannot be copied. This is the known error, that should be solved with the d4rken mod.

Strange is, that the hosts file is copied despite the error message. When I close AdAway and start it again, it says that my hosts file is current and AdAway is activated. And the Ads are blocked.
[Android Apps and Games] Pkt_Lnt:
A very extensive one was posted a few pages back.
[Android Apps and Games] jugg1es:
My bad, must have missed it ?

“Power brings a man many luxuries, but a clean pair of hands is seldom among them.”

― Robert Harris
[Android Apps and Games] FlanjeUK:
here if you didn't find it ;)
[Android Apps and Games] jugg1es:
Cheers, I did find it. I must be blind its got a ruddy screenshot in it

“Power brings a man many luxuries, but a clean pair of hands is seldom among them.”

― Robert Harris
[Android Apps and Games] duarian:
Hmm..can anyone else confirm still getting ads on YouTube?
[Android Apps and Games] TugBoatTed:
Have you tried YouTube adaway? That's what I use to get rid of those adds. It's available in the exposed modules

---------- Post added at 08:18 AM ---------- Previous post was at 08:16 AM ----------

Does anyone think it's possible that adaway would cause issues with beyond pod podcasts? I think it's unrelated to this, but thought I'd ask. I have no sound on downloaded podcasts
[Android Apps and Games] stuart0001:
No problem for me with beyond pod & ad away
[Android Apps and Games] GatoL0c0:
What update are you referring to? I'm using the apk from https://f-droid.org/repository/browse/?fdid=org.adaway but it hasn't been updated in quite some time.

**edit**

Misread your post. I see you are referring to the App Store. I am presently having issues with images not showing in the Amazon app for shopping.

**edit2**

Added ecx.images-amazon.com to the white list. All is good now.
[Android Apps and Games] sushidog:
This is my almost perfect white list working nicely with Amazon, Flipboard, News Republic and Drippler:

# This hosts file contains exported entries from AdAway.

white nr-cloudeu.newsrep.net

white imgcdn2.newsrep.net

white static-worldphoto-org.s3.amazonaws.com

white plg4.yumenetworks.com

white winhelp2002.mvps.org

white udm.scorecardresearch.com

white www.gstatic.com

white hosts-file.net

white fbcdn-photos-h-a.akamaihd.net

white e-ltvp.inmobi.com

white amazon.com

white amazon.co.uk

white d.appsdt.com

white cloudeu.newsrep.net

white connect.newsrep.net

white ecx.images-amazon.com

white sdkm.inmobi.com

white img.en25.com

white mr.betomorrow.com

white static.worldphoto.org

Sent from my GT-I9505G
[Android Apps and Games] tiagoggama:
This is perfect
[Android Apps and Games] drawde40599:
Google

K im new to messing with adaway settings and honestly i understand any of this, so im just going to ask, i wanna have google shopping links from google searches work but there blocked with default settings, is there a easy way to have these links work? Or maybe someone can share a link so i can read/learn what im doing :P
[Android Apps and Games] wolfen1086:
I've used ad away since I was on a the Samsung that came before the transform when Google took it down I was so mad I could have shot somebody, now I have the. all file on my computer in the Linux partition of my HDD, where I keep everything that can be transferred to the phones SD card, since the only thing in windows that picks up my phone is odin
[Android Apps and Games] Cookie Ninja:
Does anyone notice that the hostfile size has reduced by almost half? I have up to 12 hostfile providers, along with my own legacy list of blacklist and redirect list (imported from last used adfree hostile). Till last month the updated hostfile after auto-update used to be approximately 3.5 mb, but now it has shrunk to 1.75 or so. On another device, without the blacklist, ads appear at random within apps and on some webpages....is some site admin bowing under Google's pressure? Anyone else noticing this?

Dead Cookies leave no trails...
[Android Apps and Games] an0n981:
Nope sorry my host file with 16 sources has not shrunk at all and I haven't noticed a single ad.
[Android Apps and Games] sonixdan:
I replaced the d4rken mod version by the official version from https://f-droid.org/repository/browse/?fdid=org.adaway and now it works without error message.

It seems that the cyanogenmod ROM handles the writing of the hosts file different.
[Android Apps and Games] wolfen1086:
I haven't noticed it as of yet
[Android Apps and Games] CrazyAnt:
I have been using ADaway as my ad blocking apk since I first got my current device (ZTE v967s rooted) and I have been really satisfied by the end result

I recently started using Go SMS Pro as my main sms apk and I have sadly realised that adaway can't block ads from it (in app ads and ads that pop up after closing apk)

Anyone else facing the same?

Is there a way to work arround those annoying adds by go sms pro?
[Android Apps and Games] ghostryder12:
I've not been able to find a work around. The ads have gotten so bad that I want back to stock sms.
[Android Apps and Games] Doomkopf:
Adaway itself doesn't block anything, it uses external hosts sources. One of those hosts sources (which have nothing to do with adaway) blocks "beacon.qq.com". You could either, find out which host source that is and request them to remove "beacon.qq.com", or you could add it to your whitelist, so you can connect to it :)
[Android Apps and Games] dingsaller:
[MENTION=2822685]PerfectSlayer[/MENTION]

I like the UI of v5, but it's not running properly for me.

Many ads/in app ads are not blocked in my case with v5.0.7 that are blocked with v4.3.6.

Same settings and hostlists for v4.3.6 and v5.0.7, webserver is working in both versions.

Adaways v5.0.7 restoring backup isn't working, v4.3.6 works.

My device OP3/LOS 15.1/ Magisk 20.4/ systemless hosts
[Android Apps and Games] murkom:
Hi.

I have Adaway (fdroid) + afwall. I use StevenBlack list, the one wich also blocks social stuff. I really don't care about social networks.

But..... I also have Frost installed, to check facebook once in a while. Obviously it doesn't work with this hosts list.

Is there anyway to make a single app bypass the hosts file? Without disabling entire list, or unblock facebook domains?

Thanks
[Android Apps and Games] ridobe:
I had this problem too but got it figured out. What does the hosts file in /data/user/0/org.adaway/files look like? And, from the front page of adaway, how many are being blocked?
[Android Apps and Games] dingsaller:
[MENTION=3354333]ridobe[/MENTION]

now I'm using 4.3.6 again 'cause it's working for me.

v4.3.6 /data/user/0/org.adaway/files is empty, what is logical for me - activated systemless mode for adaway, magisk manager built-in systemless hosts module is installed, used hosts file /system/etc/hosts

As I remember for v5.0.7 frontpage round about 65.000 blocked.
[Android Apps and Games] tzic:
Got an error message about no space in the partition, followed the suggestions and it showed all ok. But it is not blocking any ads ... Any ideas?. I am on 4.3.6 on oneplus7t pro
[Android Apps and Games] zgfg:
Did you enable Systemless hosts?

No space means that system is read-only (as usual for most new devices/firmwares) and therefore no changes to the filesystem can be done - instead systemless overlay provided by Magisk must be used

- Disable AdAway

- Turn on Systemless hosts in Magisk Manager settings

- Reboot and enable AdAway, let it parse hosts sources

- Reboot once again
[Android Apps and Games] tzic:
Worked, thank you
[Android Apps and Games] PoochyX:
Do host files consume ram

([emoji88]Caos GSI[emoji88])
[Android Apps and Games] pycxe-01:
No, host file doesn't use RAM memory in the way you think. Though, it would considerably slow down your internet connection (browser) speed if you would use say 11 host sources vs 4 host sources! ?

Think of host file & host sources as paper coffee filters. How many filters would you use to make your morning coffee?

P.S.- Yes, I have used around 11 host sources before & guys my internet was slow i.e. internet browsers used to open pages with considerable delay! It is a constant fight of filters vs ads! ?
[Android Apps and Games] zgfg:
On Snapdragon 730 and 6 GB of RAM (no more killer smartphone nowadays) and with 14 hosts sources (more relevant 226K of blocked domains) I don't observe a slowdown
[Android Apps and Games] PerfectSlayer:
-- to delete --
[Android Apps and Games] PerfectSlayer:
To be exact, it will consumes more RAM when updating the hosts file from online source. When running, it won't.

Even if entries are deduplicated, hosts file will be bigger but it does not have a huge impact.

About VPN ad blocking, there is a fixed memory cache so having a bigger hosts file does not consume more RAM.

If host is not found in memory cache, it will request internal database which should be bigger but does not have a huge impact neither.
[Android Apps and Games] pycxe-01:
Just try disabling the majority of those 14 host sources & compare the speed of internet browsing in Google Chrome whilst checking your usual internet sites...

Snapdragon 855 & 8GB of RAM - I did notice a speed increase of average pages loading on my device! ?

Reminder: AdAway comes with just a few default host sources.
[Android Apps and Games] zgfg:
Sometimes I just disable AdAway completely to experiment things and do not observe considerable difference

Only updating hosts file takes time but doing it once a day, in background, it doesn't matter

And the hosts file with those 262K domains is 11.3 MB, hence when cached by Java DNS resolver (AdAway has nothing with in runtime, only when updating) it's impact on RAM is practically negligible
[Android Apps and Games] pycxe-01:
The difference in our results may reside in those host sources that we use. No, I ain't asking to compare.

But, I have to confess that I've used those same host sources on my laptop to block ads there system-wide! ?
[Android Apps and Games] brasscupcakes:
HELP PLEASE: Stuck in OrangeFox bootloop after F-Droid Adaway Install!

Hi there -- I somehow bricked my phone with Adaway and I hope you will help me.

I'm an XDA fangirl, not a developer. I follow instructions carefully and exercise caution but it would be folly to pretend I actually understand 'why' something works when it works. Failures, I usually just presume I did something wrong.

But all I did in this instance was use F-Droid to install Adaway on my rooted Xiaomi Mi Max 3 (Android 9, Magisk & Edxposed).

Seemed to work, but then it stuck at the bootscreen animation after reboot -- really stuck, as in couldn't even turn the phone off, never mind boot into recovery but then it booted into recovery by itself. I used the App Mrg tool to delete Adaway, thinking I was saved, but then once again, after reboot, it hung and wouldn't even shut off, ultimately returning to Orange Fox Recovery.

At which point I restored the system using a backup, rebooted, and went through the same cycle to land back in Orange Fox, which is where I am now, without any clue about what to do next.

Can't be just the hosts file, right? That wouldn't keep me from booting? Please, I would love some suggestions on next steps.

Thank you!

PS: If this query would be better directed in the Mi Max 3 area please let me know!
[Android Apps and Games] JudgeDread11:
Adaway itself is an app like any other. So simply having installed the app didn't cause the boot loop. As is proven by the fact that the boot loop isn't resolved by removing the app.

Did you use stable version or beta?

Did you use root or VPN mode?

What root solution do you use?

Do you have systemlesss host activated?

Xposed?
[Android Apps and Games] brasscupcakes:
re: Mi Max 3 boot-freeze after adaway install

Thanks for the quick reply, Judge!

You asked:

Did you use stable version or beta? Stable.

Did you use root or VPN mode? Root Mode

What root solution do you use? I am not sure what you mean by root solution. The long procedure I used is cut & pasted below.

Do you have systemlesss host activated? -- No

Xposed? -- Yes

Note: I also have XPrivacyLua installed.

Of course you are right. Adaway wouldn't have bricked my device but the Mi Max 3 has weird incompatibilities at times. (Xiaomi devices with antirollback can behave peculiarly). There were several reports in the Mi forums and Reddit regarding bootlooping after Adaway. Maybe Miui boobytrapped the hosts file?

It's probably irrelevant, but I meant to uninstall Adguard (vpn method) before installing Adaway and forgot.

Oh well. I just wish OrangeFox could find my system image backups. I know I made them, but all there was to restore were system and data backups, not images, and that restoration failed. So if you have any ideas or suspicions, please let me know!

Thanks!

Mi Max 3 rooting procedure:

Started with Miui 11.0.6, used file versions recommended by the experts here.twrp_v323-4_nitrogen_nijel8-MOD.img -- put on pc, install using fastboot / adb

latest orange fox zip from https://files.orangefox.website/OrangeFox-Stable/mido/ -- put it on Micro SD Card, NOT y main phone storage.

latest magisk (version 20.1 at the time) -- again, on Micro SD.

Install TWRP with ADB/Fastboot -- to prevent TWRP from getting overwritten by stock, use fastboot command: fastboot boot twrp.img

Reboot into TWRP, hit cancel when password request comes up, choose install, and then choose OrangeFox from the SD Card (no pw required).

OrangeFox automatically reboots and automatically decrypts. Then I used OrangeFox to Install Magisk, after which used OF to wipe Dalvic Cache and reboot to system.
[Android Apps and Games] knpk13:
Not sure what caused your bootloop, but as you mention that others have the same issue with the device, that's a good place to start, as it could be a device specific issue.

Your root solution is magisk.

If you're using magisk, you need to activate systemless hosts in magisk manager, and check if the option is enabled in adaway as well, before using it. Usually, adaway will throw an error message if it's not activated and tell you to do it, but maybe MIUI bootloops instead; I'm not familiar with Xiaomi devices. You mentioned you removed the adaway app and you were still stuck in a bootloop. Try removing the systemless hosts module from recovery or uninstalling magisk altogether to see if that brings you to a working system. That's what I do when a module doesn't work, although I haven't ever had that issue with the systemless hosts module.

I haven't used it but I'm aware orangefox bundles extra features like installing magisk automatically (doesn't sound like you used it based on what you wrote). I don't know what the development scene for your device is like, but when possible, it's probably best to flash the latest magisk (currently 20.4) version manually to eliminate a potential source of error than trust "auto install" or "auto root" programs.
[Android Apps and Games] brasscupcakes:
Thanks, Judge: insight into bootloop following Adaway Install

Hi Judge,

Thanks for the insightful reply.

You said: "you need to activate systemless hosts in magisk manager, and check if the option is enabled in adaway as well, before using it." I absolutely did not do this. I thought it was an optional option and no warning flashed, hence, I bootlooped my device.

You suggested uninstalling Magisk modules or uninstalling Magisk (which I do use regularly on all of my devices). If I uninstall Magisk as opposed to the modules, I'll lose root, won't I? And perhaps access to the tools in OrangeFox recovery?

There are the modules currently installed on the bootlooped Mi Max 3 :

optimizedgpsconf

quickstepswitch

riru-core

riru_edxposed (the only version of Xposed that is compatible with my device)

terminal_debloater

I can delete them all if you think that might help but I am wondering if what I really need to do is manually edit the hosts file -- since failing to activate systemless hosts (probably) caused the bootloop?

(Not that I know how the hosts file should be edited, if it should be edited).

Anyhow, thank you again for your patience!

PS: OrangeFox supports Magisk installation but isn't bundled with it -- it has a couple of little nonessential programs that I uninstalled but it's not a one-click root type thing ... TWRP was installed manually, and Magisk was downloaded manually from the official site.

---------- Post added at 10:07 PM ---------- Previous post was at 09:26 PM ----------

Thanks, knpk13, for your insight -- I mistakenly thanked a differently user who also helped me for your advice, but I've got you both straight now, I hope!

I never installed the "systemless hosts" module so I never activated it prior to installing Adaway (no warning flashed and wasn't aware this was mandatory, hence I installed the regular way and caused the bootloop).

I do use Magisk regularly on all my devices. (OrangeFox isn't an autoroot. You have to pre-install TWRP manually and download the latest version of Magisk manually).

These are the modules that are installed -- not sure deleting any of these will help:

optimizedgpsconf

quickstepswitcher

riru-core

riru-edxposed [the only version of Xposed compatible with Mi Max 3]

terminal_debloater

If I delete Magisk altogether, I lose root, presumably, which isn't a big deal if it successfully boots back into system, as I can always re-root. But once root is lost, will I still be able to access the recovery tools in OrangeFox?

Would there be any use in attempting to manually edit the hosts file (if I could figure out what was wrong with it and knew what it should be changed to?).

Any additional tips you have or suspicions you could share would be welcome. I cannot seem to find the images I made when I rooted the device (I switched apartments in the interim and may be missing the drive they were on).

Thank you!