yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Rated R:
Mmm, today i have found problems again with google play music + adaway with webserver enabled + mobile data.

It seems that webserver hasn't been working...
[Android Apps and Games] JAYNO20:
I am seeing ads in some apps that are showing because of "graph.facebook.com" if I block that the ads disappear, but then my facebook stops working... Is there any way around this (besides uninstalling facebook)?
[Android Apps and Games] Ja_som:
Why not uninstalling FB, you can use other app, e.g. Swipe for Facebook
[Android Apps and Games] JAYNO20:
I don't really like any of the other applications. The Facebook app is the one I need to stick with.
[Android Apps and Games] Ja_som:
Then, probably you need to choose, ads or FB app.
[Android Apps and Games] Pkt_Lnt:
Ha!

Rock -> you <- Hard Place.

:D
[Android Apps and Games] JAYNO20:
lol this is pretty much what I figured. Just wanted to make sure there wasn't some secret work around. :good: :laugh:
[Android Apps and Games] jcmm11:
Do the apps showing ads need internet access? If not you can install a firewall (AFWall+ is one possibility) and prevent them from any internet access, which will kill the ads.

I'll keep my Facebook comments to myself (kill it. Kill it with fire)
[Android Apps and Games] JAYNO20:
Tried that as well. Both apps doing it say they need internet access and just close if you prevent them from connecting to the internet.
[Android Apps and Games] Ultramanoid:
Well, yes. Not using adware.
[Android Apps and Games] xdeluxxe:
Same

I have the same problem. Tried to clear the Instagram Cache didnt work. Disabled Adaway-> Instagram worked-> enabled adaway-> instagram works
[Android Apps and Games] gregfrankenstein:
Yay, I'm not completely bananas. I had even tried uninstalling and reinstalling Instagram, but the only thing that did the trick was turning AdAway off and on.
[Android Apps and Games] xdeluxxe:
Yeah also tried to reinstall Instagram. Will see if this problem is going to appear in the future.
[Android Apps and Games] PerfectSlayer:
Hi all,

I come back after few hours of the systemless feature testing for phh's SuperUser.

I encountered the following issues:

bind mount hosts file should be accessible by AdAway application process. So the hosts file cannot be located in /data or /data/data for example. It will be located in /data/data/org.adaway/files folder,

