How to reach Google Servers to complete the setup from China My phone fell from my pocket while on a bike. After a while it was giving me some problems so I decided to resetting it. I'm in China now and I forget that I have to do through all the processes but China is blocking Google's servers so I can't complete the connectivity check.
As seen in other answers, VPN is the best solution.  

In case you don't have a VPN or it fails to connect, do as follows. This won't do any harm to your phone.
    1. Unlock bootloader (if needed) and flash a custom recovery (if TWRP is available for your phone, go straight for it) and boot into it
For TWRP:
    2. Tap 'Mounts' and tick 'system'
    3. Tap 'Advanced' and 'File Manager', locate
       Android 4.1 &amp; before: /system/app/SetupWizard.apk
       Android 4.2~5.0: /system/priv-app/SetupWizard.apk
       Android 5.1 &amp; after: /system/priv-app/SetupWizard/SetupWizard.apk
    4. Rename it to SetupWizard.bak
Other custom recovery like CWM:
    2. Navigate to 'Mounts' using volume buttons and press power button to enter
    3. Again navigate to 'mount /system' and press power button
    4. Get a PC (with adb available) and run  

adb shell mv /system/app/SetupWizard.apk /system/app/SetupWizard.bak

Change the path to SetupWizard.apk respectively according to the information above. Then reboot.
After rebooting from recovery, you'll find that the setup screen is gone and there's no more troubles.  

Edit: For most highly customized ROMs in China like MIUI and Huawei's EMUI and ZTE's, there may be other setup wizards called mi_SetupWizard.apk or hwSetupWizard.apk or ZSetupWizard.apk, respectively, which exist along side the AOSP's one (usually located in /system/app regardless of ROM version). Remove them as well.