yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] zeugme:
Thanks a lot for the link with the description!

I was using the Log DNS Requests tool wrongly... After following the procedure, it worked!

Cheers!
[Android Apps and Games] dmachop:
To anyone with HTC One M7, the SE Linux mode is set to enforcing upon every restart. It had to be set to permissive and the ads are blocked. Thanks all! :good:
[Android Apps and Games] nulogic:
working fine on my oneplus 5
[Android Apps and Games] :
FYI

AdAway v3.2 [11.19.2016] version is working fine on my OP5 / OOS v5 (Oreo) / Magisk v15.

Just check systemless host option on both Magisk Manager app & AdAway
[Android Apps and Games] absinth:
Hi guys i have the lg g4 with H-Rom Nougat i have installed AdAway but hangs during host application (Copying of hosts file failed)... someone can help me?
[Android Apps and Games] :
Are you routed?
[Android Apps and Games] absinth:
yes, with superSU...
[Android Apps and Games] :
... and you have successfully granted root for adaway in SuperSU ?
[Android Apps and Games] absinth:
Yes!
[Android Apps and Games] ktmom:
Grab a logcat while trying to install hosts file.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] jc007:
My adaway cant get supersu permission... Stuck at lunch and blackout...
[Android Apps and Games] ktmom:
Since you don't provide any information, just a complaint, there's not much more anyone can do but make an observation that it is most likely a root management problem.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] pkelly517:
Ugh. Bad memories from my early 20's. [emoji16]
[Android Apps and Games] jc007:
My phone mi5 running miui9 noughat (7.0) installed magist v15.2 system less root and adaway 3.2 ...

I try to rum FX for root access and titanium backup ...in both case superuser prompt root access request... While i lunch a adaway it stuck at lunch and dont saw anything just like hangup....
[Android Apps and Games] pec0ra:
Issue with Magisk 15+

To those having the latest version of Magisk (15+) it is a known issue that the application will freeze at startup. It is because the application is waiting for root to be granted but Magisk doesn't recognize that request.

I have made a pull request that fixes this by forcing a valid request (recognized by Magisk) at startup.

If you can't wait for the pull request to be merged you can look at my fork. I have created a release which includes the fix, has some updated libraries and targets Oreo. Please note that I have only tested it on htc U11 on Oreo 8.0.0 and that it has been signed with my key (You might need to uninstall previous version before installing this one). Some functionality might not work since I have updated a few libraries.
[Android Apps and Games] ktmom:
Aside from the post just above this one, try using the dev release of Adaway linked in the OP.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] tembares:
Happy New year to ya all!

Probably it's me, but I cannot find any flashable ZIP for OREO - SuperSU.

Are the ZIPs still generated? If I install the APK, AdAway doesn't start after reboot. How to enable that?
[Android Apps and Games] :
At the moment there is no LineageOS SuperSU add-on. You have to use SuperSU 2.82 sr5 or Magisk if you want root with supersu
[Android Apps and Games] jayc007:
This helped in solving the issue on Nougat as well, working properly now.

Thanks
[Android Apps and Games] dizM0nkey:
This worked for me... running Magisk V15.2 on Nougat 7.0 on HTC 10
[Android Apps and Games] blaxheart2:
Perfectly working with MIUI 9, Marshmallow Magisk v15.2
[Android Apps and Games] patroll:
Application crashes after rebooting the phone. Works after that though. Android 8.1 google pixel xl.
[Android Apps and Games] tinko975:
I had issues with adaway and latest magisk. So removed magisk a flashed super su. On nougat MIUI.
[Android Apps and Games] Marsh-mallow:
Appreciate

Cool and knowledge able post
[Android Apps and Games] Toxicology:
Your workaround brought me profit... Htc 10. Thx Man!
[Android Apps and Games] Gamerock01:
Whenever I use savetodrive.net it detects that I am using adblocker. Any way to bypass that
[Android Apps and Games] Ultramanoid:
Don't use savetodrive.net, if they require users to be exposed to ad code ( tracking and data mining at best, malware at worst ) they're a service to avoid, completely.
[Android Apps and Games] gubugarasi:
Failed with magisk, work well with superSU. Thank you.
[Android Apps and Games] LavLab:
Works on my htc a9 on 7.0 Thanks!
[Android Apps and Games] seanskiT!:
Don't know why you have problems with working with magisk. I have never had trouble with this app and magisk. But then again you gave no other information for anybody to help you.
[Android Apps and Games] gubugarasi:
Only black screen when I open adaway with magisk installed. Uninstall magisk, then I change with superSU, adaway is work fine. I don't know what the problem.
[Android Apps and Games] githyanki:
Magisk had not granted SU permission to AdAway. Open magisk manager and grant permission.