The command su --bind --list returns bind mount file list on error output. So my grep failed to check the mount until I found I have to redirect stream (I think I'll send a PR about this…),

SuperUser bind mount a copy of the hosts file (located in /dev/su/bindX). The copy is done on boot so reboot will be required after an host update,

And hosts file location settings should be set to custom location (if I leave the default settings, only the copy will be updated).

I think I have squashed most of the bugs by now. I still have to test if I have not broken the SuperSU support but [MENTION=3355398]mrRobinson[/MENTION] should receive my update soon! :fingers-crossed:
[Android Apps and Games] tag68:
When doing support for phh superuser it may be a special obstacle if /data is mounted via f2fs and the fix for broken f2fs is not active. Then the loopback device being used for RAM disks and maybe mount bind command could behave differently. Currently phh superuser (not topjohnwu version) is the only systemless root capable of doing such a beast (like Moto Z series, at least Moto Z and Moto Z Play have this problem).

It may not be the right idea to circumvent broken drivers for some filesystem, but they are very common these days. f2fs is much faster, every one wanted to use it, but none knew it behaves wrong.

If new AdAway is not working fine with f2fs on data partition, it would be good to know how it misbehaves.
[Android Apps and Games] :
AdAway is working fine (also together with phh superuser) with f2fs on data partition @ OnePlus One and 3, at least for me.

Never had any issues with AdAway now for ages
[Android Apps and Games] tag68:
This is not the point. PerfectSlayer is working on a solution for systemless. AdAway is working in a better way, leaving /system untouched.

Are you sure you did use this function? How did you do that, if it was not implemented?
[Android Apps and Games] flocke000:
I use AdAway systemless with Magisk and phh superuser.

There is an option inside Magisk Manager to enable a systemless hosts file (I assume Magisk does a similar bind mount as AdAway with SuperSU).

I don't really get why we would need a AdAway-internal solution if Magisk can handle the mount for us ...
[Android Apps and Games] NLBeev:
For users without Magisk.
[Android Apps and Games] dieccast39:
Hey all i have the latest tapatalk and adaway doesnt block ads! Anyone else confirms this?

Στάλθηκε από το D6503 μου χρησιμοποιώντας Tapatalk
[Android Apps and Games] Ja_som:
Try to search in this thread...
[Android Apps and Games] flocke000:
Yeah, of course we need a solution for users without Magisk.

What I mean is why work on expanding AdAways internal systemless support to Magisk if Magisk Manager can already handle it.
[Android Apps and Games] githyanki:
They are trying to make sure it will work with all root solutions, of which magisk is one of. It may work with magisk now, but they want to be sure the solution they find for others that do not work does not break magisk.
[Android Apps and Games] Zerokj:
There is a few apps that AdAway doesn't block the ads.

Hostfiles updated.
[Android Apps and Games] tag68:
I'm not sure to if it is necessary, but for different reasons. But if it gets implemented, these critical circumstances should get checked to avoid that it worsens things for users of many devices.

Magisk does not work on device with broken f2fs. SuperSU systemless does not work on device with broken f2fs. Only possible systemless root is phh superuser without Magisk. So if you want to stay systemless and avoid modifications of /system, it gets really difficult using AdAway. My current option is DNS66 which works on a similar way like AdAway (just using DNS instead of modifying hosts file), and I'm not sure if I will return to AdAway (which I like very much). The disadvantage of DNS66 is that you can't use it while in a VPN. The advantage of DNS66 is that you can turn it off for special apps. In case of AdAway it is more clear and easy to analyze what happens if some site can not be accessed, or if some ad does not get blocked.

Disclaimer: The experience which systemless root runs fine and which not are on Moto Z Play and may differ on other devices.
[Android Apps and Games] jerryn70:
Traffic junky ads are now not blocking. :eek::confused:
[Android Apps and Games] NLBeev:
Yes, I had the same. Restored the previous version of Tapatalk and blocked the auto-update.
[Android Apps and Games] dieccast39:
Block autoupdate of adaway?
[Android Apps and Games] tag68:
The support is not for Magisk. The support is for phh superuser. The topjohnwu version of phh superuser used for Magisk 10.2 did differ in quite some significant places, at least phh superuser works fine with broken f2fs on Moto Z Play, while topjohnwu does not.

With Magisk 11 things got separated better: Magisk has its own rooting solution! The support which PerfectSlayer implements is not for Magisk. It's for phh superuser, which now fortunately is a completely different thing.

It may be interesting to also detect and support Magisk in AdAway, like:

Magisk root ist active. Magisk Systemless hosts is active/not active. For change of this setting please use Magisk Manager

(while I have no idea if this is possible, or maybe integrate Magisk Manager systemless hosts setting in this place?)

Eventually a warning in AdAway could be a nice idea. "You are not using a systemless solution for hosts file detected by Adaway. Please be aware that system gets modified" when activating and neither SuperSu systemless nor phh mount bind by AdAway nor Magisk systemless hosts is active - and a possiblity to cancel activation of AdAway. But this is just some additional feature which is not that important for me. Usually I know what I'm doing - and currently I'm using DNS66, not AdAway :)
[Android Apps and Games] flocke000:
Thanks for clarifying, I always thought the solution was intended for phh+Magisk.

I agree with your suggestions, AdAway should handle SuperSU and phh internally. In case of Magisk it should just show a message or maybe redirect to Magisk Manager (if that is possible).
[Android Apps and Games] NLBeev:
No -Tapatalk is blocked. To prevent auto updating. Now using TT version 6.4.0.

No ads, since several weeks.
[Android Apps and Games] Emin015:
How can prevent ad blocking of specific apps? The whitelist option asks for hostnames, and I'm not sure what they are.
[Android Apps and Games] NLBeev:
The hostname is a part of a so called URL.

For example: http://www.marketingtips.com.

The hostname is the URL-name without HTTP://
[Android Apps and Games] Emin015:
I see. How can I find the URL of a specific app that I want to whitelist?
[Android Apps and Games] NLBeev:
AdAway -> 3dots menu -> Log DNS Requests.

Than run the app concerned and take a look in the log.
[Android Apps and Games] Emin015:
Thank you so much, it worked.
[Android Apps and Games] Robert342:
Hello. Can you add firewall for mobile data and Wi-Fi to AdAway? Cheers.

