yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] GabbyWC:
I'm not a developer so I can't be of much specific assistance there. I did ask [MENTION=1469500]zulu99[/MENTION], a developer whose DroidMote Server app experienced the same issue shortly after Android 5.1 was released but he quickly worked around it. What he told me is that, "You need the toolbar instead of the actionbar." I looked at the Android 5.1 AOSP changelog at http://www.androidpolice.com/androi....2_r1-to-android-5.1.0_r1-AOSP-changelog.html to see if I could track down the relevant change(s) but I wasn't sure if I had done so even after doing keyword searches for menu, overflow and fugu.
[Android Apps and Games] mrRobinson:
Well i'd need to come up with something different. adaway is actually using a now deprecated actionbarsherlock. There is no major issue with it but i'd love to move to the lastest, esp since we actually don't need to support old API's any longer. I took a stab at moving from actionbarsherlock to appcompat here https://github.com/0-kaladin/ad-away/tree/actionbar but stopped since prefs would need to be rewritten and I don't have the time to learn it then implement. If someone like [MENTION=1469500]zulu99[/MENTION] actually knows this stuff it should be an easy jump from that to toolbar. But we don't get many devs submitting pull requests for adaway much so i might be able to hack in a force overflow menu somehow. Just can't guarantee it'll work and I'd much prefer getting rid of actionbarsherlock and going to toolbar, i just probably can't execute that change myself.
[Android Apps and Games] MrEpic:
Hello fellow community. For the first time literally in the years I have been using this, I can't seem to get any of the apks to install. I am currently running the newest version of the tipsy rom and I really do not want to give it up. I have done extensive research but to no avail. What do you all suggest? Thanks in advance.
[Android Apps and Games] Mike B.:
The only suggestion is for you to provide enough details so that others can attempt to help you. Are you saying that you can't install the current AdAway found by following the link in the OP? If so, what specific error do you receive on which device and which with ROOTED Android version?

EDIT:

After some snooping, I found something called tipsy-osprey-5.1.1, a ROM for the Moto G. Based on a hunch that this might be what you are referring to, I downloaded it and lo and behold, it contains an "adaway.apk" system app of undisclosed origin. Unless that app was originally downloaded from the [MENTION=3355398]mrRobinson[/MENTION] builds discussed here (unlikely), it has an incompatible signature and would prevent you from installing any of the updates from the OP. The ROM in question seems to be rooted and therefore it should be easy for you to completely uninstall/delete (not just disable) that builtin "adaway.apk" and simply download and install the current one from the OP. Whenever there is an AdAway update, you'll be able to quickly download and install it without any error messages and without having to change anything. Did I guess right? ;)
[Android Apps and Games] MrEpic:
That is correct. I am running their latest version 1.8.5 on a lgg3. Also, I can download each version of the apk but cannot install it. It says "app not installed." If you are correct and adaway is built in...where exactly would I go within the ROM to delete it!?
[Android Apps and Games] mark_zuckerberg:
Yeah so my youtube history stopped working again like 5 minutes after I posted.

I did the same trick of applying the hosts sources one at a time, and it worked for 5 minutes again.

I'm pretty confused as to what's going on.

If you and I are both running adaway as our sole adblockers, with just the 4 default hosts sources applied, are our hosts files supposed to look the same?

If so could you post it so I can find if there's something out of place with mine?

Also just as a sidenote I'm not really obsessed about adblocking, but I couldn't get adaway to work because of an unrelated issue before so I just downloaded another ad blocker.
[Android Apps and Games] Mike B.:
Ok, le'ts try a different approach. Verify (again) that you do NOT have a forgotten proxy in your APN or any "ad blocker" running. Launch AdAway and let it update using your default source files and any black and white lists you have. Once that's done, make a copy of your hosts file (which should contain lots of entries), then uninstall AdAway. Reboot. Now look at your hosts file and verify that it still has all the same entries as the copy you made (same size file, no need to count lines). Are you still seeing lots of ads? Even after 5-10 minutes? If your ads reappear and/or your hosts file magically loses most of its entries, this has clearly nothing to do with AdAway since it's not even running.

In most cases, this type of mystery can be traced to a user oversight (forgotten proxy?), a ROM limitation (S-ON, for example), a conflict with some "adblocker" (many act as invisible proxies), etc. You mention an "unrelated issue" and maybe you should revisit whatever that issue was.

