yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] osm0sis:
Hadn't heard of it. I'll check it out for my unrooted Shield TV!
[Android Apps and Games] KomitaMKD:
7, s5 neo. I rooted for first time and flashed custom rom successfully but developer options were closed on new rom so it was frp locked. I installed stock Android 6, flashed twrp, flashed su, flashed rom and now it is not working
[Android Apps and Games] k4rn8g3:
Download from here..

http://blokada.org/index.html
[Android Apps and Games] guest4711:
You may get it on f-droid too, because it is FOSS: Blokada ad blocker (The ad blocker - battery efficient, fast, powerful and simple to use) - https://f-droid.org/app/org.blokada.alarm
[Android Apps and Games] paul222008:
Im still seing ads in chrome (data saver off as always) how to take a logcat or report?

Im rooted with magisk

Xposed installed

On xiaomi mi a1 7.1.2
[Android Apps and Games] Pkt_Lnt:
First - Check your APN settings to make sure there is no proxy set. Settings > Mobile network > Access Point Names

[Tutorial] How to Logcat
[Android Apps and Games] paul222008:
There is none with my proxy in my apn [emoji848]
[Android Apps and Games] githyanki:
Next look at host file to see if adaway applies changes.

/system/etc/hosts	3855922	2017-12-20 08:38:49

If not, provide a log
[Android Apps and Games] paul222008:
I dont see

/system/etc/hosts38559222017-12-20 08:38:49

I only see is

/system/etc/hosts , is that right? Sorry im new to this
[Android Apps and Games] githyanki:
Yes, the numbers are the file size.
[Android Apps and Games] paul222008:
What should I check with that host file?
[Android Apps and Games] guest4711:
You should check whether AdAway is updating this file when you tell it to do (AdAway -- Download Files And Apply Ad Blocking) ...
[Android Apps and Games] paul222008:
Already did that[emoji24]
[Android Apps and Games] guest4711:
And? Was it updated? Then AdAway is doing it is supposed to do.
[Android Apps and Games] MrBrady:
Would love to see screenshots or a write up if your settings. I don't really understand the webserver and redirect part.
[Android Apps and Games] guest4711:
Here you are:
[Android Apps and Games] osm0sis:
Just check them to enable. Nothing special. :good:
[Android Apps and Games] IronTechmonkey:
From Adaway's very nice built in FAQ: ? (button) > FAQ (tab) > How to use the webserver in AdAway? (section).
[Android Apps and Games] Ci-Fi:
I gave up YouTube a while ago for Viral ( https://play.google.com/store/apps/details?id=com.Mata.YTplayer ). It doesn't have buffer issues that YouTube has and it can open in a floating popup mode.
[Android Apps and Games] an0n981:
Here you go

https://mega.co.nz/#!R05BxAjC!XzNsUb95jL4HHG-zpjsqR7hpafGYG_gOXsC6sSsSlEc

Although I would recommend downloading it from FDroid yourself
[Android Apps and Games] j1gga84:
Can anybody tell me what is the difference to Adblock Plus 1.2.0.309 ?

Is it possible to install both blocker programmes or is this not very useful?

Many thanks
[Android Apps and Games] DecypherT:
[MENTION=4699854]j1gga84[/MENTION], Adaway works and ad block plus in most cases does not.

Also ad block plus didn't work on my nexus 4, it shutted off 3G constantly after enabling it.

Send from my Nexus 4
[Android Apps and Games] Croatoan®:
I have latest adaway and I have only problem with one app (Caynax A6W). It'says that I buy PRO version or stop blocking ads.

I have two questions:

1) How can app (without root) know if I use adblocker even in airplane mode?

