A hosts file to block ads on popular apps such as Pandora, Spotify, etc.
So far after using this hosts file I have had 0 ads in Spotify. Before I was using multiple hosts sources but none of them seemed to have the right URLs to fully block Spotify ads.
To use this hosts file, you will need to root your device and install AdAway from the F-Droid repository.
The address you should use for the hosts file in AdAway / other Ad blockers is: https://raw.githubusercontent.com/JasonD94/android-hosts/master/hosts.txt
The sources for this host file can be found here:
- Reddit comment by jamd315 (Spotify)
- Reddit comment by ojw_15 (Spotify)
- Reddit post by nic2849 (Spotify)
- MoaAB
- Reddit Post (YouTube)
Other hosts files I use and recommend:
- StevenBlack/hosts This hosts file combines many of the other hosts files I also use but I just let AdAway merge them all together and remove all the duplicates. I would rather shotgun the ads away.
- The AdAway default hosts file AdAway includes this by default. It doesn't hurt to use it too.
- winhelp2002 hosts file Another solid hosts file.
- http://someonewhocares.org/hosts/ Dan Pollock maintains this hosts file and it is incredibly useful to have.
- http://www.malwaredomainlist.com/ Block malware as well - why not?
- http://pgl.yoyo.org/adservers/ Included by default in AdAway
- MoaAB This could be useful for finding more sources to add.
You can find a really good list on AdAway's GitHub wiki too.