yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] gonzo1963:
Thanks a lot.

I ask again for forgiveness.

One last question.

What is the difference between GSM and FCM ?, what is Micro G ?.

Thanks a lot.

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] Piemo:
I'm having issue not with the browser, but with a particular app, a game (pyramid rising 2 free) that with adaway activated won't start. Is there a way to whitelist the ads in that app, so I can start it again?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] Wilktomson:
rooted and installed

Just now rooted using XDA and installed the adblock...

Thanks
[Android Apps and Games] bosas200:
SD v2. Android 4.2.2 sense 5
[Android Apps and Games] Pons:
That pictures says little. How about the version, and a logcat? Are you S-OFF?
[Android Apps and Games] DecypherT:
[MENTION=4519980]bosas200[/MENTION], is your phone rooted? (S-OFF does not mean full root!)

Send from my Nexus 4
[Android Apps and Games] Angelo_13:
I've a problemi, it says "copying of hosts file failed" what should i do?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] Pons:
Probably start off with more information. As in, your device, Android version, AdAway version, and a logcat. Have you tried the darken AdAway version in the OP?
[Android Apps and Games] Angelo_13:
I relsolved with the darken adway! Thanks!

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] an0n981:
I'll press the thanks button for you
[Android Apps and Games] mzaur:
Hi guys,

I'm having an issue and hoping someone can help. I noticed since updating recently that Amazon doesn't display images. See here for example -- I enabled whitelist in preferences and used the dns log and added all relevant addresses to whitelist. This is what my list looks like now I hit apply and rebooted several times, yet Amazon still doesn't show images. Not sure what I'm doing wrong? If I disable Adaway then everything is fine, so the issue is definitely with some blocked dns. But the whitelist seems to not be working properly. Thanks

I was able to fix the issue by disabling the hosts-file.net source, but hopefully someone knows what I'm doing wrong in regards to whitelisting so I don't have to disable the whole source? Should I file a bug report about this?
[Android Apps and Games] Brds7t7:
I'm having the exact same issue. It's definitely an entry in the hosts file blocking Amazon images. I've disabled and it all works again.

Sent from My Calculator!
[Android Apps and Games] Rvezz28:
Was having the same issue.

I disabled adaway

Rebooted

Ran the tcpdump, then did a random search in Amazon

Added all those to my white list

Then enabled adaway and rebooted

Worked for me, let me know how it went.

Try doing the whitelist while it's disabled, that's what I did and got it running.

Running carbon Rom on a nexus 5.
[Android Apps and Games] mzaur:
Seems to be working now. Thanks! I guess you have to disable first before enabling again to get whitelist to work.
[Android Apps and Games] Brds7t7:
Ignore this post! ?
[Android Apps and Games] Piemo:
rebump
[Android Apps and Games] UPdownLoAD:
http://xdaforums.com/showpost.php?p=51953270&postcount=1379
[Android Apps and Games] Reconfigured:
can't we just bypass the application by adding it to whitelist??? coz its hard way to find the host file of certain apps...

.

for eg I've to block ads for all apps except apps like paisa swipe and slidejoy which pays me to put ads on lockscreen ;)

.

so please add an feature to bypass certain apps which I want to post ads and to be specific I can't find host file name to add slidejoy to whitelist I searched Google for it didn't work out... and why don't create a thread or somethin wrt adaway where we ask for host file name of certain apps and all of others help in some or other way...

.

BTW it works like charm... highly recommended and one of the apps I install after flashing ROM... great work...

____ ) )

____¦ 3
[Android Apps and Games] an0n981:
Do you understand how the host file/dns queries work?
[Android Apps and Games] Reconfigured:
no man but I guess it just a bridge to receive data from server to client... I don't know much bout that... like how it works n ol...
[Android Apps and Games] grandmastem:
Hey,

Could you provide the addresses you whitelisted? It would be much appreciated. I added the ones I could, but still some images are not coming through. I think I am missing some.

-Grand
[Android Apps and Games] Tommytommy1234:
Micro G is a fake Google Services. As you know, stock Androids come with Google Play pre-installed. On custom roms, we can opt-out for Google Play install so we can install Micro G if we need apps that require Google Services.

