yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] NLBeev:
On my N6 with Adaway ''www.bild.de'' shows a page that I have to deactivate my adblocker.

Because the hosts file is loaded when booting, I renamed the file and did a reboot.

After boot I renamed the file to ''hosts'' again.

"www.bild.de'' kept working.

After a new reboot the ''bild begging page'' appeared again.

I did the same with the refresh option of QuickBoot. Same result but faster.

So there is a workaround by temporarily renaming 'system/etc/'hosts'
[Android Apps and Games] Nergal di Cuthah:
Yeah use the whitelist function in adaway

Menu button

Your lists

"White" tab (name not color)

Plus button

Type bild.de

If still blocked

Menu button

Log DNS requests

Press "tcp dump is not running"

Visit only the affected website

Go back to adaway and stop the dump by press "tcp dump is running"

Open the log file

And add the needed url to whitelist

Example, Forbes website also refused to load with the ad host blocked so to fix this is my whitelist

---------- Post added at 12:18 PM ---------- Previous post was at 12:12 PM ----------

Please see my edit, which occurred after your thank
[Android Apps and Games] NYLimited:
Or whitelist the domain?
[Android Apps and Games] NLBeev:
Yes, I read your edit. Nice info for noob-adaway users.

I have found another thing.

Restored 'hosts' and did a full reboot.

Accessed 'www.bild.de' again.

The bild-site pages are now in the Chrome cache.

It kept working!

EDIT

After closing Chrome and a restart the 'begging page appeared again.

Thx for your info. Going to try the 'whitelist'.
[Android Apps and Games] Meandi51:
I tried this, but none of it worked.

Weird is that the log file shows Facebook instead of the desired Bild website address.

Mhhhhh:cyclops:

Is there a way to temporary grant a blocked link for one time?

Simalar how popup blocker do?
[Android Apps and Games] Nergal di Cuthah:
My OCD got the best of me and I now can give you the unblock for bild.de

Add the following two url to the whitelist

cdn1.smartadserver.com

ec-ns.sascdn.com

