yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mike B.:
Thanks for the update. The reality is that almost every perceived AdAway problem is actually a problem with the ROM, the root, or the user... ;)
[Android Apps and Games] buffal0b1ll:
Pre 3/11 Adaway worked as expected with phh superuser and busybox installed by the On Rails app on my nexus 6 last week. Last night, I go the same Adaway version to work as expected on nexus 9 with unofficial Supersu 2.68 (it installs modified boot img, supersu, and busybox all at once).

My recipe for installing n on nexus 6 while retaining TWRP recovery and decrypted data and not losing internal storage. Of course backing up nandroid, TiBU data, and whatever else you don't want to lose to PC is the first step

Download and extract the N tgz and the zip inside on a PC

Fastboot flash bootloader, reboot bootloader, fastboot flash radio, reboot bootloader

Boot TWRP 3.0 recovery and wipe caches, system, data

Move system and phh boot img to internal storage over MTP

Flash phh no crypt boot img

Flash system img

Boot system

Install phh superuser from playstore

Install Busybox on Rails

Check root and busybox with jrummy root check app

My recipe for installing n on nexus 9 while retaining TWRP recovery and decrypted data and not losing internal storage. Of course backing up nandroid, TiBU data, and whatever else you don't want to lose to PC is the first step

Download and extract the N tgz and the zip inside on a PC

Fastboot flash bootloader, reboot bootloader

Boot TWRP 3.0 recovery and wipe caches, system, data

Move system.img, vendor.img, and unofficial supersu 2.68.zip to internal storage over MTP

Flash system img

Flash vendor img

Flash unofficial supersu 2.68 (it installs modified no encrypt boot img, supersu, and busybox all at once)

Boot system

Check root and busybox with jrummy root check app

If not rooted, reboot to recovery and flash unofficial supersu 2.68 again

Check root and busybox with jrummy root check app
[Android Apps and Games] cocchiararo:
Ah, thx, then I'm busted, either disable encryption or wait for a new twrp

Enviado desde mi Nexus 6P mediante Tapatalk
[Android Apps and Games] fhem:
Good info. Thanks -----> Why not this SuperSu
[Android Apps and Games] Ja_som:
Thanks to [MENTION=631273]Chainfire[/MENTION] and FlashFire v0.28 I flashed AdAway_systemless_hosts_v2.zip (I was not able to sideload it, and TWRP does not work on encrypted N5X) on my N5X and now AdAway works :)
[Android Apps and Games] Mike B.:
Good, this means that the only real issue was not specific to AdAway at all but merely the inability to write to /system. It's always nice to know that AdAway works fine as long as you allow it to do its job! ;)
[Android Apps and Games] Zlatty:
Has anyone been able to get it to work on a Nexus 6P with N preview? TWRP 3.0.0-1 does not want to work.
[Android Apps and Games] bogdan1980:
Try searching on Google, "ads host for Firefox" or for Chrome, your will get an link and you will need to put it into adaway.
[Android Apps and Games] Diomorgan:
Not working since yesterday on Galaxy S4 "►►[AOSP] Official 4.3 - S4 Google Edition - Finaly"◄◄Rom.Host s are update fine, but ads are still there... :(
[Android Apps and Games] :
Do you have ads in apps and/or browser (which one?) ?

Gesendet von meinem Nexus 4
[Android Apps and Games] towelboy:
Adaway got the new feature that let's you detect adware in menu, check that out. Some of my apps that were still showing ads were pointed out by adaway
[Android Apps and Games] Diomorgan:
Rebooted and removed battery and now adware works again.Maybe a softreboot was not enaught! :)
[Android Apps and Games] hansmoon:
THANKS~~ :)
[Android Apps and Games] :
Thx for v2.7 update!

Gesendet von meinem Nexus 4
[Android Apps and Games] vauge:
Thanks for the update! Would you mind renaming the title to include the compile dates? This would make it easier at a glace that changes were made. :D
[Android Apps and Games] :
+1

Gesendet von meinem Nexus 4
[Android Apps and Games] pbr2:
Very much appreciate the updates!

+1 for the date in title.