You wouldn't like my hosts file. I only use 2 of the default AdAway source files with about a dozen blacklist entries. Many of the commonly blocked servers are places my phone would never access in a million years (games, "adult" sites, sports, social media, etc.) and I see no reason to waste hosts entries for those... ;)
[Android Apps and Games] Feeshie:
I have this issue as well. Through testing, it looks like the host source http://hosts-file.net/ad_servers.txt is the one causing the issue. I went ahead and whitelisted anything that pertained to Youtube from that source, and it looks like my history is working.
[Android Apps and Games] Mike B.:
The only server in the youtube.com domain that list includes is "s.youtube.com". Is that the one that conflicts with your history settings?
[Android Apps and Games] Feeshie:
Yep, once that was whitelisted my history began working.
[Android Apps and Games] mark_zuckerberg:
Alright so I found out 2 things.

First off, applied the hosts sources, deleted adaway, rebooted the phone, the hosts file size didn't change, even after 10 minutes of use.

I also applied the hosts sources one at a time so I could get the youtube history to work with the hosts sources active, and the filesize was the same during that time as it was once the history stopped working again.

So basically I can apply the hosts one by one, and the youtube history will work, and then stop working in 2-5 minutes without any change to the hosts file.

Also the unrelated issue was the "mahakala" hosts source, if you've heard of that issue before.

Basically a hosts source that is too big for adaway, causing the app to get stuck on "parsing and applying" phase.

I don't know a lot about the technicalities of all this ad blocking stuff but I don't think that issue is related to this one.
[Android Apps and Games] mark_zuckerberg:
Lol if only you had come here before we went through all this.

I ain't even mad tho, youtube history is good to go :)))))

thanks a lot partner
[Android Apps and Games] matambo777:
Thank you so much for this!!!!!
[Android Apps and Games] Mike B.:
The mahakala MOAAB monster has been discussed many times in this thread. It's not suitable for use on our mobile devices (with or without dAway), not only because of its large size, but mostly because its contents are largely irrelevant at best. There is simply no good reason to use it.

As long as your symptoms remained whether AdAway is running or not, it's clear that your issue has nothing to do with AdAway. The delay before you perceive the history as no longer working may be simply the time it takes for the YouTube app to check if it has access to your online user data. Apparently, whitelisting "s.youtube.com" (or rather NOT blacklisting it) is all that's needed, whether you use AdAway or not.

---------- Post added at 11:04 PM ---------- Previous post was at 11:01 PM ----------

Actually, YOU should have spotted the problem before going through all of this. After all, I don't use YouTube but you do. All I did was look at the source file... ;)
[Android Apps and Games] jaibar:
AdAway by itself as an app doesn't use much resources- but the hosts file method sort of does, if I understand correctly?

Whenever an app requests some link/dns or whatever it is called, it is matched with the list in hosts file? I noticed that when using large file (yeha, I tried the moaab in some previous incarnation) it actually slowed the device so much that the lag became worst than the benefit of not having aa1pds. Plus, the space it occupied in system partition was also becoming a pain. So to me, not understanding how it works under the hood, is was an indication that hosts11 filqpe uses resources to some extent and it is better not to exaggerate.

Maybe modern devices are fast enough and one doesn't feel this?
[Android Apps and Games] IronTechmonkey:
To this point, at one time I counted the lines in each of the different host sources and, If I remember correctly, the total for all of them was over 200,000. I don't see how the system would not be using more resources of r/w access, memory and processing in order to match that list to web access requests. That I think I noticed a slowdown might have been a reverse placebo but I still whittled down my sources to just adaway which is the smallest and fairly effective for my use.
[Android Apps and Games] Mike B.:
That confirms it, you have an incompatible version included in your ROM. I no longer have a copy of that ROM handy, but use your root-enabled file manager to locate and delete "adaway.apk", probably in /system/app, then reboot. If you have Titanium Backup (everyone should), simply delete the app. If you're unsure of what you're doing, make a full backup first. Once that builtin version is gone, you'll be able to install and update AdAway at will from the OP. Whoever is responsible for your ROM should probably reconsider their approach of including a version of AdAway (especially as sysapp) that can't be readily updated by the user.
[Android Apps and Games] MrEpic:
Thanks! I'm pretty sure that someone will need this post in the future but i don't know if i should be glad or scared because i woke today and randomly guess what was in my app drawer!?!? You guessed it.. Adaway! So I'm back to feeling like a boss over my phone again but thanks for all your help! Gotta love this community!
[Android Apps and Games] Mike B.:
I'm not overly familiar with your ROM but it's possible that it forcibly reinstalls its own AdAway version if you didn't thoroughly get rid of it all. Ideally whoever committed that ROM should be able to help you delete it completely. If you have the AdAway from the OP here, its "About" screen should say "Compiled by mrRobinson: Sep 08 2015". If that's what you see, you're OK... until you upgrade your ROM... ;)
[Android Apps and Games] IronTechmonkey:
Testify this /\/\/\. I once saw Adaway baked into a Validus (GZR) ROM based on CM.
[Android Apps and Games] FPSUsername:
I have a request.