I'm using the same 4.3.4 with stock hosts and everything is fine, all works. I would disable one by one hosts and then see if apps are working(3-dots,hosts sources and uncheck host and apply). Start with StevenBlack first I would say.
[Android Apps and Games] Oswald Boelcke:
GCM

FCM

However, my initial assumption is wrong as you don't use microG.

Quotation from the OP of this thread:

For many years, I run all of our devices without any Google services or applications but with µG instead. However, that's obviously off-topic here and I apologise. If interested in additional information please ask me in this thread. And there's much more interesting information available, just like to mention three:

https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928

https://xdaforums.com/android/development/microg-unofficial-installer-t3432360

https://shadow53.com/
[Android Apps and Games] Evil...:
Is there a way to leave google play ads intact or some url to whitelist, or leave an app (Apk) as whitelist, something similar?
[Android Apps and Games] guest4711:
Whitelisting an apk is not possible when using a host based solution.

To know what hosts to whitelist you may use the LogDNS feature of AdAway (see above your post).

If you really need to whitelist per apk you should use a (pseudo-)VPN based blocker (like AdAway beta, DNS66 or Blokada).
[Android Apps and Games] Shtiff1:
It seems occasionally 5.0.3 doesn't allow data to go through. I have to force close. I'm using non root. I can't click on to allow to send bug report. Any ideas
[Android Apps and Games] sleepwalking0593:
Is there a way to whitelist any of the app so that ads are shown on a particular app but not on other apps.
[Android Apps and Games] JudgeDread11:
Answered 2 posts above yours. :(
[Android Apps and Games] zgfg:
Two more observations about the new 5.0.3 UI - about its usability, not about its skin, colours, fonts, metal design, and so on

1) It is practically not possible to open and edit White list while updating the hosts sources. It takes ages and the list is irresponsive during that time.

To make it worse, it asks for re-Applying upon adding each new domain, and then again you must wait until it updates through the whole hosts sources list to be able to continue with editing the list

2) Black list (at any time, not just while updating the hosts sources) is also terribly irresponsive.

I want to manually add a domain to my Black list, I click the black icon top-right and it takes ages until it switches from the complete/long list of all domains blocked per hosts sources to my personal Black list with just few manually added blocked domains

To make things worse, there is no turning wheel or sand watch or anyting, hence user could have no idea what is going on and e.g. for (2) he may press the icon several times, which would just additionally block AdAway while it would try to reload the complete/long list of all Blocked domains

If I recall correctly, with the old 4.3.4, editing of Black and White list worked flawlessly, I was able to add/edit/remove domains to my White or Black list at any time, with no waiting time frustrations

Here I eg reboot the phone, AdAway starts updating the hosts sources (per settings where I set auto-updating on restart), I click to open White list and I have to stare to the empty list for a minute or so until AdAway completed auto-updating of the outdated hosts sources.

Only upon that it loaded and showed my few white listed domains that I had defined eg a day before.

During that long minute I (user) have no idea what was going on, did AdAway lost my White list and should I restore agian my saved preferences (json file) or what

During those tests, AdAway got stock staying forever in parsing a certain hosts sources file. I tried to force stop it through Settings/Apps but with no avail and eventually I had to restart the phone

Btw, I am also not sure if logging DNS really works (or specially in the VPN mode)
[Android Apps and Games] ipdev:
Hi.

There has been quite a few fixes/changes in adaway since the last beta.

Compare GitHub - Link

This includes some changes in the way the hosts and lists are handled.

So for the moment, I am patiently waiting for the next beta before actively testing. ;)

As for DNS logging..

When you notice the error, did you start it from inside the adaway app or did you just long press the adaway icon and select it from the menu?

I have had it happen were DNS Logging returns no results a few times but, it was random and I can not reproduce it at will. When it happened, restarting adaway fixed it.

Android/Google glitch or some random app that caused the issue?

If you notice it again, or think back, what did you do prior to running the DNS logging?

For me it was starting and closing the app in question. Start DNS Logging and try the app again. Go to DNS requests and swipe(pull) down to refresh the screen.

Normally this works proper but, a few times it came back empty.

Once I figure out how to reproduce it at will, I'll log it and make a bug report if necessary.

Cheers. :cowboy:
[Android Apps and Games] TomiLynch:
Well, option 2 applies to this case.

