yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] mrRobinson:
Yea just run "su" and hit enter.

then

ln -s /data/hosts /system/etc/hosts

if it says file exists then

rm /system/etc/hosts

ln -s /data/hosts /system/etc/hosts

I do recall reading that android was going to lock down write access of /system in future versions even for those rooted. of course there will be ways around it but there is a chance you have root and don't have write access to /system. the symbolic link should work though per above.
[Android Apps and Games] devilrulz4ever:
http://hosts-file.net/ad_servers.txt

Still down, here.

Tapatalk'd from my Note 2 running Resurrection Remix. Kernel:Agni, Recovery: TWRP.

---------- Post added at 08:59 AM ---------- Previous post was at 08:57 AM ----------

One more question, if i remove a source url from adaway does it also remove the corresponding addresses from the host file?

Tapatalk'd from my Note 2 running Resurrection Remix. Kernel:Agni, Recovery: TWRP.
[Android Apps and Games] mrRobinson:
Not still down... Was down, then was back, now down again. And yes it will remove the hosts.
[Android Apps and Games] Mike B.:
Remember that nothing says that you MUST update your source lists daily. In practice, those things are not edited all that often and most edits are unlikely to be relevant for most users. You could probably update only once monthly and not even notice a difference.

If you liked the hosts file you had before hosts-file.net apparently started acting up, just restore /system/etc/hosts from a recent backup (you DO make regular backups, right?) and avoid updating until you can verify that http://hosts-file.net/ad_servers.txt is alive and well (try it in your browser, or ping hosts-file.net, for example).
[Android Apps and Games] devilrulz4ever:
[/COLOR]

I installed a new ROM, so i need that server to work, ads are showing up in some apps. How do I retrieve the host file from a twrp backup?

Tapatalk'd from my Note 2 running Resurrection Remix. Kernel:Agni, Recovery: TWRP.
[Android Apps and Games] Mike B.:
One way would be to temporarily restore the old ROM, copy the hosts file to a safe (external?) location, then restore the new ROM. It shouldn't take very long with TWRP. Next time, you may want to copy anything from /system that you might want later (hosts, build.prop, scripts, media files, etc.). I usually copy the entire /system to an OTG drive , just in case... ;)
[Android Apps and Games] LittleJakub:
in the end figured out that M Preview 3 gives no access to /system (even with root) - need adbd insecure OR simply create the symlink in recovery :good:
[Android Apps and Games] Mike B.:
Ah yes, those new "security" features. Have no fear, there will be a simple way to disable that by the time Marshmallow matures. ;)
[Android Apps and Games] nick_white:
If you blacklist or whitelist something, you have to rebuild the hosts and the current implementation fetches the source lists then.
[Android Apps and Games] Mike B.:
Yes, but you probably don't need to blacklist/whitelist something new every single day! ;)
[Android Apps and Games] rpr69:
I think it depends on your kernel. I am using Blue Spark and Adaway works fine.
[Android Apps and Games] Mike B.:
From the AdAway standpoint what really matters is that Marshmallow still uses the same old local DNS scheme that relies on a hosts file as used for the past 30+ years on most all common operating systems. This means that AdAway

WILL

work on Androdi 6.x, probably with only minor tweaks at most. This is the beauty of AdAway compared to many ad related products. It's actually very simple, and maybe the main mistake the original dev made was to call it "AdAway" instead of a generic "DNSHelper", "Redirector", or "HostsUI"... ;)
[Android Apps and Games] rpr69:
Yes, I understand that, I've been doing this for a long time. My reply was to confirm that Adaway on M properly updates the host file with the kernel I am using. I have R/W access to /system without issue on MP3, so the other poster was not 100% correct, and it may be down to what kernel you are using.
[Android Apps and Games] Primokorn:
I don't want to argue about MoaAB since I don't use it any more but the guy has released a light & tiny version. Just FYI ;)
[Android Apps and Games] M1LL3R:
It´s just to me that it only block ads on wifi? On 4G it not...
[Android Apps and Games] kingvortex:
Make sure there isn't a proxy enabled in your APN settings.
[Android Apps and Games] barathvutukuri:
Not blocking ads in Way2sms app

As told, I have installed the apk, restarted phone for the changes to be applied . But I still see all the ads in Way2sms app. Those ads are generated by Startap advertiser. Please update to block those ads too..
[Android Apps and Games] devilrulz4ever:
Add those urls to your black list. Read the help/FAQ page.

