Question Adblocker in apps? - OnePlus 9 Pro

Is there a way to block ads in apps? I remember AdAway being a thing, is it still? And does it work on our phones? I tried searching for it in magisk and didn't find anything

Both AdAway and AdGuard successfully blocked all in-app ads on my 9 Pro. Your choice depends on root / no root.
I use OISD full list (https://oisd.nl), comprehensive blocking system-wide. Go with https://abp.oisd.nl in AdGuard, or https://hosts.oisd.nl in AdAway.

Adaway is my choice, super easy super light super reliable!

I've been using Adblock until I found nextdns sevice using private DNS option. In my opinion it is way better. And no root needed.

also, duckduckgo browser recently started a beta for their in app, systemwide ad blocking, you just have to download the browser and apply for the beta. I don't use it (nextdns) but I wanted to mention it here for others

If rooted, then AdAway is very good

Best way to do it is by enabling private DNS under your connection settings and using dns.adguard.com, that'll get rid of ads

Alberhasky said:
Best way to do it is by enabling private DNS under your connection settings and using dns.adguard.com, that'll get rid of ads
Click to expand...
Click to collapse
Nextdns uses private DNS too, but it is fully configurable. You can add your filters, whitelist services and more.

In my opinion the best and the cheapest (free, lol) way to block ads on phone, and mb on whole wi-fi spot is to use pi-hole.
If you don't have raspberry pi, or don't want to install you can you it on your old (not too old tho..) Android phone.
GitHub - DesktopECHO/Pi-hole-for-Android: Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires root)
Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires root) - GitHub - DesktopECHO/Pi-hole-for-Android: Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires...
github.com
Just tested, works good. Root your phone, install pi-hole by guide in readme, set DNS in DHCP on your router to local address of your Android phone and forget about phone, leaving it plugged into the wall.
By using web ui you can configure so much filters as you want.
You can also combine it with dnscrypt-proxy in termux. Download android bin from releases, chmod +x dnscrypt-proxy, change dnscrypt-proxy.toml to your requirements, mandatory step is to change listening address port from 53 to one you like, I use 5354. After that execute, go to web console, set custom DNS to 127.0.0.1#5354.

Related

adblock plus