Then reapply host files (always reapply after changing white/blacklist

Source: https://m.reddit.com/r/Bild/comments/3oz0ip/filters_anti_adblock_on_bildde/

Edit

I didn't need to add

bild.de
bildstatic.de

But you may want to as they are also listed in the full pastebin from my source above
[Android Apps and Games] nathanchance:
Thread cleaned. Please be respectful to each other and keep the thread on topic. The topic of system vs. systemless root has been discussed ad nauseum, let's just drop it here or take it to PM.

Nathan

Forum Moderator
[Android Apps and Games] s2jpark:
Thanks for the help guys. I decided to reinstall everything fresh after a clean wipe and out works great. I'm not sure what it was but I also redownloaded everything.
[Android Apps and Games] Noxeus_:
I've used Adaway for years now, but since OxygenOS 3 Google Advertisements have stopped being blocked on Google itself. On other sites all ads are still blocked. Did Google use some trick to allow ads? Or did Marsmellow change something?
[Android Apps and Games] ktmom:
Have you tried? (from the OP)
[Android Apps and Games] enushi2002:
Hosts file blocks Google Maps

There are some strings that blocks G.Maps. It says it cant connect. After I delete hosts file G.Maps works fine.

I want to keep both, so do you know any solution.

Thanks in advance
[Android Apps and Games] Darke5tShad0w:
No problem here with g maps.

Do you only use the 4 supplied links in the app or do you add extra?

Do you have other ad blocking apps?
[Android Apps and Games] AndroidHtc101:
I'm still seeing google ads on the search page using Chromium based browser Gello. Is there other filters or updates to use with adaway that will block these stupid google ads?
[Android Apps and Games] androcraze:
http://xdaforums.com/showpost.php?p=67584872&postcount=6463
[Android Apps and Games] enushi2002:
Actually i may have added another link, this maybe http://hostsfile.mine.nu/Hosts.

I see now :confused:

Thanks for your reply man.
[Android Apps and Games] jugoslavpetrovic:
Hey guys. Someone somewhere mentioned that adaway is messing with tapatalk version aftet 6.0.

Does anyone knows is that true and how to fix it? Thanks
[Android Apps and Games] Nergal di Cuthah:
I've had zero problems with tapatalk that I could attribute to adaway. Can you say what issues you have, and if they go away if you disable hosts in adaway.

(Posted from tapatalk with adaway installed)
[Android Apps and Games] NLBeev:
Because Adaway works by changing system/etc/hosts I think it does not cause issues for Tapatalk.

The only issue I found was that Tapatalk shows 'invalid thread errors' when a link ends with 't=<numbers>.
[Android Apps and Games] jugoslavpetrovic:
Since version 6xx, tapatalk does not shows threads notifications, its blank, I can still see quoted and mentioned notification, and somebody I cant remember where said its coused by adaway not as the fault of but maybe some host ad host address that is blocking that, so I asked. Sorry for inconvenience.

---------- Post added at 09:06 ---------- Previous post was at 08:54 ----------

Confirming, disabling adaway brings back threads notifications in tapatalk 6.0.5.
[Android Apps and Games] NLBeev:
Checked my Tapatalk version, it's 6.0.5.

Notifications are as in previous version.

Nexus 6; lite stock rom of Danvdh.

Kernel 30.10.40; build MBO30m.

EDIT: Adaway enabled.
[Android Apps and Games] jugoslavpetrovic:
Ok, thanks.

Maybe, cuz I have some 15 sources from which host file is build from, maybe there is something that blocks. Kinda frustrating, dont know how could I whitelist it.
[Android Apps and Games] NLBeev:
Two ideas.

Read post 6455 in this thread.

If you have root access, backup the hosts file; delete it and start with the latest version of Adaway.
[Android Apps and Games] snakx:
same her!

i'm on dirty unicorn

have find this solution work thanks junkfactory :D

" 1. In adaway preferences, touch Target hosts file then select custom target

2. Select custom target then enter /system/etc/hosts.og

3. Close preferences the hit download and apply.

4. If asks to create symbolic link select yes

So far is been sticking for me. I i think hosts.og is the original and being restored at some point. "
[Android Apps and Games] JochenP:
[MENTION=3355398]mrRobinson[/MENTION]: is it thinkable for you to adapt update-binary of your systemless flash-file so i am able to call it by individual updater-script?

That would make it easier to integrate it into ROMs, generated by SuperR's kitchen.

Thank you
[Android Apps and Games] mrRobinson:
I've never used a kitchen before and not clear exactly what you are asking for. Can you rephrase?
[Android Apps and Games] ktmom:
I think he's referring to: http://xdaforums.com/showpost.php?p=66871856&postcount=2
[Android Apps and Games] JochenP:
Yes i will try :o

Your systemless Hosts Prep is installed by your updater-script in META-INF.

The scripted ROM installation requires, that the modules (AdAway, busybox, supersu etc.) are present as binary script in the form of update-binary, so it can be invoked and executed by the script itself.

I thought that it is possible for you to compile your updater-script to that update-binary.

For example to call SuperSu from my updater-script:

run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/BETA-SuperSU-v2.74-2.zip");

---------- Post added at 09:42 PM ---------- Previous post was at 09:39 PM ----------

nearly :good:

http://xdaforums.com/chef-central/android/kitchen-superrs-kitchen-t3202296/post66871856#post66871856
[Android Apps and Games] jugoslavpetrovic:
I did this, deleted hosts file from etc, then updated adaway and reboot. Either deleting or simply used with disabled adaway, and then again with enabled fixed the refreshing of notifications of subscribed threads.

Thanks.
[Android Apps and Games] osm0sis:
This is confusing, why would a custom ROM need a systemless hosts file? Altered hosts doesn't even fail SafetyNet so I honestly can't see the purpose. :confused:
[Android Apps and Games] JochenP:
Yes you are absolutely right. Ignore my post. Its too late - i go to bed :o
[Android Apps and Games] Kutzki:
Hey man. I just wanted to say that you're absolutelt awesome. This app is amazing and I've been using it since 2.9. Thank you SOOOOO much for keeping it updated. I notice some developers after a little bit Wil stop development for either personal reasons, or they got bored with the project, etc. Which is fine, but thank YOU for not abandoning this. This app is ridiculously useful and it works crazy good. :)
[Android Apps and Games] yldlj:
Do you install the systemless host before the apk? Also after a clean flash of a custom ROM will it have to be applied again?
[Android Apps and Games] speedster_no1:
good job
[Android Apps and Games] osm0sis:
Yes, more seamless if you flash it before installing. And yes, systemless hosts fix is applied to /data/su.img, so a clean flash (data wiped) would remove it.
[Android Apps and Games] Piemo:
Having problem on my Honor7 (6.0.2 with EMUI4) and systemless root. The app opens, but nothing is shown except dark background and Red top bar.

Any idea?

