yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] androcraze:
I'm running the N5, PHH Root, nothing uses bind (I created a symbolic link):

su --ls <--"/sbin/su: unrecognized option '--ls'"

su --bind <--"/sbin/su: option '--bind' requires an argument"

su --bind --ls <-- Returns to the command prompt with no errors or output
[Android Apps and Games] Krowbarr:
Yes not working

SGNote2[/QUOTE]

Link isn't working:(

☞Owner/Operator Samsung E4GT running Dirty Unicorns 4.3 Powered by Blasphemy!

We were born in a time where if something was broken we would fix it and not just throw it away
[Android Apps and Games] mrRobinson:
Will let you know when link fixed.
[Android Apps and Games] Kaydin:
Remove the "http://" part from the link.
[Android Apps and Games] dhatch93:
http://http//d-h.st/cD6

just take out the extra "http//"?

...too slow... =D
[Android Apps and Games] FlanjeUK:
works for me

EDIT: haha last place but mines clickable ;)
[Android Apps and Games] tmorterlaing:
As previously mentioned my hosts file isn't sticking, even when i use the in built sym link option and install it into data/data. This is an issue with other apps trying to do this as well. Since my last post Ive actually restored my phone entirely (reformatted all the partitions) and re installed CM10.2 with Matr1x kernel (if that's relevant).

Obviously rooted and ran adaway as superuser. Any ideas?

(May have to start a new thread somewhere- I can't seem to find any instance of this before :s)
[Android Apps and Games] Koersten:
Download link has one http too much in it.:)
[Android Apps and Games] mrRobinson:
Fixed.
[Android Apps and Games] Jay Rock:
I get "there was an error parsing the package" if I try to install it
[Android Apps and Games] MatVekk:
2.8 ok in Huawei P1 with cm10.2

Inviato dal mio attuale Huawei U9200 P1 CM10.2 con Tapatalk 4

Samsung: tab 2, Samsung i5800, i5500, i7500, ace.

LG: p970, p990, p760, p500
[Android Apps and Games] uoY_redruM:
http://d-h.st/cD6

I just opened, corrected the spaces and pasted again. Looks like it formatted the address incorrectly is all.
[Android Apps and Games] Toastysoul:
Thank you for posting v2.8. :)
[Android Apps and Games] Prufta:
"Out of Space" Error

Great app, used on other roms but this happened to me for first time using Vanir rom 4.3.1.

I downloaded the apk tried to install it but it gave an error "out of space". Then tried to unistall some app but still gets the same error.
[Android Apps and Games] brylcio16:
I really don't understand, why ads are so anoying for you... I'm using many many aps with ads and it is never bad for me... It's not like in webpages where ads are everywhere and you can't click anything...

Please, tell me. Why ads on phones are so anoying for you?
[Android Apps and Games] Braneless:
It's all about personal preference. I'm sure the majority of Android users don't care at all...however, the people who specifically seek out this thread/app will have their unique reasons.

Myself, I can't stand the waste of real estate on the phone screen and often poor placement of the ads. There is nothing more irritating than accidentally clicking an ad when you're trying to read or play a game.

I've not used an un-rooted phone for any length of time but when I pick up my wife's phone to trouble shoot an issue and see an ad covering a significant portion of her screen, it is extremely irritating. If ad blockers were ever barred from android, I'd likely look elsewhere for a phone.
[Android Apps and Games] Brds7t7:
Depends where the ads are coming from and how they're used. I wouldn't want porn ads popping up while my niece is playing a game on my phone. Porn ads have popped up in legitimate games from time to time.

Also notification bar ads are incredibly annoying. Although Google has recently changed their policies for apps and those are being stopped soon.

Legitimate ads are okay but these ad servers do get abused. I'd be happy never to see another ad again! :D

Sent from My Calculator!
[Android Apps and Games] EP2008:
1) They take up bandwidth, especially when viewing websites.

2) They slow down my device.

3) I've inadvertently clicked on in-app ads and it's interfered with the app usage.

4) They take up screen space, which on a mobile device, isn't something we have a lot of.

5) They consume battery power (there was a study done on this).

6) They are a privacy concern.

7) They are annoying.

On the upside, I contacted the a company that posted a "You've won an iPad" ad in a facebook app I was using, and you know what? I got a free ipad 2 and a $50 gift certificate.... LOL... still, I'd rather block ads. :victory:
[Android Apps and Games] chrisxpratt:
because ads
[Android Apps and Games] EP2008:
What he said...
[Android Apps and Games] bartolinio:
Ads are always annoying
[Android Apps and Games] p1r473:
I am having problems with the latest preview build. My Pixel XL with Android 7.1 has Busybox Pro (installed to /su/xbin)

