yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] SkapyTek:
Xposed isnt available for my device/rom/android version :rolleyes:
[Android Apps and Games] mitchdickson:
So buy Youtube Red.
[Android Apps and Games] osm0sis:
What were the new entries? Save us all some time. :)
[Android Apps and Games] SkapyTek:
Not available in my country :D
[Android Apps and Games] PerfectSlayer:
No worry, I'll share you my patched superuser.zip.

It's the original installation zip (so flashable through recovery) with patched su binaries (scripts/bin/su-x86 and scripts/bin/su-arm).

Here is the details about patched binaries so I guess it's 32 bits only:

$ file su*
su-arm: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked
su-x86: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked

They contains my two patchs for su --bind command (the first one and the second one). You could find them in the zip attached to the post ;)
[Android Apps and Games] androcraze:
I tried building these myself; the x86 was exactly the same size as your result, but my ARM version was slightly larger (476,204 bytes) and would crash. I didn't get any build errors, but I don't think I was targeting SDK API 19.

Do you have a quick BIND setup procedure that works for you? Or can this be set via the app now?

This, along with instructions on how to setup BIND with AdAway and this version of SU, will be earmarked so other users can benefit.
[Android Apps and Games] PerfectSlayer:
Do you use the NDK_TOOLCHAIN_VERSION=4.9 as I add in the build procedure? I had to add it to have a successful build.

For the bind procedure:

Copy the current host file: # cp /system/etc/hosts /data/data/hosts

Bind the system hosts file to your hosts file: $ su --bind /data/data/hosts:/system/etc/hosts (not as root!)

Reboot your device

Keep the default hosts file location in AdAway (/system/etc/hosts)

Enjoy (keeping your fingers crossed!)

I posted all commands about su --bind here. Keep in mind they only work with my patches (they are supposed to work out of the box, maybe in the future phh's releases).

The whole procedure should be handled by AdAway itself when I'll add the phh's SuperUser systemless mode support.

P.S: In the mean time, I fixed another issue in the install script. I hope all those fixes could help this open source su project to convince more users to try it. The next change I would like to make is to mount bind file without the need to reboot. So you could enable systemless mode without reboot ! :highfive:
[Android Apps and Games] androcraze:
I'm working from the command line during building (what's this IDE crap?!).

$ ndk-build clean

$ ndk-build NDK_TOOLCHAIN_VERSION=4.9

Again, I get no errors during build. I edited (patched) the relevant file. I was lazy, and unzipped the install zip, renaming and replacing the two su versions to su-arm and su-x86, and rezipping. It installed without error. It just crashes when I try to do anything root.

I don't know how to set the API level to 19. I'm guessing I'll have to add it somewhere, and not just the command line.
[Android Apps and Games] zoel.fahmi:
I'm using UC Browser, does it work on that too?
[Android Apps and Games] androcraze:
Yes. It should be system-wide.
[Android Apps and Games] osm0sis:
c2i-cdn.startappnetwork.com
c2i.startappnetwork.com

Worked for me! Thanks! :highfive:
[Android Apps and Games] patrickdrd:
3 questions please:

1) in dns logging I see some entries that don't make sense, e.g. kdtwgsdfgyer, ersdgsdfgyegsa, etc,

what are these? should they be blocked or not?

2) is the hosts file backed up too when we take adaway backup in titanium?

3) why are hosts-file & stevenblack sources disabled?
[Android Apps and Games] githyanki:
Don't know, please post a screen shot of that.

The host file is not, the host sources are.

Your screen shot shows them enabled, not sure what you mean by they are disabled.... And why so many host sources?
[Android Apps and Games] patrickdrd:
1) see attachment, what are these entries?

3) it's in greek but in english it says in both hosts-file & stevenblack that they are not available locally

hosts file becomes ~ 4,26mb when applying all these,

I don't think it's that big of a deal (maybe not all of them are in use anyway? ),

I wanted to be fully covered,

which should I get rid of?
[Android Apps and Games] androcraze:
The 3 default lists are plenty:

https://hosts-file.net/ad_servers.txt

http://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts

https://adaway.org/hosts.txt

I did a breakdown of the number of listings in each here: https://xdaforums.com/showpost.php?p=70217420&postcount=7888

You can individually blacklist any others that are problematic on websites that YOU visit.

