yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] maxdebesciak:
Screens or didn't happen [emoji10]

TapaTalked
[Android Apps and Games] HAVOK83:


---------- Post added at 10:14 PM ---------- Previous post was at 10:12 PM ----------

[emoji6]
[Android Apps and Games] maxdebesciak:
Good for you, mine hangs up when parsing mahakala list.

TapaTalked
[Android Apps and Games] mrRobinson:
It works. It isn't necessarily a bug in adaway. It's a statement of memory. I guess it's a bug that it crashes, no app should crash, but those who can't parse it are running out of memory. To be clear, I wasn't trying to get this large list to work, rather I was trying to optimize some of the internal adaway functions and using this as a test case. I truly think a list this large does more to slow your device as it tries to look up the hostname in such a large list then the speed increase one would normally see by having crap sites load to localhost.
[Android Apps and Games] santhrax:
I have installed latest cm12.1s (5.1.1) on OnePlusOne

- took adaway from f-droid store and applied stock sources - nothing will be blocked :(

- also tried with adaway from this thread - same result

stayed with adaway from here:

- took http://adblock.mahakala.is and http://exoblob.net/hosts.txt only (without stock sources) and adaway will force close after a while parsing.

- took stock sources first, reboot, added maha+exo while parsing adaway will close after a while

does someone have any suggestions?
[Android Apps and Games] mrRobinson:
Use stock sources. Or show me an ad you are getting using them which caused you to want to use 10x larger sources. As explained here if you want to read, the largest source you can find is not the best.
[Android Apps and Games] Mike B.:
To expand on [MENTION=3355398]mrRobinson[/MENTION]'s response: if

nothing

at all was blocked with the default source files, there's no point in trying other source lists since apparently your hosts file is not used. Get the current Adway from the OP here (forget about unsupported Fdroid) , install it with its defaults, then reboot. If you still don't block ads, verify that your browser doesn't have a "data saver" option enabled, that your APN doesn't have a forgotten proxy, and that you don't have any other "ad blocker" running. Loading those monster pointless source files is NEVER the proper solution and can often make matters worse (as when they cause the phone to run out of memory, for example).
[Android Apps and Games] santhrax:
so far so good!

I have uninstalled everything from Adaway - took the apk from this thread.

checked if I am running "data saver", checked APN settings (which are the same as before I upgraded to 5.1.1)

only installed the stock sources, I don't know how many times I have rebooted but now it seems to work

really strange :)

thanks for helping me out - internet is annoying with ads
[Android Apps and Games] IronTechmonkey:
FC when scanning for adware seems to be back after looking good in tests a few weeks ago. Anyone else?
[Android Apps and Games] Ultramanoid:
Not here... However I wonder if it actually scans. It gives the result instantaneously.
[Android Apps and Games] IronTechmonkey:
In the positive test I got in early October it did actually report 4 apps that use push advertising, which I found useful to know.
[Android Apps and Games] xdarthanonx:
I think it found something last time I installed Dictionary.com, but that was about a year ago.
[Android Apps and Games] IronTechmonkey:
In my case it turns out that a nifty weather app that pulls NOAA data uses push advertising methodology. I forgot the other 3 because I cannot scan anymore :).
[Android Apps and Games] mrRobinson:
What happens when you scan? Can you post logcat?
[Android Apps and Games] IronTechmonkey:
Gladly. With Catlog and Adaway opened, in Adaway: Menu - Scan for Adware - Start Scanning. App FCs with toast message "Unfortunately Adaway has stopped". Log attached. There is clearly some java junk going on there. I'm not sure if Adaway's native logging would help and don't quite know how to use it but can do so with some coaching if that would help. View attachment 3491801
[Android Apps and Games] mrRobinson:
What version is this and what is compiled on date I have in about?
[Android Apps and Games] IronTechmonkey:
Egad! I should have checked those details first. I'm glad you asked. It is working fine in the newest version with compile date 9/8/15 which I had tested the day it was released, but after a ROM flash I ended up back on the build with compile date 9/1/15. Thanks for taking a look. Apologies for the false start.
[Android Apps and Games] Faixa-Preta:
I really hope I didn't miss a search, but I am having trouble running adaway 3.02 on M Preview 3, some failure to write host file, searched the forums I swear! LOL
[Android Apps and Games] IronTechmonkey:
Rooted? CM native root? Super SU?
[Android Apps and Games] Faixa-Preta:
Rooted, SU 2.49 and Hellscore Kernel per instructions to root M preview 3.
[Android Apps and Games] IronTechmonkey:
Then I'm out of ideas as I was thinking along the lines of root access but perhaps there is some underlying directory/file permissions issue.
[Android Apps and Games] Faixa-Preta:
Thanks for looking.
[Android Apps and Games] Mike B.:
Maybe you did miss a search! ;) Have you tried using a symlink in /data instead of directly accessing /system/etc/hosts? That approach seems to work for other Marshmallow users.