You may have missed the initial prompt and it won't ask again.
[Android Apps and Games] Nergal di Cuthah:
So what you're saying is you didn't even bother to read one page back (and quoted multiple times on the page you posted on).

Answer is this:
[Android Apps and Games] gubugarasi:
Maybe I missed something, I'll try next day with magisk. Thank you...
[Android Apps and Games] davidonabus:
Coinmarketcap Ads not blocked

Hey all, even with the latest update, I'm still getting a top banner ad when visiting coinmarketcap.com

Any advice on how to remove this?

Thanks
[Android Apps and Games] ipdev:
https://github.com/AdAway/AdAway/wiki/LogDNS
[Android Apps and Games] paul222008:
how to unisntall host file of this adblock using twrp? i got bootloop
[Android Apps and Games] Bewildered Wolf:
In twrp

go to advanced > file manager > system > etc

And delete the hosts file.
[Android Apps and Games] paul222008:
is it okay to delete the host file using twrp? will the os just generate new host file after reboot?
[Android Apps and Games] Bewildered Wolf:
Don't know if system will generate a new file or not.

But you can use adaway to generate a new hosts file.

Can you please explain how did you got bootloop using the hosts file?
[Android Apps and Games] paul222008:
i just update the host file and prompt me to reboot, then now my phone is bootloop :(

---------- Post added at 01:03 PM ---------- Previous post was at 12:38 PM ----------

i did delete the host file using twrp , but still in bootloop state, how can i recover my phone?
[Android Apps and Games] ipdev:
Delete.
[Android Apps and Games] osm0sis:
I just clean installed Magisk v15.2 on my OnePlus 5T and the official stable Nov.19.2016 build of AdAway v3.2 has been working without issue (with Systemless hosts enabled in Magisk's settings, of course).

Seems like the root issue is a regression in the Dev Build?

[MENTION=3355398]mrRobinson[/MENTION] [MENTION=2822685]PerfectSlayer[/MENTION]
[Android Apps and Games] tinko975:
i had issues with adaway, but than manually installed magisk 14 and adaway works, and when it was automatically updated to newest 15,2 and works..
[Android Apps and Games] HighOnLinux:
Re-flash the ROM you were using
[Android Apps and Games] nixie2121:
so I'm getting a oneplus 5t tomorrow and don't plan on rooting it. my question is what do I replace adaway with, Blocka or Dns66? differences? thanks
[Android Apps and Games] amgreenhawk:
Thank you. Your fork works in my Mi Max 2 with Magisk 15.2, MIUI v 9.0.3.0 Global ROM.

Previously I was stuck with the blank AdAway screen.
[Android Apps and Games] guest4711:
This is [OT] here. Both apps have the same concept and work the same way. DNS66 has a longer tradition. Both are FLOSS, so you may try them from f-droid :

DNS66 (Block ads/hosts via DNS) - https://f-droid.org/app/org.jak_linux.dns66

Blokada ad blocker (The ad blocker - battery efficient, fast, powerful and simple to use) - https://f-droid.org/app/org.blokada.alarm

On my devices not rooted I install DNS66 and I'm satisfied with it, so I did not test the current version of blokada.

[/OT]
[Android Apps and Games] jcmm11:
What phone? If it's a Nexus 5x you probably need to get it repaired by LG (known issue).
[Android Apps and Games] martyfender:
Nextbook Ares 8A, Intel x86, Android 6.0.1:

I uninstalled the Feb. 2017 Adawy and installed your v3.3 fork. On two different revisions of this same device, v3.3 fork crashes. I solved it on both of the Magisk 15.3 rooted devices by re-running the installer again, after the crash and all seems to be working now. it will ask if you want to install over an existing, same version, choose yes.

I then setup preferences and added http://sbc.io/hosts/hosts, again and disabled the others.
[Android Apps and Games] osm0sis:
Try the stable Nov. 2016 one, still working great for me with Magisk 15.3 (1531), no crashes, no fuss.
[Android Apps and Games] Ja_som:
Please read the rules, XDA is English only.
[Android Apps and Games] osadokteam:
well, out of habit wrote
[Android Apps and Games] ktmom:
But then you could have edited your original post and entered the English translation.

It seems you're complaining you can't download? That isn't enough information. Which version, from where and what happens?

The dev version in the OP downloads fine for me.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] Thjacopa69:
I update magisk to v15.3 and then my adaway goes blank.. what may be the issue here..
[Android Apps and Games] ktmom:
One possibility is you need the moded version in post #10324

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] Thjacopa69:
Thank you.. it perfectly works

