I have no explanation for what happened to @BlackSilverGT
, so I can't promise how to avoid it. I used an app which moves files via CRpcComponent (rather than using the full access via MTP hack) but I have modified the HOSTS file that way, and it works. Maybe the problem was the *particular* modifications you made? I wasn't trying to block ads or anything like that, just intercepting traffic from an app. The tool I wrote for the purpose was a one-off and I seem to have deleted it, but I have a more general-purpose file editing utility under development.