2) Can I whitelist this app (it doesn't have intrusive ads) ?
[Android Apps and Games] Shinyhead:
1. most likely it is checking to see if valid data is coming back from the ad url or checking if the ad url isn't a local ip

2. you can whitelist the app just have to find all the urls to whitelist
[Android Apps and Games] bleached45:
For those of you that don't know, the looping issue with it trying to apply hosts and getting stuck is somehow related to the hide reboot dialog option. If you make sure the box is unchecked, then clear the app cache in android app settings and restart the app (I'll be fully honest, I don't remember the exact process, I may have reverted (disabled) hosts after that and rebooted) it should work. I have 2.8 on kitkat running nicely. Can confirm ads are blocked and YouTube works.
[Android Apps and Games] DecypherT:
Some apps detect an ad blocker. Don't know how.

1. What do you mean with, 'without root'? Adaway needs root and root is not per app based. Your complete phone is rooted or it isn't. Perhaps you mean SU permission?

If it detects your ad blocker I don't know what to do.

There could be a way, but that way isn't to be shared here. Sounds a bit weird I know.

Send from my Nexus 4
[Android Apps and Games] dagosjt:
Thanks, I can confirm you are right.I had the looping issue and solved following your indication, that is I unchecked hide reboot box, disabled hosts, cleared cache and finally everything worked fine!
[Android Apps and Games] Pons:
Pretty much this:

And @

1. I think he means an app which doesn't use/request/gets denied root. And answered above (most likely).
[Android Apps and Games] Croatoan®:
I meant SU permission :) Adblock plus can be relatively easy detected on PC. But how can app on android read host file without SU permision. On PC program can't "see" my host file, but on android it looks like app can see host file :( Adaway is excellent at blocking ads, but you always have a function what you want in future. It would be nice to see whitelisting app.
[Android Apps and Games] DecypherT:
[MENTION=4839449]Croatoan[/MENTION], you don't need SU permission to see/view the file. Only to edit the file.

Send from my Nexus 4
[Android Apps and Games] Croatoan®:
And apps can read it, ccc. Very bad. I don't love that apps have so much permissions :( It's because usability is more important than usability.
[Android Apps and Games] katsika:
thank you so much, i have rooted my lg gpad just to use this application
[Android Apps and Games] Garry1313:
I have installed it on my USC S3, post applying the host files, it asks for restart. When Opened after restart, it shows ad blocking disable. Tried many times but to no resort.
[Android Apps and Games] michele72:
Couldn't get this to work, so I successfully experimented with the preferences, I hope that this could help people experiencing the same problems:

- goto preferences

- target hosts file

- select the second option "data/data/hosts"

- go back to the main screen download updates, it will detect that a simlink is missing, choose to create it and reboot.

- everything works perfectly now.

The reason why for most phones the first default option "system/etc/hosts" doesn't work, is most likely due to permissions (for instance system mounted as r/o etc).
[Android Apps and Games] gorilla p:
I was skeptical this would work but I followed the instructions and it worked fine.

1 I made sure busybox was installed.

2 I downloaded adaway 2.7 (not 2.8) and installed

3 ran the first time and let it fail

4 go to apps, force close, clear data

5 reopen ad away and select download and apply updates (don't check for updates first)

If it doesn't work at first, try force closing, clearing data and retrying a couple times.

Working for me on rooted 4.4 on my N4.
[Android Apps and Games] benfiller:
Everything working great here on my i9505 ! :laugh:
[Android Apps and Games] saurabh007:
Thanks for the app..

Could you please tell me why does it require further downloading of host files?
[Android Apps and Games] Pkt_Lnt:
New ad servers and ads are being added to websites, so you need to update of new ads show.
[Android Apps and Games] dmachop:
Hi,

Newbie here. I have a rooted HTC One M7 with recent installation of adaway 3.2. The preferences are all checked. Hosts are downloaded properly but the ads are not blocked. Proof that hosts are merged:

> adb shell
shell@m7:/ $ ls -l /sys
sys/ system/
shell@m7:/ $ ls -l /system/etc/hosts
lrwxrwxrwx root root 2016-11-06 08:42 hosts -> /data/data/hosts
shell@m7:/ $ ls -l /data/data/hosts
-rw-r--r-- root root 5167845 2017-12-24 12:28 hosts
shell@m7:/ $

Using wifi. Checked the mobile access point settings and it doesn't have the proxy details.

Using firefox latest version testing the url ads-blocker dot com fwd-slash testing where the link shows the ads.

Super su shell logs looks like this:

echo Started
Started
ls /su/bin/su 2>&1

echo F*D^W@#FGF 0 $?
/su/bin/su: No such file or directory
F*D^W@#FGF 0 1
mount | grep /system/etc/hosts 2>&1

echo F*D^W@#FGF 1 $?
echo F*D^W@#FGF 1 1

exit 0

echo Started
Started
id 2>&1

echo F*D^W@#FGF 0 $?
uid=0(root) gid=0(root) context=u:r:init:s0
F*D^W@#FGF 0 0

exit 0

echo Started
Started
/data/app/org.adaway-1/lib/arm/libblank_webserver_exec.so > /dev/null 2>&1 & 2>&1

echo F*D^W@#FGF 0 $?
F*D^W@#FGF 0 0

exit 0

Can anyone help me on why ads aren't blocked on adaway?
[Android Apps and Games] githyanki:
AdAway doesn't block ads, it only updates the host file. Since you figured out that the host file was updated, the problem lies elsewhere.

See if there's a data saver option in Firefox enabled. Chrome has one, don't know if Firefox does....
[Android Apps and Games] dmachop:
Firefox doesn't have such a permission. It not only deals with firefox but with any app like youtube, spotify, or even in-app ads. Checked the same on TCPDump where the requests that are supposed to be blocked and present in the hosts are not blocked at all.
[Android Apps and Games] Ch3vr0n:
Then they're hard coded in the app and no amount of hosts files will stop them from loading the ads then. as the hosts file is bypassed all together

Sent from my Nexus 6P with Tapatalk
[Android Apps and Games] dmachop:
No it doesn't for all the apps. Youtube ads can be blocked with hosts too.
[Android Apps and Games] guest4711:
Do you use any vpn? This method of changing the hostfile for ad blocking does not work with vpns... Nor does it if ads are adressed by ip adresses. (Nor does it if hostfiles are used only if no dnsserver for a given name can be reached.)
[Android Apps and Games] dmachop:
No VPNs. What's confounding is that the hosts are written but ads are not blocked.
[Android Apps and Games] ChazzMatt:
No, it can't. There's tons of questions about how to block YouTube ads in this thread, and the answer is Adaway can't do it.

If it could, we would have found the host list to add by now. ;)