QUOTE=ktmom;75208734]One possibility is you need the moded version in post #10324

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers[/QUOTE]
[Android Apps and Games] osm0sis:
Or go back to using the stable version in the OP. Worth trying first before going further down the beta rabbit hole.
[Android Apps and Games] MC_Ohr:
I'm using the Nov. 19.2016 version with android one 8.0 and magisc 15.3 without any problems. I'm using that version since it was released.

Gesendet von meinem HTC U11 life mit Tapatalk
[Android Apps and Games] kneelesh:
My phone is Redmi note 3 pro and After updating to miui 9 global 8.1.11 my adaway is not even starting (yes I am rooted and on previous version it was working ). I have attached the screenshot pls help
[Android Apps and Games] guest4711:
Did you try the moded version in post #10324
?
[Android Apps and Games] kneelesh:
Before Posting I didn't know that...

But after search I saw and try to install moded version & it perfectly works...

Thanks..
[Android Apps and Games] carlese:
Fanboy ultimate list is showing 0 entries in the hosts file.. Do you guys know why?
[Android Apps and Games] Aitso67:
perfect

I tried this app on my smartphone, it works perfectly, congratulations.
[Android Apps and Games] sibikallikkat:
AdAway causes problems with latest miui roms rooted with Magisk 15+.

Root is not requested or magisk cannot understand the root request of AdAway.

It loads up with a black screen and freezes!

Any workaround?
[Android Apps and Games] Ja_som:
Search in this thred, there is a patched version.
[Android Apps and Games] sibikallikkat:
I am sorry I could not find that...Can you please provide me with the link ?

Or is it the one available in the xda labs store ?
[Android Apps and Games] Ja_som:
https://xdaforums.com/showthread.php?t=2190753&p=75097249
[Android Apps and Games] guest4711:
Because the list is defect: https://secure.fanboy.co.nz/r/fanboy-complete.txt is no hostfile today.

Use another file, e.g. https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts
[Android Apps and Games] PerfectSlayer:
Hi all,

Sorry to be away the last months, I had few personal troubles…

The good news is there is a lot of PR! The bad is they are still unmerged!

[MENTION=4466123]pec0ra[/MENTION] Did you have a link or more details about the MagiskSU and RootCommands library issue?

I saw your PR but as you said on GitHub issue: "This is not the most beautiful way to do this" and when I looked at the code of RootCommands and it's quite similar to your hack:

org.sufficientlysecure.rootcommands.Shell#startRootShell()
org.sufficientlysecure.rootcommands.Shell#startRootShell(java.util.ArrayList<java.lang.String>, java.lang.String)
org.sufficientlysecure.rootcommands.Shell#Shell (with "su" command to run)
org.sufficientlysecure.rootcommands.util.Utils#runWithEnv
java.lang.Runtime#exec(java.lang.String, java.lang.String[], java.io.File)

So I guess we could fix the library it-self instead of adding a Magisk specific hack.

[MENTION=4544860]osm0sis[/MENTION] Is-it the same issue?

I'm still having some trouble to get a build without warning using the latest build tools and targeting the latest framework version in my fork but I hope I could have a look soon.

Once fixed in my fork, I'll backport to the main build for beta then F-Droid releases.

There is also interesting PR for permission check and notification fix [oreo] I need to look at.

And for those who pushed translation updates, could you use the Transifex project please? Thanks!
[Android Apps and Games] osm0sis:
I believe it's the same issue, since either going back to the Nov. stable build or going to the new unofficial build from pec0ra seem to resolve it, so it must be something that regressed in the Feb. dev build from your previous PR.

CC: [MENTION=3355398]mrRobinson[/MENTION]
[Android Apps and Games] pec0ra:
Hi,

Great that you are back :)

I didn't have a source explaining the issue about MagiskSu and RootCommands but I just looked at it again and found where the problem is.