Tapatalk'd from my Note 2 running Resurrection Remix. Kernel:Agni, Recovery: TWRP.
[Android Apps and Games] barathvutukuri:
APP Banners

Got it
[Android Apps and Games] Mike B.:
Yes, I'm aware of it, but it's still not geared towards mobile users and doesn't offer any obvious benefits over other maybe more finely tuned lists. Anybody can put together a list of servers that may or may not dispense ads, the hard part is to select the ones most likely to impact the intended users. In any case, regardless of contents, a smaller hosts file is always preferable to a huge one.
[Android Apps and Games] carlese:
So if you had to choose between all the hosts files links, what would you choose? The standard file in adaway?
[Android Apps and Games] Mike B.:
On my daily driver, I usually simply use the default AdAway files, mostly so that I can try and duplicate problems reported in this thread. My spouse's phone only uses 2 of the default source files (I forgot which ones). My experience has been that people usually try to block way too many servers, including some they'll never access, some that have been dormant for months, or not even available from their location, etc. Even if you think you use the net a lot, its amazing to see how few places truly need to be redirected to avoid seeing ads, and how seldom those places change.

My unofficial recommendation: install AdAway with the default source files, update every few weeks if you think of it, and don't panic if one or two annoying ads pop up once in a while. That way you'll live a longer and happier life... ;)
[Android Apps and Games] mr_htx:
In my HTC M8 with S.Rom 2.2.1. When I apply adaway 3.0.1, I can not view video clip(The plug-in can not load).

Do you know how to re-enable it again.

Link video : http://m.24h.com.vn/bong-da/video-ket-qua-club-brugge-vs-manchester-united-0-4-c48a730424.html
[Android Apps and Games] jcsww:
I am still using MikeL's 48_2.8 on LYZ28J with no issues updating, other they need to be done manually, as hte auto update hasn't worked in forever. Manually updating works perfectly though.
[Android Apps and Games] Mike B.:
The plugin used by that site resides at "zplayer.isoftjsc.com". If you blocked it, add it to your whitelist. As usual, the best thing to do is to use the AdAway tcpdump option and capture the DNS Request log to see which URLs need blocking/unblocking, as explained many times in this thread.
[Android Apps and Games] mr_htx:
Thanks you so much.
[Android Apps and Games] mrRobinson:
New Dev Build, prep for 3.0.2

I have a new Dev build up, prepping for what will be 3.0.2

Notable Changes:

If you have 600dp width or more available you should get the 2 panes view. Prior it was just on tablet, now on my phone if i rotate to landscape i can see the hosts sources which is the desired effect.

Main hosts file status icons have material color added

disable keyboard autocorrection in whitelist and redirection list fields (prior it was added in blacklist field but never applied elsewhere)

Download: AdAway-release_Build-Aug.28.2015.apk

please let me know if the rotating landscape and getting the 2 panes cuts stuff off, i had to make it vertically scrollable which I had no clue how to do so was reading docs and figuring it out.

let me know if you really hate the colors. I don't really care, I just thought there was a lot of white going on so put color in those icons at least.
[Android Apps and Games] Mike B.:
The split landscape view looks fine on my Note 3 (1080x1920 px, 386 ppi, 480 dpi), nothing cut off, perfect fit. Nice work!
[Android Apps and Games] Bradden1:
I like the update..looks great and works perfectly for me. Thanks
[Android Apps and Games] zeon321:
Adaway is really useful. I wonder why google is against ad-blockers and removed all ad-blocking apps from playstore.
[Android Apps and Games] mroneeyedboh:
$ $ $ $ $ $ $ $ $ $
[Android Apps and Games] rocada:
Re: [APP] [UNOFFICIAL] AdAway v2.3

This app was in violation of section 4.4 of the Play Store Developer Distribution Agreement : money, money ;)
[Android Apps and Games] oodork123:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Super thanks. Phone is fresh again.

F#*$ the Corporate World
[Android Apps and Games] greatdaneduke:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Mr. Robinsons work and efforts are awesome. I thank him for root injecting the latest software and the work he puts in to things like this.
[Android Apps and Games] cscz77:
the best app :) absolutely must have it :)
[Android Apps and Games] Chinaberry:
I was looking for this app today and didn't know it had been removed. Thank you!
[Android Apps and Games] matgras:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Same story here

sony xperia ray