Serously, that question is asked every other page. "How can you block YouTube ads?"

Sent from my carrier unlocked LG V30+
[Android Apps and Games] dmachop:
Okay. But the issue still remains that the ads aren't blocked through Adaway which writes to the host files. I'd like to know what's preventing this from stopping ads. I get that there can be ads embedded to the app which can't be avoided but I got the proof that the hosts that have localhost addresses have entries when run with TCP Dump. Sorry that I am unable to insert the screens due to low post count.
[Android Apps and Games] androcraze:
The apps in question pull ads from servers using IP addresses, not DNS addresses.

Try 172.217.18.14 in your URL bar, then try www.google.com; both show the same thing, right?

The hosts file can only redirect DNS names; it can redirect the DNS name to an IP address (like AdAway does, either to 0.0.0.0 or 127.0.0.1), but it can't redirect an IP address to an IP address. It's the way the host file works. AdAway can't change that behavior; in the example above, AdAway can block "www.google.com", but it can't do anything about "172.217.18.14", even though both are essentially giving the same result.
[Android Apps and Games] dinkoh:
Any way to block the ad placeholders??
[Android Apps and Games] guest4711:
Not by AdAway, but by using a adblocker in your browser like uBlock Origin.

You may use both together. AdAway helps you avoiding the data transfer to the devil hosts while uBlock Origin is used for the cosmetics...
[Android Apps and Games] dinkoh:
I have ublock on my laptop, but how do I get it on my Android. Seems like you can't add it chrome.
[Android Apps and Games] ktmom:
You need to use Firefox.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] Ultramanoid:
Use Firefox.
[Android Apps and Games] DallasBelt:
OT: How do you make the date appear in the status bar?
[Android Apps and Games] ktmom:
Yes, off topic. You need to post this in your ROM or device thread.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] guest4711:
I use a firefox for android, e.g. Fennec F-Droid (Browse the web) - https://f-droid.org/app/org.mozilla.fennec_fdroid

I use a custom time format, e.g. "c yyy-MM-dd hh:mm"
[Android Apps and Games] jmindset:
This no longer works? I'm on 7.0 and I'm seeing ads everywhere
[Android Apps and Games] ktmom:
It works fine. All the way up to 8.1.

First check your hosts file. There should be a disclaimer at the top confirming the file was generated by Adaway. If that is there, your "ads all over the place" is due to different problem.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] fabiodifa:
I noticed that Adaway blocks the autostartup af apps in Parallel Space: how can I solve this issue?
[Android Apps and Games] Ultramanoid:
AdAway is a hosts file manager, it does nothing else. If any application to start needs to connect to an address that is in the hosts file, you'll have to find out what that address is and remove it.
[Android Apps and Games] ChazzMatt:
"Adaway turned my phone into a teleportation device. I ended up thousands of miles away and I was late for work. What can I do?"

"While Adaway blocks ads just fine, it refuses to give me the winning lottery numbers. What can I do?"

"I'm not rooted and didn't apply hosts files -- but Adaway refuses to block ads anyway. What can I do?"

"While Adaway blocks ads just fine, I am a flashaholic and demand a new version. Is this thread dead?"

"Even though this thread is devoted solely to Adaway, and is over 1,000 pages... I am narcissistic enough to think my question has NEVER been asked before, and therefore I refuse to use the simple search function. What can I do?"

...