Note that if this doesn't solve your problem, a generic "having trouble" is not quite specific enough to make much of a guess. A log or at least specific details would be useful.
[Android Apps and Games] Faixa-Preta:
If I missed the search please kindly provide the link I'd appreciate it. My post was more descriptive than just having a problem, the error was noted "some failure to write host file,".

Unfortunately I have have never established a symlink, and I have no idea where to generate a log, hence the reason I asked for help.
[Android Apps and Games] Mike B.:
If you have trouble with the M Preview, one simple way would have been to

search this thread for "Preview"

, which would quickly point you to answers, such as THIS one.

You can also search XDA (or Google, or the Play Store) for countless references on how to create/view/post logs. Was "some failure to write host file" the exact error you received? Even if it were (it wasn't), we'd still need to know when and where it appeared (while launching AdAway? enabling? updating? on which device? etc.).

The main question, however, is whether you now have tried using a symlink, as suggested in the thread (for people who search) and even in direct response to your post (for members who read replies). If you don't know how to do that and don't feel like looking up the answers online, you can simply read the AdAway Help screens where the procedure is explained under "Workaround" in the "S-ON/S-OFF" tab (it can also be done from a Terminal emulator prompt on many devices), and AdAway may even be able to do that for you if you specify an alternative location.
[Android Apps and Games] mrRobinson:
A Reason for adaway:

http://www.nytimes.com/interactive/...n-region&region=top-news&WT.nav=top-news&_r=1
[Android Apps and Games] IronTechmonkey:
...and the apps that don't have to process that ad cr@p are peppier without it. Nice to have some hard #s. Thanks!
[Android Apps and Games] Faixa-Preta:
For anyone else having the same issue I described above, download Blu_Spark Kernel for M and problem solved.
[Android Apps and Games] mrRobinson:
I think the issue, as i've read, is that even rooting M doesn't give you write access to the /system partition. So I think the solution will have to be to use a modified kernel (as it is the kernel that is denying it) or i'd think if you go to recovery and use adb there to create the symlink you could get to point it to the data partition. I'll have a nexus 6p and test it out.
[Android Apps and Games] Mike B.:
Did you try using the symlink approach, as suggested, which is less drastic than switching kernels and should work for any device running Marshmallow?
[Android Apps and Games] Faixa-Preta:
No, flashing kernels was a snap, however I was able to find the solution based on your symlink suggestions , when I searched for symlink, Marshmallow and adaway I stumbled upon the solution. Ironically I love Blu_Spark kernel and was using it before switching to M. Also Mike B suggested the write access being issue which seemed to be true as I couldn't install a priv-app in system without it getting axed. The new kernel killed both issues. Thank you for the keywords to allow me to search.
[Android Apps and Games] FPSUsername:
Snapprefs is causing an ad on snapchat (when you shoot a pic and go to the edit screen).
[Android Apps and Games] anuraj1:
Is the Blu_Spark that was released on 9/14 (r36) the latest one? Not having adaway is driving me insane.
[Android Apps and Games] Faixa-Preta:
blu_spark_r36-m_shamu_6dce79d.zip

Yes, this is the one I used, I agree no adaway was no fun!
[Android Apps and Games] omega_warrior:
The app has the permission to keep my device awake. I dont know why this permission is required. Can anyone elaborate?
[Android Apps and Games] mrRobinson:
cause you can set it to auto update. if you don't use that option, it won't use the permission.
[Android Apps and Games] Pascaleiro:
I have a HTC One m7 and this works great cleaning ads, but when playing Solitaire, even after using tcpdump and whitelisting all the app's requests, it still can't connect to the server. It connects if I disabled AdAway. Is there other ways to solve this?
[Android Apps and Games] xdarthanonx:
Try enabling the local webserver in the preferences.
[Android Apps and Games] n0j0e:
Hi,

iam trying to add the prebake list from here:

http://prebake.eu/

This is the list:

https://raw.githubusercontent.com/liamja/Prebake/master/obtrusive.txt

But it seems that's doesn't work:View attachment 3496391

Reactivating Adaway but no luck!
[Android Apps and Games] xdarthanonx:
That's formatted for Adblock Plus, not a hosts file.
[Android Apps and Games] Pascaleiro:
It works! Thanks!
[Android Apps and Games] n0j0e:
Any chance to include this Prebake Cookies list in Adaway?
[Android Apps and Games] xdarthanonx:
Not really. AdAway modifies the host file to block specific hostnames, not cookies. Maybe try Adblock Browser for Android.
[Android Apps and Games] Mike B.:
You can potentially include any source list you want, but all those lists are merely collections of URLs that may or may not be relevant to your internet use. The particular list you mention attempts to block URLs that contain notices reminding users to use cookies for various sites. It doesn't really have anything to do with cookies, just those notices, which can be blocked easily like any other URL. Furthermore, most every entry in that list is in a format incompatible with the Android hosts file requirements, and it's therefore useless to AdAway.

I'll say it one more time: there is very seldom any good reason to add source files to the defaults. In most every instance, simply blacklist the few additional URLs that annoy you. Don't try to comb the web for magical solutions ("all-inclusive" lists, "malware protection" lists, "cookie control" lists, etc.) that at best waste RAM for no actual benefits. A more productive way to use your time would be to try and understand the very straightforward process of local DNS resolution, forgetting that the word "ad" appears in "AdAway". Think ot it as "HostsHelper" and once you grasp how very simple the function of the hosts file is, you'll no longer feel compelled to load all those silly alternatives source that do nothing good for you and your device.
[Android Apps and Games] n0j0e:
I can handle ads/cookies which i want to whitelist. That's not a problem, do it on my pc. But ok, technically prebake doesn't work with Adaway. Thanks anyway. [emoji106]

PS: The main reason for me is that the prebake list blocking the annoying cookies popup infos which using sometimes 1/4 of my browser tab. Iam too lazy to click the "accept this f****g cookie" on many sites! ?
[Android Apps and Games] Mike B.:
Since the list you mention is

NOT in proper hosts file format

(whether you use AdAway or not) , what it claims to do is not overly relevant. If the "cookies popup infos" are URL calls, you can easily block (blacklist) them. If they are HTML/CSS elements then that's not a DNS issue but rather something you'll have to handle in your browser(s) with uBlock or similar tools

Remember that what you do on your "pc" (whatever it is) doesn't translate to what you can/should do on your Android device unless your pc runs Android. Many questions here seem to stem from a confusion between that's required on various operating systems (Microsoft W*ndows seems popular) but have nothing to do with AdAway in particular or the Android world in general.
[Android Apps and Games] xdarthanonx:
Check the folders in /data/data/com.manvir.SnapColors and see if it's downloaded any suspect database files (*.db).
[Android Apps and Games] xdarthanonx:
Are you using a root explorer?
[Android Apps and Games] xdarthanonx:
See if you can open those files with the explorer's default text viewer/editor.
[Android Apps and Games] Mike B.:
To state the obvious: if the DNS Requests log doesn't show anything relevant to those ads, there's a very good chance that the ads are not coming from a DNS request and therefore are possibly not anything over which AdAway (or any hosts file entry) can control. I haven't had time to look at that module's source, but have you tried simply asking the developer for information about those ads (I see no reference to being "ad supported" in his thread).
[Android Apps and Games] xdarthanonx:
Try:

Freeze the app

Clear its data

Start logging DNS requests

Unfreeze the app

Start the app

Check log
[Android Apps and Games] xdarthanonx:
*shrugs* :laugh:
[Android Apps and Games] IronTechmonkey:
If you are using TiBU... For what it is worth there is something funky about the relationship between TiBU and Adawy. When I restore Adaway with TiBU when I've got multiple previous versions of Adaway backed up TiBU restores older version of Adaway.
[Android Apps and Games] mrRobinson:
That could make sense if your newer ones are just dev builds I've posted since I don't bump the internal version string on those. But if it restores version 3.0 when you've got 3.0.1 that doesn't make sense.
[Android Apps and Games] IronTechmonkey:
Yep. That's sort of the line I was following. If I have the Adaway build from 9/1/15 and the build from 9/8/15 both backed up by TiBU in the same folder TiBU restore the 9/1 version. This is why I once mistakenly reported that "new" version had adware scan FC when that was not the case. I usually refresh TiBU into a new folder after a clean ROM flash but had been maintaining one folder across builds at that time. Incidentally I found that TiBU was also mis-remembering the storage location of a few apps that were moved from external SD to internal SD.
[Android Apps and Games] Sn00ky:
I've been using the app for quite some time and it's really really great, can't live without it. Big thanks to the dev, great job!

Just insalled it on Marshmallow on Nexus 7 2013, works as expected.

Quick question - is there an actual difference between 3.0.2 dev build from 8th of Sept and 3.0.2 from 1st of Sept?

Thanks a lot once again for your work! :)
[Android Apps and Games] Nikki1993:
Surprisingly enough, when I tried enabling hosts file, it threw up and error saying that I don't have sufficient space. Checked root partition, it has 104kb left on stock 6.0 ROM o_O
[Android Apps and Games] IronTechmonkey:
Yes. 9/8 has scan for adware working properly, and likely a few other changes.
[Android Apps and Games] Mike B.:
Titanium backup correctly relies correctly on the internal build/version number of an app to decide whether it's "new" or not. That internal number (android:versionCode) is unrelated to the version name (android:versionName) displayed in an "about" screen. If you look at your TiBu apps list, you'll see "AdAway 3.0.2 (54)" and all TiBu cares about is the "54" part. Keep this in mind when installing a new version of an app or trying to restore an old one.