Could you make in app a whitelist so I can deblock urls?

Every time I update my hosts file, I have to manually remove some websites that are blocked (like adfly and chathu).

If you could make a whitelist you can put the websites there and it automatically removes those websites from the host file after an update.
[Android Apps and Games] Spannaa:
There already is a whitelist - just turn it on in preferences ;)
[Android Apps and Games] mrRobinson:
Can't tell if trolling for a joke or being serious.
[Android Apps and Games] Brandroid28:
Does anyone know if using the right filter lists would account for Disconnect Mobile's functions? Disconnect uses quite a bit of RAM, so I'd like to remove it, but it seems useful. Thanks!
[Android Apps and Games] Mike B.:
According to its description, that app (a VPN in disguise) claims to "Reduce the risk of identity theft by blocking malicious tracking, Block malvertising threats disguised as legitimate ads, Protection from thousands of suspected malware sites", none of which means much of anything and seems like a waste of RAM and CPU cycles at best, not to mention a major privacy leak. Chances are that AdAway with its basic default source files can accomplish basically the same thing without using any RAM at all, without routing your data through a mysterious proxy, and while giving you full control over which servers you wish to block or allow. Should you get rid of that thing and simply install AdAway? The colloquial answer is "that's a no-brainer", meaning "yes, do it, now!" ;)
[Android Apps and Games] FPSUsername:
Serious, but just found out it has already thanks to [MENTION=2948558]Spannaa[/MENTION]
[Android Apps and Games] TheST4RL:
What is the port for the web server of AdAway?
[Android Apps and Games] Mike B.:
The default port for the http ("web"?) protocol is 80. SSL/TLS ("https:") defaults to port 443. Is that what you are asking?

To be specific, the AdAway optional webserver listens at 127.0.0.1:80 and 127.0.0.1:443.
[Android Apps and Games] TheST4RL:
I was talking about the AdAway webserver thanks!
[Android Apps and Games] rodaven:
Just sharing this app that works great for a d f . L y and similar other webs.

https://play.google.com/store/apps/details?id=com.DeAd.fp

it show the original link to bypass a d f . L y
[Android Apps and Games] strontium38:
thanks
[Android Apps and Games] dave_k605:
Working good on vzw gs3, cm10.1
[Android Apps and Games] hshah:
I installed this on Android 4.2.2 and I cannot make it block any ads. Even when I start the TCP Dump it finds no entries :(
[Android Apps and Games] Braneless:
Did you reboot after updating the host files?
[Android Apps and Games] hshah:
Figured out what it was... my Data APN had a proxy set which I had to remove for this to work.
[Android Apps and Games] JoeFCaputo113:
Whenever I "kill" the app. And then go back into it, it has the red "X" mark meaning it's not activated/working. When I go to a test page (Yahoo.com) to see if ads are there, they are indeed still there. Do I need to keep the app running in the backround at all times for it work?
[Android Apps and Games] jr67:
Putting aside the question of why you need to kill the app, unless you are doing automatic updates, once you have downloaded and applied the changes to your host file the app does not need to run. The app will automatically start at boot and I believe every time there is a change in your connectivity. So no it doesn't need to run in the background unless you turned on automatic updates but then in my opinion neither does it need to be killed.

As far as the ads on yahoo.com try using these directions to manually find and add hostnames to your blacklist:

https://github.com/dschuermann/ad-away/wiki/BlockNewAds
[Android Apps and Games] jed.paolo:
It says " item not found "
[Android Apps and Games] tiho5:
+ 1

This is true. I'm using Maxthon browser and pressing back in the browser starts somehow closing those Android 404 pages instead of going back from the page I'm currently in.

So if I have 8 Android 404 I have to press back 9 times to go back on a page.

This happens on other sites. I had to stop using add away in order to be able to browse OK in my internet browser.

Could this be fixed somehow. I love add away and I don't want to stop using it.
[Android Apps and Games] rodaven:
GPlay removed it from store :(
[Android Apps and Games] occtec:
Nothing wrong with Adaway been using it for the last year or so and it does the job perfectly ;)
[Android Apps and Games] jed.paolo:
Can you pls reupload the apk?
[Android Apps and Games] :
It's in op already.

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Android Apps and Games] Mr-Glass:
Is anyone running AdAway able to get Android Device Manager to work? Mine is not working and I have heard a few rumors that ad blocking apps may interfere..
[Android Apps and Games] dreamland2000:
I can get it to call the device, but as for location and wipe they haven't worked yet but I only played with it for a couple of mins yesterday.
[Android Apps and Games] thrillerbee:
Can someone confirm that AdAway doesn't yet work in Android 4.3?

