[HOW TO][NO-ROOT] Blocking ads without additional software in Android 9.0 Pie - Samsung Galaxy S9+ Guides, News, & Discussion

The next method allows us to block ads in Android without to installing any additional software. It's working on any android device working with Android 9 Pie and above. ​
How to do it:
Go to Settings => Connections => More connection settings => Private DNS.
Check Private DNS provider hostname
Then you can use some of the rest. The first one is recommended.
dns.adguard.com
dns-family.adguard.com
dot-de.blahdns.com
Another DNS that you can check is NextDNS. It's free to use and provide some nice features on their website.
How to block ads in Google Chrome
The DNS method works also for Google Chrome, but you need to change something to make it work. ​
Open Chrome, type in chrome://flags
Then search for async DNS resolver (#enable-async-dns) and choose disabled in the drop-down menu. Otherwise, chrome could use a built-in DNS resolver which does not block ads.
Source: Reddit

Appreciate it works wells

I don't have private DNS settings.
Edit...
Never mind. I'm not on Pie.
Sent from my SM-G965U1 using Tapatalk

any way to set this on oreo?

emprize said:
any way to set this on oreo?
Click to expand...
Click to collapse
Get the ip address of dns.adguard.com and add it as a dns entry on your advanced setting for wifi connection.
Your better off with a vpn with blocking capabilities then running adguard as a dns.

Works like a charm. Thanks a bunch ??

This is like inventing sliced bread, thank you!

Thanks a lot!!!

Easy peasy and works great. Thanks!

Oh shoot, the only problem is that it breaks MMS/picture messaging. I reverted the mod and picture messaging works again. Any workaround or does that just go with the territory?

It seems using "dns-family.adguard.com (To block adult sites)" will also block some regular YouTube vids. Changed to "dns.adguard.com", fixed it.
YrrchSebor said:
Oh shoot, the only problem is that it breaks MMS/picture messaging. I reverted the mod and picture messaging works again. Any workaround or does that just go with the territory?
Click to expand...
Click to collapse
Not having any mms issues on mine.

MicroMod777 said:
It seems using "dns-family.adguard.com (To block adult sites)" will also block some regular YouTube vids. Changed to "dns.adguard.com", fixed it.
Not having any mms issues on mine.
Click to expand...
Click to collapse
Did you say you're still on Oreo? I'm on Pie on the U1 firmware, I used dns.adguard.com and can't send or download any picture messages with it enabled.

YrrchSebor said:
Did you say you're still on Oreo? I'm on Pie on the U1 firmware, I used dns.adguard.com and can't send or download any picture messages with it enabled.
Click to expand...
Click to collapse
Odd. I'm on Pie now on the Note 9. I'm with Total Wireless that uses Verizon towers. Mms works normal.
Sent from my SM-N960U1 using Tapatalk

MicroMod777 said:
Odd. I'm on Pie now on the Note 9. I'm with Total Wireless that uses Verizon towers. Mms works normal.
Click to expand...
Click to collapse
Ah ok, I'm using T-Mobile. I wish it would work but it just doesn't, if I re-enable the DNS the problem comes back.
Edit: same result with blahdns

Wow!!! Works perfectly... Thank you!!

Works perfectly, without root!
Thank you very much!

Your welcome guys I also prefer that way because on AdGuard app there was some notification that can't be removed and I like my statusbar to be clean from unnecessary stuff.

Thank you for sharing with us! I humbly applied you, ??

My question is... is there a way to make use of that private DNS only on mobile data? Because when on WiFi in some work areas I need to make use of their DNS's.
Thanks
Sent from my SM-G965F Duos

This is perfect. No notifications, no battery drain. Thanks a lot!

Related

android app that hide ip adress?

i hope someone can help me about my question
is there any android application that hide ip adress when browsing?
Like from the website you're connecting to and/or from a P2P network? Not really.
zedrix53 said:
i hope someone can help me about my question
is there any android application that hide ip adress when browsing?
Click to expand...
Click to collapse
torproject.org
There is the Tor Client-- the Tor Browser, and the Tor Messenger (Gibber?)
The Tor Client can do it for all apps, if you are root- but you'd be wise to still use the tor browser strictly for your anon sessions.
And you had better read up on it from the website, although all three are available on Play--
Use OrBot... its kinda slow, the first time you set it up; especially when selecting the app you wish to set up the proxy with but just try it... it works well...
You need to adjust an any working proxy to hide your ip adress.. I think is the only way
You need a proxy....
but is a proxy possible with mobile network?
I just got a working free Hide my IP serial from: www.hidemyipserials.0fees.net
I tested the serial code and it works and now I can able to Hide my IP Address when I'm surfing the Internet!
Like @AndroidNeophyt said use orbot
https://play.google.com/store/apps/details?id=org.torproject.android
I dont need a proxy that much sometimes some PBay but one is few months maybe
Sent from my HTC Sensation with JellyBam ROM
erdal67 said:
Like @AndroidNeophyt said use orbot
https://play.google.com/store/apps/details?id=org.torproject.android
I dont need a proxy that much sometimes some PBay but one is few months maybe
Sent from my HTC Sensation with JellyBam ROM
Click to expand...
Click to collapse
good choice

[GUIDE] How to bypass T-Mobile's tether block using Firefox

Hello everyone, so I recently finally got blocked from tethering by T-Mobile after a long time of sucking it out of them by being rooted and on a custom ROM like all of us here.
The way they know you are tethering on their network is by the User Agent that is sent to them by your desktop/laptop computer browser. When they see that a regular browser is accessing their network, that's when you get the infamous T-Mobile Hotspot Screen we all hate.
I've recently discovered a Firefox Add-On called User Agent Switcher found here: https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/?src=search
Download it and install it to Firefox. Then download this (right click, "Save as") http://techpatterns.com/downloads/firefox/useragentswitcher.xml
Go to Tools>User Agent>Edit User Agents (a window pops up) click on "Import.." and add the .xml file you just downloaded.
Then pick a User Agent that resembles the Sensation webkit and BAM! Free tethering for all of us.
I'm using it right now
NOTE: If you use a Googlebot User Agent, you will be able to tether and always load up full webpages instead of mobile versions. - Thanks to The Archangel and chadwick3nser for discovering this!
You can also do the same with chrome.
Been doing it for since the day they released it.
The Archangel said:
You can also do the same with chrome.
Been doing it for since the day they released it.
Click to expand...
Click to collapse
Hell yeah, go Chrome! I've never used it so I wouldn't know
FiddleGoose said:
Hell yeah, go Chrome! I've never used it so I wouldn't know
Click to expand...
Click to collapse
I actually take it one step further an either completely hide my IP on the computer or switch it so they can't try to block it.
Nice!
Is that how att detects also?
Sent from my SAMSUNG-SGH-I747 using xda premium
They detect by sniffing packets an the extra Mac address
The Archangel said:
They detect by sniffing packets an the extra Mac address
Click to expand...
Click to collapse
Damn, AT&T is on point. Bastards.
I hate T-Mobile for pulling that move as well.
FiddleGoose said:
Damn, AT&T is on point. Bastards.
I hate T-Mobile for pulling that move as well.
Click to expand...
Click to collapse
just about every major cell company does the exact same thing to detect it. Maybe different variants but still the same.
I am doing this right now as well, but all the desktop pages are in mobile. I have found the desktop button on the bottom of the youtube site but cant find it on most sites. any workaround for this?
chadwick3nser said:
I am doing this right now as well, but all the desktop pages are in mobile. I have found the desktop button on the bottom of the youtube site but cant find it on most sites. any workaround for this?
Click to expand...
Click to collapse
Use a Google spider UA. Everything will be as normal
The Archangel said:
Use a Google spider UA. Everything will be as normal
Click to expand...
Click to collapse
do i create a custom UA and edit the string to a spider or how would be the best way? or what would be the best one to use?about going about this? sorry, have no experience with user agents
---------- Post added at 05:54 PM ---------- Previous post was at 05:43 PM ----------
nevermind, i used googlebot 2.1 new version and its working great, thanks for this!!!
Glad you got it working.
Hey op. Heres a suggestion, put in the your first post. Use a Google bot user agent. Using that will load all the web mail pages normally.
The Archangel said:
Glad you got it working.
Hey op. Heres a suggestion, put in the your first post. Use a Google bot user agent. Using that will load all the web mail pages normally.
Click to expand...
Click to collapse
You got it!
The Archangel said:
I actually take it one step further an either completely hide my IP on the computer or switch it so they can't try to block it.
Click to expand...
Click to collapse
What are you using to block the IP address? I was thinking just changing the IP to not be the standard DHCP that the phone would give you still shows it coming from another MAC address on the same connection and would be obvious to the write sniffing rules?
I realize this isn't a requirement I've been using the UA for a while from canary but I easily see them stopping this workaround w/ better sniffing rules.
SurfCityCom said:
What are you using to block the IP address? I was thinking just changing the IP to not be the standard DHCP that the phone would give you still shows it coming from another MAC address on the same connection and would be obvious to the write sniffing rules?
I realize this isn't a requirement I've been using the UA for a while from canary but I easily see them stopping this workaround w/ better sniffing rules.
Click to expand...
Click to collapse
i use platnium hide ip. it switches to another ip when im on windows an sometimes ill use smac to change that also. havent found any programs for linux yet (havent really looked)
The Archangel said:
Use a Google spider UA. Everything will be as normal
Click to expand...
Click to collapse
This is a very bad advice as pretending to be a googlebot may get you either blocked or banned from many websites (especially if they use ZBBlock) as this behavior is rated as a spammer/bot activity.
tobitege said:
This is a very bad advice as pretending to be a googlebot may get you either blocked or banned from many websites (especially if they use ZBBlock) as this behavior is rated as a spammer/bot activity.
Click to expand...
Click to collapse
I've been doing it for a while, never got a ban on my end
Okay I've been tethering fine for a while on FF, but T-Mobile finally blocked me yesterday... I figured out that it was the second I started to watch a YouTube video. Guessing they're able to see activity on my cell account at the same time as my login is accessing YouTube and put 2&2 together...? (That may be obvious to some...)
Anyway... I may try the user agent spoofing but this is really aggravating since I'm traveling right now and the internets in my hotel are $10/day.
Sent from my Galaxy S 4G
Anyone figure out how to use netflix while spoofing in Firefox? I've been settling for Amazon Prime instant video, but I'd love to have Netflix back. With the UA spoof, Netflix won't play movies. At least I haven't figured out how.
This method no longer works for me

(Help) Can't send or receive mms! :(

Anyone know any possible fixes?
Check your apns?
Sent from my LG-D850 using XDA Free mobile app
This happened to me when I rooted. I restored the phone and it started working again. I'm waiting to see an ATT specific root thread and then I'll try again. BTW I used towelroot. If you are rooted, did you use the same? Maybe the two aren't connected, but they coincided for me.
Dark , I had this issue after installing adblock. Did you do the same?
Well I went back and rooted again with towelroot, mms worked - so it's looking like adblock - I had that installed previously and I could not install mms. Did this work for you?
coltonfisher said:
Well I went back and rooted again with towelroot, mms worked - so it's looking like adblock - I had that installed previously and I could not install mms. Did this work for you?
Click to expand...
Click to collapse
The issue with adblock has existed awhile based on a topic in their bug forums . The problem is adblock blocks port 80 for mms . There isn't a way to set a white list for adblock .Most users try to get around it by changing their apn settings with mms as port 8080. This "fix" hasn't work for me , but if anyone is interested in a similar app to adblock ...check out adaway on Fdroid. It has the same function and more extensive options for a whitelist . You can even log an app's ads to decide to black/whitelist.
Sent from my LG-D850
I use adaway without issue
Sent from my LG-D850 using Tapatalk 2
jnoob said:
The issue with adblock has existed awhile based on a topic in their bug forums . The problem is adblock blocks port 80 for mms . There isn't a way to set a white list for adblock .Most users try to get around it by changing their apn settings with mms as port 8080. This "fix" hasn't work for me , but if anyone is interested in a similar app to adblock ...check out adaway on Fdroid. It has the same function and more extensive options for a whitelist . You can even log an app's ads to decide to black/whitelist.
Sent from my LG-D850
Click to expand...
Click to collapse
Changing APN setting MMS port to 8080 worked for me! Thanks!
Omg. Thank you OP. I came to deliver this same message. I just got off the phone with att because changing apns wouldn't work at all so 4 days I'll hear from another att tech that'll ask me to reboot. So it looks like I need to stop using adblock! Thanks dudes!!

Best adblocker for non root?

I'm currently trying adguard but it seems to be using lots of battery even though it says its not. I want something that will block ads from everywhere (if possible) I dont really want to root but if i have to i will. I also tried Blockada but it seemed flaky and it kept restarting over and over. If any of you are having success with adguard, let me know what your settings are Thx
equlizer said:
I'm currently trying adguard but it seems to be using lots of battery even though it says its not. I want something that will block ads from everywhere (if possible) I dont really want to root but if i have to i will. I also tried Blockada but it seemed flaky and it kept restarting over and over. If any of you are having success with adguard, let me know what your settings are Thx
Click to expand...
Click to collapse
I use Blokada and it works great. Been using it for a couple of years now with no issues.
https://blokada.org/index.html
I use StevenBlack Unified and Goodbye Ads in it and it blocks well. I don't get any ads.
I tried Adguard but it slowed my connection way down and I could bare get stuff to load.
Try private dns under settings with adguard dns.
Sent from my GM1913 using Tapatalk
Netguard but the GitHub version that also sports .hosts
It's also a firewall.
https://github.com/M66B/NetGuard
omrij said:
Try private dns under settings with adguard dns.
Sent from my GM1913 using Tapatalk
Click to expand...
Click to collapse
You've became my personal Jesus.
No more VPN apps.
omrij said:
Try private dns under settings with adguard dns.
Click to expand...
Click to collapse
Tried the settings they outline on their Android guide but couldn't save the result.
slonn said:
Tried the settings they outline on their Android guide but couldn't save the result.
Click to expand...
Click to collapse
dns.adguard.com
daleski75 said:
dns.adguard.com
Click to expand...
Click to collapse
Yeah, get to point 5 in the guide but no option to save on the phone. Save button is blanked out.
Maybe extra space if you copy&paste?
Sent from my GM1913 using Tapatalk
There's another thread somewhere about dns66 I think it's the name somewhere on xda.
omrij said:
Maybe extra space if you copy&paste?
Click to expand...
Click to collapse
Sadly not. This is the setup.
That's not private dns
Sent from my GM1913 using Tapatalk
slonn said:
Sadly not. This is the setup.
Click to expand...
Click to collapse
Your messing with the DNS of your connection. Private DNS is all the way at the bottom like the poster above me mentioned.
omrij said:
That's not private dns
Click to expand...
Click to collapse
To me it says connection not possible.
Edit: I had to remove vpn. Now it works.
Sent from my OnePlus 7 Pro using XDA Labs
omrij said:
That's not private dnsView attachment 4772692
Sent from my GM1913 using Tapatalk
Click to expand...
Click to collapse
wow thats so easy, why don't everyone just do this? any drawbacks? why even use apps or root when this is built in and you just need to enter a few words?
I don't really like dns app.
But for your games and app I use adguard. (I activate it manualy)
And for browser: samsung internet.
Really good browser, I tried all of them, this one is smart and good ideas.
But mostly, customs adblocks modules. (For me adblock plus is the best)
trotirider said:
I don't really like dns app.
But for your games and app I use adguard. (I activate it manualy)
And for browser: samsung internet.
Really good browser, I tried all of them, this one is smart and good ideas.
But mostly, customs adblocks modules. (For me adblock plus is the best)
Click to expand...
Click to collapse
Firefox is better. You can install add-on like ublock, dark reader
deborok said:
Firefox is better. You can install add-on like ublock, dark reader
Click to expand...
Click to collapse
Yes I would like (I use firefox on pc) but firefox mobile is not really good on my opinion. At least for now.
And I tried some sites, and samsung blocked more ads than firefox.
Anyway, you should try firefox, samsung, opera.
I don't think it's a good idea to use a vpn app all day, and it don't really work on the browser too.
The best I had on my previous phone (LG G5) was adaway, but root is needed.. and I don't want to root this time.
I've been using adguard for a few weeks (in auto proxy mode since I need to connect to a VPN for work. Root required) and I love it. I haven't noticed any slow downs for loading web pages or battery drain. I used to use blokada which was ok but adguard, for me, is working much better.

Adaway causing trouble in amazon app

I am rooted via Magisk in my oneplus 5T running stock oxygen OS 10
I am using adaway 5.1.0. It is causing issues in usage of Amazon shopping app. I copied the following urls in a text file and added it to my host sources for adaway and chose 'apply allowed hosts'. But I'm still facing problems in amazon with the typical error of 'Uh Oh Something Went Wrong' with a photo of dog. I have to pause my adaway to use amazon flawlessly. Please advise a permanent solution.
aan.amazon.com
aax-us-iad.amazon.com
device-metrics-us.amazon.com
device-metrics-us-2.amazon.com
fls-na.amazon.com
mads.amazon.com
aax.amazon-adsystem.com
aax-us.amazon-adsystem.com
aax-us-east.amazon-adsystem.com
c.amazon-adsystem.com
mads.amazon-adsystem.com
s.amazon-adsystem.com
aan.amazon.in
aax-us-iad.amazon.in
device-metrics-us.amazon.in
device-metrics-us-2.amazon.in
fls-na.amazon.in
mads.amazon.in
aax.amazon-adsystem.in
aax-us.amazon-adsystem.in
aax-us-east.amazon-adsystem.in
c.amazon-adsystem.in
mads.amazon-adsystem.in
s.amazon-adsystem.in
*aan.amazon.com
*aax-us-iad.amazon.com
*device-metrics-us.amazon.com
*device-metrics-us-2.amazon.com
*fls-na.amazon.com
*mads.amazon.com
*aax.amazon-adsystem.com
*aax-us.amazon-adsystem.com
*aax-us-east.amazon-adsystem.com
*c.amazon-adsystem.com
*mads.amazon-adsystem.com
*s.amazon-adsystem.com
*aan.amazon.in
*aax-us-iad.amazon.in
*device-metrics-us.amazon.in
*device-metrics-us-2.amazon.in
*fls-na.amazon.in
*mads.amazon.in
*aax.amazon-adsystem.in
*aax-us.amazon-adsystem.in
*aax-us-east.amazon-adsystem.in
*c.amazon-adsystem.in
*mads.amazon-adsystem.in
*s.amazon-adsystem.in
I am having the same issue, I added your list but still have an issue while adaway is enabled, but just wanted to say you are not alone lol
Bradford1040 said:
I am having the same issue, I added your list but still have an issue while adaway is enabled, but just wanted to say you are not alone lol
Click to expand...
Click to collapse
Try adding *amazon* . It will work. It worked for me.
archz2 said:
Try adding *amazon* . It will work. It worked for me.
Click to expand...
Click to collapse
So far it seems to be working, thanks for the added tip,
archz2 said:
Try adding *amazon* . It will work. It worked for me.
Click to expand...
Click to collapse
You sir, are a ray of light Thank you so much for such a simple yet effective solution
archz2 said:
Try adding *amazon* . It will work. It worked for me.
Click to expand...
Click to collapse
You da man !!!
*ensure to turn off private DNS as well.
Only use Magisk with systemless host module with Adaway adding *amazon* to the allowed list.
Private DNS using adguard jacks it up
For me, what worked is to turn off the web server in Preferences/Root based ad blocker
Here are the steps I performed based on the above
Adaway app
Select > Allowed
Select > +
Type *amazon*
Select > hamburger menu (bottom left in the adaway app)
Select > Preferences
Select > Root based ad blocker
Disable/uncheck > Enable Web Server
Reboot Phone
Going to test over the next few days to see if it sticks
For people that stumble upon this thread in the future: All you need to is what Pims13 said above, disable the webserver. That is it, nothing else, and Amazon will work just fine after that.
Cheesethief said:
For people that stumble upon this thread in the future: All you need to is what Pims13 said above, disable the webserver. That is it, nothing else, and Amazon will work just fine after that.
Click to expand...
Click to collapse
Wasn't the case for me. I also had to whitelist *amazon* for it to work.
archz2 said:
Try adding *amazon* . It will work. It worked for me.
Click to expand...
Click to collapse
Yep. This worked! I love XDA. Thank you!
archz2 said:
Try adding *amazon* . It will work. It worked for me.
Click to expand...
Click to collapse
Yep. This worked! I love XDA. Thank you!
FYI - I didn't have to disable the webserver nor did I have to reboot my phone. Just added *amazon* amd updated the AdAway app.
I can confirm that adding *amazon* to the allowed list, fixed the issue. Amazon Prime Shopping app now works fine.
December 2021
I found a workaround that allows the amazon app to work while still blocking many of its ad hosts here
archz2 said:
Try adding *amazon* . It will work. It worked for me.
Click to expand...
Click to collapse
Thank you sincerely
Same exact issue, thank you to everyone for the solution.
thanks a ton. but anybody here facing problems with Work profile with ADAWAY?
I want my work profile to work with magisk root and seaway. anybody tried that?
currently it isn't working with magisk and seaway
Why would you use the amazon app if you can simply go to amazon.com in your browser and login to your account. Better not use apps that steal your private data, when you have free alternatives.

Categories

Resources