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][1], > 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][2]. [1]: https://android.stackexchange.com/questions/134963/change-the-server-that-android-uses-for-an-internet-connectivity-check/154466#154466 [2]: https://android.stackexchange.com/a/114041/150986