Thanks.
[Android Apps and Games] bartolinio:
works fine
[Android Apps and Games] mrRobinson:
Yea I can confirm the opposite. Works fine on my 4.3 nexus 7.
[Android Apps and Games] rfb813:
Works on CM10.2 (4.3) on Note 8.0.
[Android Apps and Games] Mike B.:
So was I! Yes, the AdAway optional webserver uses the standard post 80 for http and port 443 for https/ssl/tls. Remember that AdAway is open source, so you can simply check the code yourself. No magic and no secrets there... ;)
[Android Apps and Games] thesggk:
Is possible to avoid the anti-adblock check for some site?

Hi guys,

i'm using adaway on a galaxy s4, 5.0.1 and root.

I think it's really usefull and when i want to visit a site that is blocked by default i simply add it to the white list.

The problem is that some site, as uptobox for exemple, detects my adaway even if i whitelisted it and asks me to deactivate adblock to see the page. I don't want to restore the original host file to visit a specific site and then to apply the adaway again every time.

Do you know if there is a solution?

Ho can see a site that even if whitelisted continue to ask me to deactivate adaway?

(My solution is to use a browser like puffin that avoid the adblocking, but i don't like it and i would prefer to use always my normal browser)

Thanx
[Android Apps and Games] Skripka:
The best and only way to avoid those checks....stop using the site.
[Android Apps and Games] nick_white:
The problem is not that you block uptobox, but that you block the ad domains that uptobox use.

So either:

a) Use tcpdump from AdAway and whitelist all domains that you get when navigating the uptobox page. The downside is that you will see ads in uptobox and everywhere else the domains are used.

b) Block domain of script for ad blocking detection, if any (you need to heuristically find it, I use desktop Firefox + Firebug). There are fair chances that the domain is not a separate one, in which case go to a).
[Android Apps and Games] CrashTestDroid:
Add another list to fix that, like Reek's Anti-Adblock Killer.
[Android Apps and Games] Mike B.:
Unwise. Adding more source lists to only block a couple of URLs is unnecessary, at best. The approach suggested by [MENTION=5862848]nick_white[/MENTION] is a much better solution, and [MENTION=4388555]Skripka[/MENTION]'s advice is right on point! ;)
[Android Apps and Games] GuardianUSMC:
Thanks for maintaining this for those who don't want or can't compile the source quickly enough to get the APK.
[Android Apps and Games] imcrazyz:
Hello. Thanks for this great app!

I'm wondering which one to download. Dev's build (8 Sept) or the other 3.0.2 build (1 Sept)?

EDIT: Is this gonna work on Exodus 5.1.1? I own an Oneplus.

Regards,

Jeff
[Android Apps and Games] :
Take the latest, 8th Sep
[Android Apps and Games] Master_T:
So, since a few weeks I'm having a weird problem.

Basically if I use AdAway Google Music starts sending continuous requests to http://www.googleadservices.com that all fail to connect. Now, this is normal, but the problem is that Google Music doesn't just stop trying after a few failures, it keeps going forever in a loop. If I check logcat, I get thousands and thousands of failed attemps every minute. This makes the phone very hot on the back and kills the battery very rapidly.

