Hello EarlyMoon,
Thanks for the detailed help in this topic.
I have the same issue, and based on that Google is the best friend I am here.
"
Couldn't Sign In
Can't establish a reliable connection to the server.
This could be a temporary problem or your Android device may not be provisioned for data services. If it continues, call Customer Care.
"
Story:
I am using an android mobile ("N800" Dual SIM, Android ver. 4.0.3, not rooted) for 4 years, and I was able to use the Google applications (GMail, Hangouts, Play Store, etc.) with my gmail account via GPRS, 3G, WiFi without any problem.
A year ago I put down this old phone because of a new.
3 months ago I decided to use this phone again as a 'game device' dedicated to my son. I disconnected my gmail account and performed the usual factory reset in the Android settings menu.
I realized at that time I cannot sign in with my or others gmail account neither create a new account.
Step 1:
Add a Google Account Do You want to add an existing account or create a new one? [Existing] [New]
Step 2:
Preparing... Gathering information about your phone. This could take up to 30 seconds. [Cancel]
step 3:
Signing in... This can take a few minutes. [Cancel]
step 4:
Couldn't Sign In Can't establish a reliable connection to the server. This could be a temporary problem or your Android device may not be provisioned for data services. If it continues, call Customer Care. [Next]
Note: the device's wifi connection is alive, the browser is working fine (i.e. I can open web pages, download youtube videos, etc), but the account dependent google applications cannot be used at all without login.
I repeated this procedure several times.
Actions made:
Later I made factory reset several times, and also wiped the cache partition, wipe data/factory reset by using the Android system recovery utility.
It didn't help, still couldn't sign in with any gmail account. Here we are.
After reading these posts in this forum, I tried ES File Explorer (apk was downloaded and installed from SD card off-line). I can localize and read the mentioned /etc/hosts file. What I cannot do is changing it. My hosts file contains 3 lines:
127.0.0.1 localhost
74.125.31.100 android.clients.google.com
74.125.31.101 android.clients.google.com
I removed the the 2 lines with 74.125... and keep the first line with 127.0.0.1 in the ES Note Editor, but I couldn't save the file.
I found the "Root explorer" switch in the ES explorer's Tools menu but it is not allowed to turn on.
(Note: according to
http://www.whatip.com/ip/74.125.31.100 these IP addresses are owned by Google, so seems to be not hacked my hosts file.)
What to do next?
What is the root cause of this signing problem?
