When it is downloaded, on the main interface of TutuApp find out the Spotify app. Or you can go to the search bar for downloading the Spotify app for blocking the Ads on Spotify. On the introduction page of the Spotify app, hit to the Download button to download and install the Spotify app on your Android devices. Configure phone to use a proxy or VPN and then add the entry 10.1.2.3 mysite.local to hosts file on proxy server or run a local DNS server on VPN server. If bootloader is unlockable, edit hosts file from custom recovery. For more details see: How to always resolve a domain name to a fixed IP without rooting?
If you want to block certain websites, you can simply edit the hosts file in Android and it will do the job for you. However, for that work, you need to have root access to edit the hosts file. If your device is not rooted then you cannot access or edit the hosts file as needed. But, using VPN based virtual hosts file you can redirect or block any website or IP address you want with just a few clicks. The good thing about VPN based hosts file is that you don’t need root access and it works just as efficiently.
Related: Adblock Plus vs uBlock Origin | Which one to Choose?
Adblocking app v/s host file ad blocking
Both, native adblocking apps (like AdAway) and VPN-based ad blocker (like apps below), use a similar method to block ads. i.e. modifying the ‘hosts’ file. But the way they make changes to the host file is different.
Adaway modifies the internal hosts file of your Android, which contains a list that matches server names with addresses the system should use to reach a particular server. However, due to Android restrictions, you’ll require root access to edit the internal host file. This is why apps like Adaway require root access.
VPN-based ad blocker (like DNS66) on the other hand, create a local VPN connection. When an app creates a local VPN connection, all the internet traffic is routed through that app. And since all the traffic and packets are routed through the app’s local VPN connection, it can monitor the packets and decide whether to block the packets or not using a virtual hosts file and other parameters.
Adaway and DNS66 both are host-based ad-blocker. The only difference is Adaway make changes to the internal host file while DNS66 add host filter from outside.
Spotify Download Spotify. Mac OS X (Current 10.5)Windows; iOS; Android (Google Play Amazon)Spotify for other platforms. Spotify is a digital music service that gives you access to millions of songs. Spotify is all the music you’ll ever need. Skip to content. Spotify Click the install file to finish up. If your download didn't start, try again. Bring your music to mobile and tablet, too. https://ohydor.weebly.com/macos-spotify.html.
Also, since Adaway just modifies the host file, it’s a little bit faster and consumes less battery, than apps like DNS66. Also, Adaway works better at blocking ads than the others. But in order to get Adaway, you need to root your Android device, which is a deal breaker for many users. So, if you want to block websites on Android without root, then VPN based host file editor is the best and only, option.
In case you are wondering, below are some of the best VPN based hosts file editor apps and how to use them.
Related: 6 Ways To Block Adult Content on Android (Video)
Edit Android Hosts File Without Root
1. VPN Hosts
VPN Hosts is a simple and open source app that allows you to create your own virtual hosts file and use it to block or redirect websites and IP addresses. There isn’t much to this app, it is very minimal and does the one thing properly that it says it will do. The good thing about this app is that it supports IPv6 addresses (very useful if you are using LTE) and you can use wildcard entries in the host file.
Price: You can download the app for free from the official Github page. If you like the app and want to support the developer then you can purchase the same app from the Google Play Store for $2.99.
How to use VPN host without Root?
Using VPN Hosts is very simple. All you have to do is create a text with hostnames and IP addresses, select it with the app and turn on the local VPN.
Modify the addresses to meet your needs and save it on your Android device. As you can see from the below image, I’ve modified it block one website (i.e. Google) by pointing it to the local IP address.
Now, install the app and open it. Here, click on the button “Select Hosts File”.
Open the Spotify app preloaded on your Samsung Galaxy Note20 5G or Note20 5G Ultra, Galaxy S20 5G, S20+ 5G, S20 Ultra 5G, Galaxy Z Flip, Galaxy A51, or Galaxy A71 5G. Log in or create an account, and tap the ‘Premium’ tab on the bottom of your screen to learn how you could get your first six months of Spotify Premium for free. On the other hand, Spotify music is streamed at Ogg Vorbis format, which is incompatible with Galaxy Note 10. In order to transfer music from Spotify to Note 10 for playback, you need to convert Spotify songs to the common audio formats supported by Galaxy Note 10. Spotify Music Converter is such a powerful tool for you. With it, you can. Do you know that Spotify and Samsung have joint promotion plan. Galaxy S10, S10+, S10e and Note 10/10+ owners who haven't had Premium before can get 6 months free. Any US/DC resident who is at least 18 years of age who purchased a new Samsung Galaxy S10+, S10 or S10e and Note 10/10+ between 2/21/19 and 12/31/19. Spotify Premium charges $9.95/month. This can end up costing you lots of money in the long run. Considering Galaxy Note 9 is so expensive, if you are on a budget or just simply don't want to invest more for music, you can follow this tips to download all your favorite songs/playlists from Spotify for free. https://ohydor.weebly.com/spotify-free-with-galaxy-note-10.html.
Navigate to the directory where you’ve stored the hosts file and select it.
You will be prompted for a connection request. Tap on the “Ok” button to continue.
That’s it. The above action will add the hosts file and starts the local VPN service. From this point forward, all the IP address added to the hosts file will either be blocked or redirected depending on your hosts file.
2. DNS66
DNS66 is very similar to VPN Hosts in that it is a free and open source. However, DNS66 much more feature rich and uses custom and pre-determined hosts files to redirect or block websites and ads. Of course, you can also use your own hosts file to block and redirect websites. As the name suggests, you can also use this app to force your Android device to use a specific DNS server.
The best thing about this app is that it is preconfigured to block all ads using third-party host files like Adaway, Dan Pollock, MVPS, etc. If you want to, you can even block know malware infected or spreading domains. More Hosts sources can be found in the Wiki on Github.
Price: The app is free but is not available on the Google Play Store. You can download it from F-Droid.
Related: Top 10 F-droid Best Apps (Not on Google Play)
How to use DNS66 to block ads?
To start off, download and install the app. After installing, open it and navigate to the “Hosts” tab.
Here you can see all the default host files that can block ads and malware domains. To add a website or a custom hosts file, tap on the “Plus (+)” icon.
Now, enter the title in the Title field, enter the URL of the website, select the “Deny” option from the drop-down menu and tap on the “Save” icon appearing on the upper right corner. If you want to add custom hosts file with multiple websites and IP addresses, click on the “Attachment” icon in the second field and select the hosts file.
Once you are done adding a website or hosts file, this is how it looks like. As you can see, I’ve chosen to block Google and I’ve also added a hosts file with additional web addresses.
Now, go back to the main “Start” screen and tap the button “Start”.
The above action will start the local VPN connection with the custom host file settings. If you can’t see the changes, tap on the “Refresh” icon appearing on the upper navigation bar to refresh the host file settings.
3. NoRoot Firewall
Using NoRoot Firewall, you can create global filters to block websites using the virtual hosts file. Apart from that, it also acts as a firewall and regulates all incoming and outgoing traffic from various apps on your Android device. The downside of this app is that you cannot add your own custom hosts file like in VPN Hosts or DNS66. Instead, you need to create global or app-specific filters to block individual IP addresses of websites. So, if you are looking for an app that lets you properly monitor which apps can and cannot access the internet while allowing you to block individual websites then NoRoot Firewall is for you.
Price: Free
How to use no root Firewall app?
To block a website using NoRoot Firewall, you first need to know the IP address of that website. To know the IP address of a website, you can use this free service. Once you have to IP address, open the app and navigate to the “Global Filers” tab.
Here, tap on the option “New Pre-Filter”.
Now, enter the IP address in the “Address” field and choose “*” in the “Port” field. Tap on the checkboxes next to WiFi icon and Cellular data icon until you see “X” and tap on the “Ok” button.
Spotify For Android
That’s it. From this point forward, the website you choose to block will no longer be accessible using any app. If a website has multiple IP addresses then you can block that website using wildcard entries. This is how it looks like when you use wildcard entries. As you can see, I’ve substituted numbers with “*”.
Being a powerful app, explorer NoRoot Firewall and experiment with different options. If you utilize all the options, the app will give you tremendous control of the internet usage of all your installed apps.
Install Spotify App
That’s all for now and hope that helps. Do comment below sharing your thoughts and experiences about using the above VPN based hosts file editor apps.