So I am using a rooted Galaxy S6. I am familiar with the hosts file in the Android system and how it works. I modify the hosts file to block ads every once and a while.
Recently, I haven't been able to connect to the Play Store. When I looked this up, I find out the "hosts" file has been edited. I see this line: 127.244.77.91 android.clients.google.com.
According to the Internet, the solution is to simply put a hashtag to exclude that server or whatever. But even when I do that, the same entry is added below the one I excluded!
Which app keeps modifying the hosts file? Is it the Google Play Store? Is it Google Play Services? What about the Google Play Services Framework?
How can I prevent the hosts file from being edited without my permission?