I am using SuperSU, which I believe is systemless on Nougat. In AdAway preferences, I have systemless checked.

I have enabled it, and since rebooted.

It doesn't seem to be doing anything, no ads are blocked, and it is always showing me that a new hosts file is available.

I am using Adaway 3.2 on stock ROM

marlin:/ $ which su

/su/bin/su

marlin:/ $ echo $PATH

/su/bin:/vendor/bin:/system/bin:/su/xbin:/system/xbin

Edit: I am having a hard time testing. Does anyone have a good site which makes a clear distinction if it's working or not? Additionally will it work if chromes data saver is on?
[Android Apps and Games] PerfectSlayer:
Okay so after some researches about how phh's SuperUser should work, here are the commands we are looking for:

- Mount bind hosts file (reboot needed):

su --bind /data/su/hosts:/system/etc/hosts

- List bind files to check if systemless mode is enable:

su --bind --ls

- Unmount bind hosts file:

su --bind !/system/etc/hosts

I did some test but I could get it work. It should create a "/data/su/binds" file with the mount points inside (that's why they persist, they are stored into data partition) but the mine keeps empty.

EDIT: I found my error looking at the source code. You must not run "su --bind" command as root.

Could you check if the "/data/su/binds" file exists or your device and what's its content? If not, could you run the command to bind as shell user (not root)?

---------- Post added at 23:11 ---------- Previous post was at 23:07 ----------

You must disable data saver on Chrome if you want to block ads on this browser.

Check the OP at the "Problems? Read this" paragraph. It's the first line ;)
[Android Apps and Games] Pkt_Lnt:
NO! Data saver feeds ads directly that Adaway can NOT block.
[Android Apps and Games] p1r473:
Ok I think it's working. Anyone have a good site to test with?

BTW, was it supposed to create a hosts file in both system/etc And system_root/etc? Should I delete one of them?
[Android Apps and Games] androcraze:
Created bind using "su --bind /system/etc/hosts:/data/su/hosts" (as user)

"su --bind --ls" returns "10023 /system/etc/hosts => /data/su/hosts"

Looking in /data/su/ via the Amaze File Manager, I see a "binds" file.

EDIT: FYI, I deleted the symbolic link, pointed the target to /system/etc/, rebooted the phone, updated AdAway hosts, then disabled AdAway.

My hosts file in /system/etc/ appears to be the 3-line default.
[Android Apps and Games] Pkt_Lnt:
shamu:/ $ su --bind --ls
2000 /data/data/hosts => /system/etc/hosts

"/data/su/binds" file exists and it contents are (had to use su to get access to /data/su in an adb shell)

shamu:/data/su # cat binds
2000:/data/data/hosts:/system/etc/hosts
[Android Apps and Games] sinoka56:
can anyone try this site

http://vidstream.co/download?id=ODg0Nzc=&typesub=Gogoanime-SUB&title=Keijo!!!!!!!!+Episode+9

can you see the ads? is there a host file that could block the ads, I have tried MoAb host file and it doesn't block it.

Thanks ! =)
[Android Apps and Games] androcraze:
From my desktop, I'm seeing these ad-servers blocked by uBlock Origin:

google-analytics.com

trends.revcontent.com

go.onclasrv.com

go.cartstick.com

danmeneldur.com

go.dropzenad.com

indisancal.com

You could try blacklisting them in AdAway.
[Android Apps and Games] sinoka56:
I added them but still see the ads

copying the address of the ad gives me this,

http://network.adsmarket.com/click/i2RrnGecqZaNY2qaX8p6w4iQa5tnpHuVj2SYnF6egJqLkGqaXp99l7dia5Zfm3qX

I added network.adsmarket.com and adsmarket.com to the blacklist but it still shows up.

and I have rebooted the device after
[Android Apps and Games] ogisha:
Like this?
[Android Apps and Games] sinoka56:
yes that, but on mine I still see it
[Android Apps and Games] lowreeds:
I know this has nothing to do with adaway but perhaps it may help someone.

I just wanted to say this issue is SOLVED for me. I had installed magisk and phh's superuser then switched to chainfire's method for root. I forgot to re flash the original boot.img after uninstalling magisk. I reflashed the stock boot.img and used chainfire root method again.

Now all is well.
[Android Apps and Games] adil144:
I'm on android 7.1 ROM and using adaway..... My playstore and YouTube isn't working.... It's showing no internet connection
[Android Apps and Games] Neo-ST:
New version of Tapatalk (6.3.0)...automatically installed recently, has ads that Adaway can't block.