When people ask if AdAway affects the phone's performance, the general answer is "no". As that hosts file gets bigger, that answer could potentially shift towards "yes". At 4.26mb, you're over double the file size of the default setup. I question whether you're actually getting any added benefit with all the extra listings.
[Android Apps and Games] NLBeev:
The hosts resources are maintained.

My hosts file shrunk from 2.01Mb to 1.73Mb.

No ads. Blocking unchanged.
[Android Apps and Games] mobile_sensei:
Is this version of adaway root?
[Android Apps and Games] patrickdrd:
all versions of adaway are root, since they require root in order to modify the hosts file
[Android Apps and Games] buatlo:
cool.... already install
[Android Apps and Games] I_<3_Anna_May:
Can I use adaway to block all websites on chrome, except those on the whitelist?

I apologize if this has been posted about already. I'm kinda new here, so I wouldn't be surprised if I searched for the answer to my question incorrectly.
[Android Apps and Games] androcraze:
Yes.

You have to disable "datasaver" or whatever it is as listed in Post#1.
[Android Apps and Games] TeHashX:
To block waze ads, add row-advil.waze.com to black list
[Android Apps and Games] I_<3_Anna_May:
I just want to make sure you understood me correctly. I need to disable access to all websites, not the ability to blacklist a website. I can already do that. Will disabling "data saver" make it so literally all websites not on the whitelist are blocked? Also, thanks for the response.
[Android Apps and Games] githyanki:
No. I don't think that adaway can do what your asking.
[Android Apps and Games] g104:
how to block ads for mx player free version?
[Android Apps and Games] ChazzMatt:
Thank you! I'll be driving this afternoon, will test it out. First time using personal blacklist item. Until now only been using the 4 default lists in Adaway.
[Android Apps and Games] TeHashX:
I'm not sure if it works, there are a lot more from waze, just try...

View attachment 3992944
[Android Apps and Games] marsian0:
[MENTION=686261]Annam[/MENTION]ay, You can achieve that by using a firewall, like droidwall.
[Android Apps and Games] patrickdrd:
where is this waze used?
[Android Apps and Games] harsh.:
No u can't block those adds.

U can instade use mx player pro :D
[Android Apps and Games] ChazzMatt:
https://www.waze.com/

Are you asking what Waze is (Google-owned, crowd-sourced navigation app) or where geographically in the world is the app used? I'm using in U.S.A.

It uses Google Maps as a base, but other users can report accidents, speed traps, hazards ahead of you that regular Google Maps does not have. It's basically "advanced" Google Maps.

But when you stop for traffic lights it flashes ads at you because it knows the car isn't moving and you are a captive audience. There's not a paid ad-free version available.

It started out as a 3rd party app but is so popular in mid-2013 Google bought them, after a bidding war with Apple and Facebook.

4 Reasons Google Bought Waze

http://mashable.com/2013/06/11/5-reasons-google-waze/#CRgqdNPTeZqK
[Android Apps and Games] bogdan1980:
Nice work
[Android Apps and Games] paplino:
omfg, i had absolutely no idea the sons of female dogs @ google retired adaway from google play... thank you guys so much for saving this software, especially since I'm planning a full wipe in a few days ! luckily, the community is stronger than said s-o-b's and there is nothing they can do about it.

anyway, philosophical question: why don't people understand that no one, nobody wants ads. nobody likes advertisements. nobody wakes up at night thinking "oh boy, i could kill for some ads right now !..." basically, embedding ads in software "to keep it free", is asking me to willfully submit to slow and methodical torture, for a piece of software, even though i bet the developer and google are aware that not even 1% of those ads get clicked. i think not even 0.1%. either they should find out a new method of getting their return-of-investment, or let the people block the obnoxious ads. blocking the access to ad blockers is like a slap in the face, just like saying "we know they are annoying, we know you don't give a cr.p about the latest offers for flights, or coupons, or whatever, we know you'll never click on them, but you gotta stick with them. don't even think about getting away"

i don't know about you, guys, but i will always block ads. from my phone, from my computer, from my tablet. that's the main reason why i won't watch tv. because there is a danger of seeing ads :)
[Android Apps and Games] xeraphael:
OR maybe you could buy the apps you use to get rid of the ads. Just a suggestion.
[Android Apps and Games] -SlenderMan-:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Thank you for this. At first I thought it wasn't available for my country anymore :P