Oh, I forgot the "Warning: Sarcasm Ahead" disclaimer... ;)

By the way, the answer to the first question is:

"AdAway is a hosts file manager, it does nothing else. You need to find out which other app has the pesky (apparently random?) teleportation functionality and uninstall it."

A lot of the very last type questions are "How do I block YouTube ads?" And Search is always your friend.
[Android Apps and Games] azZA_09:
In the new magisk 15.0, the menu to grant root doesnt appear anymore. I will wait for a fix, but this is just a headsup
[Android Apps and Games] Toutatis_:
No such issue here with Magisk v15, the pop-up menu asking for root access is still there. After upgrading to v15, I had to grant root access again to all my apps, as usual.
[Android Apps and Games] guest4711:
This seems to be a new problem if you clean install AdAway on top of magisk 15. There are a description and a q&d fix at https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589/post74965225
[Android Apps and Games] IronTechmonkey:
A bit OT but as a supplement to Adaway for those using Firefox: Since the recent release of Firefox 57, the Noscript Firefox plug-in now works in Android.
[Android Apps and Games] MrBrady:
Is there a way / whitelist / setting to still get Google AdWords Listings to work (Google Search and click on an ad listing) but block display (banner) ads in websites/apps?
[Android Apps and Games] Pkt_Lnt:
Maybe.

https://github.com/AdAway/AdAway/wiki/LogDNS
[Android Apps and Games] MrBrady:
I'll give that a read. Thanks!
[Android Apps and Games] dmachop:
I understand that dns resolution works in that way :) My question was that the ads are still displayed inspite of hosts being written by adaway on the file. The TCP dump displays the exact name of the address that is present in the host with the local address. That means that the dns is not getting picked up or something wrong with the configurations (I doubt it since adaway auto-detects such errors on the app itself, seen some screens with errors where the host location is incorrect)? Perhaps can you tell why the dns is not getting applied by the merged host file (/data/data/host; symlink created and followed all the instructions; logged onto adb and verified it manually checking it. Seems ok)?
[Android Apps and Games] androcraze:
https://ads-blocker.com/testing/

http://simple-adblock.com/faq/testing-your-adblocker/

https://pi-hole.net/pages-to-test-ad-blocking-performance/

https://thepcspy.com/blockadblock/

https://tech.adtoniq.com/blocktest/

With AdAway, either you're seeing the ads, or you aren't; it's not a matter of "only half the list works". Anything you have added to the hosts file should be blocked; if things aren't getting blocked, it's a configuration problem. A high percentage of issues are related to the root implementation; systemless is tricky.
[Android Apps and Games] ktmom:
If the hosts file is written by Adaway, it doesn't have anything to do with root/systemless. The only use Adaway has for root is to have access to writing the hosts file.

[MENTION=5423342]dmachop[/MENTION]

If the hosts file blocks access to at least one url entered, but ads still show up, it isn't anything to do with DNS blocking. The ads are being called without the need for DNS.

The most likely cause of your issue is a proxy server or a data saver feature. That can be anywhere from on your device (e.g. Chrome settings) or through your ISP. A general statement that it works sometimes it's not going to get anyone very far helping you.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] HighOnLinux:
This forum seems very helpful. I need some help with adaway:

So i decided to download it and give it a try again on my Galaxy S8 (Snapdragon) running 7.0 Nougat. Everytime i launched the app, it would just sit there and not fully load, just a blank grey page. Deleted data, uninstalled, reinstalled, still no luck. It never prompted me to gain root access either the whole time which i found strange.
[Android Apps and Games] ChazzMatt:
Are you rooted? Sorry for the silly question. I see you mentioned root, so you probably are. But just confirming.

What version app have you installed and from where?

Sent from my carrier unlocked LG V30+ US998
[Android Apps and Games] githyanki:
In addition to what ChazzMatt asked, how are you rooted, and does it work with other apps?
[Android Apps and Games] HighOnLinux:
I used the samFAIL method to root my galaxy s8 and i have a lot of apps that have been granted root access, such as flashfire, xposed, and a couple others and it's successful. I originally installed the apk from here: https://f-droid.org/en/packages/org.adaway/ and it's the most up to date version it had on their domain.
[Android Apps and Games] seanskiT!:
Have you tried going into either magisk or supersu, which ever you use, and grant root access?
[Android Apps and Games] HighOnLinux:
Oh wow, that actually worked. I never thought of doing that. Thank you
[Android Apps and Games] badmojr:
Yo! Everyone.

Check out this hosts file by me.