I tried logging DNS requests with TCPdump, they seem to come from graph.facebook.com, but if I block that, then everything related to Facebook collapses, official app bugs out as well. It does stop the ads however.

Any suggestions ?
[Android Apps and Games] jcmm11:
Get rid of Facebook :D

It's evil. You must kill it. Kill it with fire.:victory:

Failing that you're probably or of luck. Find a Tapatalk replacement? Do you use it for more than XDA?
[Android Apps and Games] francyesco:
Minminguard
[Android Apps and Games] 0c0de:
Works like a charm on chrome
[Android Apps and Games] Neo-ST:
Yes... :(

That requires xposed, and I don't think xposed works on Lollipop Galaxy S5...
[Android Apps and Games] Nergal di Cuthah:
There's a samsung fork of xPosed for both 5.0.x and 5.1.x lollipops (arter97 and wanam respectively).
[Android Apps and Games] Neo-ST:
Found a link for arter97, but not for wanam's solution. Do you maybe have it?

Thanks btw.
[Android Apps and Games] Nergal di Cuthah:
http://xdaforums.com/xposed/unofficial-xposed-samsung-lollipop-t3180960/
[Android Apps and Games] uberbdon:
I did a search and found nothing about this specific issue.

I'm currently using a Nexus 6 on Nitrogen OS 7.1. When I hold down my home button to pull up google search, I tap in the search box, the keyboard pops up, and sometimes immediately and sometime after a couple seconds the keyboard will close and the search field will clear. I then have to re-tap the search bar and start over. It only happens once each time I search.

I've narrowed it down to AdAway being the culprit. Is there any specific address I need to whitelist to prevent this issue? Is anyone else dealing with this?
[Android Apps and Games] androcraze:
Why would AdAway "be the culprit"?

All AdAway does is consolidate a number of entries into the hosts file, then it goes away. It comes back based-on how you schedule it to (although you can make it very "static" and only run when you prompt it to).
[Android Apps and Games] uberbdon:
You're right my bad
[Android Apps and Games] uberbdon:
Welp... Everything was working fine after reinstalling the ROM. Once I reflashed AdAway the issue back. So unless it's a huge coincidence...
[Android Apps and Games] androcraze:
The lists that AdAway uses are "suggested". AdAway doesn't generate the server lists; other authors create them and AdAway simply imports. You can always disable one or more lists, or add your own lists.

If there's a server that's an issue, and you want to see what that server is:

- Enter AdAway, diable ad-blocking, reboot the phone

- Enter the AdAway app, go to Settings ("..."), select "Log DNS requests".

- Follow the directions

- Perform the function that is failing (maybe more than once)

- Review the log

I'm guessing thaat since it's a Google app/function, it's a Google ad-server.
[Android Apps and Games] uberbdon:
Thanks a ton. I'll give this a shot.
[Android Apps and Games] Neo-ST:
Works like a charm :)

Thanks

__________________
[Android Apps and Games] nemesi54:
I'm on AdAway 3.1 and I cant use nespresso app to order coffee if i don't disable AdAway.

I whitelisted, *nespresso.* , *nespresso.com*, api.nespresso.com* nothing

Disabled AdAway, enabled Log DNS requests nespresso app is working fine. Checked the log but there are numerous urls involved in there and i don't want to whitelist all this and also don't know which of them are causing the prob.

Also i'm trying to update to 3.2 do i have to uninstall 3.1 first ?
[Android Apps and Games] Matt07211:
I've been debating whether to disable chromed data saver. I've saved 25% of my mobile data with it turned, but am wondering will I save more data with it of and adblocoking enabled. Anyone whos gone through this particular thing, I would like to hear your opinions
[Android Apps and Games] androcraze:
My guess is that it probably will, but I can't say so with any certainty. It should save SOME.... Is saving 10% or 15% OK as long as the ads are eliminated?

After running AdAway for as long as I have, browsing with ads turned-on is a miserable experience; my browser view is cluttered, sluggish, and unmanageable.

Are you willing to pay a bit more for a better user experience?
[Android Apps and Games] p1r473:
I wonder if Data Saver will save less data than enabling AdAway, as some ads are high resolution videos, sounds, and pictures.