Sent from my Nexus 7
[Android Apps and Games] 2uk3y:
+1 :thumbup:
[Android Apps and Games] kjetim:
Best Android tool ever... No need to buy ad-free apps more.. Can even made my own adblock list.
[Android Apps and Games] sethgreen:
thanx for the update
[Android Apps and Games] mrjonnyrock:
Why does the app need access to the Google billing service?
[Android Apps and Games] Pons:
Check the source. The OP (to the best of my knowledge) just compiles the AdAway code, which is open source.
[Android Apps and Games] kirbymaster101:
Love the updates, but I still cant get adf . ly to work even though I whitelisted it. Anyone have any luck?
[Android Apps and Games] rodaven:
Try this dude ;)
[Android Apps and Games] mrRobinson:
Answer is in this thread. Just search it for adf (dot) ly you'll find it.
[Android Apps and Games] 2uk3y:
in whitelist i add.....

*adf . ly*

that work for me :D
[Android Apps and Games] DecypherT:
since adaway 2.6 I have the problem that my hosts file can not be applied.

It gives that message or the app stops responding.

Does anyone know how to fix this?

Send from my Nexus 4
[Android Apps and Games] Ja_som:
Not on 6P but on 5X, two posts above yours...
[Android Apps and Games] Mike B.:
A reminder to all "N" pioneers that AdAway should probably be the least of your concerns. Until you have a proper full root, expect quite a few headaches with anything that needs to access /system. With any luck, "N" will eventually have complete root options, but it might take a little while.

<RANT>Those "systemless" configurations are anything but friendly and a bit puzzling. To help members here, I have sentenced one of my spare devices to a systemless life for now and it's been nothing but a pain in the A(ndroid) for countless root-related tasks. Chainfire's rationale is that it allows for easier OTA but that's seldom a real concern for many users who root their devices and with due respect it's possible that his recent close association with Google slightly muddles his thinking. A full root with complete device access never stopped anyone from updating stock or loading custom ROMs, at least not on XDA... ;)</RANT>
[Android Apps and Games] cocchiararo:
Adaway has no issues for me now thst i hace 2.70, and flashed the systemless zip using flashfire.

Enviado desde mi Nexus 6P mediante Tapatalk
[Android Apps and Games] Zlatty:
As I understand it, TWRP 3.0.0-1 works on the 5X, so that makes sense.
[Android Apps and Games] Ja_som:
No, it does not, when is encrypted...
[Android Apps and Games] kernal81:
I have installed adaway and it's blocking playstore

Any help would be great

Thanks in advance
[Android Apps and Games] Mike B.:
AdAway doesn't block anything on its own. If one of the source files you selected happens to block a host required by the Play Store, you should probably not block that host but it's impossible to guess what that might be from the limited information you provided so far. A good starting place would be to only apply the default source file then reboot. If you still have trouble, tell us exactly which AdAway version you are using with which source files, and what specifically leads you to believe that AdAway is misbehaving for you, especially any error message that you might be seeing.
[Android Apps and Games] kernal81:
Thanks I found the cause of the issue. Some how the client.android site has been black listed. I have removed that. Now the playstore is working. Thanks
[Android Apps and Games] Mike B.:
Thanks for the update. Since none of the default files blocks "client.android", it must have been something you (inadvertently?) added. Fortunately, it's easy enough to correct. ;)
[Android Apps and Games] BakedTator:
Runs fine on my 6p...just have to use a root method that allows system write

This link is the only one that gives me full root on android N

http://xdaforums.com/showthread.php?t=3333423
[Android Apps and Games] CygnusHyoga:
Hi all :)

I'm using Adaway since long time a go and never got any issues :good:

But now, I've an issues came from Youtube.

I cannt open the Youtube and similar app.

When I'm asking to dev of cusrom that I'm using, he ask am I using adblocker?

And then, I'm googling too. Some tutorial mention about adblocker made some issues for youtube.

"Connection Server blablabla"

Sorry if somebody already ask for that :)

Thanks in advance

Edit : fyi I'm using P3100 running on SlimKat. Thanks
[Android Apps and Games] Mike B.:
You are not using an "adblocker", you simply have redirected some hosts with the help of AdAway. If you only used the default source files suggested by AdAway and enabled the webserver, you should have no trouble at all launching the official YouTube app. Note that ads within that app are sevred directly and cannot be blocked in the hosts file, a separate issue. Disable any additional source file you may have added, make sure the AdAway webserver is enabled (to avoid the annoying "can't connect" messages), reboot, and try again. If you still have problems tell us exactly what you are doing and what specific error message you see.

