Even I have seen duplicated thread as in: Can not unlock my Android device as have no internet connection?
But Here's my situation:
- I have wifi/data turned off.
- I have the developer option turned on and my laptop does recognized the device with usb plugged in. (As I'm android developer)
- I'm using unrooted Nexus 4 .
Is there any way of unlock the screen using adb way, i.e: turn on the wifi? If no luck I would probably go with hard reset.