ics 4.0.4 rooted

stock rom
[Android Apps and Games] dirtyreturn:
Re: [APP] [UNOFFICIAL] AdAway v2.3

fdroid has it.
[Android Apps and Games] gamepro602:
Re: [APP] [UNOFFICIAL] AdAway v2.3

I knew a thread like this was going to happen:p

I have the last latest version from the play store and I did think that it wouldn't get updated any more:)

Laughing at you while eating jellybeans
[Android Apps and Games] mrRobinson:
Yes, I stated that in the OP.

Good thing is its open source and the developer will still update it. So as long as that happens I'll compile from source and side load it, no big deal there.
[Android Apps and Games] MattBooth:
Big thanks.

I personally can't stand ads in apps. I'd rather buy a Pro/Ad-free version of an app than be bombarded with ads.
[Android Apps and Games] ksavai:
Re: [APP] [UNOFFICIAL] AdAway v2.3

For me worst part abt ads that they kill data and battery.
[Android Apps and Games] gamepro602:
Re: [APP] [UNOFFICIAL] AdAway v2.3

and add that it slows down the phone as well

0_o

Laughing at you while eating jellybeans
[Android Apps and Games] Gorki:
thanks
[Android Apps and Games] bobbyphoenix:
Re: [APP] [UNOFFICIAL] AdAway v2.3

Good call on continuing the app. I posted about the news when it came out (http://xdaforums.com/showthread.php?t=2189419), but I'm glad people like you know how to compile quickly. I was going to do it, but you beat me to it. Thanks. :D
[Android Apps and Games] ChazzMatt:
Thanks for this. I read about Google's actions and I had already downloaded the new version. But thanks for telling the XDA community. This is THE BEST ad blocking app.
[Android Apps and Games] mkanet:
This may sound like a stupid question. But how do I install it? I just downloaded Adaway-release.apk from the OP directly to my downloads folder on my rooted Note 2. When I clicked on the file, I see "Cancel" and "Install". If I click on the "Install" button, nothing happens.

I already enabled the "Unknown sources" option on Jellybean 4.1.1 stock rooted ROM. My phone passed all the RootValidator tests:
[Android Apps and Games] bobbyphoenix:
After you clicked install, and you say it did nothing, did you get the "installed" message after? It should just install like any other app. You should see it in your app drawer as a stop sign with a dove on it instead of the letters S T O P.
[Android Apps and Games] mkanet:
It literally did nothing when I clicked on the Install button. It acted as if that button was disabled. Although the button looked like I could be able to click it. It was never installed.. so, its not in my app drawer or in the list of "All apps" in the app manager.
[Android Apps and Games] 12packabs:
There are no ads in Android. It's just the apps you use. :D
[Android Apps and Games] deejayburnout:
That's what I meant. Unfortunately some of the apps I am using have no paid version so I was stuck with the ads until I found this.

Hopefully this will fix it.

:)
[Android Apps and Games] n0s22:
It did not remove ads from tapatalk idk why. Does all the apps need to be closed ? Or is there a particular procedure ?
[Android Apps and Games] donmarkoni:
Did you reboot? Removed proxies from APN's?
[Android Apps and Games] dsbs4:
I rooted my Nexus 4 for the sole purpose of installing AdAway. I installed it and was happy with it. I kept it even though some other apps wouldn't work on a rooted device because it's made browsing so much easier.

However I just recently was pushed the OTA 4.3 update which of course unrooted my phone.

I thought I would have to reroot to get Adaway working, but it looks like all the ads are being blocked.

Can I keep it this way with no ill effects, except for not being able to install the adaway updates?
[Android Apps and Games] avidmovies:
Sure, though if you really want to remain root-less, check out this thread for solutions:

http://xdaforums.com/showthread.php?t=2327934
[Android Apps and Games] muffnman:
Thanks so much for making this available! Great alternative to adblockplus (not working right in 4.3) and Rom Toolbox Pro (old version which still blocks ads, never updated - but broke in 4.3 also)
[Android Apps and Games] hepi_hape:
Already update the list. But when i give whitelist for ad.fly / ******* it keep blocked ?

Someone know it ? Thx :beer:

EDIT :

Weh! LOL. Xda block word, 'adf'.ly'
[Android Apps and Games] mrRobinson:
The answer is only one page back.
[Android Apps and Games] hepi_hape:
Sory, im not read one by one page, hehe