https://xdaforums.com/android/general/badmojr-one-host-file-to-block-t3713360/
[Android Apps and Games] ChazzMatt:
Try installing the most up to date version found in post #1 of this thread.

https://www.androidfilehost.com/?fid=817550096634744719

Sent from my official carrier unlocked LG V30+ US998
[Android Apps and Games] Henki98:
Webserver on or off?
[Android Apps and Games] guest4711:
Running the webserver may be a good idea - you avoid timeouts and errormessages like "cannot connect to server" on blocked URIs.
[Android Apps and Games] harkaman:
I have issue to block ad on Android O x86. It works very good on Android N x86.
[Android Apps and Games] Ch3vr0n:
And what exactly is the issue? There are no crystal balls here, no logs of any kind and definitely no mind readers that know which device you have and what ROM it's running out it's configuration...

Sent from my Nexus 6P with Tapatalk
[Android Apps and Games] harkaman:
I cannot block ads. please looks at photos

https://imgur.com/a/m1QKJ

II am not sure it is rom issue or apk.

And I am using rom from this: https://xdaforums.com/android/software/x86-bliss-x86-pc-s-t3534657

Bliss x86 (Android pc) V10/ android O
[Android Apps and Games] XDVRMX:
Does this app support android Oreo or it's deprecated?
[Android Apps and Games] Ch3vr0n:
I'd you're using systemless root on O you need to make a new tweaks. Then it'll work. They're in here somewhere

Sent from my Nexus 6P with Tapatalk
[Android Apps and Games] Ghoul159:
Are you using magisk? If yes, check the free space available in root/magisk folder. This happened for me when there is no enough space available for hosts file. I solved this making some space for hosts file by resizing the magisk.
[Android Apps and Games] harkaman:
NO, Magisk is not working on Android pc. So I don't use magisk.
[Android Apps and Games] XDVRMX:
Thinks, I think there are some modules already. If not I'll do one on my own ?
[Android Apps and Games] Ghoul159:
Oops, apologies. Brainfart on my part. I thought you were using it on phone. Maybe some experienced can help you :)
[Android Apps and Games] jcmm11:
If you're using SuperSU-SR5 you're running in sbin mode (default for Oreo). See this post

https://xdaforums.com/showpost.php?p=73379577&postcount=10868
[Android Apps and Games] juniorhxcx:
Please! Version for Oreo!

Great App!!! I can not be without him.
[Android Apps and Games] Toutatis_:
It works just fine on Oreo...
[Android Apps and Games] juniorhxcx:
I'm using CrDroid 29.12.2017 + Nano Gapps + Magisk 15.1

When installing apk, it gave an error.
[Android Apps and Games] Ch3vr0n:
What error? Nobody has a crystal ball here.

Sent from my Nexus 6P with Tapatalk
[Android Apps and Games] jazzmxx:
thank you

thky
[Android Apps and Games] juniorhxcx:
When installing the app, it even starts, but it results in the message: "The application could not be installed"
[Android Apps and Games] Ch3vr0n:
There has to be an underlying reason. I'm definitely not an expert, all I can say then at this point is to try to install again, then create a FULL debug report and post it here. Maybe that'll give the resident Android experts here a clue as to what's going on.

Sent from my Nexus 6P with Tapatalk
[Android Apps and Games] HighOnLinux:
If possible, could you provide a log on it?
[Android Apps and Games] juniorhxcx:
Guys

firstly thank you!

I will make a few more attempts to install the application (.apk) and generate a log and post.
[Android Apps and Games] githyanki:
Look to see if your allowing installation from unknown sources.
[Android Apps and Games] zeugme:
Hi,

LinkedIn app is not working correctly with AdAway activated. It seems that some necessary urls are blocked.

Does somebody know which urls are needed (whitelist) for the LinkedIn app to work?

Thanks!

Envoyé de mon Pixel en utilisant Tapatalk
[Android Apps and Games] juniorhxcx:
Everyone, good morning!

Already ready to post the Log here ... when:

Figure out the problem.

I picked up a friend's phone, is using Oreo OmniRom and apk has installed it correctly. From there, I noticed that during installation on my device, the installation message reported: "Do you want to update the application ..."

However, do not find the icon of the same, I looked in the list of system apps and the list of apps generated by SdMaid, but did not. I pulled ROM and found Ad-Away as ROM's own resource.

App tested and working. This was the first time I used a ROM that was already included with Ad-Away, I thought it was great! This app is the first one I install, I'm not without it.

Many thanks for your willingness.
[Android Apps and Games] ktmom:
The easiest way to solve this problem is to use DNS logging as you start the problem app (LinkedIn in this case).

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers