After Factory Reset, how do you unlock phone when it is not connected to wifi? I can't use my Samsung i9000 (Galaxy S1) for a number of years because I tried the screen lock incorrectly too many times. I no longer get that option, it just says "Too many pattern attempts" and asks for your Gmail details. But even after a factory reset, its still asking for these details and the phone is not connected to wifi. I would really appreciate some help.
Till i understand, factory reset will completely erase all data which includes all settings also. So are you sure you have factory reset your device? 

As mentioned here if you have USB debugging ON on your device you can follow this steps to disable lock:-

How to Disable Pattern Lock via ADB


You must have previously enable USB Debugging (Settings ->
Application -> Development -> USB Debugging) 
Download and extract the Android SDK (from here) 
Plug your phone into your computer 
In command line navigate to where you extracted the SDK, then to the Tools folder which should contain adb.exe. Do not simply run adb.exe but instead enter adb –d shell. 


Please check this question of forum