Sent from your backyard...

Slender watches what you do...
[Android Apps and Games] mrRobinson:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Not every app offers that. Just FYI.
[Android Apps and Games] -SlenderMan-:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Not everyone have money. Even I don't. Some android users are just teenagers like me. Don't expect us to be working and having our own credit card..

Sent from your backyard...

Slender watches what you do...
[Android Apps and Games] hsasshofer:
Thank you

Thanks for keeping the app alive an kicking. Although I do understand Google and their customers that they want to get paid for their work. And do be honest, I have bought quite a few of them an donated for other Android software (my ROM, my kernel,...). But at least there ist still choice!
[Android Apps and Games] paplino:
Oh, like you ever stopped playing that game, or using that app, just to click on an ad. Omg, i'll stop throwing those birds into those bunkered-up pigs, because, hey, here's a good deal on potted plants, half price, only today ! No one clicks on those ads. They are just annoyances.

Conclusion: ...OR maybe you could block the ads, since it's your device and you can damn well decide what's running on it. Just another suggestion.
[Android Apps and Games] jafnh:
Alive and working. Nice job, thanks.
[Android Apps and Games] xeraphael:
Of course you have the right. It's just a little pointless to say that developers should find another monetization path, giving the impression that one is interested in rewarding the developers at all, when the fact is that some people are just determined to get what they want for absolutely nothing.
[Android Apps and Games] natezire71:
Re: [APP] [UNOFFICIAL] AdAway v2.3

If you don't have money, why do you have a nice smartphone? I'm a teenager too. A few dollars for an app you enjoy and use all the time is well worth it.

Autocorrected from my GNexus

---------- Post added at 09:11 AM ---------- Previous post was at 09:09 AM ----------

http://theoatmeal.com/blog/apps

Autocorrected from my GNexus
[Android Apps and Games] -SlenderMan-:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Erm. I've lost a few brain cells. I have a nice smartphone because my mother works ib SingTel, a Singapore Telecommunications company. We get discounts everytime we can recontract our plan and get a new phone. Also not all smartphones are expensive. That's one reason why peopoe buy android cause some of them is cheap and more functional than iPhone.

Edit: Also my parents bought me the phone. If not I wouldn't have any phone at all.

Sent from your backyard...

Slender watches what you do...
[Android Apps and Games] mrRobinson:
Let's not stray into a realm where mods need to come in here. This thread shouldn't be our battle ground to discuss why anyone would want to use an ad blocking solution or not. This is simply an app you can't get on the Play Store, made available for you to use or not as you choose.

Further discussion should try to focus on the merits of the app, questions on its features you think the community could help answer, issues you are having you'd like to see if it is just your device or the app (check official bug list link in OP as well), etc. :good:
[Android Apps and Games] RatusNatus:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Thanks for the app.
[Android Apps and Games] dudeluv:
Fantastic, Thanks
[Android Apps and Games] usualsuspec:
Great directions, rooted and unlocked! Question, if I want to stay on stock, do I have to do anything further so root don't get knocked off if an OTA update comes out?
[Android Apps and Games] Pons:
This sounds like a question for your device's Q&A section, since losing root (or trying not to) due to an OTA has absolutely nothing to do with an unofficial AdAway app (the purpose of this thread).
[Android Apps and Games] -SlenderMan-:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Erm. There's an app that backup root and restore after OTA updates. I'm not sure what's it called but go Google it.

Sent from your backyard...

Slender watches what you do...
[Android Apps and Games] anurag.dj2u:
Re: [APP] [UNOFFICIAL] AdAway v2.3

vodoo ota root keeper

Hit the thx button if i helped ya in anyways
[Android Apps and Games] txx3:
:silly:
[Android Apps and Games] 2uk3y:
i just added to host list. no problem here.
[Android Apps and Games] smeejaytee:
Still hanging on importing

Sent from my HTC One X
[Android Apps and Games] glehel:
adaway very best spam filter host file mode.

---------- Post added at 11:08 AM ---------- Previous post was at 11:01 AM ----------

I use F-droid update adawayapk source.
[Android Apps and Games] DeaN270:
Thanks for this app :) Android is better without ads :D
[Android Apps and Games] cocchiararo:
2.8 release works fine on my Nexus 4 with PA and superuser (koush) or supersu.