Everything is working well for me, except for the youtube history problem, which is easily solved by whitelisting s.youtube.com.

Plus I don't like complaining from behind a keyborard. So, since I don't know how to code apps, the only thing felt I could help with was making some UI suggestions.

I don't have a lot of free time either, but I'd be glad to help with whatever you need!
[Android Apps and Games] zgfg:
Ok, thanks it helped. I always restart the app before logging and try to test with a new url to be sure that the resolved ip address is not cached

But to refresh log in AdAway one must swipe up and down and still wait a second or two and log will be refreshed

So I have two phones, both running AdAway 5.0.3, latest versions of Chrome and Brave, both browsers configured not to use their built-in AdBlocks

On the rooted phone (AdAway using hosts file), both browsers obey the blocked/blacklisted (and whitelisted) rules from AdAway and AdAway can log their allowed and blocked DNS requests

On the not-rooted phone (AdAway using VPN), blaclisting, whitelisting and logging is also ok for Chrome but not for Brave - it opens all sites (no matter if they are blocked) and I see no DNS requests log from Brave in AdAway

Again, I did disable Brave's internal AdBlock (Settings, Privacy)

I'm not using Brave a lot but being curious what is different for Brave if AdAway is using hosts or VPN method
[Android Apps and Games] visceralpsyche:
Using 5.0.3 and noticed that in Your Lists section there's a bunch of greyed out URLs that I didn't add and that I can't get rid of. If I tap the top right square looking icon it shows my list which I can modify. I'm guessing it's a bug? See screenshot for what I'm seeing. Cheers!
[Android Apps and Games] dingsaller:
deleted!
[Android Apps and Games] visceralpsyche:
Don't see it mentioned in Help? But the host files blacklist isn't MY custom additions, so why is it showing in that section is my question. Anyway, thanks for replying ??
[Android Apps and Games] zgfg:
Open your Host sources list. Copy one of the URLs to the browser, e.g

https://adaway.org/hosts.txt

and open it in the browser

Give some time to the browser to load the file. Scroll down and you will find eg a line there:

127.0.0.1 analytics.163.com

So, analytics.163.com is exactly one of your "greyed out" domains in your Blacklist.

It is there in your Blacklist because AdAway loaded it from the corresponding hosts source file

If you really want to remove that eg analytics.163.com from your "Blacklist" then use a root explorer like MiXPlorer, navigate to /system/etc/hosts file, open it as a text file, find the line with that domain and remove that line or comment the line out.

Reboot and you will no more find that domain in AdAway, Blacklist.

Note: This applies if you have a rooted phone and if you use hosts (not VPN) method in AdAway

But this does not make sense anyway, because the next time when AdAway will (auto) update hosts sources, it will again blacklist that same domain because it will find that domain again in the hosts source file

Hence instead, put that domain you don't want to be blacklisted to the Whitelist. Although that domain will still remain in the Blacklist, Whitelist will override it in a way that url will be no more blocked for DNS resolving.

Note: Whitelist applies both to hosts and VPN method

You must understand:

- how DNS resolving works (through the hosts file or via VPN, depending on which method you use)

- what are the hosts source files

If you are not familiar with, please read the Wiki and search and learn by googling

Once you get familiar with, you will see that editing th greyed-out blacklisted domains makes no sence (as for the reasons about updating the hosts source files) and that you better get the same result (that will survive your updating of the host source files) by using the Whitelust

Of course, if you are not happy with the content of a certain hosts source file (why it blacklists certain domains) then contact the maintainer of that host source file, or disable/remove that hosts source file from your list in AdAway and google to find another hosts source file you would be more happy with its choice of the blocked domains

But be aware that certain domains might be (black)listed in various host source files. You remove or disable one host source file but if AdAway finds the same domain (you didn't like it to be blacklisted) in another host source file from your lust, that domain will be still greyed-out in your Blacklist

If you are not happy with the available hosts sources, you can start maintaining youur own one. Or just manually fill like ten thousand of domains to your AdAway Blacklist :)
[Android Apps and Games] Pinage:
I noticed this too!
[Android Apps and Games] PerfectSlayer:
Hi all,

