Is it possible to block ads via hosts file on UT?
-
@fuseteam Ok, it'd be best to let uAdBlock maange it so. Thank you.
-
Both are really simple.
For ADB (which I do not use) you can type a single command like thisadb shell sh
after connecting your device with USB cable.SSH allows you to avoid the cable and use the wifi instead.
But you need to configure it first using UT Tweak Tool.
I don't remember if it's required, but I will advise to push a public key to your device so you won't have to enter a passphrase.
To connect with SSH you just typessh phablet@<ip_address>
... -
uAdBlock blocks at the DNS level and unfortunately some lists cannot act and be installed at this level. This means that uAdBlock, although useful, is becoming less and less effective as time goes by, unfortunately, given the evolution of technologies for installing crap on computers...
-
@opolork said in Is it possible to block ads via hosts file on UT? [Resolved]:
That seems a bit too complex and involved for my liking.
I am using it now for about 5 years or so and it's AWESOME!!!
I can recommend running Pi-Hole + Unbound to pretty much EVERYONE who has a spare Raspberry Pi laying around!
@domubpkm said in Is it possible to block ads via hosts file on UT? [Resolved]:
uAdBlock blocks at the DNS level and unfortunately some lists cannot act and be installed at this level. This means that uAdBlock, although useful, is becoming less and less effective as time goes by, unfortunately, given the evolution of technologies for installing crap on computers...
Things like DNS over HTTPS and ads beeing hosted on the same server as the content (YouTube for example!) are becoming a much bigger issue IMHO
But fortunately you can still block a lot of stuff via DNS so I am very happy with that method on my home network!
-
@applee said in Is it possible to block ads via hosts file on UT? [Resolved]:
For ADB (which I do not use) you can type a single command like this adb shell sh after connecting your device with USB cable.
Hi AL.
So I just need to install the
adb
package on my PC?Is the
adb shell sh
run from my PC? -
@nero355 Hi Nero. Thanks but I'll stick to the simpler method for now.
Merry Xmas!
-
@opolork
Yes you should open a console and type it on your computer with the device attached to it. -
@applee Ok, cheers, AL.
Merry Xmas!
-
@applee said in Is it possible to block ads via hosts file on UT? [Resolved]:
For ADB (which I do not use) you can type a single command like this adb shell sh after connecting your device with USB cable.
I got this:
adb shell sh
error: no devices/emulators found
-
@opolork
Did you Enable Developer Mode and USB Debugging ?! -
@nero355 Hi. Dev mode is enabled. I don't see any option to enable USB debugging.
Edit: I did a reboot and was then able to run
adb shell sh
to connect to the phone from my PC. The shell doesn't seem to have tab auto complete. Also when I opened a text file on the phone, I couldn't save any changes I made in nano (Ctrl-x did nothing). -
@opolork
Which file were you editing ??Perhaps because the system needs to be remounted in write mode in order to edit certain files ?
-
@nero355 I was trying to edit the hosts file. How do I remount it in write mode?
-
@opolork said in Is it possible to block ads via hosts file on UT? [Resolved]:
How do I remount it in write mode?
The easiest way :
- Install UT Tweak Tool from the OpenStore
- Choose "System" from the top left menu.
- Choose "Make image writeable"
- Pick any of the two other options!
-
@nero355 Thanks and Happy NY.
-
-
Happy new year