On my nexus 7 with stock 4.3, rooted now with supersu (i had superuser before), it fails to update the hosts file.
[Android Apps and Games] smeejaytee:
Tried about ten times now I cleared data then import hosts it starts to install and then just hangs what's the f-droid adaway apk

Sent from my HTC One X
[Android Apps and Games] vbauer86:
Does this app block youtube ads?

I dont have any app besides that where ads is really pissing me off.
[Android Apps and Games] goast:
This is where I'm getting stuck...on 2.8 and 2.7 and I'm on jellybam 4.3...I can't get past it..I clear app data both times.. Any help please
[Android Apps and Games] tmorterlaing:
OK, I could be wrong, and it may have even been covered- but it turns out (or looks like) if you flash crossbreeder then for some reason this app doesn't work. it installs and downloads fine, but then the hosts file is reset every reboot.

Yes, Im aware crossbreeder has it's own ad free element, but it doesn't seem to work as well as adaway.

Have I missed something?
[Android Apps and Games] jackdubl:
I assume you figured out how to add the host name. It's usually adaway adding an extra "http://". That host is hanging for me as well, but works great without it. Here's what I use(I check them all):
[Android Apps and Games] smeejaytee:
Hi I didn't at first no but after you just soff that I tried without the http:// and it worked I typed adblock.mahakala.is not sure if it worked yet haven't noticed Any difference about the hosts you have added in your screen shots could you link those in a txt file please so that I may import those too thanks for your help

Sent from my HTC One X
[Android Apps and Games] jackdubl:
https://github.com/dschuermann/ad-away/wiki/HostsSources
[Android Apps and Games] noidea24:
adfree

i never thought i would see an adblocking app that i loved more than adfree, but this.... this is amazing, one thing i noticed off the bat is with adfree, some downloads wouldnt work because it would redirect through adsites and then block it. this blocks all of them on my phone and i can download anything/everything without a problem!
[Android Apps and Games] BookCase:
AdAway 2.8 works flawlessly for me on Samsung Galaxy S4. I have not had issues on this device or on Kindle Fire HD or on MyTouch 4G slide or any other device. It hangs a bit lately, when updating but it always completes. +1
[Android Apps and Games] Smash41:
I can't get any version other than 2.3 to not hang on importing. Reverted back to that for now.
[Android Apps and Games] smeejaytee:
Could you upload please

Sent from my HTC One X
[Android Apps and Games] Smash41:
There is a link on the first page.

Edit - http://www.androidfilehost.com/?fid=9390355257214632395
[Android Apps and Games] cosmique:
I am getting apn crashed after activating
[Android Apps and Games] mroneeyedboh:
Does anyone know why Adaway kills my MMS ? Once installed it won't allow me to send or receive any picture mail..
[Android Apps and Games] jcmm11:
For what you want to do you need iptables rules. There is a learning curve.

There are front ends for iptables (which is built-in to Linux/Android) available in the Play Store. I have no recommendation on which one to use. Some possibilities would be Droidwall, AFWall+, DroFireWall, or FirewallPK+

I suspect that they're all very similar to one another. Since I think you'll need to set your own rules rather than just using the simpler aspects of the firewalls there will be, as mentioned, a learning curve. There are lots of online resources for setting up iptables rules since Linux tutorials should work just fine.
[Android Apps and Games] basily:
Anyone? Please help...
[Android Apps and Games] jcmm11:
Are you sure you're using the latest version?
[Android Apps and Games] basily:
From what i can tell, yes. Version 3.2 from November 19th. Is there something more recent?
[Android Apps and Games] pupido:
How can I remove the written advertisement?
[Android Apps and Games] magarto:
How can I remove ads in Facebook Lite?
[Android Apps and Games] tag68:
Through it into flames. Or use a rubber, if it is written with pencil.
[Android Apps and Games] jcmm11:
I'm at a loss for the moment. If you open SuperSU is there an entry in there for AdAway? Maybe you accidentally denied access somewhere along the line?

The unavailable systemless mode is a consequence of not finding root. But I have no clue why it doesn't see root
[Android Apps and Games] basily:
No, no entry at all for adaway in supersu.
[Android Apps and Games] githyanki:
Are you using Suhide or anything else to hide su from apps?

Is supersu installed in systemless mode?
[Android Apps and Games] basily:
No Suhide or anything like that. Just fully stock Nexus 6P with systemless root.
[Android Apps and Games] pupido:
Sorry, but I did not understand.

