Hosts file to block ads S9+ - Samsung Galaxy S9+ Questions & Answers

Just a thought, since the snapdragon version of the S9+ does not have root yet would it be possible to have an edited hosts file to block ads? Would it work to get the matching firmware from samfirm, add the edited hosts file to that and then flash with odin? Has anyone tried this? or is it not possible?

Just use stopad i been using that and haven't had any issues

Blokada.org
Blocks ads via local vpn. Easy to use, just follow directions on site. Best non root adblocker.

Is there a way to block ads with a custom hosts file where you can add entries and it runs not through local vpn? Only one vpn can run at a time so running a vpn service at the same time would not be possible. Without root the hosts file cannot be edited but is there another app or way to do this so that ads can be blocked as well as running a vpn service?

Related

[Q] Please help with question can not figure this out for the life of me!

Please help i have beanstown build 5 installed with the ad blocker the host file. It has blocked a few of my websites i need for work such as
clickbooth.com
w4.com when you go to login
and maxbounty.com
i am sure this is just a few. I have found host file but i have no idea how to edit this or correct the probelm without just deleting the file which would leave me vulnerable correct?
Can someone help and walk me thru how to correct this issue as i have never dealt with this type of thing before
Thank you very much and it will be appreciated.
I believe you can just delete it. Here is what I did
1. did not install the host file (or you can just delete it)
2. download and install adblock PLUS from adblock developer
3. activate it when I visit a page with lots of ads and turn it off when you need to use those redirect pages
xredjokerx said:
I believe you can just delete it. Here is what I did
1. did not install the host file (or you can just delete it)
2. download and install adblock PLUS from adblock developer
3. activate it when I visit a page with lots of ads and turn it off when you need to use those redirect pages
Click to expand...
Click to collapse
I can not do that because i use dolphin for Last pass accessibility. That ad block plus only works for firefox.
Any other ideas?
Reflash without it!!!!
Sent from my most awesome phone EVER!!!!
brennerj said:
I can not do that because i use dolphin for Last pass accessibility. That ad block plus only works for firefox.
Any other ideas?
Click to expand...
Click to collapse
I could delete it but then i will have ads so i do not want to do that.

Hosts file ignored

I have been using adaway on KitKat ART and was working fine. Suddenly I see ads in my apps & all the websites in host file are accessible on browser too. But when I ping in terminal I get reply from the host file. Pls help. Permissions for hosts file are rw-rw-rw. And surprisingly I have this problem only when on mobile data. While on WiFi all the ads are blocked & host websites are blocked on browsers.

Host file edit not blocking reddit properly

Hi thanks so much in advance for your help.
My phone is a Moto z2 play
So I unlocked my bootloader and rooted my phone with the intention of blocking sites that make me unproductive; all as part of a new year's resolution. I used Magisk too root and am able to use ES file explorer to edit the host file and I've put in different lines '127.0.0.1 "website name"' in order to block all the sites that make me unproductive. This however doesn't work well for reddit.
What I'm seeing is that if I enter reddit.com in my url I'll be blocked. But if I am linked to reddit via google then it'll circumvent the block and I'll have access. From here on I can change the url to any subreddit and access it and the block doesn't work.
I've tried blocking with the prefixes www, m., https:// etc. it still doesn't block google links. Do any of you know what I can do to fix this?
Thanks again!

Prime apk - set region?

I use the Shield Pro 2019. I would like to access the US library via VPN. However whenever I log into my account I only get my local stuff. It used to work via an older apk version but now it's not working anymore.​​Is there a way to modify the apk so I could set the region to USA? I have already downloaded tools to extract the apk but I don't know what to look for.​​Please help!​

How to block apps from getting internet access in Android AOSP source code?

Anyone know how to block apps from accessing the internet in Android AOSP code automatically for Android 9-11?
I found some patch but don't understand how it works.
Just need an easy way to add the package names to block in the patch or to feed an external file like system/etc/blocked_apps.xml to the patch.
Patch
https://pastebin.com/0BsfEECq
For websites it's easy since you can just add them to the host file.
Android's host file is the correct place.
The hosts file is used by Android to map IP addresses to host names or domain names. This file acts as a local DNS service for your Android device, and it overrides the mappings from the DNS server that your Android device is connected to, through the network.
Here an example how to block all connections to Google.
So all you have to know which URL the app in question tries to connect to. This you can find it out with connection tracking tools, e.g. Packet Capture app, and even via Android's LOGCAT.

Categories

Resources