yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jawz101:
@DiamondJohn it's fine that the entry for localhost exists in a hosts file.

All it means is that if you type localhost in a web browser or ping that name, it resolves to your own machine.

A web developer may use this name, for example, when developing a website. They'll build a site on their own computer install a web server on the computer, and publish the site. Then, go to their browser and type localhost as the web address.

It's just a generic name used to refer to pointing back at yourself. I'm pretty sure it's in a lot of host files because it's in the default host file on a Windows computer.
[Android Apps and Games] zgfg:
It seems there is no problem with localhost but with localhost.localdimain (I'm not sure how standard for loopback is that second one)

You can do the following experiment:

-Disable all other Hosts sources in AdAway

-Define IPv4 Redirection to 0.0.0.0

-Enable IPv6 support and define IPv6 redirection to ::/0

(see the screenshots)

-Enable only the attached myTestHostsSource.txt hosts source file for blocking.

Instead of putting it to the Net, you can use it as a local file, with the type File, not URL (see the screenshot)

127.0.0.1 localhost
127.0.0.1 localhost.localdomain
::1 localhost
::1 localhost.localdomain

0.0.0.0 aaa.bbb.ccc

-Apply

Now, open the hosts file (you can also do that from AdAway, Preferences)

IMO localhost and localhost.localdomain must not be redirected to 0.0.0.0 (for IPv4) or ::/0 (for IPv6).

However, for localhost is ok but localhost.localdomain is not properly redirected for loopback (screenshot), you will have:

127.0.0.1 localhost
::1 localhost

0.0.0.0 aaa.bbb.ccc
::/0 aaa.bbb.ccc

0.0.0.0 localhost.localdomain
::/0 localhost.localdomain

Also, Blocked lists now two blocked sites, one of them being localhost.localdomain
[Android Apps and Games] gallegonovato:
Good morning @zgfg @PerfectSlayer

Crash and bug in Adaway 5.5.0 with :

https://gitlab.com/ZeroDot1/CoinBlockerLists/-/raw/master/hosts

https://gitlab.com/ZeroDot1/CoinBlockerLists/-/raw/master/hosts_optional

https://gitlab.com/ZeroDot1/CoinBlockerLists/-/raw/master/hosts_browser

Same as with Codeberg links

But I think with:

https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser

https://zerodot1.gitlab.io/CoinBlockerLists/hosts_optional

https://zerodot1.gitlab.io/CoinBlockerLists/hosts

It does not give the error. The project would be: https://gitlab.com/ZeroDot1/CoinBlockerLists

Hugs
[Android Apps and Games] zgfg:
Sorry I'm not developer for AdAway - but IMO, you will probably find more issues with exotic hosts sources like that or previously Codeberg

Open the ticket (one for all hosts sources like that), explain issues.

Also, test with CURL (you will need BusyBox on the phone (or CURL app on the PC), and copy/paste its output from the Terminal app:

su
curl -v https://gitlab.com/ZeroDot1/CoinBlockerLists/-/raw/master/hosts > /sdcard/Download/test.txt

However, there are many hosts sources whose URLs were published here and AdAway works fine with them.

Also, the point is not to use a high number of various hosts sources and to block zillions of sites

Most hosts sources update their lists from one to another (hence contain a high number of the same sites for blocking).

Also, those with long lists usually block 95% or more sites that you will never really need
[Android Apps and Games] gallegonovato:
Good afternoon @Prathamesh 27

You can try: https://f-droid.org/en/packages/ch.abertschi.adfree/

And I found on https://filterlists.com/ there are two lists that are valid for ublock origin. I don't know if they work. Or if putting in Adaway in blocked what comes out in the list will work.

Since I don't use spotify

I'm not using spotify.

A hug
[Android Apps and Games] Prathamesh 27:
Thankyou for your reply. I was hoping to get something which can do with hosts, but as it turns out you can't do that. Although I would consider this if nothing works.

Thanks again!
[Android Apps and Games] DiamondJohn:
Thanks, it obviously comes down to me being too lazy to do the actual check myself, and for that I apologize and am a little ashamed; as I should be. sorry.

I understand what localhost==>127.0.0.1 is used for, I was concerned that by having the text "localhost" in a block list, it would get erroneously mapped to 0.0.0.0, as all other bad hosts in the file would be, and not treated differently, as it should.

And I guess the other part, is that i do not truly understand the IPv6 versions of localhost.
[Android Apps and Games] Sacob:
using this app made a "network may be monitored" message show in the notification drawer. is there anyway to remove that?
[Android Apps and Games] celestialspring:
Depending on your Android OS you can tweak things. Use notification settings per app.

If it is a system notification on Redmi, it might not be possible.
[Android Apps and Games] RSDamasceno:
Can anyone tell me which domains to include in the whitelist to eliminate the delay on the apkmirror page?

I tried to whitelist everything that appeared in tcpdump but no success.
[Android Apps and Games] PerfectSlayer:
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
[Android Apps and Games] Oswald Boelcke:
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
[Android Apps and Games] Wolfcity:
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.
[Android Apps and Games] horsefingers:
Hello, everyone

I dunno if this is the right place to ask this, but I have no access to internet after uninstalling AdAway 4.3.6 in a NON rooted 5.1 Android phone.

I installed it again, went to "open hosts file" and it only shows:

127.0.0.1 localhost

So, if my hosts file is write protected by default because I've never rooted it, why I can't access to internet after uninstalled AdAway? It's pretty weird.

NOTE: I also have another rooted phone with AdAway working fine, where it shows a second line in the hosts file:

:: 1 localhost

But I insist, it couln't delete that line or any other on my non-rooted one without root permissions.

I dont' know what to do. Please, help.

Regards.
[Android Apps and Games] Nergal di Cuthah:
Because it wasn't rooted you were using adaway in vpn mode. Check your android vpn setting it may still be "occupied"
[Android Apps and Games] horsefingers:
I went to Settings > Wireless & network > VPN

It says "No VPN networks" and there is a button "Add VPN network".

Doesn't seem to be anything unusual there.

Thank you very much for respond.
[Android Apps and Games] ipdev:
Standard IPv4 network.

127.0.0.1 localhost

IPv6 introduces a new format of IP addresses.

::1 localhost

If you call localhost on an IPv4 network you will get 127.0.0.1

If you call localhost on an IPv6 network you will get ::1

The older device might not support IPv6 so it will only contain the (older) standard.

A newer device that supports IPv6 will contain both.

You need localhost defined in your hosts file.

--

I made a post a while back about the hosts file and name resolution.

xda post - # 15,717 - Link

Using the second example, for IPv6 the IP address would be configured differently.

localhost changes from 127.0.0.1 to ::1

dns.google.com changes from 8.8.8.8 to 2001:4860:4860::8888

Hope it helps more than confuse.

Cheers. :cowboy:
[Android Apps and Games] ipdev:
Question. :unsure:

How did you configure AdAway 4.3.6 on Android 5.1 without root?

I might be wrong but, VPN based ad blocking was not available until the 5.x.x builds.

Are you using a symlink to system/etc/hosts ?

If so, you might have to remove it.

Cheers. :cowboy:
[Android Apps and Games] horsefingers:
Yep, that's what I meant. I just installed the 4.3.6 version on a non-rooted phone, and when I uninstalled, I lost all my internet accesses on my device.

The wifi icon is activated, and it shows the message "connected to my network".

I checked VPN settings and it's empty. No VPN connections there.

If my phone is not rooted, the hosts file should be write protected and I can't remove any file under any /system directory.

I'm not using symlinks to the hosts file, if so, it wouln't work anyway due the non-root.

So, my question is why I can't use internet anymore since I uninstalled AdAway? What did it do, or what can I do?

Thanks for answering.
[Android Apps and Games] YKCBastard:
hi, i have problem when restoring the backup rules, adaway cant select my backup file. but the backing up the rules is working.

View attachment 5269085
[Android Apps and Games] gonzo1963:
Good afternoon,

I installed version 4.3.6 on an old smartphone with Android 4.4.4 that I use as GPS.

After installing it, I try to "enable the ad lock" and I always see a window that indicates "failed download: None of your host file sources enabled are achievable".

Of course, the smartphone is rooted and I have a good Internet connection, all other apps work without problem.

I have tried to delete cache and data from the app, and the same error continues to appear.

I have tried to use the three "host file routes", with all three still appears the same error.

What can I do?

Regards
[Android Apps and Games] gallegonovato:
Good afternoon:

I am using version 5.5.0 I just saw that there is version 5.5.1.

But I wanted to comment on a curious thing with Adaway.

After updating the hosts list. And updating the things I use from fdroid (if any). I usually clear cache, pass sd maid and lte cleaner.

So far so good. In the version before 5.5.0 no problem.

But in 5.5.0 if you go back into Adaway after a while or broken. Even not having passed sd maid or lte cleaner. Just cleared the cache.

On the main page of Adaway I get empty. I mean no numbers in: blocked, allowed, redirect. And without any list and without anything.

And I have to wait a while until it loads things. Something that didn't happen in the version before 5.5.0 of Adaway.

I also wanted to comment an option that I find useful. And that there was before in version 4 of adaway. I don't know if the option to restart after upgrading could come back. As it was before in version 4. Since I understand that this way it would be done as a reorganization and stabilization of things. I don't know how to explain myself well, but it would be for you to understand me like when windows receives an update, or some program. That asks to restart the system.

Or to put an option for who wants that it always restarts and who does not.

A hug and I hope I have explained myself well :D
[Android Apps and Games] toolhas4degrees:
Anyone having this issue or know how I can fix it
[Android Apps and Games] toolhas4degrees:
Nevermind sorted
[Android Apps and Games] tajnii:
Does this block all apps, for example YouTube? Becuase I tried using AdAway and it does not block the YouTube app for me... :(
[Android Apps and Games] celestialspring:
For YouTube please use YouTube Vanced.
[Android Apps and Games] tajnii:
Where can I find this?
[Android Apps and Games] daywalk3r666:
vancedapp.com
[Android Apps and Games] Oswald Boelcke:
https://xdaforums.com/t/app-mod-root-nonroot-youtube-vanced-edition.3758757/
[Android Apps and Games] tajnii:
I tried signing up on the Vance Youtube but it dosn't show on the app. If I try logging in again it says that the device is already connected... :(
[Android Apps and Games] Oswald Boelcke:
Seems to me to be off-topic in this thread. I suggest to discuss your YT Vanced issues in its thread.
[Android Apps and Games] B3!CrAZy:
Hmm...not what i need. Aplication needs to be connected but without ads...adaway do not work properly for "tudyne" and "studentská kucharka"
[Android Apps and Games] Pons:
Adaway blocks IPs, not ads. If you're getting ads, it's more than likely because you're not using a proper host list.
[Android Apps and Games] overseer2k:
Thank you very much for the updated apk!
[Android Apps and Games] ~kyle:
Are you using the old Play Store version or did you install the latest version from either the OP of this thread or F-Droid?

It's working fine for me.
[Android Apps and Games] B3!CrAZy:
How can i know which host should i use?
[Android Apps and Games] mumsawitch:
Finally found it. Thanks! :D
[Android Apps and Games] De@n:
Many thanks :good:
[Android Apps and Games] mkanet:
How can I test to see if AdAway is working? I dont think I've ever seen an Ad before. On my PC, I use AdBlock Plus and on my phone I use the Adaway that's posted in this thread. I dont have Angry Birds.
[Android Apps and Games] DigitalUnderground:
Download a free popular game that has ads... play it... see if it worked. Its pretty simple :D
[Android Apps and Games] mkanet:
I dont play games nor do I want to install any. I was hoping someone would post a URL to a popular website that definitely has ads (not porn). Anyway, if anyone knows of a good website to test against, I'd really appreciate it.
[Android Apps and Games] bobbyphoenix:
HMEdata.com Tons of ads surrounding what I need to use.
[Android Apps and Games] Pons:
I don't know. You need to find which IPs serve your ads. Then look online for a hostfile with those in it (should be fine with most of the major hostfiles) or manually add them yourself.
[Android Apps and Games] pssnn:
Droidwall works great for me. Between AdAway and Droidwall I never get ads.
[Android Apps and Games] Surfinette:
+1
[Android Apps and Games] Cyclu:
Another firewall Afwall+ also work better with ICS and Jellybean.
[Android Apps and Games] privat75:
And is more up2date.
[Android Apps and Games] Dr. Droidberg:
Thanks for this thread. :thumbup:
[Android Apps and Games] agrib82:
With adfly don't work. I have to disable it
[Android Apps and Games] Pons:
Depends on which hostfile you use, but most ad blockers (like AdAway) classify adfly as an ad, and thus block it.
[Android Apps and Games] maanski3:
I had to Google about this 'cause my www.ismeh.com/HOSTS made an error all the time.. I didn't realize Google removed all adblockers from their Play Store until now. I've been using AdAway since I got an Android phone and it's one of the best out there. Thank you for this, mrRobinson! I'll download it now and give feedback in a bit. :D
[Android Apps and Games] Razeer:
You need to delete both of them and replace with the one from AdAway. I deleted the one in the middle too.

The hosts from adaway will be at root/etc copy that and replace both hosts.
[Android Apps and Games] sohebq:
I have one in system/etc for 101B and other one in system/etc/crossbreeder. Also i have hosts.CBBAK in system/etc.

I need to delete both hosts file?
[Android Apps and Games] adl:
Can anybody see pictures and gifs on 9gag app?

After i updated host files today i can´t see anything there. :(
[Android Apps and Games] SaskFellow:
You have to add a whitelist exception to AdAway:

Enter it like: *.cloudfront.net

Then reapply the ad blocking, m.9gag.com will function as it should again.

:cool:
[Android Apps and Games] Razeer:
Yes all of them, including the CBBAK. Then replace it all with AdAway's hosts.
[Android Apps and Games] benfiller:
It works, thanks !
[Android Apps and Games] MikeRL100:
Special AdAway build. Thank darken for making this for me. He is the author of SD Maid, and is a reputable developer. He also made the remount fix.

Based on v2.8.1

+ Remount fix

+ Changes to Host sources (http/https)

Provided AS IS. DO NOT ASK FOR SUPPORT.

This one uses newer hosts sources and a different signature. So uninstall the old one first. You will need to uninstall the previous version for the new host sources to be used.

https://mega.co.nz/#!KF9ghZyR!LcoLLJQ9VUdu7sUjGp9c_tMhUlXnA94LQhuQl9bhz5A
[Android Apps and Games] sohebq:
Finally i managed to get it work. I think it was all just hosts issue. Deleted all hosts files, rebooted and then applied adaway again. So far it is working.

Sent from Galaxy Note 3 (The beauty & beast)
[Android Apps and Games] 78Staff:
This is a fix for what issue? I searched back didn't see much chatter on remount (since the original darken mod fix) or http/https issue?
[Android Apps and Games] StraightEdgeKid:
Thanks buddy!!!
[Android Apps and Games] mrRobinson:
It'd be the same I have in the OP since March.
[Android Apps and Games] Dark3n:
It is.

Skip the stories next time.
[Android Apps and Games] Redlugia:
I am finding Adblock plus starting to work better for blocking ads that adaway doesn't work on without manually editing lately.
[Android Apps and Games] sushidog:
You have a huge repository for sources you can choose/change for AdAway. Don't blame AdAway and don't even try to compare it with the worst Adblock.

Adblock reports your activity, have ads and part of the code is closed. :thumbdown:

/// Samsung Galaxy S4 GT-I9505

/// Press "THANKS" if I helped you
[Android Apps and Games] worktorest:
After removing the proxy settings on my apn, everything works now. Awesome app.
[Android Apps and Games] mclisme:
I am trying to enable hosts with v2.8.1 (Purity 4.4.3) but it is repeatedly failing... :( Any ideas?
[Android Apps and Games] sushidog:
Read the OP.

/// Samsung Galaxy S4 GT-I9505

/// Press "THANKS" if I helped you
[Android Apps and Games] mclisme:
I did and it solved my issue! :D Thanks!
[Android Apps and Games] Amagoi:
I'm not able to get AdAway to work even with the D4rken mod. I've tried AdAway through different sources; same result every time. When I download files and apply ad blocking, it fails at applying host files even with d4rken's mod. Always get the same message of "Copying host files failed". It doesn't even tell me what it specifically couldn't copy over, so I don't know if I could find it and copy it manually. I've looked around and haven't been able to find anything related to it working on Bluestacks, most problems reported are with it on actual phones.

Any advice? I originally downloaded AdAway because I heard it worked just fine with Bluestacks.
[Android Apps and Games] Pkt_Lnt:
Try the symlink method since it cannot write to /system.
[Android Apps and Games] gallegonovato:
Good afternoon @PerfectSlayer @jawz101 @zgfg

This question I put to you. It is being asked of me, people I know who are Adaway. But they have it downloaded and installed from the fdroid application.

That according to them are better understood than downloading the apk from github. A lo queles comento que el apk es parecido a un exe. That is, download and install.

But ellosme comentan, if not return to upload new versions to fdroid.

A hug and thanks for your time
[Android Apps and Games] jawz101:
Are you asking if installing an apk from GitHub is different than installing from F-Droid?

Or are you asking if you can switch between install sources?

If your question is the second: when a package is built it is signed by the person compiling the application.

If the upgrade comes from a different source, the package is named the same, and there is a signature mismatch the subsequent upgrade will not install successfully.

I think that is how package upgrades work but I'm not a developer.

And it looks like you wrote in English and a language that looks like Spanish, but not Spanish, so I do not know if I understood the question.

>That according to them *are better understood* than downloading the apk from github.

"Are better understood". == translation no bueno
[Android Apps and Games] zgfg:
Sorry, part of your post is in Spanish, most was translated to English but poorly and I don't understand what was your point or question or else.

Generally, I'd suggest you to use Google translator

Anyway, I am not interested in f-droid and I don't use it, specially not for AdAway, hence I will not comment about

I would suggest you to take time and read the old posts in this thread, it was discussed a lot here

One point is different signature - you were already answered in the previous post, for more you can read in the old posts or generally google about

Because of that different signature but the same package names (AFAIK), if you want to switch from Github/XDA version of AdAway to f-droid AdAway version (or vice versa), you must fully uninstall the first AdAway and then install the second

Also, I don't know how and why, and is it still the case, but those who had f-droid version were not able to update the AdAway - it used to be reported here several times (for AdAway 5.x)

But again, you will find and learn more about AdAway/f-droid in the older posts in this thread
[Android Apps and Games] luiwii:
View attachment 5275867because the apk comes out with a virusView attachment 5275867
[Android Apps and Games] zgfg:
Answered many times for similar posts.

Forget such 'virus' reports - use more reliable virus detectors that do not 'find' root apps
[Android Apps and Games] luiwii:
What detector do you use to use me, thanks for the clarification
[Android Apps and Games] zgfg:
I'm using Avast integrated to Xiaomi Security scan - no virus

I can switch my Security scan also to AVL, it doesn't report a virus either

Screenshots beliw
[Android Apps and Games] luiwii:
Thanks
[Android Apps and Games] Wolfcity:
Btw, this is one scanner out of...30? This is a classical case of a false positive report. When it comes to 10 positive out of 30 on virustotal you can think about a possible risk. And even than it depends on the file.

A root app for Android, a key generator for Windows all those files often cause false positive results.

brain.exe is one of the best virus scanners.😉
[Android Apps and Games] gallegonovato:
Good afternoon @zgfg @jawz101 @PerfectSlayer

The fault was not the translator's, but mine in translating. I apologize for my failure to translate.

The question was: that many people ask me, if more new versions of Adaway will be uploaded to Fdroid. Or the new versions will stay for github and xda.

@jawz101 Also a lot of people ask me if they will upload again the hosts or filters they had. That appeared in filterlist?

Best regards
[Android Apps and Games] zgfg:
You have both (and different) versions with the corresponding different distribution/update channels, Github/XDA and F-Droid, they have been there as that since AdAway 4 and older

Switching from one to another requires uninstalling the first and then installing the second

There was a known issue for AdAway 5 that people with F-Droid verrsion were receiving update notifications but the update then used to fail

Hence make your own decision would you opt for Github/XDA or F-Droid version 🥸