Is it possible to block ads via hosts file on UT?
-
@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