RootCommands does indeed work similarly to my hack but the difference is that it passes a custom environment when creating the process. The environment given is mostly taken from the System which should not cause any issue. However, they add an extra path to shared libraries which seems to be null (Maybe not on all phones and this might explain why it works on some phones). Having this null value in the environment seems to block the request.

Since it only makes sense to add this path in the environment when it exists, I suggest to just check LD_LIBRARY_PATH and only define the environment variable when this value is not null. I will prepare a new pull request with this change.
[Android Apps and Games] sonnik64:
Hi, after last update OP beta 30 for Oneplus 3 ,I have seen this message: Not enough space.

I changed to data/data/hosts but I cant create symlink now!

Please help me, I love this app.
[Android Apps and Games] guest4711:
There is a known bug in the last beta for OnePlus3: The system partition is full after flashing the ROM. You could try to check the partition first in TWRP (wipe - advanced - check and repair). If this does not help you could delete some unneeded system-apps. Or you use a ROM without the errors.

See also https://xdaforums.com/android/themes/fonts-flashable-zips-t3219827/post75230449
[Android Apps and Games] patrickdrd:
another feature I would like to see in adaway is backup (already existing) hosts file,

like hosts man does,

so there are features to be implemented, nothing is perfect as some said,

as long as there is appetite, a lot can be accomplished
[Android Apps and Games] pijas82:
Hi , I can't open one apk(arena4viewer) with adaway. How I disable only this apk.

I need adaway for all my apps
[Android Apps and Games] mitchdickson:
I wonder if this is covered in the FAQ and the support wiki.
[Android Apps and Games] mrRobinson:
Damn i've been gone a long time. Let's update this OP and see if we can get a new clean build out, huh?
[Android Apps and Games] DiamondJohn:
Is this thread also a channel for feature suggestions/requests? sorry if its not :o, but I *think* I have seen in the past, where for some reason (maybe a poor internet connection) a number of my host sources failed, so the newly generated hosts file was well below par.:crying:

What I was thinking, that there be an option (or even the default behavior for simplicity) that if a specific host source fails, the last known good download for that specific host source would be reused, instead of completely being excluded. Better the previous one than none.:fingers-crossed:

-------edit-------------

ooo... and I almost forgot, I have found that by the end of the day, ads get through, which is solved by a manual refresh. An option to possibly re-fetch the hosts at X hourly intervals would also be good. However, I understand that many would not want an app that reschedules itself, and may be purposely excluded
[Android Apps and Games] scowley7:
Your 3.3 v APK works perfect on stock Oreo 8.0 HTC 10 and latest magisk...thank you, this freeze while waiting to be prompted for (root) was bugging the hell out of me
[Android Apps and Games] iamnotkurtcobain:
3.3? There is only 3.2...
[Android Apps and Games] Voltaine:
Look here

https://xdaforums.com/showthread.php?p=75097249
[Android Apps and Games] Bakica:
Does the automatic updates (daily updates) working in 3.3? Thanks.
[Android Apps and Games] shaqman89:
I don't think hourly intervals would be good. For some devices, a reboot is needed to apply the hosts file perfectly. Making it fetch and reapply every few hours would make it reboot every few hours.

Besides, there is already scheduler for a dailyupdate, and that is even more than most of us here need.
[Android Apps and Games] DiamondJohn:
And the people who have this issue would simply not select that option. SOME is the operative word.

However, there are some (like me) where a simple update blocks the new ads without the need for a reboot. There are other people (not myself) who do not reboot their phones for days on end. It just occurred to me, how do they deal with only an update on reboot? or is it daily?:confused: As I said before, my issue is that I only update on reboot/daily and on WiFi only, and when my phone reboots in the morning, I am just out of my WiFi range.

Actually, is there any other way (eg through an intent sent in a script) that AdAway can be told to re-download the Hosts?
[Android Apps and Games] scowley7:
Hi. Only installed 3.3 this evening so no time to see if updates are working after installing original hosts file. I also have unchecked the prompt for reboot option so unless I get a notification on next update I won't really know. I'm just happy it's working tbh and ads are a thing of the past again ?
[Android Apps and Games] IronTechmonkey:
Some-times, a suggestion begets down votes. Although there are certainly merits to the goal, IMO that introduces potential downsides not worth the gain, although that would be informed by just how many people would want this.

As for me; Manual updates once or twice a year, so yes with an "off switch" if at all. :)
[Android Apps and Games] frozenfirevr:
That'd be awesome, thanks. Eagerly waiting...
[Android Apps and Games] androcraze:
I'm a little confused....