anyone using this on the nexus4, i have no clue why my data says it eating like 360MB out of 500MB!:crying:
does it really work in blocking ads?
cobyman7035 said:
anyone using this on the nexus4, i have no clue why my data says it eating like 360MB out of 500MB!:crying:
does it really work in blocking ads?
Click to expand...
Click to collapse
Do you have root? If yes, I would recommend using Adaway. Great app and it works.
kwerdenker said:
Do you have root? If yes, I would recommend using Adaway. Great app and it works.
Click to expand...
Click to collapse
+1, but I guess the problem of the OP is that he doesn't know what is eating his data plan.
There are a lot of program that shows the data usage per app so you can know what to blame. I personally use avast! Mobile Security cause it counts and store the data used per app and has a built in per app Firewall to cut it.
cobyman7035 said:
anyone using this on the nexus4, i have no clue why my data says it eating like 360MB out of 500MB!:crying:
does it really work in blocking ads?
Click to expand...
Click to collapse
According to the FAQ Adblock will appear to use most of your data because the data is passing through it.
It is basically just a HTTP proxy, so it should block web page ads as well as the browser versions.
Adaway uses a different method - it simply blocks the ad server dns entries so they can't be looked up. No data is passing through the adaway app. It also works for SSL which Adblock doesn't.
I don't know which way is best - I use Adaway and am happy with it. Adblock supports the well maintained browser blocklists (and works in a similar way), but requires the proxy run in the background and filter all your traffic.
isangelous said:
According to the FAQ Adblock will appear to use most of your data because the data is passing through it.
It is basically just a HTTP proxy, so it should block web page ads as well as the browser versions.
Adaway uses a different method - it simply blocks the ad server dns entries so they can't be looked up. No data is passing through the adaway app. It also works for SSL which Adblock doesn't.
I don't know which way is best - I use Adaway and am happy with it. Adblock supports the well maintained browser blocklists (and works in a similar way), but requires the proxy run in the background and filter all your traffic.
Click to expand...
Click to collapse
If you have root, Adaway is the better way to block ads. Since it's doing it at a system level, you don't need anything additional like the proxy running in the background (proxies are a bit of a privacy concern in my opinion, even if it's running locally on your phone). Also you can add any host source you like in Adaway, so it supports most if not any blocklist Adblock supports
The main point abaout Adblock is, that you can use it on non-rooted phones.
kwerdenker said:
If you have root, Adaway is the better way to block ads. Since it's doing it at a system level, you don't need anything additional like the proxy running in the background (proxies are a bit of a privacy concern in my opinion, even if it's running locally on your phone). Also you can add any host source you like in Adaway, so it supports most if not any blocklist Adblock supports
The main point abaout Adblock is, that you can use it on non-rooted phones.
Click to expand...
Click to collapse
They use different blocklists - adaway is simply a list of domains but adblock rules are more powerful. They can be a domain or just part of a url, they can apply only to certain websites, they can apply to html tags, etc. I use these features quite a bit on the desktop version.
I think Adaway is a better way of blocking ads in apps and is good enough for browser ad blocking for now. I think Adblock is better for the browser and wish Chrome supported extensions because I do agree with you that running the proxy is not the best way to do this. Once it has proven stable and has a few more features it might be worth it. At the very least you need to be able to limit it to Chrome - I don't want to depend on that background service for all data.
So for now Adaway is the better all-rounder. It is a shame both are system wide so you can't use both where they are better suited.
isangelous said:
They use different blocklists - adaway is simply a list of domains but adblock rules are more powerful. They can be a domain or just part of a url, they can apply only to certain websites, they can apply to html tags, etc. I use these features quite a bit on the desktop version.
I think Adaway is a better way of blocking ads in apps and is good enough for browser ad blocking for now. I think Adblock is better for the browser and wish Chrome supported extensions because I do agree with you that running the proxy is not the best way to do this. Once it has proven stable and has a few more features it might be worth it. At the very least you need to be able to limit it to Chrome - I don't want to depend on that background service for all data.
So for now Adaway is the better all-rounder. It is a shame both are system wide so you can't use both where they are better suited.
Click to expand...
Click to collapse
Ah ok, now I understand what you are getting at and I think our opinions are not that different. What I meant with my original post was "between the two in their current states, adaway is the better solution".
If chrome for android would get an addon system, I would probably install adblock for it too

Adaway issues with HTC M8

Hi Guys
I have noticed since upgrading to the latest firmware (4.4.4 build number 3.28.401.7) that adaway is creating issues with other apps. I frequently get error messages stating "unfortunately google service has closed ,,,,"
I could confirm this by disabling adaway then everything is fine
however I prefer to find a solution to this, maybe someone could recommend a better ad blocking app?
many thanks
Unfortunately adaway is the best but there are other that work well if you have xposed framework look for min min guard it works pretty well
spinninbsod said:
Unfortunately adaway is the best but there are other that work well if you have xposed framework look for min min guard it works pretty well
Click to expand...
Click to collapse
i did that and it didn't block ads on the app i was testing
No issues with Adaway and 4.4.4 for me.
Do you have any other issues with Google services? There is an issue with the US carrier AT&T, where Google services will sometimes fail on LTE with Euro based ROMs. It seems to be a problem with the Euro build.prop not playing well with AT&T's network.
Might have nothing to do with your issue, but might be worth trying another ROM at least.
redpoint73 said:
No issues with Adaway and 4.4.4 for me.
Do you have any other issues with Google services? There is an issue with the US carrier AT&T, where Google services will sometimes fail on LTE with Euro based ROMs. It seems to be a problem with the Euro build.prop not playing well with AT&T's network.
Might have nothing to do with your issue, but might be worth trying another ROM at least.
Click to expand...
Click to collapse
I noticed it only with latest firmware+ROM, so i cannot be sure if it's the new firmware or the new rom
But Adaway is working fine on most apps, except one or two, where the ads are NOT appearing but the app is crashing
I often get the known message "unfortunately google service has closed..." but i also get a similar message stating the name of the app needs to be closed.
Is there a way to allow ads on certain apps through adaway? Maybe i can still use Adway but allow ads to show for apps that are crashing?
thanks
krihoum said:
Is there a way to allow ads on certain apps through adaway? Maybe i can still use Adway but allow ads to show for apps that are crashing?
Click to expand...
Click to collapse
You might try the Whitelist function in Adaway. Press Menu>Your Lists, and there you will see a tab for whitelists. Never used this myself, just know it exists. But it seems like it might do what you want.
redpoint73 said:
You might try the Whitelist function in Adaway. Press Menu>Your Lists, and there you will see a tab for whitelists. Never used this myself, just know it exists. But it seems like it might do what you want.
Click to expand...
Click to collapse
well i can see it but when i want to add (using the + BUTTON) it asks me for a host name rather than an application name
i am not sure how to do that
krihoum said:
well i can see it but when i want to add (using the + BUTTON) it asks me for a host name rather than an application name
i am not sure how to do that
Click to expand...
Click to collapse
Ahh, so the white list is for hosts, not apps.
Go to Menu>Open hosts file. You will need a text editor of some sort installed (I have ES File Explorer installed, and the ES Note Editor opened the file fine - I'm guessing any text editor app will do). You'll find a large list of hosts. Try to find Google on there, and cut and paste the host name to your whitelist.
Again, I've never used the whitelist function before. So I'm just guessing how this works, and that it will help your issue.
redpoint73 said:
Ahh, so the white list is for hosts, not apps.
Go to Menu>Open hosts file. You will need a text editor of some sort installed (I have ES File Explorer installed, and the ES Note Editor opened the file fine - I'm guessing any text editor app will do). You'll find a large list of hosts. Try to find Google on there, and cut and paste the host name to your whitelist.
Again, I've never used the whitelist function before. So I'm just guessing how this works, and that it will help your issue.
Click to expand...
Click to collapse
thanks a lot
it helps me understand how Adaway works but unfortunately nothing with the word GOOGLE in the long list
however i am white listing some french sites which might be the cause of the french app to crash (its an app that lists programme TV)
I used to use AdAway ages ago, but moved onto AdBlock quite a while ago. I don't know if it's intrinsically better than AdBlock, but AdBlock is working fine for me.
AdBlock Plus
It can work without root, but is better with root, which I guess you have.
Adaway simply modifies the local HOSTS file, causing all traffic to ad servers (as defined by the subscription servers) to be redirected to local host. Since there isn't a web server running on the phone by default, the requests just fall on the floor and time out. Some (poorly written) apps get grumbly when they can't contact a web server, so there is an option under preferences for running one on localhost. I'm not clear what it "serves", though.
Personally, unless the app needs network access to function, I find that simply blocking them with iptables (I use Droidwall) is sufficient.
jshamlet said:
Adaway simply modifies the local HOSTS file, causing all traffic to ad servers (as defined by the subscription servers) to be redirected to local host. Since there isn't a web server running on the phone by default, the requests just fall on the floor and time out. Some (poorly written) apps get grumbly when they can't contact a web server, so there is an option under preferences for running one on localhost. I'm not clear what it "serves", though.
Personally, unless the app needs network access to function, I find that simply blocking them with iptables (I use Droidwall) is sufficient.
Click to expand...
Click to collapse
wow i have to admit that this did the job and was properly tested! I run the webserver and the application works, i disable it and the application crashes
The only small issue i have now is that the webserver doesn't run automatically even when i select "start at boot" but that is not a huge problem
I guess i can clear my whitelist now, since the webserver is dealing with this
many thanks Again

apps not seeing wifi or data connection when there is one

I am rooted on a pixel 2 XL with magisk v14 and manager 5.4.3. I have twrp 3.1.1 beta 2. I have changed the calling preference on the phone to wifi with an ADB command. Aside from that no other mods come to mind.
I have multiple functioning apps on my phone and am loving root. However, Facebook, Tumblr, Microsoft word, and Microsoft Excel give me messages saying they can't connect to the internet when I open them. This renders Facebook and Tumblr useless. The office programs can work locally. I tried hiding root from Facebook in magisk to no avail. What's going on with these apps? Do I need to change something on my phone or in it's system? Could any particular root apps like adaway be causing this?
Ok, so I was at least smart enough to be able to determine that adaway is not allowing every single one of the apps I mentioned to connect to the internet.
What's the solution here? Is adaway obsolete in 2017? Is the answer to just go download and buy adguard from the playstore?
Schroeder09 said:
Ok, so I was at least smart enough to be able to determine that adaway is not allowing every single one of the apps I mentioned to connect to the internet.
What's the solution here? Is adaway obsolete in 2017? Is the answer to just go download and buy adguard from the playstore?
Click to expand...
Click to collapse
Adaway is definitely not obsolete. It was removed from the Play Store and will never come back there. There is a thread here on XDA with updates, lots of good help, (and the same questions asked over and over). :good:
Adaway blocks urls / websites but not apps, so you have something else going on. Here is the tutorial to find blocked sites that need to be whitelisted, You can try it.
https://github.com/AdAway/AdAway/wiki/LogDNS
This was tremendously helpful. It did exactly what I wanted. Thank u. Hopefully others see this and it helps them too.
Schroeder09 said:
This was tremendously helpful. It did exactly what I wanted. Thank u. Hopefully others see this and it helps them too.
Click to expand...
Click to collapse
Hi, my setup is similar to yours (rooted, etc) and I've got Google Docs and Sheets thinking they're not connected to WiFi or data. How were you able to resolve your data issue?
MinimalistChris said:
Hi, my setup is similar to yours (rooted, etc) and I've got Google Docs and Sheets thinking they're not connected to WiFi or data. How were you able to resolve your data issue?
Click to expand...
Click to collapse
I haven't focused on getting those working yet, but it seems that the word is working. Excel still gives me the connection error. Adaway was the culprit for facebook. I suspect it is for the microsoft office apps too. I just have to addressed them because I will not be using them heavily. If you have an adblocking app please follow the instructions in the link that Pkt_lnt posted. They're very straightforward and helpful. You need to basically turn ad-blocking off, put it in a "scanning mode", use the app you want to for a few minutes so the adblocking app sees it, then the adblocking app will pick up on host file sites that the app uses. You can add these to a "white list." The adblocking will no longer block the app. It's important to note that if other apps use the same host file that you have just whitelisted ads will appear in that app too. White listing a host file is universal and is not done on an in-app basis.
Thank you!

Adhell 3 not blocking ad's on pie?

I installed adhell 3 and its supposedly blocking 11000+ domains, its showing a bunch of apps constantly connecting to analytics domains being blocked but every single ad is showing up in apps and the browser? If i enable adblock plugin in the browser the ads get blocked, how come adhell3 isn't blocking them? I'm running 3.1.1.262, everything was working fine in oreo.
This is a losing battle. Google is using randomly generated subdomains to serve ads from the same domains as the content. Blocking one of these today offers no blocking when the subdomain changes.
So how does ad block in the browser work? Adhell was working fine in oreo, did Google start using random subdomains in pie?
I have ads blocked fine when I use Firefox, but when I use Samsung browser on my note 9, I see some ads. Is there a filter for Samsung browser like there is one for Chrome?
In adhell3, have you placed a firewall rule?
I think it's;
com.android.chrome|*|53
Add that and then cycle the domain rules.
Also, look for a new/different host file. The one I found today has 52,000 sites in it.
I see quite a bit of misinformation in this and similar threads. Please keep in mind that AdHell3 is NOT supported on XDA. For official and up-to-date information about the AdHell3 project, please visit:
Main repo: https://gitlab.com/fusionjack/adhell3
Scripts for compiling: https://gitlab.com/fusionjack/adhell3-scripts
Get your EDU ELM key from: https://seap.samsung.com/license-keys/generate/edu
Official Support Discord Channel: https://discord.gg/hfreZum
Dependable(?) precompiled APKs: https://www.mediafire.com/folder/sb37c6gmhqgbn

How to De-Google LineageOS?

So i've just seen this video with the title: How to De-Google LineageOS by Mental Outlaw
Content:
Changing the DNS server
Changing the Captive Portal
Changing the Android System WebView implementation
Changing the SUPL Host server
Changing the NTP server
Removing bloatware Google packages
What i already did on my phone running lineageos: set DNS to Quad9 and disable google SUPL, actually i'm not sure which term to use, is SUPL the same as google con check?
Steps taken:
• disable connectivitycheck.gstatic.com (google con check)
• rooted with magisk app
• install termux app
• run termux and type following commands one by one:
su
whoami (verify you are root)
settings put global captive_portal_mode 0
settings list global | grep portal
So instead of changing the "SUPL" server as the person in the video did, i've set it to 0, asuming this is good enough.
But what about the rest, are these steps important? For example is webview implementation permanently active and could it phone home to google or is it only active when viewing a webpage inisde of an app?
LineageOS is de-Googled by default.
Do a clean install of LineageOS, but don't flash your OpenGapps/MicroG zip, only your LineageOS zip.
catto_ said:
LineageOS is de-Googled by default.
Do a clean install of LineageOS, but don't flash your OpenGapps/MicroG zip, only your LineageOS zip.
Click to expand...
Click to collapse
Did you even read my post??? LineageOS isn't fully de-googled, zzz.
Privacydroid said:
So instead of changing the "SUPL" server as the person in the video did, i've set it to 0, asuming this is good enough.
Click to expand...
Click to collapse
you've probably broken something GPS related then since it cant ping for some data.
not sure what tho, and if you dont care about gps or dont use that specific gps feature it doesnt matter anyways, just anytime it tries to ping that site it'll time out since 0 isnt a dns/ip address
Privacydroid said:
But what about the rest, are these steps important? For example is webview implementation permanently active and could it phone home to google or is it only active when viewing a webpage inisde of an app?
Click to expand...
Click to collapse
nope, its not permanentally active
its just chromium
mental outlaw (and alot of other linux youtubers) antagonize chromium (for good reason, im a firefox user myself) but they blow it out of proportion, after all chromium isnt riddled with spyware (unlike chrome).
getting rid of the systemwebview is more of a "F** YOU" to google to disturb their market share
yes chromium has some google components (not sure if the webview has any tho) but afaik they dont phone home normally unless you connect to a google account
and yes, its only active while browsing the web using an app that utilizes webview. if you do all your web browsing on a different browser (eg. firefox, brave, bromite) then theres no webview to worry about.
pro-tip btw: use the web versions of all social medias, you avoid using the integrated web view and dont need extra bloat on your device. even the heavier javascript-riddled ones work okay on my 2014 galaxy s5 (72C cpu tho..)
RDS5 said:
you've probably broken something GPS related then since it cant ping for some data.
not sure what tho, and if you dont care about gps or dont use that specific gps feature it doesnt matter anyways, just anytime it tries to ping that site it'll time out since 0 isnt a dns/ip address
nope, its not permanentally active
its just chromium
mental outlaw (and alot of other linux youtubers) antagonize chromium (for good reason, im a firefox user myself) but they blow it out of proportion, after all chromium isnt riddled with spyware (unlike chrome).
getting rid of the systemwebview is more of a "F** YOU" to google to disturb their market share
yes chromium has some google components (not sure if the webview has any tho) but afaik they dont phone home normally unless you connect to a google account
and yes, its only active while browsing the web using an app that utilizes webview. if you do all your web browsing on a different browser (eg. firefox, brave, bromite) then theres no webview to worry about.
pro-tip btw: use the web versions of all social medias, you avoid using the integrated web view and dont need extra bloat on your device. even the heavier javascript-riddled ones work okay on my 2014 galaxy s5 (72C cpu tho..)
Click to expand...
Click to collapse
Well, "F** YOU GOOGLE" sounds great to me. Might just not be worth the time if webview doesn't phone anyways, but i rather be sure on that instead of guessing.
I wouldn't be so sure that google components don't phone home without a google account.
So an app utilizes webview means it'll phone home to google, then when is webview utilizesed, permanently while that specific app is in use or only while that app who has the capability of utilizeising webview does actually make use of the "feature".
Bromite is great, just falls behind on updates lately.. there aren't really other great options..
Yeah using services via webbrowser instead of installing an app is always preffered.
PS; most of social media is a cancer, i don't use any )
Privacydroid said:
Well, "F** YOU GOOGLE" sounds great to me. Might just not be worth the time if webview doesn't phone anyways, but i rather be sure on that instead of guessing.
I wouldn't be so sure that google components don't phone home without a google account.
So an app utilizes webview means it'll phone home to google, then when is webview utilizesed, permanently while that specific app is in use or only while that app who has the capability of utilizeising webview does actually make use of the "feature".
Click to expand...
Click to collapse
afaik it doesnt tho, thats why many use chromium. if it does its likely "anonymized" to some extent (still can be de-anonymized) but its minimal enough that most linux distributions (including those with stricter rules) allow plain chromium into their repos.
most apps i use are web-based anyways so i just use them in firefox..
Privacydroid said:
Bromite is great, just falls behind on updates lately.. there aren't really other great options..
Click to expand...
Click to collapse
i wish firefox supported webview (possible since geckoview exists) but there doesnt seem to be any work on that done. im not going to use bromite as the minor "im not phoning home the 0.3% of the time i actually need to use an app that uses webview" is too little for the "i have to flash new bromite versions as root any time i wanna update it"
Privacydroid said:
Yeah using services via webbrowser instead of installing an app is always preffered.
PS; most of social media is a cancer, i don't use any )
Click to expand...
Click to collapse
yeah
in general i only use youtube because of the educational and tutorial content on there (which they clearly dont realize is one of the most important parts of their platform, hence the removal of the dislike) but their algorithm is very in favor of clickbait and its ruining these channels..
i wish more would use something like newpipe

Categories

Resources