It is common for devs to leave the internal version number alone during alpha/beta cycles and you might have to force a TiB backup of those instead of relying on a "backup new versions" batch job. I personally prefer to increase the versionCode for ALL builds to eliminate confusion, but it's not a requirement. This applies to ALL apps, not just AdAway.

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

Which AdAway version with which source files? Unusually large source files can trigger that problem, and Marshmallow ROMs tend to prevent writing to the /system partition. Have you tried with only the default sources and while using a symlink, as discussed in recent posts in this thread?
[Android Apps and Games] Nikki1993:
Fresh 6.0 install and Adaway with default sources. Symlink for some reason cannot be created. I will try again later during the evening.
[Android Apps and Games] Mike B.:
Thanks for the clarification. This well-intentioned Marshmallow limitation seems to be causing quite a few problems for many apps, but I suspect that someone will create a workaround as soon as 6.0 becomes more widespread. For now try creating a symlink from a terminal prompt (assumingn that you are rooted, of course), or via adb. Until you can edit the hosts file, AdAway won't be able to do its job.

Somehow we seem to always bump into new "features" with each Android release, such as the inability to write to an external SD card when Lollipop first appeared, but it all eventually gets worked out... ;)
[Android Apps and Games] Nikki1993:
Yea I was quite surprised when I saw Root partition being full with only 160kb left.
[Android Apps and Games] IronTechmonkey:
You are too kind (or did I miss some sarcasm);)?. Hasn't boogle been trying to lock us out of being able to access and control external storage (and locking us into data/background data always on) for forever?
[Android Apps and Games] Mike B.:
Only partial sarcasm. I'm sure someone thought it wise to prevent users from changing anything in /system. Usually, such decisions are made by people who only understand enough to be dangerous, and almost never by true techies. In the corporate world, that typically means a top executive overrides the recommendations of the tech team. Such misguided "security" measures are not specific to Google at all and there's no reason to single them out as yet another Evil Empire. In the latest Mac OS (El Capitan), for example, the default is to similarly prevent modifying many essential system locations. Fortunately, Apple provides a simple way to disable that, but it requires using a shell prompt and that might be enough to scare the casual "tinkerer". I haven't looked at Marshmallow yet, but I'm pretty sure something of that nature will become available shortly.

