Virtual-Hosts
Virtual-Hosts copied to clipboard
Not working on my Android 10
Hi this is strange as I thought that it worked some time ago, but it does not seem to be working any more. I tried with multiple apps, and then saw in #74 that ping in adb shell was supposed to be a valid test, so here it is:
CTL_sprout:/storage/self/primary $ echo '127.0.0.1 www.google.com' > hosts
CTL_sprout:/storage/self/primary $ ping www.google.com
PING www.google.com (216.58.214.164) 56(84) bytes of data.
--- www.google.com ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1009ms
1|CTL_sprout:/storage/self/primary $ cat hosts
127.0.0.1 www.google.com
CTL_sprout:/storage/self/primary $
(Of course the file was reloaded and the button toggled back on in the app between first and second line)
Installed version 2.2.2 from F-Droid.
And it is now working again. I don't know why.