Root - Motorola Moto G (2014)
requirements
Having unlocked bootloader on your Moto G. If you have not unlocked, you can do it
here, but be aware that you will lose your warranty if you do not have a developer edition.
Fastboot installed and running on your computer.
Download the
following file and leave it in the folder where you have fastboot installed
Steps
The first thing to do is download SuperSU Updater
from here and copy it to the internal memory of Moto G.
Turn off the Moto G and turn into Bootloader mode, ie by pressing the power button and volume down.
Once you are on and we bootloader screen appears, we will have to flash the recovery. To do this we must open a command line where you are and run fastboot "fastboot flash recovery TWRP2801-titan-Motog-2014.img" without the quotes.
Open Recovery and flash "SuperSU.zip", the file you have left before the internal memory.
That's it! We'll just reboot and voila, our Moto G be rooted.