Sent from Oukitel K10000 (Android 5.1)
[Android Apps and Games] githyanki:
Use afwall
[Android Apps and Games] banesi:
md5 doesn't match from first post and actual download, also virustotal is not happy about it

anyway, seeing ads since I upgraded to newer rom, tcpdump ain't helping, not sure what's happening
[Android Apps and Games] jcmm11:
It's not an md5. It's sha1 (shasum), and clearly labeled as such.

Virustotal is fine with it, except for Symantec. Which says more about Symantec then anything else. You get 5 flags, out of 56 possible. 1 is gray.adaway. I assume gray is questionable, as opposed to white (good) or black (bad).

3 are flagged as pua (potentially unwanted program). Which leaves the choice up to you. And then Symantec. Which is just flat out a false positive.

Look at who flags in Virustotal, and who doesn't. If all the top programs flag it as green (as happened here) I would say it's fine.

As to not working, where are you seeing the ads? How big is your hosts file?
[Android Apps and Games] renavito4:
Perfect
[Android Apps and Games] :
[REMOVED]
[Android Apps and Games] Ultramanoid:
There is nothing to fix. Not that a developer can be told to fix anything ( by forum rules, read them ) and if you search through the thread before asking ( also a forum rule ) you might find how to 'fix' it yourself.

Finally, this is a hosts file manager, and it works as such, there is nothing broken, read how to apply a hosts file and what it is useful for.
[Android Apps and Games] :
Read through a few pages of the thread even tried searching for keywords. Found nothing. I wasn't demanding the dev fix anything, just requesting (notice how I said please). My bad anyways.
[Android Apps and Games] Pkt_Lnt:
Adaway can block DNS served ads that are linked by an app.

Adaway can NOT block IP served ads that are imbedded in an app.
[Android Apps and Games] IAmLucky:
Anytime this app will be updated? I have few problems with it and I would really like to suggest an improvement. I am on latest adaway app. I have trouble with log DNS.
[Android Apps and Games] androcraze:
What issue with logging DNS? Has that been reported in here before?
[Android Apps and Games] IAmLucky:
Well, log DNS function works properly, but app lacks needed features. In example: When Im in app and click log DNS, I go to the list, then minimize adaway and browse in websites, then I go back in adaway I check all websites which can be blocked, so I scroll in the middle, and I see one DNS which I don't know so I click to open it in browser, I check what this website is, and then I go back in adaway and my screen is on top of the list... I need to scroll back again in the middle to find that DNS which I want to block again... Simple fix would be that when I'm in log DNS list screen it would stop automatically updating, so it would only update just when I click button 'refresh' as when I minimize adaway app, it refreshes all logged DNS.

Another example would be: I want to filter all current DNS which contain word 'ad' but I can't do that. I need to scroll for every link to see if it contains 'ad'. It would be a lot easier to have a search, so I can type 'ad' and it would pop up all links in the list which contains word 'ad' in.

Third example would be if I could log DNS just for certain website, let's say: YouTube.com. So it would show all DNS which comes from that exact website if possible to do this.

Fourth example is kind of minimal: When I long press DNS link it suggests me to 'open in browser' but in 99% of cases, when you visit this link, this website will be blank page as it has nothing inside it. So why not making this 'open in browser' thing to work like 'Find using Google' so instead of opening link it would search this link on Google?

One small suggestion: I would like to have an option to 'Log DNS after reboot' check box.

I am also wondering, what those 'DNS' are which are not in link form? a lot of DNS comes like 'ads.Google.com' but I have a lot of DNS which contains random letters like this: 'tphelqyrtqftq' and its nor website nor anything lol. Virus? or popup?

Sorry if that's too much, but I am kind of android guy, I really like to have a lot of useful features. Its OK guys if you are busy, I understand, but maybe this might be implemented some day :)
[Android Apps and Games] azpik:
Is there any way to add some sort of quick disabling adblock functionality? When you switch it on, the app copies host with all records in its cache and restores the original host file. Then when you switch it off host with all records from cache returns back in place of clean host file without downloading and compiling new one. Quick and easy. Sorry for my english.
[Android Apps and Games] Skull97:
The reason why there is no such function because it useless and to help you have the newest host file. You still can do it manually anyway