I see. I must add cdn(dot)adf(dot)ly

Thx :)

I think new people need know this, take this to frist post
[Android Apps and Games] hepi_hape:
Report : adfly still blocked. Even i press continue. It nothing respond

*using dolphin and stock

View attachment 2160184

This my setting on adway

Updated host

View attachment 2160185

My rom :

CM9 + custom kernel
[Android Apps and Games] adavit:
You will have to add the WWW.******* and I can't remember the other one...easier way to do it than adding all those addresses is to do ******** and it will add any address with that in it to your whitelist.
[Android Apps and Games] bogdan1980:
Use *a d f dot l y

Galaxy S2 powered by Dorimanx!
[Android Apps and Games] mrRobinson:
Did you reboot after that?
[Android Apps and Games] hepi_hape:
Yeah always.... edited host file will affect after reboot like in pc

Ok. I will add more link and use * in begining a d f.ly
[Android Apps and Games] hepi_hape:
Works now :D

Thank you all

View attachment 2160821
[Android Apps and Games] dimex:
been using adaway for awhile and love the app, but it seems like something changed recently, because I don't remember this ever happening awhile back.

adaway removes the ads, but leaves what I'm gonna call the Android 404 page in its place. It has the little green android guy, and it says "Webpage Not Available: The webpage black blah blah blah might be temporarily down or it may have moved permanently to a new web address. Suggestions: Make sure you have a data connection, Reload this webpage later, Check the address you entered."

It used to completely remove it and it'd be white space or whatever the background is in it's place, but now these 404 errors are everywhere. It's just annoying.

Is this normal and how it's always been? I remember it differently somehow, but there's a good chance I'm just going crazy. I've uploaded an example from the pirate bay, there's a good amount of ads there so I can show you.
[Android Apps and Games] blanco8:
Must have app! Thx
[Android Apps and Games] Noxeus_:
Wheras it would work for me in 4.2 it now seems not to work for me anymore.

Since I updated to 4.3 (via OTA) it isn't working anymore.

I rerooted my device btw.

Can someone help me troubleshoot?
[Android Apps and Games] obietobi:
This is a great application! THANKS

Google removed it maybe because their other free apps' adds will be removed
[Android Apps and Games] 2WhiteWolves:
Galaxy S4 looks good , runs great. Thank you.
[Android Apps and Games] bartolinio:
3.0.2? the installer shows that it is still 3.0.1 version :)
[Android Apps and Games] Promez:
Will be 3.0.2 ;) [emoji14]
[Android Apps and Games] mrRobinson:
Correct. I'll prob do a little clean up in the layout, maybe add xxhdpi assests, kill ldpi, then i'd bump version, add to changelog, and post it official. Just wanted to get some test time in on these changes first since they were my first time messing with the UI xml files. (I had to actually use android studio for the first time so I could use an emulator instead of my normal vi editing).
[Android Apps and Games] :
Sorry for the noob question: what do you do to show up the app versions in the installer??? I'm with cm nightly and there is no version tab ...
[Android Apps and Games] Mike B.:
It warms my old *nix heart to know that venerable ancient 'vi' is still used by you youngsters! ;)

I suspect [MENTION=1435520]bartolinio[/MENTION] was merely referring to the builtin android installer, the process that parses the downloaded apk file and puts everything in the correct locations. This latest AdAway dev build is "3.01 (53)", like the previous one. Note that if you're using Titanium Backup or a similar app, it won't see it as a "new" version since the magical version code ("53") hasn't changed.
[Android Apps and Games] :
Thx Mike, fully understood, but I don't get the information of "current" and "new" apk version as seen in the screenshot above, when I start the apk update process. What I have to do to get the additional (version info) tab?

Thx for your support.

Juergen
[Android Apps and Games] Mike B.:
You probably simply have a different installer (different ROM, android version, etc.). That's nothing to worry about! The "Application Manager" option in your Settings will probably show you the version number ("3.01") but not the version code ("53"). Applications such as Titanium Backup (a MUST HAVE for any rooted device) will display both, but I'm sure you can find various app on the Play Store to do that if you're curious. ;)
[Android Apps and Games] Mike B.:
Not as new as you apparently think. It's been discussed in this thread since THIS post. It's generally wise to review at least the last 24 hours or so of a thread before posting... ;)
[Android Apps and Games] fjdifede:
I can not get ads blocked, on 4g even erace proxy and port any advice.

