Yes, of course, you must follow next steps to INSTALL hosty:
- Enable “Developer Mode” from Settings. Terminal will be installed in your phone
- Open Terminal and run next commands.
devel-su pkcon install p7zip-full gawk gzip nano
devel-su pkcon install gnu-bash #NOTE:This action will remove busybox-symlinks-bash package under your responsibility
devel-su ln -s /usr/bin/gpg2 /usr/bin/gpg
- Install cronie or vixie-cron from openrepos.net
- Install
sudo
from Terminal:
devel-su pkcon install sudo
- Edit “sudoers” using “nano” and add “defaultuser” to properly use of hosty:
devel-su nano /etc/sudoers
Adding at the end of the file:
defaultuser ALL=(ALL) ALL
- Just run:
curl -L git.io/hosty | sh
- During installation hosty will ask if you want to automatically run hosty from time to time to update your hosts file with the latest list of domains.
We answer the following questions:
Do you want to always run the latest version of hosty? Y
Do you want to automatically update your hosts file with latest ads list? n
- Once hosty ends its installation, just run again:
curl -L git.io/hosty | sh
To RUN hosty, just run sudo hosty
from Terminal. You probably want to run it periodically to update your hosts file with latest domains list or you can use sailcron for that.
NOTE: I use hosty since sfos 4.2, but I remember that I had to install and unistall defender II to get working properly. I’m on sfos 4.4