Note that if your problem started recently, chances are the culprit is something you changed recently. Undoing that change would make sense! ;)
[Android Apps and Games] WTF?:
the YouTube app seems to be the one app that AdAway cannot block ads in very well, for example those ads that try and precede the video you are trying to watch - so, since youtube wants to be douchey like that, I had to kick youtube off of my phone!
[Android Apps and Games] Mike B.:
Like many apps, the official YouTube app bypasses local DNS resolution and there's nothing the hosts file (with or without AdAway) can do about it. There is an Xposed module ("YouTube Adaway", an unfortunately confusing name) that claims to help get rid of at least some of those ads, but the wisest approach might be to access the YouTube site with either a third-party app or simply your web browser. The official Facebook app and its countless services also behave similarly when it comes to pushing ads. The easiest way to avoid ads is to avoid apps and sites that push ads. Drastic measure I know, but it's possible! ;)
[Android Apps and Games] Basil 123:
Adaway is unable to work in Android N, apparently because of a change in Mount commands

Any true dev able to mod adaway?

Cheers

Baz
[Android Apps and Games] indian84:
I am also waiting for someone to get AdAway working in N Preview. Hopefully our prayers will be answered soon.
[Android Apps and Games] Ja_som:
Flash zip from first post, AdAway works on N with SuperSU 2.70 on my N5X.
[Android Apps and Games] pdgpereira:
I'V been using latest N preview on my 6P and AdAway is working fine. This root method ([Unofficial] SuperSU v2.68 on Android N Preview (fixed)) worked for me and I dont have issues with mount commands (I'm even able to use file explorers to change file permissions on root).

I did stumble into some root issues before using v2.68, but even then, the fix on the 1st post worked for ad blocking purposes (AdAway_systemless_hosts_v2.zip).
[Android Apps and Games] Mike B.:
AdAway works fine with any configuration that provides a suitable root with access to /system. Please read recent posts in this thread for various options, none of which involves modifying AdAway at all.
[Android Apps and Games] Blobx:
Hey guys, got a problem here

Android 6.0 on LG G4, AdAway v3.1, it fails because it can't find/access the host file. I tried to change the path as it told me, but it still fails. Any idea?

Thanks!
[Android Apps and Games] Mike B.:
Let me guess... You are using a "systemless" root, aren't you? If so, the best idea would be for you to read the OP, especially the "Flash for systemless hosts file" paragraph. If you need more information, search this thread for the countless references to "systemless".

If this doesn't solve your problem, please give us specifics about exactly what you are trying to do, what exact error you receive, etc. but the odds are that any question you may have has already been addressed in the thread... ;)
[Android Apps and Games] Blobx:
Yup, it solved my problem, forgot about the systemless root thing :D

Thanks!
[Android Apps and Games] SageWilliams:
Im a little lost. I flashed the systemless file, and installed Adaway... but not sure what to do next...
[Android Apps and Games] indian84:
Open AdAway and follow onscreen instructions.
[Android Apps and Games] Mike B.:
The "systemless" ZIP is only required if you are using a "systemless" root. After you install AdAway you can simply start using AdAway. For most people, it's sufficient to enable the optional webserver, apply the default source files, then reboot. If you tell us what confuses you, we might be able to point you in the right direction, but taking a peek at the AdAway builtin help screens might help you if you have additional questions, as would scanning this thread.
[Android Apps and Games] SageWilliams:
Got it, so I applied ad blocking. Can I update and still keep it from trying to affect the system?
[Android Apps and Games] IAmLucky:
hi, does this block ads from OGYouTube too?
[Android Apps and Games] m0han:
this should be ok, i guess.
[Android Apps and Games] FPSUsername:
Is v2.68 and v2.70 systemless? I use adaway without that, the only problem I have is that it doesn't let me enable the webserver, I enable it, then go away from that screen (like going into settings) then get back and I see that it isn't on.

What does the webserver actually do? Does it help block in app ads? I have never fully understand it.

Edit: flashed v2.70 and the systemless zip from post 1, webserver is running fine :)
[Android Apps and Games] Mike B.:
I'm afraid I don't understand what you mean by "affect the system". You can have AdAway automatically update the source files you selected or only do so manually every so often, but it's not necessary. Unless it's actively updating those files, AdAway is effectively dormant and doesn't even need to be installed at all. If you have a specific concern not already addressed in the documentation or in this thread, please explain.