Inviato dal mio PLK-L01 utilizzando Tapatalk
[Android Apps and Games] Tiongkia:
Good job! Thanks so much
[Android Apps and Games] RSDamasceno:
Web server does not remain selected after you leave and return to the application.
[Android Apps and Games] ΦDroid:
Same problem here for the last year +, but instead of trying to fix the problem, I compiled pixelserv for my phone and use that instead. I'm lazy like that. Pixelserv shows request stats as well which is nice.
[Android Apps and Games] mrRobinson:
Log doesn't show anything. And works for me on 4 different device, even across upgrading, reboot and webserver back running. You'll ha e to provide details, rom, version, root, etc.
[Android Apps and Games] RSDamasceno:
I use the ResurrectionRemix ROM on the Moto Maxx XT1225 and the AdAway is built into the Rom.

Here's the link to rom: http://xdaforums.com/moto-maxx/development/rom-resurrection-remix-t3316232

Edit:

SuperSU Pro 2.76

AdAway 3.1.2

Android 6.0.1
[Android Apps and Games] mrRobinson:
Oh, built into the rom... . Then you'd be best going to the rom thread for help. Or find out how to remove it from the rom and install the apk from here.
[Android Apps and Games] RSDamasceno:
I tried to do the following.

Uninstalled AdAway with Titanium Backup, clear caches in recovery, installed the latest version of AdAway, but still did not work.

Do you recommend any additional step?
[Android Apps and Games] RSDamasceno:
Log with AdAway in data partition.
[Android Apps and Games] swat4samp:
Remove any hosts.alt files in /system/etc folder. Roms with adblocker have such files which causes issues with adaway app.
[Android Apps and Games] RSDamasceno:
I have only host file.
[Android Apps and Games] swat4samp:
I faced similar issue in some devices running kitkat but never had problem with lollipop and mm. Sorry, maybe someone will help you.
[Android Apps and Games] NLBeev:
Does not matter. When issues delete every hosts in system/etc and start Adaway. The will make a new hosts file and ask for reboot.
[Android Apps and Games] ryanwalexander:
What is the minimally effective list service? Do most people just use the default ones in the app? Id like to ideally shorten the list to reduce the size the phone needs to scan through with every connection to improve speed and battery life.
[Android Apps and Games] IronTechmonkey:
The hosts file from adaway.org is the smallest of the 4 available default sources. I've found that one to be sufficient with the addition of a few manually blacklisted domains.

BTW, you can compare the size of each of the various sources by downloading each in turn and then opening each in a text file viewer to see how many lines long they each are.
[Android Apps and Games] NYLimited:
As I recall that file has not been updated since August 2015...
[Android Apps and Games] Nergal di Cuthah:
effective in what manner, I swear by mvps on every device/computer I use; it blocks 99-100% of internet browser ads. As far as I know, I run the default host sources from the app

Correct (see image above)
[Android Apps and Games] NYLimited:
Tsk, tsk.. Still using Tapatalk, eh? :cool:
[Android Apps and Games] Nergal di Cuthah:
yeah, I'm trying to break the habit, but "mark all as read" and my photo apps ability to allow crop when calling a fresh Screenshot from in forum app - "KK Gallery" app's fault not either forum app's, I'm sure - keep pulling me back
[Android Apps and Games] NYLimited:
Mark all is working well for me.

Have you looked at the Google Photos app for quick and easy cropping?

Anyway, I just don't like Tapatalk's business methods.... I think I'll quit messing up this thread with ot posts now..
[Android Apps and Games] Nergal di Cuthah:
See my reply in XDA labs thread (for on-topic purposes, but my next move will probably confuse many in that thread) lol
[Android Apps and Games] jiznon:
For anyone having FC issues when upgrading to 3.1.2:

I could not get 3.1.2. to proceed past the SuperSU request on first launch - it would FC every time I try to open it after that. In my case I had manually added an HTTPS version of the default hosts-file.net/ad_servers.txt while on 3.1.1. This seemingly resulted in the upgrade going wrong. After

downgrading to 3.1.1

delete URL

reboot

upgrade to 3.1.2

all is well.
[Android Apps and Games] cowboysgz:
I was using an old version of adaway... No wonder ads kept popping up lol
[Android Apps and Games] Nergal di Cuthah:
Soooo I'll probably be flamed for saying this, be assured that I'm not trying to call anybody stupid or anything else, but normal troubleshooting step leads me too be sure that you have these preferences enabled
[Android Apps and Games] RSDamasceno:
Of course, yes! ;)
[Android Apps and Games] ΦDroid:
Yes.
[Android Apps and Games] DE52:
Is busybox also installed because that's what is required to keep webserver active through a reboot lol and to my knowledge doesn't work with toybox
[Android Apps and Games] osm0sis:
Works fine with toybox in my testing, the issue occurs when busybox is installed incorrectly to /system/bin or /su/bin; it needs to be in an xbin directory.
[Android Apps and Games] RSDamasceno:
Thank you, guys!