Maybe AdAway is a better data saver than Data Saver.
[Android Apps and Games] Matt07211:
Thanks for your input guys, looks likeill take the plunge.
[Android Apps and Games] Arthur4ik:
Systemless Adway does not Work on 6.0.1 + phh's superuser + magisk
[Android Apps and Games] mrRobinson:
Thanks for the detailed bug report. Can you further define "does not work"
[Android Apps and Games] ipdev:
I can confirm systemless option is not available using a custom aosp nougat rom (phh's systemless su built in) on my NookHD+.

I remember reading a few days ago about this (skimmed it since I normally use another su) and was looking to see what I could do to help.
[Android Apps and Games] androcraze:
[MENTION=2822685]PerfectSlayer[/MENTION] has started working on this, per these posts:

http://xdaforums.com/showpost.php?p=69877111&postcount=7623

http://xdaforums.com/showpost.php?p=69886613&postcount=7628

He's already gotten a couple of responses:

http://xdaforums.com/showpost.php?p=69886924&postcount=7631

http://xdaforums.com/showpost.php?p=69887377&postcount=7632

AdAway in systemless form is one of the few apps that hasn't worked with PHH's root; it works fine in non-systemless form. It's been an issue for quite a while, but I'm finally glad it's at least getting some attention.
[Android Apps and Games] arief.satriyo:
I just downloaded this, and getting "Parse error" when I attempt to install. If there is already workable solution posted somewhere could anybody pls point it out

Thanks beforehand
[Android Apps and Games] xabier-bo:
Hi "again"

I decided not to disturb as It was really not working.

Then the other day I got aware of a "funny" thing.

After flashing 7.1.1 AdAway started to work, but once at home, and after rebooting, it worked no more.

After repeating the whole process, and still not working, I realised that AdAway doesn't work behind a proxy!!!

So my bad not being aware of that (though it had worked for me in the past).

I share this just in case someone is in the same situation.

And now the question... Is there anyway to get AdAway working behind a proxy?
[Android Apps and Games] NLBeev:
Then point is that there are several kinds of proxies. The hosts file only works when the proxy passes requests/responses UNMODIFIED.

It seems to me that you are behind a proxy that uses authentication, decrypt and/or caching. The proxy is modifying stuff.
[Android Apps and Games] oneaty:
Phone crashes during hosts update

I'm furiously trying everything I can think of in updating AdAway hosts file, but when it comes to the "applying new hosts file" the phone suddenly reboots (without asking anything). Then I go to /system/etc and I can see that the hosts file hasn't been updated.

What have I tried:

1 - Installing busybox, but it also shows the same symptom (phone reboots without prior warning, and busybox is not installed)

2 - Turning SELinux into permissive mode, which I successfully did (getenforce shows Permissive)

3 - Tweaking folders and hosts file permissions into rw

UPDATE: I also tried XDA version (uninstaled Fdrod one, reinstaled xda apk) but the systemless option is greyed out.

My device/OS

rooted Samsung SM-G360M, Android 5.0.2

I appreciate any help on this issue.
[Android Apps and Games] PerfectSlayer:
Hey, I would like to spend my nights adding support for su method I don't even use but at least, fill a detail bug report if you want I help you…

Remember systemless mode activation is only supported for chainfire's SuperSU. phh's SuperUser is not supported yet (I'm working on it).

By the way, if systemless could be detected if phh's SuperUser and Magisk are installed (but you could not control its activation as it's handled by Magisk).

I'm currently adding support for phh's SuperUser to allow user without Magisk to activate/desactivate systemless mode for AdAway.
[Android Apps and Games] belloni:
I just flashed latest pixel image and I can't even install this app now I'm rooted? Anyone else finding this?
[Android Apps and Games] androcraze:
What error message is it giving?
[Android Apps and Games] belloni:
It's worked now, weird! Thanks though.
[Android Apps and Games] Akhilesh S V:
Am I the only one who has noticed this updated version of AdAway blocks YouTube ads

I know we need Xposed framework for that but just want to confirm.
[Android Apps and Games] Voluptuous Watermelon:
Black listing an URL

Hello, I have a question regarding the use of black list feature of AdAway.

I am a frequent visitor of a website that uses particularly aggressive advertising (which is filtered by AdAway quite well). Recently they started using JavaScript code that covers the content for anyone who uses ad filtering software. I know the location of the script, but since they occasionally change the name of the script file itself, I would like to filter the whole folder. I can do this on PC version of uBlock by simply placing the folder URL into the filters list. If I try to do the same on the AdAway black list I am told that this is not a valid hostname.

Any ideas?
[Android Apps and Games] androcraze:
Nothing has changed in the way that ads are blocked: AdAway is still only blocking ad servers through the hosts file. If YouTube ads are gone for the time being, great. Generally YouTube bypasses hosts, so anything you're not seeing now will probably be temporary.
[Android Apps and Games] Akhilesh S V:
:) Thanks for clarifying
[Android Apps and Games] AndroidHtc101:
And to block those very annoying YouTube ads install Xposed Adaway :)
[Android Apps and Games] androcraze:
AdAway only plays with the hosts file. The hosts file only accepts server names, not URL links to folders or files. So no, not through AdAway.