---------- Post added at 07:38 AM ---------- Previous post was at 07:32 AM ----------

The hosts file (and therefore AdAway) can block anything that is accessed via local DNS resolution, but if your app serves its ads by numeric IP or if the ads are embedded into the videos (as many are on YouTube), then there's nothing the hosts file can do about it. The issue is not what AdAway can do, it's simply a matter of what uses the local hosts file and what doesn't. If your app displays videos from YouTube, you can be sure that at lest some of those videos will have ads in them, as expected.

---------- Post added at 07:42 AM ---------- Previous post was at 07:38 AM ----------

Your screenshot shows a correct AdAway installation. Which hosts to block or not block is a separate issue but if you used the default source files, you are now successfully blocking most of the common ad servers. Good job! ;)

---------- Post added at 07:57 AM ---------- Previous post was at 07:42 AM ----------

Whether your SuperSU installation is systemless or not depends on which version and how you have installed it. Check the SuperSU threads for details. I suspect that you have a systemless root and that your busybox is /su/bin instead of in the standard /system/bin/, an easy thing to fix, as discussed here previously.

As explained countless times, the optional webserver is merely a simple Android service that returns a "I'm here" message to any query addressed to the localhost, preventing apps and sites from generating a "not found" error when an ad is blocked. For more information, simply search this thread for "

webserver"

where all of this has already been addressed.
[Android Apps and Games] osm0sis:
/su/xbin or /system/xbin is where busybox should be to prevent breakage. The webserver not staying running is one example of such breakage. :)

I just updated my busybox installer zip a few days back with the ability to clean up an old installation in /su/bin and install it properly to /su/xbin. http://v.ht/osm0
[Android Apps and Games] infatality:
I understand this may have been discussed before.. But does this works properly on cm13 that had toyboy instead of busybox?
[Android Apps and Games] Degenerator9000:
I flashed the systemless zip from flashfire because n won't let tarp decrypt my data and it's been building the hosts file for an hour

Rip I'm a dumbass

---------- Post added at 12:48 PM ---------- Previous post was at 12:42 PM ----------

Oh my god hahahahahaha

I randomly clicked the refresh button because why not and it changed from "building hosts" to "newest host files enabled!"

I've been trying to get this to work for like 7 straight hours it's almost 8am and this is what finally does it
[Android Apps and Games] bryan_mmx:
good day