In the space where the advertisement should appear instead writing appears "advertisement".

How can I remove the written advertisement?

Thanks
[Android Apps and Games] seanskiT!:
Uninstall adaway and let ads fill the space...
[Android Apps and Games] githyanki:
LOL, yes, thats one way:)

The web site has allocated space for an advertisement. Adaway blocks the actual ad, but the space and anything that the web site has written in the area appears now. Theres no way to remove that area. Ad blockers on desktop web browsers are able to do this since they are integrated into the web browser, but on your phone this has not been implemented.
[Android Apps and Games] notorious.dds:
https://xdaforums.com/showthread.php?p=69328864#post69328864
[Android Apps and Games] patrickdrd:
any page to test if it's working on my browser?

I tried hitting a couple of pages from hosts file and my blacklist and they opened in my browser!

I used uc browser through WiFi, no cloud service was used, any suggestions?
[Android Apps and Games] tag68:
Never saw this. In which app is this the case?

AdAway only changes the hosts file. This means that apps asking the system to access some website by name do not reach their server because they access localhost (if you do not change the default in AdAway settings), where no webserver exists.

It may behave differently if you enable the webserver in settings which I usually do not use. But I did a short test and enabled it - not in the apps nor in a browser did that text appear. There was empty space, but no text.

---------- Post added at 06:13 AM ---------- Previous post was at 06:00 AM ----------

By using systemless root you usually do not modify the system partition. Won't your method by creating that symbolic link change system and for instance make OTA updates impossible?
[Android Apps and Games] rockingondrums:
Xposed Module called Minminguard removes the blocked ad space in apps. Not in browser. It was actually stated 4 posts after the OPs post.
[Android Apps and Games] jcmm11:
Switch to using Firefox as browser. Install Ublock Origin Adblocker.
[Android Apps and Games] RajneeshSingh:
great app thanks
[Android Apps and Games] harsh.:
I would rather use pro :p
[Android Apps and Games] pupido:
This is the app: https://play.google.com/store/apps/details?id=it.pinenuts.androidnotizie&hl=it

---------- Post added at 11:08 AM ---------- Previous post was at 11:04 AM ----------

I can't use that module because Xposed is not compatible with Nogaut.
[Android Apps and Games] pupido:
My problem is an app and not the browser.
[Android Apps and Games] tag68:
Never seen this in another app. My guess is that the author of the app programmed an element which displays the advertisement. It gets some default text and afterwards the contents is loaded. Then it gets displayed. AdAway does prevent loading the ad. But changing the hosts file does not change the app, and AdAway will not achieve this. To be honest, I don't see how any ad blocker should do that. Success will be difficult unless you modify the layout management of the app.

My recommendation: live with it or take another news reader.
[Android Apps and Games] pupido:
I just have to wait Xposed of Nougat.
[Android Apps and Games] notorious.dds:
Yeah, good point. In my case I'm already unable to do OTA updates because I'm still on the stock rom. However, this modification seemed to be the only way I could get Adaway on my Nexus 6p to recognize that my phone was rooted.
[Android Apps and Games] tag68:
Is there a reason that it is not possible to use mount -o bind for su binary like AdAway does for hosts file?

This would replace su without changing anything on system partition. But of course there must be a mechanism used like AdAway systemless to do this on every system start.

(This is a serious question, I'm not sure if su is part of managing mechanism for mount -o bind, at least for starting on system start, which may prevent this from working fine for su itself)
[Android Apps and Games] notorious.dds:
Not sure. I agree that it's a good thought towards solving the problem without modifying /system. I'm not able to play around with that idea at the moment. However, I'd be curious as to the results of someone does.
[Android Apps and Games] osm0sis:
That's what SuperSU does when it detects CM's root in /system
[Android Apps and Games] Pkt_Lnt:
It is the difference between IP served ads (Adaway can NOT block these) and DNS served ads (Adaway CAN block these.

IP is Internet Protocol numeric addresses like 202.458.15.9

DNS is Domain Name Service addresses like adserver.google.com

Devs have learned that using IP ads in their apps circumvents ad blocking.
[Android Apps and Games] tag68:
No it isn't. The ad does not get displayed when using AdAway. But the space for it is reserved and a text like "advertisement" displayed.