I'm sure there's an Xposed module for this, as there's a module for everything else.
[Android Apps and Games] PerfectSlayer:
Hi all,

A quick update about the support of phh's SuperUser.

After some research about how to use it, I found a bug in phh's SuperUser su binary: you can't remove bound files, you can only add and list them.

I fixed it (with few other things) and make a pull request on the Github project.

I hope it will be merged soon so I could continue its support for AdAway :good:
[Android Apps and Games] oneaty:
Adaway not working

Hi,

I'm trying to get Adaway work, but whenever it updates the hosts file, it reboots without warning and I can confirm that /system/etc/hosts was not updated.

I'm running rooted Android 5.0.2, SuperSu 2.78, TWRP, on a Samsung SM-G360.

The strange thing is that Adaway seem to have successfully updated hosts file once (probably when I installed it), but it repeatedly fails from that point on.

I see a bunch of post here in this thread, but I'm confused as to where should I begin with.

I appreciate any help.
[Android Apps and Games] NLBeev:
Do you've the latest version of AdAway installed ?

If yes; try the previous version 3.1.2, because you are still using Android 5.x

http://adaway.en.uptodown.com/android
[Android Apps and Games] oneaty:
Yes, I had the latest XDA version. I unistalled it and installed the one you've limked, but the issue remains when applying the new hosts file, and systemless option is greyed. I also tried to manually move a new hosts file to /system/etc and the same thing happened: the phone rebooted.
[Android Apps and Games] NLBeev:
So writing to the system partition caused reboot.

You could try to use the 'disabled' option of AdAway. Then an empty/default ''hosts' is written to system/etc.

When there's no reboot, it's possible that there's not enough space on the system partition.

Try to delete not used system apps and input languages.
[Android Apps and Games] oneaty:
Disabling in AdAway also rebooted the phone.

But manually moving an empty hosts file to /system/etc was ok! (1-Creted empty hosts on sdcard; 2 - with root explorer, renamed existent hosts file to hosts.bkp; 3 - moved empty hosts file to /system/etc)

In case it helps, I attached mount results

UPDATE: running the AdAway version you suggested before
[Android Apps and Games] NLBeev:
There's nothing about system/etc/hosts in mount.txt.

Special is that you can write and change files in System/etc, but AdAway can't.

My last idea is as follows:

Make a hosts file manually. Download from the sources mentioned in AdAway.

Put the self-made 'hosts' in system/etc and uninstall AdAway.

Reboot - hopefully there are no reboots.
[Android Apps and Games] oneaty:
Sorry about this, but actually manually doing a touch hosts in /system/etc didn't work :( What happened is that when I issued touch hosts, the terminal acted as if it was successfully accomplished. But I forgot to do a simple ls to check of it was there...

According to this, I won't be able to do what you suggest.

Do you think it's still worth trying to get some room in \system?

As for the mount file, should /system/etc/hosts show in mount? How would I do that? Editing fstab like other linux distros?

EDIT1: I tried to move a system app (youtube, I don't use it) but the phone reboot and the app is still there. What's happening?

EDIT2: I tried uninstalling the same app in Titanium, guess what, reboot.
[Android Apps and Games] NLBeev:
Because you use Android 5.x and a recent version of SuperSU (2.78) it is possible that the system and su do not match. It seems to me that AdAway is not the cause of reboots.

The only thing I can suggest is a factory reset and after that rooting with a previous version of su that fits the Android version 5.x
[Android Apps and Games] oneaty:
Definitely ...

I'll try that.

Anyway, I really appreciate you're help. Best regards!
[Android Apps and Games] jerryn70:
Why this is not blocking redirecting and vibrating ads ?
[Android Apps and Games] oneaty:
For the records, I did what you suggested and, this time, I have SuperSU v. 2.45.

So far, so good: AdAway updates hosts file, asks me to reboot, and when I go into /system/etc I can see hosts was updated.

I'm still puzzled for one thing: the first time I installed AdAway it worked fine, and this was just some two weeks ago, soon after I root my phone. Not sure if something I installed after that could have blown things (installing TWRP, updating SuperSU although I do not recall it...).

Anyway, things seem to go smoothly now, so, once more, thanks for the help, NLBeev!
[Android Apps and Games] androcraze:
They're probably oscillating too quickly;)

What's a "vibrating ad"?
[Android Apps and Games] NLBeev:
Nice to see your device is working including AdAway.

It's thinkable that the 'puzzle' is caused after updating supersu. From version 2.6x there are changes to make su work with Android 6 and 7.