Should I just add googleadservices.com to the whitelist? Or is there another workaround? Because that would let a lot of adds through I'm guessing. Plus, this didn't happen in the past (been using AdAway for years...)
[Android Apps and Games] Cookie Ninja:
Use another app for music. I NEVER store any of my stuff with Google, least of all music. If you're privacy conscious and repelled by ads that target you, you'll wean yourself out of it. Try apollo music player....the free one from F-Droid.

Dead Cookies leave no trails...
[Android Apps and Games] xdarthanonx:
Preferences > Local Webserver? :confused:
[Android Apps and Games] Master_T:
Seems to have fixed it, thanks!
[Android Apps and Games] IronTechmonkey:
Well put, though I would add that; if a cookie ever existed, whether alive or dead, it has left a trail:).
[Android Apps and Games] swat4samp:
I have lenovo yoga 8 tab running rooted stock 4.4.2. Adaway works fine but webserver and log DNS requests features aren't working. If I select them n return to other screen and check it back, it shows as unselected. I searched this thread and found one reply that it might be because of app not having full root access. I have kingroot installed and I can't replace it with supersu no matter what I tried. Is that the only cause for this?
[Android Apps and Games] mrRobinson:
Can you confirm whether you are running the dev build in the OP or not?
[Android Apps and Games] hp420:
In the last couple months I've seen more ads while using adaway than I've seen in the last 10 years total. I'm using the dev build, i'm using updated hosts, and I even added easylist and fanboy's list.....NOTHING works anymore!!

I even have ads on the page as I type this!!!
[Android Apps and Games] rpr69:
It's been said many times, check to make sure you aren't using a proxy.
[Android Apps and Games] swat4samp:
Yes, i am using dev build. Should i try regular build? Can you please explain difference between it and dev build?
[Android Apps and Games] mrRobinson:
dev build fixed one issue as you described. but as you guessed your issue could be root. can you capture a logcat of you turning on webserver and tcpdump and post to pastebin or something and send link?
[Android Apps and Games] hp420:
make sure??? it's a little difficult to 'accidentally' use a proxy dude. it's not like they just suddenly install themselves on your android, open, log in, and take over your internet with zero interaction.
[Android Apps and Games] rpr69:
Okay, so if it is an adaway problem, why are you the only one affected? Or, just maybe, it's not adaway, it's something else, possible a browser configuration that is using a proxy, or your ISP/carrier added one that you don't know about, or some kind of malware. Just dismissing the comment isn't going to fix your problem.
[Android Apps and Games] hp420:
it's a problem with the hosts adaway is using not being properly configured. I added 4 domains of ads I was seeing and the ads mostly stopped.

like I said, I'd know if it was a browser configuration, my carrier doesn't use proxies...what one does...seriously...and malware??? Dude, you're grasping at straws here.

so yeah...like I said...not a proxy, but adaway. i understand the dev doesn't write the hosts files, but he does choose the default ones. we need better ones that are updated more often.

here's my hosts file

https://drive.google.com/file/d/0B8idNtSYGvpqQ09ST1lKeVl0ajg
[Android Apps and Games] Mike B.:
FYI, many carriers add proxies to their APN for all sorts of reasons, and some ISPs (expecially satellite providers) even reroute packets to "optimize" traffic. Some applications (especially "ad blockers" or "malware blockers") also use VPN-like processes that are not always obvious to the user. Those are very common issues worth investigating.

You'd have exactly the same issues without using AdAway if you simply added the same servers to your hosts file. The suggested defaults source lists are reasonable choices for most members (probably even overkill for many), but no source file can cover exactly what

YOUR

needs are, and that's why it's so convenient to be able to use white and black lists. How often a source file is updated is also a relatively irrelevant concern as long as it has the "right" entries in the first place. No source file or application can guess which servers

YOU

wish to access and which ones

YOU

wish to block, especially since it depends on your particular interests, browsing habits, ISP, location, login, configuration, etc., and AdAway has no way of knowing how you will use the hosts file that it helps you create. If you only needed to add FOUR blacklist entries to make all unwanted content vanish for you, you are either very lucky or seldom go online! ;)