1. Apply AdAway

2. Go to /system/etc and copy the host file to somewhere else

Then you can revert back. When you need to use AdAway again, just copy that file to its original location.

.
[Android Apps and Games] githyanki:
You may be able to set up a tasker profile to move the host file around as you need.
[Android Apps and Games] Skull97:
But I will need a paid app right?
[Android Apps and Games] githyanki:
I don't remember if tasker was a paid app. I think it was a small amount....
[Android Apps and Games] osm0sis:
Automate is like Tasker but free... but still I don't see much of a point in this since you require a reboot to make any Linux host file changes take effect, so the extra 10 seconds of wait while it builds a new hosts file is nothing compared the reboot.
[Android Apps and Games] Skull97:
I don't know but for me, even if I don't reboot the host file still work. And yes, there is no need to to that, I just given him a method since he's asking :D
[Android Apps and Games] jcmm11:
You can also just start a terminal emulator, unmount /system/etc/hosts. To re-enable just run the AdAway script in /su/su.d

And I also don't need a reboot for hosts changes to take effect
[Android Apps and Games] azpik:
Thanx for the ideas, but why are you using adaway instead of own bash scripts? I don't know how it may work, but on all my devices modified host begin to work immediately after change. This 10 seconds is annoying sometimes and if this app is a host manager I think it will be useful feature. All problems may be solved in different ways. I don't use any tasks or automate apps - I don't need them. Installing it, tuning it, for 2 taps... So no - ok no.
[Android Apps and Games] PerfectSlayer:
Hi all,

I just post the PR on GitHub to [MENTION=3355398]mrRobinson[/MENTION] to add the support of systemless for the [MENTION=1915408]phhusson[/MENTION] 's root.

Now you should be able to enable systemless mode if you have phh's root without Magisk :good:

In genereal, I add way to detect root implementations and code enabling, disabling and check features for ChainFire and phhusson implementations. We should be able to add any new implementation faster the next time.

For those who have enable systemless with manual commands, disabling the option will work (except your systemless hosts file won't be cleaned).

For those who use Magisk, systemless mode should be detected but can't be enabled/disabled (you should use Magisk Manager to do this). So the option will be checked but disabled (grayed).

And for those who use SuperSU, everything works as before.

In case of systemless mode with phh's husson, keep in mind you will need to reboot to apply the hosts update. More details in my previous post. Moreover, you will need one of the latest versions of phh's root to have my patch about mount bind. I let [MENTION=3355398]mrRobinson[/MENTION] make an official build and have some tests with it. I hope you could enjoy it soon ;)
[Android Apps and Games] androcraze:
Thank you for all of the hard work.

When you say "latest" with PHH's root, do you have a particular target version?
[Android Apps and Games] PerfectSlayer:
Not really (that's why I did not mention it). As you could see, the changelog stops after the 31 Jan 2016 and my patch have been merged the 11 Dec 2016...

So a zip coming from his build server after this date I guess! ;)
[Android Apps and Games] mrRobinson:
Will get this merged and test build out. Thanks!
[Android Apps and Games] androcraze:
Someone with the ability to build could provide a temporary solution in the meantime ;)

You built an earlier PHH su version, but there were some things in it identified as "bugs" that weren't. Is there something "in-the-wild" that's a little more current?
[Android Apps and Games] mrRobinson:
Dev build of Adaway up in OP. Might hit XDA Labs soon as well.

if phh doesn't even have a current build why is anyone choosing to use it over SuperSu? I might be out of that loop.
[Android Apps and Games] tag68:
Neither SuperSU systemless nor MagiskSU install when /data is formatted f2fs and loopback fix is not active. phh superuser is the only systemless root working under this circumstance like on Moto Z devices.
[Android Apps and Games] androcraze:
PHH has a simple implementation. It's been working fine with everything BUT AdAway in systemless mode; it works fine touching /system/etc/hosts.

It's open source, and you can see exactly what it does in the code. No secretive corporations.

To those who use it, it's a no-brainer; others scratch their heads. I'll pick it first over other options.
[Android Apps and Games] IAmLucky:
you can just click "disable ad blocking" and it will revert back to original hosts file.
[Android Apps and Games] tag68:
The request was to add "enable using last downloaded files" without doing the download.