Why are ads "getting through"? Hosts files don't update that often; "weekly" seems more accurate than "daily", at least with the majority of hosts file sources I've played with. That hosts file isn't getting changed that often, even with a "manual refresh"; you still should wind up with an identical end-result hosts-file even after forcing an update.

If ads are slowly starting to "creep back-in", it's not a hosts-file nor an AdAway issue; something else is going on with your device.
[Android Apps and Games] patrickdrd:
I agree, there's another feature request:

option to automatically update weekly,

I'm gonna starting posting those in github

edit: posted here:

https://github.com/AdAway/AdAway/issues/990
[Android Apps and Games] Srbija2012:
Why am I unable to find the download link for version 3.3? Am I going crazy?
[Android Apps and Games] guest4711:
Have a look at "Issue with Magisk 15+ -" https://xdaforums.com/showthread.php?t=2190753&p=75097249 or scroll a little bit back...
[Android Apps and Games] jascolli:
It's available here

https://github.com/pec0ra/AdAway/releases
[Android Apps and Games] Srbija2012:
Legend... Thank you...
[Android Apps and Games] PerfectSlayer:
Keep it mind it's an unofficial build and [MENTION=3355398]mrRobinson[/MENTION] will distribute another "3.3" version when the fix will be merged.

And yes, we are still working on it. Big thanks to [MENTION=4466123]pec0ra[/MENTION] by the way :fingers-crossed:

P.S.: I'm still wondering how to differentiate my future builds to prevent bug reports on the main thread.

Maybe start a 4.x branch? Maybe start another beta thread? Any advice?
[Android Apps and Games] jcmm11:
Too late for the one you already put out but for future use

3.2 -> 3.2-ps (or 3.2.1-ps)
[Android Apps and Games] androcraze:
3.3.ps.20180122
[Android Apps and Games] Ultramanoid:
Why not finally drop the 'unofficial' from the thread title, turn this into the 'official' release ( which has been forever, de facto ), and add the 'unofficial' moniker to any build by anyone else ? Just applying the usual nomenclature conventions everybody is already used to.
[Android Apps and Games] PerfectSlayer:
Good idea to drop the unofficial title as [MENTION=3355398]mrRobinson[/MENTION] is an official maintainer.

The builds he posts in this OP are more like a beta builds before jumping into F-Droid market.

But I'm also an official maintainer and I will make an other kind of "beta builds" which include a lot of new features like:

New UI! No more deprecated ActionBarSherlock but AppCompat with hamburger menu. Application and activities was rewrote with an updated design,

Replace CWAC Wakefull by Evernote Android-Job to support latest battery optimization for planed task (hosts update),

Generic Systemless detection and support,

Up-to-date build tools and target SDK version,

Automatic build from Travis (still not signed),

Optimizations and bug fixes (memory leak or NPE prevention, resource always closed, ...),

And some other stuff I forgot because I'm dozens of commits ahead of AdAway/master.

As there is a lot of changes, I propose to start a new 4.x branch (even if this version will be compatible from the 3.x version).

In my opinion, this 4.x branch should live until to reach stable status. In the mean time, the 3.x branch should be maintained in the market for user who want a stable (and fully working ^^') app.

I like the [MENTION=5061138]androcraze[/MENTION] idea of including the date to the build name as the builds are automatic after each commit but I need to check how to set it in gradle configuration. So it could go with 4.x.y-YYMMDD-SHA1.apk format if you like the idea of a 4.x branch.

EDIT: I should take some time to upload screenshots here so you could need help to improve the layout of the app home screen :highfive: (the big install/update hosts button and toggles of running servers look old...)
[Android Apps and Games] guest4711:
Sounds promising, [MENTION=2822685]PerfectSlayer[/MENTION].

---------- Post added at 04:08 PM ---------- Previous post was at 04:08 PM ----------

Sounds promising, [MENTION=2822685]PerfectSlayer[/MENTION].
[Android Apps and Games] BakaB:
is there a host file to help block cryptos on mobile browsers? quick google search didn't turn up anything
[Android Apps and Games] jaggillararla:
How can I remove the ad placements in the sites? Adaway blocked them but the box with a white filling is still there
[Android Apps and Games] BakaB:
if you have xposed, you can install MinMinHide
[Android Apps and Games] carlese:
Minminguard.. Minminhide is for another purpose..