I hope all of us are well. It's two weeks ago from the last beta and it's time to ship a lot of bug fixes (again!).

I finally wrote database unit tests and fixed a lot of related bugs. I had to rewrite some internal tables but it should be way better now.

Moreover I finally fix how to disable the automatic source update from settings.

But this beta in not only a bunch of bug fixis, VPN ad blocking also received improvement: it knows support redirection (IPv4 and IPv6). It's still a preview but I hope it will do the trick.

And I removed the WRITE_EXTERNAL_STORAGE permission required for backup export by using the latest Android Storage Access Framework (SAF).

Another good news is Intel finally makes a price cut in its latest CPU (Comet Lake). It will be time for me to invest in a new computer :victory:

Mine is 7 years old and I start to see its limits. I just bought a new PSU (Power Supply Unit) to replace my 10y old PSU because I'm scared it breaks and takes all my hardware away with it...

Having more cores and ram and moving to SSD / M2 drives will definitely ease the app development! Thanks to all donations, it will lighten the bill. Thanks a lot to all of you :highfive:

Feedback:

It's strange. It should be using a paging library to be fast and responsive. Could you check the last beta? I made some improvements but not sure it fixes your case.

Can you also share a backup so I can test your configuration and benchmark it?

Changelog:

Improve overall host list computation

Add host redirected feature in VPN ad blocking

Remove WRITE_EXTERNAL_STORAGE permission (use Storage Access Framework instead)

Fix duplicate entries in generated hosts file

Fix allowed hosts settings in VPN ad blocking

Fix backup not exported as sdcard not writable

Fix source update period task preference

Fix host list paging

Thanks:

Special thanks to holysnipz, ipdev99, QingKongBaiYu, and zgfg for their bug reports.

Download:

AdAway 5.0.4
[Android Apps and Games] zgfg:
Thank you for your updates and hope you are also doing well in your life

Updated to 5.0.4 directly by the update notification - thanks

Updated my hosts sources and restarted the phone (Xiaomi, Mi 9T, rooted).

Then I forced update of my all twelve hosts sources and started the screen-recording.

Opened Whitelist (it never came to the point to show me my four white listed domains), it started to ask me repeatedly to Apply the new configuration.

I opened Blacklist and waited, but the tab remained empty

I can reproduce similar situations with Blacklist or whitelist but not every time.

E.g, I just had a similar case with my second phone (Huawei Mate 9, not rooted) and after repeated accepting to Apply the changed configuration, even the main AdAway screen halted while displaying that it was still parsing one of the hosts source files but the wheel stopped rotating and I had to kill AdAway

I will enable Verbose logging and tty to reproduce and catch the log

My backup and screen recording zipped and attached. You can contact me by PM if I could help you

Thank you for your support
[Android Apps and Games] CobalTitan:
Hi i am update to beta version 5.0.4 and little problem the navbar disappears to light theme.
[Android Apps and Games] CobalTitan:
Version 5.0.4 new multiple mistake bug with the update of the sources. To disable it is automatic reinstalled afterwards and loss among source has 2 available.
[Android Apps and Games] knpk13:
What do you mean exactly? I'm using the default sources with 5.0.4 and I don't see any duplicates or missing entries.

Automatic updates of the lists haven't been working on the 5.0.x versions for me but I think that might be because of OxygenOS, since it works fine on Lineage.
[Android Apps and Games] CobalTitan:
I am clean install version 5.0.4 to verify and look if remove all source and select 1 source, all automatic reinstall to refresh.

Running Stock samsung Android 10 rom.
[Android Apps and Games] chooks06:
Tap the little icon at the bottom to start AdAway.

After update, it needs to be restarted I guess. Icon changes to a "pause" icon when app is started

Worked for me.
[Android Apps and Games] CobalTitan:
No it no problem with running just with selection source hosts and lost source to compiled. i am retuned to 5.0.3 not bug just slow compiled.
[Android Apps and Games] EMJI79:
[MENTION=2822685]PerfectSlayer[/MENTION]

Thanks for the app! I just donated.

Can I suggest you whitelist s.youtube.com by default in future updates? As otherwise we loose history in YouTube if we don't know trick.
[Android Apps and Games] Oswald Boelcke:
Just my very personal opinion: I clearly hope that never any of the big data collectors is whitelisted by default!
[Android Apps and Games] ipdev:
Hi.

