Android Lollipop Forgot Password I forgot my number password and I am unable to unlock my phone. I have tried looking things up online and the only solution I haven't tried is to perform a factory reset. I would prefer not to delete all of my data. 

How do I reset/unlock my phone without knowing the password for the phone?
The following steps may help you  to reset the moto-g without loosing your data.

step 1: Unlock Motorola Moto G Bootloader

step 2: Root your phone with M-TOOL

step 3: install  CWM(clockworkmod) recovery on your moto-g after rooting 

step 4: choose RECOVERY from the Fastboot menu using your volume keys and
        enter recovery

step 5: then backup your moto-g using your volume keys and store it on sd 
        card  

step 6: reset your phone using recovery ,and restore the backup