And since we're OT, a quick observation that the real "security" issue has little to do with technology but rather with unreasonable expectations. Anyone who thinks that digital data connected to the outside world can be completely "secure" is delusional. Everything is up for grabs and the only difference is that some data such as a nuclear device launch code is more likely to be targeted than the list of the porn sites you visited last night, but it's all vulnerable. Much like in the old days, if you have a secret, don't tell anyone, especially not your electronic devices... ;)
[Android Apps and Games] Nikki1993:
[MENTION=4343728]Mike B.[/MENTION]

What would be the correct way to symlink the /data/data/hosts with /system/etc/hosts? When I try to symlink them through terminal, it says "error, symlink exists" but adaway still shows that it's disabled. When trying to create symlink through Adaway, it fails with generic message for HTC and S-OFF. Trying to symlink with SE file manager also fails, as it crashes during symlink.
[Android Apps and Games] IronTechmonkey:
bullseye, Bullseye and BULLSEYE! Now I have to test for something in Adaway to complain about so I can get back on topic. :)
[Android Apps and Games] Mike B.:
Unfortunately, I have no first-hand experience with Marshmallow (no device for which there is a 6.0). From a good root-enabled explorer (I recommend Root Explorer), try to navigate to /data/hosts or /data/data/hosts and verify that such a file/symlink actually exists, and that you are able to view/edit it. Assuming the file DOES exist, verify that AdAway has been granted root permissions by SuperSU or whatever root manager you have. If necessary, you could try creating a symlink from an adb prompt. To simplify matters, you can even ignore AdAway completely for now and first make sure that you can edit a hosts file anywhere as long as it's a symlink to /system/etc/hosts.
[Android Apps and Games] Nikki1993:
GG, error was with ElementalX kernel. It did not allow RW permissions on system folder. Flar said he will push modified boot.img to allow RW.
[Android Apps and Games] Mike B.:
Makes sense. I forgot that you probably had to use a non-stock kernel and that the choices are limited right now. The curse of the early adopters... ;)
[Android Apps and Games] mrRobinson:
I've been testing on a marshmallow nexus 5. Do need a non stock kernel for proper root, other than that adaway works well. I fixed one more filed bug and trying to get it to compile with targetSDK 23. Some issues there with deprecated api's but hopefully i can fix. if not it'll run fine targetting api 22 still just would like to get on 23.
[Android Apps and Games] Skripka:
What I have found on Nexus 6 and MM 6.0 (MRA58) Xtrasmooth ROM...