The busybox was built-in in the ROM (in /sbin). I reinstalled properly (in /system/xbin) and it worked!
[Android Apps and Games] tag68:
Suggestion for next update of adaway: If the option WebServer is toggled to be enabled, check that busybox is where it is supposed to be. If not, show a warning that the setting may not be able to work ... ;)
[Android Apps and Games] osrox:
The correct procedure is: ??

Flash systemless hosts .zip >> install .apk ??
[Android Apps and Games] Toutatis_:
Yes. Systemless hosts is optional though.
[Android Apps and Games] mbc663:
Hello all,

Having an issue here that I've been spending the last day trying to figure out.

Using Chrome with Adaway on A Nexus 6P running Pure Nexus. With Data saver off on Chrome, I am still getting TONS of text based ads from Google. Please see the following screen shots.

Any and all help is appreciated! Thank you!
[Android Apps and Games] androcraze:
From Post #1:

Problems? Read this:

* if you use Chrome and still see ads on web pages, remember to disable the "data saver" or "reduced data usage" browser option
[Android Apps and Games] ΦDroid:
I believe those ads show no matter what you do, but if you click them you should get an error.
[Android Apps and Games] mbc663:
From my post....

"With data saver off"

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

I do get an error if clicked, but look how much of the page these ads take up. Its kinda ridiculous
[Android Apps and Games] githyanki:
Adding Google.com to blacklist should get rid of those ads. Will mess with a lot of other stuff though....
[Android Apps and Games] androcraze:
I'm seeing them with Lightning Browser as well.

Short of using another search provider, I'm not sure what can be done. It's not an AdAway issue; Google can push what it wants to its own web pages.
[Android Apps and Games] RSDamasceno:
Excuse me. I suffer from premature ejaculation. Lol.

It worked once, but after reboot, the web server does not get active again. : /
[Android Apps and Games] Nergal di Cuthah:
maybe your ROM and/Kernel puts busybox in sbin at boot,
[Android Apps and Games] casouzaj:
I was facing the same problem regarding retention of the webserver feature. This is what I did to get it sorted out. I was running JRummy's busybox. I replaced it by the Stericson's one (both of them in the Pro version), disabled AdAway and uninstallef it, installed it back again from XDA Labs, went back to Adaway preferences and activated webserver. Profit!
[Android Apps and Games] ghostinrags:
Same issue but on N

Ever try or see anyone on N getting AdAway to fly? The hosts directory has changed, and I can't create the directory after mounting. Wouldn't do any good anyway if the path has changed now. N is being a pain. Got root finally but these ads KILL you! I've had AdAway for years and years, AdBlock on the computer. How the hell do people use their stuff without blocking ads?!?! It's sickening!

So, I'm trolling trying to find anyone who might be in the know for N v.beta.4. Thanks.
[Android Apps and Games] RSDamasceno:
Thanks man!

In my case the busybox version of Stericson's did not work. I used the version of meefik from here https://play.google.com/store/apps/details?id=ru.meefik.busybox

And I uninstalled the AdAway from system and installed as user application.

I kept Busybox Pro by Stericson only to remove the busybox built in the ROM from /sbin.
[Android Apps and Games] defsix:
Hi, I had this issue too. It was driving me crazy, I had root and AdAway all working fine. But still getting ads... I finally solved it when I checked my APN Settings, I'm with Three and never had this issue before, so I compared my phone with my previous Sony Xperia. The APN Settings were different. On my 6P my data was going through Three's proxy. I removed the proxy and rebooted... No more ads
[Android Apps and Games] Nodens:
Hello, great work there!

I got a couple of requests to be considered if possible.

a) When using systemless, adaway app does not detect it. It should detect and set the path to /su/etc/hosts. Considering there are no instrutions on the OP for systemless as well I think this should be a priority

as someone just flashing the zip and assuming the app will detect automatically will just taint system.

b) Even when you manually set the target to /su/etc/hosts, adaway complains that there is no symlink to /etc/hosts and offers to link it. This is potentially another way for system taint, specially someone who doesn't understand what it says or what a symbolic link is.

c) Perhaps a new version of the systemless zip that can utilize SuperSU 2.76+ new method of mounting? Like systemless xposed v86+ is doing? It cleaner and seems to be way forward.

