Skip to main content
2 of 2
replaced http://android.stackexchange.com/ with https://android.stackexchange.com/

Most likely your country banned access to Google, or at least its "captive portal" which is responsible for verification of network access on OS level. As I answered here,

Just execute su then settings put global captive_portal_server SERVER_YOU_WANT_TO_USE in a terminal emulator app or ADB shell.

For China using g.cn is alright, while for your country you will need to figure out a suitable captive portal. A possible list of that can be seen in this answer.

Andy Yan
  • 9.6k
  • 17
  • 31
  • 56