Installing CyanogenMod 12 on Motorola Moto G2 (XT1068) I want install CyanogenMod 12 on my Motorola Moto G 2nd Gen (XT1068) with Lollipop 5.0.2. Please help me on the procedure.

I've tried apps like towelroot, Kingo, etc. but they don't support Lollipop.
Follow guide below:
This will void your warranty and wipe your device so make a backup.
CyanogenMod 12 is still a nightly so there are bugs.
Make sure your computer has working fastboot and adb.

Follow these steps:

Step 1: Unlock Bootloader


Enable USB debugging on the device.
Connect the device to the computer through USB.
From a terminal on a computer, type: adb reboot bootloader
Once device booted to fastboot mode, type: fastboot devices
If you don't see your device serial number then fastboot is not working correctly.
If you see no permissions fastboot, try running fastboot as root.
Now type: fastboot oem get_unlock_data
Visit the Motorola Bootloader Unlock website and follow the instructions there to obtain your unlock key.
If the device doesn't automatically reboot, reboot it from the menu. It should now be unlocked.
Since the device resets completely, you will need to re-enable USB debugging on the device to continue.


Step 2: Installing recovery using fastboot


Download TWRP recovery img for your device.
Connect the Moto G 2014 to the computer via USB.
Open a terminal on your PC and type: adb reboot bootloader
Once device is in fastboot mode, type fastboot devices
If you don't see your device serial number then fastboot is not working correctly.
If you see no permissions fastboot, try running fastboot as root.
Install recovery by typing: fastboot flash recovery your_recovery_image.img
Once completed: Boot to recovery: Hold Volume Down &amp; Power simultaneously. On the next screen use Volume Down to scroll to recovery and then use Volume Up to select.



  Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one.


Step 3: Installing CyanogenMod from recovery


Download the CyanogenMod package for your device that you'd like to install to your computer.
Optional: Download 3rd party applications packages, like Google Apps which are necessary to download apps from Google Play.
Boot to recovery mode, and connect the phone to your computer through USB.
Hold Volume Down &amp; Power simultaneously. On the next screen use Volume Down to scroll to recovery and then use Volume Up to select
In ClockworkMod Recovery, use the physical volume buttons to move up and down.
Optional (Recommended): Select backup and restore to create a backup of your current ROM.
Select wipe data/factory reset.
Then go to install zip -&gt; install zip from sideload. Now on your PC in the terminal type adb sideload update.zip (Replace update.zip with your cyanogenmod zip)
Optional Install Gapps: go to install zip -&gt; install zip from sideload. Now on your PC in the terminal type adb sideload gapps.zip (Replace gapps.zip with your gapps zip)
Once installation has finished, return to the main menu and select reboot system now. The device will now boot into CyanogenMod.



  Note: If you want root access you need to enable it in developer options.


More information: http://wiki.cyanogenmod.org/w/Install_CM_for_titan

Hope my answer helped. (I typed it on my android phone running CyanogenMod 12)