Thanks and sorry for any bad english :)
[Android Apps and Games] Sky88:
Keep getting the error coping of host file failed.

Running preview 4
[Android Apps and Games] mitchdickson:
Works fine here. Maybe you should read the OP or search the thread?
[Android Apps and Games] pkelly517:
Perhaps you should read the OP again.

Your English is fine.
[Android Apps and Games] Nodens:
Hmrr.. I read it again. Somehow it slipped my mind that since the file is bound you don't need to actually change the target. Sorry about that.

So scrap a and b. Only c.
[Android Apps and Games] A_XDA457:
How do I revert? After flashing this zip, zero files can be downloaded from anywhere, even with Adaway disabled and reverted to original hosts file.
[Android Apps and Games] piccit:
If "This zip" is the system-less linked from the OP, then you need to remove the script from su. d and reboot
[Android Apps and Games] NLBeev:
On my N6 the standard Adaway works fine.

No reason to go 'systemless' .

When I read your post, I wonder why you don't leave that systemless thing.
[Android Apps and Games] androcraze:
Not everyone runs Chainfire's SU; some folks run PHH's solution, which is "systemless" (and open source).
[Android Apps and Games] Nodens:
Chainfire's is also systemless.
[Android Apps and Games] Sky88:
Keep getting error copy failed on preview 4. Does anyone knows how can I fix it?
[Android Apps and Games] Ja_som:
Flash systemless zip from the first post...
[Android Apps and Games] Ja_som:
DELETED
[Android Apps and Games] PerfectSlayer:
Not here! There is no free space on system on N6 factory image.

So AdAway does not work with systemless on my M6.

Only a previous test build works for me :(

Any news on making patch for this case? Thanks.

(Note: I'm not asking for an ETA, I'm asking about if devs changed their mind on systemless root as is not out of beta ;))
[Android Apps and Games] asj0422:
Kinda-noob question time (sorry):

1. If adaway is made systemless, then how can it modify the hosts file without touching /system, since the hosts is stored in /system? What exactly does the systemless zip do to the device to prep it for systemless adblocking?

2. Why doesn't the regular (non-systemless) adaway work on android N? I've been able to find all sorts of information about how to fix the issue (pretty much by going systemless, or manually copying the files) but nothing on what actually causes the issue with N.

Thanks!
[MENTION=3355398]mrRobinson[/MENTION]
[Android Apps and Games] jcsww:
Delete some bloatware before downloading the hosts file. Personally, I ditch Hangouts, YouTube, Docs, Music, Facebook, and all of the other Google crap I don't want.
[Android Apps and Games] NLBeev:
I understand. I am using a slimmed down stock Rom of Danvdh.

http://xdaforums.com/showthread.php?p=59561445/

Unless you need all Google stuff you could give it a try.
[Android Apps and Games] Nodens:
1. It uses "mount -bind" method to bind /su/etc/hosts to /system/etc/hosts. Meaning that after boot, the /system/etc/hosts file actually points to /su/etc/hosts so that the actual file in the system partition is not modified.
[Android Apps and Games] mrRobinson:
The free space issue is completely unrelated to system less root. When I add support for systemless to AdAway instead of the Flashable zip I'll have it check the data partition for free space which will pass. Since in systemless that is actually where the hosts file is taking space.
[Android Apps and Games] FPSUsername:
Flash the systemless hosts zip. I have this isssue as well, the webserver stops when I change screens (so I go to adaway settings and then back)

Now it works great
[Android Apps and Games] PerfectSlayer:
If I do that, I can't use OTA update.

I try to stay with stock (after AOSPA and Slim, I found Xposed modules are just enough too me).

Are you saying AdAway natively works with systemless root without flashing « AdAway_systemless_hosts_v2.zip »?

If yes, I misunderstood the first post. Because I tried to use custom location with « /su/etc/hosts » but AdAway still wants to create a symlink from « /sytem/etc/hosts » and failed to activate blocking.
[Android Apps and Games] NLBeev:
No need for OTA

Danvdh updates the rom for the Nexus6 every month. Faster than the OTA.

Yes on my N6; using the lite Stock Rom as mentioned before (Danvdh)
[Android Apps and Games] PerfectSlayer:
Yes but on your rom, you have free space left on /system. I don't have on factory image (even if we don't use it).

Check the following post quotes:

And:

So my point is to know if there is news about the reserved vs free space hack? :fingers-crossed:
[Android Apps and Games] osrox:
View attachment 3817650

Why does Adaway app looks like this on my OP2 ?