The navbar is still there, just hard to see due to the light theme overlay.

If you look close, you can see the icons are still there and if you touch back, home or recents, it will still work.

As for the host source list, it seems to revert back instead of making the changes.

It is the same with selecting or deselecting a host source.

There is a few work-a-rounds.

These all require deleting the host source (URL) in adaway.

To deselect a source that is selected, you have to delete the entry from the list.

To select a source that is currently not selected, you have to delete the source and add it back using the add [+] function. This will by default will set the source as selected.

Select the host source, edit the name/URL select all and copy, then delete the source. Add host source [+] then past the name/URL and save.

Use an adaway backup file.

The entries in the backup file will be ignored when restored, if the entry is already in adaway.

Make an adaway backup file.

Delete each host source you want to change in the Hosts sources list.

Edit the backup file, under "sources", you will see each URL listed with a true(selected) or false(deselected) at the end of the line. Change the true/false flag to what you wish.

Restore the edited adaway backup file.

Note: Again, this will only restore the host source that you deleted from the list before restoring the edited backup.

Related to the issue [MENTION=7786725]zgfg[/MENTION] reported? xdaPost 14860 - Link

The block/allow lists, seem to be working for me at the moment but, I did not test that too much.

Good news. :D

The auto-update running when not selected in Preferences is fixed.

I pushed a small change to an online hosts file. Neither device notified me of an update until I manually checked in adaway.

Cheers all. :cowboy:

Tested with adaway v5.0.4 both root and VPN mode, Android 10.

Pixel 3aXL (abc, May security) VPN. Nexus 7(2013) (aex, April security) root.
[Android Apps and Games] Zilla0617:
Version 5.0.4 doesn't appear to block ads. I grant the permission, update hosts and even restart ads are still coming thru. I also restore last known backup and still encounter the same issue. When I downgrade the app it works fine. This on pixel 4xl rooted
[Android Apps and Games] EMJI79:
Sorry for my ignorance.

So there's no way to both use AdAway and don't loose YouTube history?

I would choose no ads but having both AdAway working and YouTube (Vanced) history would be great.
[Android Apps and Games] Ultramanoid:
Google is an advertising company, and YouTube one of its properties. Another way they make money is collecting your information. Consider what is more important to you.

There are safer alternatives even if continuing to use their services; NewPipe, youtube-dl ( with Termux ), etc.
[Android Apps and Games] Bakica:
YouTube Vanced is allready without adds.
[Android Apps and Games] ipdev:
It actually has to do with the hosts sources you use.

The sources I use do to contain s.youtube.com so I do not have to whitelist it.

If you are using heavy blocking hosts sources, you will probably have to add more and more to your Allow(whitelist).

Facebook is often blocked in hosts sources. A lot of users use FaceBook so, should that be automatically added to the whitelist also?

It's slippery-slope and where do you draw the line?

Besides finding them out using DNS logging (TCP Dump) you can sometimes find mention of them in this thread or a thread related to the app.

There are quite a few mentioned and lost in this thread, the DNS66 thread and others.

So sometimes a search in a thread will give you the answer.

There are also list elsewhere, sometimes Google/DuckDuck can be your friend.

It would be nice if there was an list of domains required per app.

Problem is it would have to be maintained.

Maybe a community project that anyone willing, can add their findings to?

Something that has been on my mind for a little while now.

I was about halfway though writing this post when I remembered adaway has a list of domains for some.

ProblematicApps GitHub - Link

Little old, and I see it dose not contain YouTube or FaceBook.

Maybe we (all of us who use the Best ad blocker known as AdAway) can help bring that ProblematicApps list up-to-date. :D

Just remember, when you decide to use an ad blocker, or other modifying app/services, you also decide to take the responsibility to be your own technical support.

Asking questions is absolutely fine. No worries. ;)

As for using adaway and YouTube (if the hosts sources you use block it), you just have to add the blocked domain to your own Allow(whitelist).

# YouTube Watch History

s.youtube.com

s*.youtube.com

If you use facebook, you might need these also.

# Facebook

edge.mqtt.facebook.com

graph.facebook.com

Cheers. :cowboy: