yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mike B.:
The hosts file (and therefore AdAway) has no control over apps, it only knows about URLs that are called by name, regardless of which process (or site) calls those URLs. Think of the hosts file as a simple phone directory. Find a name, look up its number (IP). Nothing more and nothing less... ;)
[Android Apps and Games] IronTechmonkey:
IMO (from an admittedly old school security perspective) apps that comb links like that would probably not be allowed on devices worth firewall security but I must begrudgingly admit their usefullness today. Still I'm glad to see that it is not so easy to open them up :).
[Android Apps and Games] imcrazyz:
Hi. Is it necessary to update the host file everyday? I'm aware of the insufficient memory.
[Android Apps and Games] xdarthanonx:
No. If you don't see any ads, you don't need to update. I update about once a week.
[Android Apps and Games] mrRobinson:
Version 3.1 posted

Version 3.1

3.1 Changelog

Add 64bit arch which allows tcpdump to run on those devices

Adjust scan adware list and stop it from crashing

Update libpcap to 1.7.4 release

Update tcpdump to 4.7.4 release

Update mongoose internal webserver to 6.0 release and add IPv6 support

Add enable IPv6 option which adds ::1 to all hosts entries

Improve building hosts file speed by up to 2.5x

RevertService uses Target hosts file preference - fixes issue #636

Updates to support Android 6.0 SDK (23)
[Android Apps and Games] Mike B.:
Preemptive answer: ;)

A reminder that if you are currently running an AdAway version downloaded from some other place (such as F-droid), you will need to first uninstall that old version before upgrading to AdAway 3.1. Optionally save your data with Titanium Backup first, then restore it under 3.1 so that you don't have to re-enter all your lists.

If you're already running a version downloaded from this thread (any version), as you should, then simply install 3.1 and your settings will remain intact.
[Android Apps and Games] IronTechmonkey:
3.1 (55) 10/9/15 clean install from XDA dl looking good in quick test here in CM12.1.
[Android Apps and Games] mrRobinson:
I would like to hear confirmation from someone on 4.1 - 4.4 android OS that this is still good (at least no major errors pop up). I've tested fairly extensively on 5.0.x, 5.1.x and 6.0.
[Android Apps and Games] Mike B.:
I stole my spouse's Note3 still running 4.4.2 TW long enough to install 3.1 and run a quick download/apply. No obvious problems, business as usual. It's not a thorough test by any means but at least noting obvious broke! ;)
[Android Apps and Games] mrRobinson:
@ any MOD who comes in here... is there any way to remove the Poll? Its served its purpose and now won't be accurate with Marshmallow. I've documented the results.

edit: think I saw [MENTION=3200478]Woody[/MENTION] in here...
[Android Apps and Games] Promez:
I can test only on Lollipop, but is working perfectly as usual :D
[Android Apps and Games] IronTechmonkey:
I'm stuck in L5.0.x Moto stock or CM12.1/L5.1 here. I run Adaway it pretty much out of the box with only Adaway source loaded and no additional tweaks. One note in re manual scan; Although some seem to consider this peripheral to the prime functions of Adaway I've found it helpful to know that there were 4 apps on my phone that use push ad methodology (NOAA Weather Free, Textra Messaging, MX Player and Speedtest) one of which (MX Player was flushed out by firewall for phoning home frequently even when app was not running.
[Android Apps and Games] Woody:
I can't strip the poll, but I can have it removed. I'll put in for it. Keep up the good work and if you need anything, please don't hesitate to get in touch with me.

Btw, I have a tablet that I use for media only and it runs 4.3, so I'll test over the next few days and post if anything is wonky. I'll tag you if I do, won't if I don't.
[Android Apps and Games] MKDesignMobile:
Best blocker ever ;)
[Android Apps and Games] Flash_Aholic:
I'm on a desire 510 s-on an had the 3.0.2 adaway installed an was working fine but seen you had an update an reverted back to stock files deleted the old adaway an installed the new one an applied the host files an rebooted and keep getting android.process.Media has stopped an had to uninstall an clear my caches for it to stop lol jus didn't know if I messed up or somethin lol
[Android Apps and Games] Mike B.:
It's very unlikely that AdAway itself would have anything to do with your "android.process.media" trouble, and it's more likely to be caused by something you inadvertently did while "reverting" or "deleting". It's unclear why you felt you had to do anything besides simply installing AdAway 3.1 over 3.02, unless your old version was downloaded from some other source. If clearing the cache then rebooting solved the problem, there is probably no overriding reason to worry. Next time you bump into similar issues, try to peek at your logs which is where most answers hide. Enjoy your shiny new AdAway 3.1! ;)
[Android Apps and Games] shaqman89:
I'm on 4.4.4 and I could say all the basic functions work well :)

I'll see on a few days more whether there are strange things happening.
[Android Apps and Games] smilodon100:
Youtube " watch history " indeed uses " s.youtube.com ".

Why is this domain added to blocked list ? Users can pause watch history when they want from youtube app.
[Android Apps and Games] SiouApp:
Thanks for sharing, works great on our Galaxy Note 2 (KitKat)
[Android Apps and Games] mentat:
I realize that everyone is excited about the new Android M compatibility, but I'm still running Android L (SlimLP on my old Samsung Galaxy Tab 2) and v3.1 is working just great for me.

I just wanted to say that I really like the use of notifications during host file download and installation and to ask if it would be possible to use notifications for the final "Do you want to reboot?" dialog box (as well)?

I'm not sure if this is the correct forum for this type of feature request, but I just thought that I'd mention it here.

Finally, I would like to thank [MENTION=3355398]mrRobinson[/MENTION] (and [MENTION=4343728]Mike B.[/MENTION]) for their on-going development (and support) efforts.

Thanks.
[Android Apps and Games] Mike B.:
Actually an excellent question that gives me a chance to post a little tirade. You'd have to ask the people at hpHosts who publish that list, but they have that host classified as "ATS - Ad/tracking servers". This makes the point that, for most any host, some people want to block it, and some people feel they need it.

This is exactly why the fewer source files you use, the better off you will be. Even the four default sources in AdAway can be overkill for many users. On my own phone, I don't use the hosts-files.net or yoyo.org options, and I only keep the other two because I'm too lazy to blacklist the few entries I use in there. I update them once a month or so unless I'm testing an AdAway feature.

In this specific case, whitelisting "s.youtube.com" is easy enough but this serves are a reminder to all of us that blindly adding source files is counterproductive at best, much like firing a cannon to swat a fly. Only YOU know which hosts you want/need to block or allow, and no list anywhere on the net will match YOUR particular interests and browsing habits.

Finally, note that none of this has anything to do with "security" or "privacy". Neither AdAway nor the hosts file control the information that YOU (via any app/browser) make available to the world. All it can do is fool an app into thinking it's showing you some content (ad?). It can make your online experience prettier, maybe a bit faster, but not any more safe or secure, sorry. Security and privacy, those are YOUR jobs. Type wisely, think before you click, etc.. ;)
[Android Apps and Games] mrRobinson:
I'll look into the notification request.

edit: [MENTION=6237738]mentat[/MENTION], you mention the notification, did you not notice it before? I only ask cause its the one thing I had to redo to support the marshmallow api. the way notifications were handled before was a deprecated api method and apparently it has been deprecated for a few api versions such that in sdk 23 they removed it altogether.

Regarding your request, i always check the hide reboot dialog preference. Are you stating that you leave that unchecked and would like a notification to reboot as well as the pop up any time adaway updates the hosts sources?
[Android Apps and Games] BEN LIN:
Nice

This app is useful. Now I have a clear phone without ADs!
[Android Apps and Games] pgilrene:
I still having ads for some torrent websites particularly kickass.to
[Android Apps and Games] mentat:
No, I did not notice them (the notifications) before... However, I have recently updated to the latest SlimLP ROM for my device (that implements "heads up" notifications) so that might be why I did not notice them before now.

Yes, I do not check the hide reboot box in the reboot dialog/preference (I usually set the application to check for updates, daily), then update and reboot manually, once notified of the availability of new host files...

In other words, I am asking for a notification, as a replacement for the pop up dialog, following a manual host update (if this makes sense)... I just thought it would look cleaner (or less imposing) this way.

Thanks.
[Android Apps and Games] Mike B.:
This means that either you haven't yet used the

DNS Request Log

to discover which hosts to blacklist, or those ads are not coming from a local DNS request. My guess is the latter, but only you can find out for sure by looking at what happens on your device. Review the countless posts in this threads explaining the simple procedure.
[Android Apps and Games] peerota:
good idea

ciao
[Android Apps and Games] mrRobinson:
I like the pop up for the first time. I wonder though, when adaway isn't in the foreground and does it's daily update check, how do you see the pop up? next time you open adaway?

edit: [MENTION=6237738]mentat[/MENTION] I just tried this, i updated with the pref for prompting reboot and adaway in background. i see the notifications during and the final one says applying successful. if you click that notificaton it goes into adaway with the popup. I don't want to get rid of the pop up as it has a lot of text, not just reboot. rebooting also isn't always necessary. many times i add an entry to blacklist, reopen an app and the entry is blocked, maybe i have to kill the app and have it start fresh. Anyway, the more i test this the less i think i should do anything.
[Android Apps and Games] xdarthanonx:
Try logging DNS requests to blacklist the hostname that served the ads.
[Android Apps and Games] mentat:
Yes, I see a notification that indicates new host files are available... Then I click on the notification to open AdAway, which then checks for new host files again (I know this can be disabled in settings), then click on download files and this displays the popup.

[MENTION=3355398]mrRobinson[/MENTION]

I just saw you edit (as I was submitting this reply) and I understand (and appreciate your consideration).

Thanks.
[Android Apps and Games] mrRobinson:
you can have adaway actually apply the new hosts files as well, this way when you click the "applying successful" notification it will take you to adaway with the pop up and you just click yes to reboot.
[Android Apps and Games] pgilrene:
Thanks a lot
[Android Apps and Games] IronTechmonkey:
Looking good on in KK4.4.2 in an odd little virtual machine. Details of ROM in spoiler.

View attachment 3503298
[Android Apps and Games] IronTechmonkey:
Be-still my old school before the world went wireless heart. Well put.

View attachment 3503626
[Android Apps and Games] mrRobinson:
For those who get this from f-droid, they should have this within the next 24hrs.
[Android Apps and Games] SirMacke:
"Copy failed"

What to do?

Tried older versions and it's the same.

Sony Z3c on 5.1.1 rooted
[Android Apps and Games] Mike B.:
What to do? Easy: post at least some details, such as what you were trying to do. ;)

If this is a message generated by your system when AdAway tries to copy the hosts file, make sure that you have a complete root with full access to /system/etc/hosts (and grant su privileges to AdAway), or use a symlink to /data/hosts. If you search this thread for the keywords that apply to your problem, you might even be able to find the answer on your own... ;)
[Android Apps and Games] turtledope:
Works Great
[Android Apps and Games] toenail_flicker:
I am on a rooted Note 4 running Kit Kat 4.4.4 and it won't auto start so I removed it until I know what's going on. Tried installing from system/apps and it still doesn't work right for me.
[Android Apps and Games] Mike B.:
How about some more information? Is this new behavior for 3.1 and did the previous version behave correctly for you? Exactly what is not "auto starting"? Specifically, when you install AdAway as you would any other app, then invoke it from your launcher, what message, if any, do you get? Let's start with those answers then we can move on to more details if necessary... ;)
[Android Apps and Games] ΦDroid:
Is there really any difference in functionality between the built-in webserver and pixelserv? I've been using pixelserv instead for maybe a year and it seems to work well.
[Android Apps and Games] 0kti:
Not working on S4. Still have AD. On S+ was working great also on GoClever R106 tab. So why not on S4?

Wysłane z mojego GT-I9505
[Android Apps and Games] mrRobinson:
Let's clarify. It works on the s4. It's not working on yours but you'd have to provide more info. Is your s4 rooted? Did you give adaway permissions.
[Android Apps and Games] Daekin:
You have to use APN that does not have proxy. Also using Chrome or Opera bandwidth management is not compatible because data are rendered not on your phone so AdAway cannot remove ads.
[Android Apps and Games] 0kti:
Of course it's rooted and I give permission. I know about chrome but I have AD in some apps

Wysłane z mojego GT-I9505
[Android Apps and Games] bosert:
Something weird is happening. Adaway has always worked perfectly on both my tablet (Asus transformer 101) and my HTC One V but recently it doesn't any more. The ads which didn't show in different android apps are back again and I don't understand why.

Both devices are rooted. One is on ICS and the other one on JB. I haven't changed their roms ot their kernels for maybe 2 months. In order to correct this problem, I uninstalled Adaway, rebooted in recovery, clean dalvik cache and cache, installed Adway from the 1st link posted here, updated the hosts, gave the permissions... and rebooted, started Adaway...

Yet, Google ads are still there, on the tablet and on the phone. Any idea ?
[Android Apps and Games] Cuchu:
The newly compiled version wants access to Google Play billing services. Why on earth does it need that? The 2.3 version didn't need it.
[Android Apps and Games] :
Same problem here. Since about an hour or 2 i'm suddenly seeing ads everywhere that weren't there this morning. Both on my Nexus 7 FLO (rooted, stock) and Galaxy S3 (rooted, wanamlite). I tried removing and reinstalling but they are still there. Both with Opera and Chrome (i know about the bandwith features)

Sent from my Nexus 7
[Android Apps and Games] bosert:
I kept doing all tests and all the different actions to get rid of the problem (rom reinstall, kernel reinstall, choosing different governors,etc...) but I didn't get any improvements, on my htc and my asus. No idea why this sudden change.
[Android Apps and Games] :
Ok, so I removed 2.3 and installed the latest version.

Suddenly I'm logged out of all of my apps (facebook, twitter, xda etc), I have the app "Android Device Policy" in my app drawer, and I have 8 updates for Google Apps in the play store while some are dated july. I'm not getting them on my phone either.

Wth is going on?
[Android Apps and Games] Jepediah:
Latest version just working fine here on OneX with Viper ROM and AlexV
[Android Apps and Games] SleemLDJ:
i dont think this is functioning on cm10.2 android 4.3
[Android Apps and Games] anthonypiccolo:
In the Developer Option under Root Access make sure you have Apps and ADB selected and not just Apps.
[Android Apps and Games] m0bstr:
it still doesnt work....
[Android Apps and Games] CrashTestDroid:
Seeing similar things on a CM10.2-based BeanStalk build. AdAway gets root easily enough but hangs at "Applying..."

It fails even when i mv the /system/etc/hosts to /data/data/hosts and symlink manually. Must be something funky in CM bc it worked on 10.1.2
[Android Apps and Games] jr67:
I'm using the official CM10.2 (Mako) and the app is working fine for me. It was also working fine when I was on the unofficial CM10.2 builds.

Besides changing Root Access to Apps and ADB, turn on USB debugging and also make sure to reboot after making the changes.
[Android Apps and Games] giant22000:
I also can confirm that the latest version of this app hangs on "applying" on CM10.2. I've never had a problem with this app until android 4.3 (CM10.2).
[Android Apps and Games] androiduser44:
im using helly bean 4.3 om my i9000 and cm 10.2 on my i9300

on both devices the app is working fine
[Android Apps and Games] Mr-Glass:
I am using CM10.2 on my XT912 and the N7 and both are working fine. I have not tried on the girls XT926 yet..
[Android Apps and Games] bariz143:
Doesn't work on SGS4 with cm10.2 and yes I've used this app for many devices and with cm10.2 it doesn't work atm
[Android Apps and Games] smaugh:
Thanks

Thanks...
[Android Apps and Games] SirMacke:
I open up AdAway 3.1, click on "Download and apply..."

The app gets to "Applying host file" and only says "Copy failed, copy of host file failed. Check 'Help' for more information"

Symlink does not work, it first says "Symlink file missing, Do you want to try creating a symlink?" --> Yes

"Symlink could not be created by Android....."

SuperSu says that AdAway has root access.

Not everyone is good at this, I do not know how to check r/w permissions.
[Android Apps and Games] Mike B.:
We're making SOME progress, but it's still unclear whether this is a new problem for 3.1 (unlikely) and previous versions worked for you.

Apparently AdAway does not have full write access to /system/etc/. Which ROM and SuperSU versions are you using? Can you create/access/rename/edit files in /system/etc/ from a root-enabled file manager?

If you go to a Terminal Emulator prompt on your Note and enter "ln -s /data/data/hosts /system/etc/hosts" (exact spacing, no quotes), what message do you see?
[Android Apps and Games] SirMacke:
The ROM is a stock 23.4.A.1.232 on my Z3 Compact (D5803) Pre-rooted, SuperSU 2.46

I cannot create files in etc, or edit in fact. Using Root Explorer 3.3.5 has a button saying "Mount R/W" but nothing happends when pressing it.

"ln -s /data/data/hosts /system/etc/hosts" gives me:

ln: /system/etc/hosts: File exists
[Android Apps and Games] Mike B.:
All of this strongly suggests that your trouble is not directly related to AdAway but rather that you simply do NOT have full root and/or don't have proper R/W access to at least parts of /system.

I'm not sure what kind of "pre-rooting" you have but it doesn't seem to work well for you. Forget about AdAway for now, but at least try to use a more recent SuperSU (2.49 or newer?) from the SuperSU BETA thread and see if you can then properly access /system/etc/.
[Android Apps and Games] SirMacke:
It's the same on 2.52
[Android Apps and Games] mrRobinson:
if you use twrp recovery, boot into that. then run adb shell to get a shell prompt

then run

su -

ln -s /system/etc/hosts /data/data/hosts

if you get no error reboot to system, open adaway and ensure target hosts file is /data/data/hosts

if none of this works, go to your devices forum thread here on xda and see if you find how to make /system rw
[Android Apps and Games] Mike B.:
If you set SuperSU to "always grant", then reboot, can you then access /system/etc? Has anyone reported similar access trouble in your ROM's thread and have you asked for help there since this is not really an AdAway matter?
[Android Apps and Games] SirMacke:
I'm at a loss here, booted in to TWRP.

/ # adb shell
sh: adb: not found
[Android Apps and Games] mrRobinson:
You need to install adb on your computer first. Please use google for the basics.
[Android Apps and Games] toenail_flicker:
First time trying on the rec of samep. It starts "disabled". Big red X. It doesn't work until I manually start it. (Rolling back to previous version to see if that helps.)

No messages, has root permission, loads host files and lists fine. Just starts disabled.
[Android Apps and Games] Mike B.:
Did 3.02 work for you under the same environment? Did you remember to reboot after enabling AdAway and having it download and apply some source files? Are you running anything that claims to "protect" your system or any kind of "ad blocker"? What specific ROM/kernel (with links if possible), root method and root control app (SuperSU?) are you using?
[Android Apps and Games] _purple_:
Hello developers of AdAway. Thank you for the amazing app you created.

Today I've received an unexpected email, reading:

"Hi -,

Dominik Schürmann rejected the request for Greek (Greece) in the project AdAway of the organization dominikschuermann. "

I have no idea why I received it. I don't remember requesting such a thing and I could not even contribute to the translation either. For some reason I was not allowed. For starters I'd like to say that I never like it when apps enforce the local language UI. I always prefer the English language and most of the time there is no option to enforce English.

I was wondering though, even though up to now Adaway enforced Greek language, even though someone or some team invested their time for the Greek translation that there already is on Transifex, why has it been rejected and why is going to be removed from now on?
[Android Apps and Games] Mike B.:
Dominik Schürmann (dominikschuermann) is (was?) the original developer and maintainer of AdAway but is not involved with this thread (or with XDA in general, as far as I know). I suggest you attempt to contact him from the original http://adaway.org/ page or the AdAway Transifex page at https://www.transifex.com/dominikschuermann/adaway/.
[Android Apps and Games] mrRobinson:
I created an issue on github for him, he reads and responds there: https://github.com/Free-Software-for-Android/AdAway/issues/673
[MENTION=732579]_purple_[/MENTION], Any further communication about this should happen there, not here since this will just be a middle man.
[Android Apps and Games] toenail_flicker:
Only ones available here are 3.1 and 2.9.2, neither of which work for me. I rebooted so many times and tried so many different things with both versions that my fingers are sore and I lost a good bit of time monkeying with it. Everything was downloaded and applied multiple times - with rebooting each time. This one was the only adblocker installed during testing.

I'm sticking with my previous adblocker, but just wanted to let you know since your post asked. Thanks.
[Android Apps and Games] Tsig0s:
YES! I need this! Tnx! :good:
[Android Apps and Games] mrRobinson:
your issue is something is overwriting your hosts file on reboot. This has nothing to do with Adaway regardless of the version you try. That's why when you reboot, it says disabled, cause something else overwrote it. Go to your rom thread and ask them what is doing it if you can't figure it out.