Forgotten lock screen pin password
I have forgotten my lock screen pin password and so can't access my device.I have however found a method on XDA to bypass or remove the pin password (without wiping data) but that requires usb debugging enabled.Since i have usb debugging disabled and stock recovery with locked bootloader, is there anyway to enable usb debugging so that i can delete the .key via adb in command prompt?
here is the above method
Solution For Everyone Without Recovery Installed - ADB :
What You Need:
=>A computer running a Linux distro or Windows+Cygwin
=>USB cable to connect your phone to the PC
1. Connect you (turned on) Phone to the Computer via USB.
2. Open a terminal window.
4. Done...Now You Just Have To Reboot.
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock."
Model : MOTO G (non GPE) with locked bootloader and stock recovery and rom.