LOTS of stuff will not work properly unless Xtrasmooth ROM is dirtyflashed on top of itself. AdAway might well be in that bucket of stuff. On my device I have AdAway 3.0.2 working normally as in Lollipop. It took some experimentation, but all my difficulties on MM stemmed from flashing and flashing procedure.

Flash ROM clean...Then dirty flash ROM on top...then flash custom kernel...then flash root....and whatever else. V4A, fonts, both work.
[Android Apps and Games] Mavz12:
thanks
[Android Apps and Games] jaxxes:
Nexus 6 with Marshmallow here as well. The biggest issue was getting proper root to give access to the /system. Once I had that, everything worked fine. I also had the issue of close to no space left in /system. I used titanium to move some of the Google apps to standard user apps which gave me plenty of space.

Hope that helps and thanks to everyone!
[Android Apps and Games] mrRobinson:
Once you have proper root (including write access to system) everything does work (I've tested). However 3.1 will have the latest bug fixes and modifications to fully support SDK 23, the android 6.0 sdk.

They may be intentionally keeping system thin so even those with root have a harder time using it. The best option is to simply go into adaway preferences, select target hosts file, and then pick /data/hosts.

it will then use /data/hosts for your xxMB hosts file and even create the symlink for you to /system/etc/hosts.

Now adaway takes no extra system space on you :good:
[Android Apps and Games] abdess47:
Hello someone have a solution to uninstall app system on Android M.

Titanium backup doesn't work.

Thanks
[Android Apps and Games] Mike B.:
I believe the current TiBu (7.2.3) works fine on a fully rooted Marshmallow device. Read the last few posts in this thread for various hints, but I suggest you discuss those issues wherever your device is supported since this has nothing to do with AdAway.
[Android Apps and Games] Sieber101:
So, i use the slickdeals app where other users provides hundreds of various links to deals on

the web. Is it possible to allow redirects from that app so it doesn't block every link that i click? I know i can whitelist the particular sites it tries to redirect me too but i find myself white listing new things every day or disabling adaway each time i use the app

(which gets annoying). it would be nice to be able to just bypass adaway from this one app. Is that possible? Thanks