Been a fan of AdAway since the release of S4. Right now AdAway not working on my Xiaomi Mi 5 running Marshmallow, applying host file failed. System is rooted (I'm on Dev ROM, root access granted but not via supersu). All permissions are granted. Any way to fix this on my side?
[Android Apps and Games] Mike B.:
Apparently your system is preventing AdAway from doing its job, but it's difficult to make a good guess without specific details. Are you positive that your configuration allows AdAway to write to the /system partition? You can check by trying to edit that file "manually" from any root-enabled file manager Have you tried to create a symlink to point to a location in /data instead ( see the builtin help for details)? Have you looked for clues in your logs?
[Android Apps and Games] bryan_mmx:
I can edit files in root data directory with root explorer. if by configuration you meant the permissions, then yes. I'll try to check the built in help later.
[Android Apps and Games] Sporttster:
I installed the apk from the adaway site on my MXPE and now my phone says my sd card is damaged! Help! I am rooted. It said to reboot the phone and when it came back up, it said the sd card is now damaged and needs to be reformatted. I need to do a ckdsk on it when I get home to hopefully recover it.
[Android Apps and Games] Mike B.:
What "AdAway site" are you referring to? The correct current AdAway3.1 apk is available from the link in the OP here. Did you at least get a message from your installer (or whatever tool you used) telling you that AdAway had been properly installed? In any case, merely installing an apk is extremely unlikely to have any bearing over your SD card and whatever issue you have seems to be completely unrelated to AdAway. Note that AdAway doesn't even access or need an SD card (emulated or external) at all. Since you don't provide any details, I'm afraid we can't even give you any good advice except perhaps to ask for help wherever your device/ROM is supported and suggest that the best and safest way to format an SD card for use under Android is to do so on the Android device itself.
[Android Apps and Games] Sporttster:
The apk is org.adaway_55.apk from f_droid.org And my sd card was fine till I loaded this and rebooted. It definitely has something to do with this apk.
[Android Apps and Games] Mike B.:
That's definitely NOT the correct and current "unofficial official" AdAway developed, supported, and discussed in this thread. It's probably a version compiled by the F-droid bot (based on some recent sources?) that would be best uninstalled completely. As previously mentioned, please use the link (AdAway-release_Build-Mar.11.2016.apk) provided in the OP to download AdAway. Once again, AdAway neither needs nor uses any SD Card and simply doesn't have the ability to somehow damage your SD Card, and it's extremely unlikely that even a botched f-droid version would do that. The culprit is something else in your configuration (kernel, file system, root method, encryption, background process, etc.) but since you still didn't give specific details we can't do much to help you, sorry. As usual, you might find it useful to look at your logs where many questions are often answered.
[Android Apps and Games] Sporttster:
Well I had no idea this was even supported here or discussed. I was simply looking for a ad remover and since the one I was using is now a browser, I chose this, sadly, and only found this trying to find help with getting it fixed. I am now quite skittish about attempting this again as who knows what caused the issue. My system is stock, Moto X Pure edition, unlocked and rooted. Nothing special about it. Android 5.1.1 Kernel 3.10.49 Hudson #1 All stock. I think I'll stick with ads especially if it seriously messed up my sd and I have to get another one....
[Android Apps and Games] Mike B.:
Here (this XDA thread) is actually the only place where AdAway is maintained, updated, and supported nowadays, but since it's open source, anybody can compile their own version, with or without changing anything, and offer their (incompatible!) version for download anywhere.

I'm not overly familiar with your device but you might want to seek advice in the MXPE Forum here on XDA where the experts might be able to guide you.

Sorry to hear about your SD Card trouble, but In case you haven't had time yet to find out what AdAway is and does, I'll point out that it's merely a tool to help edit the /system/etc/hosts file. While often used to block ads, it's not even truly an "ad remover", merely a generic "host redirector". It's not active during the boot process, it doesn't use any resources unless actively updating its source files, it doesn't remain resident, and it has absolutely nothing to do with the SD Card (doesn't read it, write to it, or even know that it exists).

It seems that AdAway just happened to be the last app installed before something went wrong with your SD Card, or there was already an SD Card issue (not unusual with some file systems) and you didn't notice until you rebooted. AdAway couldn’t have caused the problem. Once you get your SD card working again (a simple reformat directly from your phone would be the best approach as opposed to formatting from a desktop/laptop), feel free to try AdAway (THIS AdAway, not something you find somewhere else on the net) and we'll be glad to help you if you have any questions on how to use it.
[Android Apps and Games] Namoi:
An easy "uncertain" fix could be to plug your phone on a pc (assuming it will be mounted as mass storage usb) then right click the sd, then go to properties, tools, error checking...
[Android Apps and Games] Sporttster:
Thankfully I got home and put the card in the pc and did a chkdsk and it works now. So maybe I will try this adawar
[Android Apps and Games] IronTechmonkey:
Just by way of reassurance; IMO Adaway provides a particularly favorable ratio of high utility and effectiveness to low risk for the system. If you've got your SD card sorted out give it a try. It is likely, as [MENTION=1927554]Mike B[/MENTION] suggests, that the installation of Adaway and the SD card problems were chronologically coincidental and not causally connected.
[Android Apps and Games] m0han:
:good:
[Android Apps and Games] tag68:
The full size and mini SD always were reliable. I could use them for years in phones and camera and all else and never had an error. Never heard of one. Except some cards lying about their size, but that's not the reliability point.

With micro sd this changed. My Galaxy S3 destroyed a micro sd. And I found out that this happens in many devices and with several sd cards. With SanDisk it seems to happen a bit more often, but this may be caused by the big number of cards they sell.

What I want to say are two things:

1. If your card was invalid, especially be sure always to have a backup and do not store important things without that backup (eg photos). It is possible, maybe probable that it happens again and appears more and more frequent.

2. To avoid that coincidence appearing again please remove the card before installing adaway. I know adaway does not need to write on the card. You do know it now. But if it happens again, you will doubt. Please, just avoid that by taking the card out for the installation and first run ;).