If the reason is lack of Internet or restricted data amount or impatience is unknown, but I think it doesn't matter. It may make sense under some circumstances. If it would have been available, I'd been using it when doing tests with and without ad block. But I'm not sure if it's really worth implementing. Workarounds have been mentioned.
[Android Apps and Games] Psyscope:
Is there a change log for the new developer version?
[Android Apps and Games] patrickdrd:
nothing important I guess (for me at least):

New:

3.2

* Systemless root support – extensive work by PerfectSlayer

* Improvements to root mounter – by sanjay900

* Translations updates

* Various updates for support on Android 7.x

strange that app cannot be updated from inside it's own ui

(I unistalled f-droid immediately after installing adaway, since I didn't/don't care about any other of their apps),

adaway should have an option to update itself I think...
[Android Apps and Games] Ja_som:
You can also update it via XDA Labs app, it is also good to browse XDA forum, if you are active ;)
[Android Apps and Games] androcraze:
Updates are sooooooo frequent with this app....

Why is there even a need to update? Either the app works on your device or it doesn't. Usually, updates are for compatibility purposes; if AdAway is working on your device, why worry? All it's doing is tweaking the hosts file; you just need to set it once and "walk away".

If AdAway was undergoing significant, regular security updates, then I'd prefer a "There is a newer security release for AdAway available". I'm hesitant to be cheerful about auto-updates that reside outside established repositories. To me it's "too many hands in the cookie jar", with that jar being my near-and-dear phone.
[Android Apps and Games] tag68:
If you installed F-Droid version I'm afraid you can't update using xda. F-Droid does a compile itself with different signature, it doesn't keep the dev's signature. You need to uninstall the F-Droid version and install the xda/original version. Then you can update using xda.

You may try, it should give an error. I made some suggestion how to better deal with this circumstance but iirc no different behavior was implemented.
[Android Apps and Games] Ja_som:
Yes, but I do not use F-Droid, I'm on XDA, so I use XDA version and XDA Labs...

But it is also not so hard to uninstall F-Droid version and install this one...
[Android Apps and Games] tag68:
Please scroll up. You gave patrickdrd the hint he could use xda for update. He said he installed AdAway and afterwards uninstalled F-Droid. So which version does he use? Which hint was missing on your side?

That's fine if you know

1. That you have to do it

2. That there's a function for exporting and importing your lists which you should use before uninstall

Please, if you give hints, don't give partial information which is correct but misleading. Or at least tell which parts you omit in case you don't know them exactly.
[Android Apps and Games] Pkt_Lnt:
That is an Android security feature that will not and should not change. That protects users from someone who has kanged an app into a malicious one. App signatures must always be checked and only updated if they match. Imagine if someone made a malicious Google Search app with it's 1,000,000,000 - 5,000,000,000 downloads and all updated! Security is more important than uninformed user convenience. :eek:
[Android Apps and Games] Ja_som:
[MENTION=6192363]tag68[/MENTION] yes, yes, I forgot that I'm here on XDA DEVELOPERS forum, where no one knows that he need to uninstall app from different release when he can't update it and also do a backup of things what he wants before uninstall...

I only wanted to say, that AdAway is available on XDA Labs if he don't like F-Droid...
[Android Apps and Games] tag68:
I did not want to change this. Search in this thread, the discussion is quite long. All I wanted was a bit guidance for the user about his options instead of a naked fail message. But it would not be implemented in AdAway, it needs to be done in xda one - in the thread to xda one I mentioned the suggestion also. That developer could leave messages on special signature changes like "if you want to switch from F-Droid version to original one, you need to uninstall and reinstall. Using export and import lists will help keeping your settings."

You really think chaos will come having an additional hint to the user?
[Android Apps and Games] Pkt_Lnt:
I'm not much on 'reduction to the ridiculous" arguments.
[Android Apps and Games] tag68:
You just picked the worst option to deal with the problem and showed what could happen. This is not better, just wanted to put a mirror on you, sorry for this ;)
[Android Apps and Games] Pkt_Lnt:
I'm devastated. You just ruined my life. :) :good: :victory: :cool: :highfive: :D

I guess I should turn in my resignation to XDA as a Recognized Contributor huh?