You have to erase all proxy and port even if not selected. Hope this help sombody else.
[Android Apps and Games] Vuska:
Hi... why it only update successfully 3 from 4 ?

Already select all 4 servers.

Thank you
[Android Apps and Games] Mike B.:
Apparently, last time you asked AdAway to update its source files, the file at http://hosts-file.net/ad_servers.txt was not available. You can check for yourself from any browser. Right now, it gives a 503 error (usually indicating an overloaded server or a server under temporarily maintenance ). That file has had its ups and down recently, but that's nothing over which AdAway has any control nor anything to be overly concerned about.
[Android Apps and Games] ChazzMatt:
Where is that found? In preferences, I don't see anything about proxies or ports.
[Android Apps and Games] kingvortex:
In your APN settings on your device, not in the AdAway settings.
[Android Apps and Games] fjdifede:
Is not on the app is in settings-mobile networks- access point names, there erase proxy and port in all connections but don't touch your MMS settings.

You also can move the app to the internal storage with a file opener to allow daily automatic updates.

Move your app from root/data/app/ to root/system/app reboot open the app go to preference and clik on background services and you are done.!!!
[Android Apps and Games] :
Can someone provide sample entries for facebook.com, apple.com and 9gag.com and test if you're able to block the aforementioned websites.

I have put the following URLs to my black list, but the sites aren't blocked.

I have rebooted my device and otherwise AdAway is working.
[Android Apps and Games] Mike B.:
To block facebook.com, apple.com, and 9gag.com, you can simply add those servers names to your blacklist then reboot. If the results are not what you expected, that means that you want to do something besides blocking those servers. My guess is that you'd like to block some ads that happen to appear on web pages from those sites, a different matter.

We've explained the process countless times in this thread, but you might find it easier to simple read the AdAway WIki , especially the section on LogDNS.
[Android Apps and Games] :
[MENTION=4343728]Mike B.[/MENTION] I don't want to block ads on websites, I want't to block those domains. URLs are on my black list, but I can still access the sites.

I have blocked addresses in hosts file on desktop and I never really figured out that when I should use www prefix and when not. Some sites did seem to require www. before the domain to BE blocked.
[Android Apps and Games] Mike B.:
If you blacklist "facebook.com", then "facebook.com" will be blocked, but "www.facebook.com" will not be. You need to blacklist the exact domain you wish to block. Some servers automatically redirect http/https URLS or anything accessed via port 80 to their "www." subdomain but many don't, hence the recommendation to use the logDNS Features.
[Android Apps and Games] o0vampire0o:
just use *

*facebook* block every site with facebook in the url
[Android Apps and Games] Ant38:
I am on stock latest 5.1.1 on xperia z2 root adaway failed to copy host file :/
[Android Apps and Games] Mike B.:
You can use wildcards for whitelisting (allowing), but not for blacklisting (blocking).

---------- Post added at 11:28 AM ---------- Previous post was at 11:23 AM ----------

Try to use one of the alternate locations in /data/.
[Android Apps and Games] Ant38:
I have try all location on adaway option not work failed copy or not good symbololic link
[Android Apps and Games] Mike B.:
Unless it can copy the hosts file, AdAway can't do anything useful. Are you positive that you have full write access to /system and that AdAway is granted the proper permissions? Do you have any kind of "Safety" app or mechanism that prevents permanent changes to /system? Can you at least create a random file in /system from any root-enabled file manager and does that file survive a reboot?
[Android Apps and Games] arf8:
I'll add my contribution here, anyone using the Yahoo mobile app knows it is fluttered with Ads which don't go through DNS. Using the Log in Adaway will yield an empty log. So i used another Log app and found the source.

Add this to your blacklist to block all ads on Yahoo App.

soundwave.mobile.yahoo.com

cheers
[Android Apps and Games] jaibar:
What's the other log app's name?
[Android Apps and Games] Arya_3RDNumber:
sorry for double asking if exist

I Have trouble with adfly. that site give white screen load without skip ad button. I do whitelisting :

- *******

- cdn.*******

- j.gs

- q.gs

trying to enabling ******* only. but not works

before some update from servers, I don't have any problem with adfly. disabling adaway also give adfly working back

Am I missing something? pls tell me if someone know this problem

thanks
[Android Apps and Games] mrRobinson:
wow, good job. it works and that's been bothering me a bit. I'll ad into adaway's wiki. thanks.

ditto.