So I use Adaway and it worked totally fine on CM13 but now on CM14.1 the hosts file does absolutely nothing. I have Adaway in systemless mode and it updates the hosts file totally fine, but Android simply ignored anything in it.
I've ensured that it's formatted properly and that the line endings are correct. I have removed the proxy from my APN (but it also doesn't work on WiFi, so it's sort of irrelevant) and I made sure data saver is not enabled in Chrome. I even cleared all of my Chrome data to see if it was a cache thing. I also reset my hosts file to default and then went and added my own entry for a XDA just to test, and after saving, rebooting the phone and ensuring that my changes remained, Chrome is still able to browse to XDA without issue.
Chrome isn't the best browser to check if AdAway works IMO (seems like it just ignores hosts file). Better try some apps for in-app adds, or firefox or something, also update Your AdAway to latest version which supports nougat (finally
Chrome 55.0.2883.91 uses the hosts file managed by AdAway (Nexus 6, N7.1.1).
A method for testing is to search in Chrome a site that uses googleadservices.
Search for instance 'iphone for free' ad press on one of the added ad-pic's.
When the hosts file is working Chrome will show a message that the page can't be reached.
When the systemless mode is used there must be 2 identical hosts files visible in a rootexplorer.
One in system/etc and the other in the 'bind' folder; mostly su/etc.
Related
Hi,
I am currently using Cognition 4.4.8 by Design Gears. I understand he has implemented some sort of ad blocking which blocks ads in many apps and it seems some websites.
Now I love this in some apps, but there are others (XDA app) which I would like to support. Is it possible to modify these blocked settings to allow some apps or even disable it completely?
Thanks
Sid
Download AdFree Android from the Market then use the "revert hosts" option and it'll restore the hosts file to stock, which means no more ad blocking. You can then use the same app to update hosts file, which will start blocking ads again.
Thank you
That worked
Anyone know why Adfree is not working on CM7 RC1?
my work as always (i still have the RC1)
update adfree, there was an update a while ago.
Naughty.
You can enable permission controls in CM settings to allow you to block network usage for specific apps if you need to.
Have you checked your date? Sometimes AdFree doesn´t work correct if date or time is wrong.
Date and time are fine. Also, I think it's not necessarily an adfree problem but something else. I removed adfree and manually added a hosts file but ads are still shown (see here). I don't know what's wrong.
I tried them all; adfree, adaway, adblock + and nothing seems to block ads.
Had the issue with 4.2.2 and now with 4.3. There are ads in the browser and all the apps.
I have root and downloaded hosts file, tried the web server option and nothing works.
vkass said:
I tried them all; adfree, adaway, adblock + and nothing seems to block ads.
Had the issue with 4.2.2 and now with 4.3. There are ads in the browser and all the apps.
I have root and downloaded hosts file, tried the web server option and nothing works.
Click to expand...
Click to collapse
Wifi or 3g?
On 3g is network dependent, if your operator is using a proxy then adaway will not work.
Just check with wifi and you are right there are no ads.
I guess theres nothing that can be done with lte
1. tip:
install elixir2 and deactivate for every app activities e.g. with following names:
.ad.
.google.analytics.
.advert.
...
2. tip:
install xposed framework, then download the modules "youtube adaway" (blocks ad on youtube) and "xod" (blocks a lot of google ad in many apps)
3. tip:
use dolphin browser and activate the option called something like "show flash-content only when clicked on", like this no flash-based ad will be shown/loaded during surfing
With these quite simple tips most ad I would ever see on my phone is vanished and won't drain battery etc.
Btw. see my thread about battery life, if you want more info on these tips (because i included the mentioned 3 with more details in my thread)
Thanks dolphin works great and I see no ads.
Also installed the xposed modules since the YT ads bugged me the most, to lazy for the elixir2 though, it's good enough like this.
You have some good advice in your thread, I already do most of it, what I need anyway.
This is an awesome add blocker...
http://forum.xda-developers.com/showthread.php?t=1916098
Sent from my C6603 using XDA Premium 4 mobile app
If anyone is having the same issue, try to leave the apn proxy blank.
I'm on bell and it works, I get a connection and there are no ads.
I have a Moto Z2 Play running a Pixel Experience Oreo (8.1) 64-bit ROM. I have TWRP, Magisk and Xposed Framework running. My browser is Chrome 70.0.3538.110 which is the latest stable release as of 5th of December 2018.
I have "AdAway", which works using the hosts file. It does work, however the space normally taken up by the ads is now taken up by a "sad face" icon as in the message Chrome shows when a page fails to load.
To me this is better than no ad-blocking at all, but one of the points of an ad-blocker is to remove clutter and use more display real-estate for actual content. Therefore, I am looking for a way to block ads in Chrome while also freeing up the space used by them so it can be used to show actual content. This is how most ad-blockers for desktop Chrome work.
I know that the newest Chrome Canary releases have a native ad blocker built in. However, it only blocks the most obnoxious ads. I am looking for a way to block all (or the great majority of) ads.
Fiksdal said:
I have a Moto Z2 Play running a Pixel Experience Oreo (8.1) 64-bit ROM. I have TWRP, Magisk and Xposed Framework running. My browser is Chrome 70.0.3538.110 which is the latest stable release as of 5th of December 2018.
I have "AdAway", which works using the hosts file. It does work, however the space normally taken up by the ads is now taken up by a "sad face" icon as in the message Chrome shows when a page fails to load.
To me this is better than no ad-blocking at all, but one of the points of an ad-blocker is to remove clutter and use more display real-estate for actual content. Therefore, I am looking for a way to block ads in Chrome while also freeing up the space used by them so it can be used to show actual content. This is how most ad-blockers for desktop Chrome work.
I know that the newest Chrome Canary releases have a native ad blocker built in. However, it only blocks the most obnoxious ads. I am looking for a way to block all (or the great majority of) ads.
Click to expand...
Click to collapse
Dude use adguard and if your rooted use it in proxy mode so you can use a VPN at the same time if you need to so your filter ip can get ad blocking also
Sent from my SM-J327P using Tapatalk
I have rooted my s20 Ultra on Android 10 and 11. In both cases, Google Maps have stopped tracking my gps movements in the Timeline, it keeps thinking I am at home. It works fine providing me navigational directions, its just not recording in the Timeline. The only module I have installed is Energized Ultimate adblocker.
I gave Google Maps full permission, my phone is detected and managed in the Google accounts device management. I am not sure what else I am missing.
Android 11
Magisk 21.1
Manager 8.0.3
That sounds like the hosts file Energized is using is blocking whatever address Timeline is using. To verify you can disable the module, reboot and try again. If that's the case you can figure out what address it is and whitelist it.
Didgeridoohan said:
That sounds like the hosts file Energized is using is blocking whatever address Timeline is using. To verify you can disable the module, reboot and try again. If that's the case you can figure out what address it is and whitelist it.
Click to expand...
Click to collapse
I wiped my phone and didn't install any magisk modules this time. I drove around for 30 minutes and Google Maps still show me as being at home in the timeline. Another weird thing is that everytime I reset my phone, Google keeps track of the current device. Should Google being deleting the duplicates?
Update-trying to flash again
That was the best guess I had... Every time you reset your device it'll get a new ID, and you'll have to remove the duplicates yourself in Google's settings.
Some (yours truly included) would consider it a good thing that Google doesn't track your whereabouts too much... But, I hope you get things sorted the way you want them.