Installing CyanogenMod 12.1 on Moto G 2014


Hi there, its been a long time since my last post. CyanogenMod is one of the leading custom rom developers for android platform for the past few years. Moto g2 is one of the most popular phones released by Motorola company. CyanogenMod developers have been working on a custom rom for Moto g2 and there are no stable builds for Moto g2 from CyanogenMod. Here is a small guide on how to install CyanogenMod 12.1 on Moto G 2014.

Prerequisites for installing CyanogenMod 2014:

  • Unlocking your phone’s boot-loader.
  • Flashing custom-recovery (twrp / cwm)
  • Download & flash the cyanogenmod custom rom.
  • Flash gapps for Google apps.
Disclaimer: Rooting your phone will probably void your warranty from both the carrier and the manufacturer. If you don't wish to accept the fault for any of the adverse effects of rooting, then do not read any further. I am not responsible if you brick your device. Here be Dragons :D 

Unlocking phone’s boot-loader

In my previous post on how to root moto g2 xt1068, I have already mentioned about how to unlock your phone’s boot-loader. Here is the link to the post where you can get how to unlock your phone’s boot-loader.

Flashing custom recovery

The default recovery present in the phone is of no use. So we will have to replace the default recovery with some recovery such as Clockwork Mod or TWRP. For flashing the recovery you need to go the bootloader and from there you need to install the custom recovery. To install any other custom rom, you have to flash a custom recovery where you will be able to wipe your mobile and ready to flash a custom rom. You can either use TWRP custom recovery or CWM custom recovery.

Download Links

Once after you download the custom recovery from the above links, flash it using the adb tools by executing the following command in the terminal/ command prompt. To go to the bootloader menu directly run the following command in the minimal adb and fastboot command prompt:

adb reboot bootloader

Now the phone will restart and it will be in the fastboot mode. Now in the command prompt run the following command to install the custom recovery.

fastboot flash recovery recovery-clockwork-touch-6.0.4.7-falcon.img (for clockwork recovery)

or

fastboot flash recovery twrp-2.8.6.0-titan.img (for twrp recovery)

Now you have flashed the custom recovery in your mobile which replaces the default recovery in your phone.

Flashing CyanogenMod 12.1 & GApps

You can download the cyanogenmod custom rom from their website. You can download the gapps for moto g2 from here. After both the downloads are complete, copy both the files to the internal memory (don’t put it in any sub-folders). Now enter the boot-loader and then enter the custom recovery. Once you are in the custom recovery follow the below given steps to flash the custom rom:

  • Enter Wipe Data/Factory Reset settings and give a complete wipe out to install a new rom.
  • Come back to the main screen and then enter Install Zip and select the rom from the internal memory and proceed to install. (This process will take up to 2 min to complete)
  • After you have flashed the rom successfully, select the gapps zip and install that also.
  • After both the steps are completed successfully, you can go reboot your phone. (the first start might take up to 3-5 min)

Volla, you have installed CyanogenMod custom rom in your Motorola G2. 🙂 CyanogenMod

Note: You don't need to install any superuser applications in CM 12.1 because, they have included in the rom itself which you can access from the the developer settings.

Features of CyanogenMod 12.1

Visually, there are hardly any noticeable changes in CyanogenMod 12.1/CyanogenMod 12. The team has added a bunch of new wallpapers, but that’s about the only major visual change that you can find. Here are some new features in CyanogenMod 12.1.

LiveDisplay

This is one of the major features that CyanogenMod has added to their ROM in recent months. As described by the team, this feature automatically optimizes the screen depending on the time and ambient conditions to reduce eyestrain and improve readability. It also allows users to change the color temperature and calibration of the display depending on the time of the day. LiveDisplay is located under: Settings -> Display & Lights -> LiveDisplayLiveDisplay

LCD Density

This feature allows users to change the software density of their phone. This will allow users to display more (or less) content on the screen depending on their preference. A lower number means more content will be displayed on the screen and vice versa. LCD Density is located under: Settings -> Display & Lights.

Notification Manager

This is a new entry in the Settings menu in CyanogenMod 12.1/12. It contains options to enable/disable Heads up notifications, the ability to filter notifications from the installed apps, change priority of notifications of the installed apps, check the apps that can read notifications on the device and more.

Lock screen Visualizer

Google added a beautiful music lock screen widget to Android with Lollipop. CyanogenMod has further enhanced this feature in their ROM by adding a visualizer to it. When any music is being played, the lock screen will also display visualizations apart from the music controls.Lockscreen

Ambient Display & Gestures

Google added a new Ambient Display option in Lollipop on the Nexus 6, which is similar to the Moto Display feature of the Moto X. The CyanogenMod team have also added this feature to their ROM. When there is a new notification, the display of the device will “breathe” to show the unread notification. The display will also light up when the user picks up the phone so that users can view any important notifications at a glance. This feature, however, is hardware dependent and will not show up on all the devices on which CyanogenMod 12.1/12 is installed.

There are two features for Motorola G 2014 under gestures menu, first one is Hand Wave, which shows pulse notifications on hand wave over the sensor of the mobile. Next one is Pocket, which shows pulse notifications on removing the phone from the pocket. This is a good feature but it consumes the battery to some extent because the sensor has to be on all the time.Ambient Display

Root Access

With CyanogenMod 12.1, the CyanogenMod team has done away with root access on the OS by default. The ROM is no longer rooted by default, and users need to manually enable root access by going into Settings -> Developer Options -> Root Access and specifying whether they want root access only in ADB or want it for apps as well.Root Access

These are the notable features that CyanogenMod has added to their ROM. If I have missed any other major feature added to the ROM recently, do drop in the comments.

Thanks for reading, hope you like it. If you have any doubts, please drop the query in the comments, I will try to respond asap. 🙂

Motorola XT1068/ Motorola G 2014 (2nd Gen) Rooting Manual


Hi, these days Motorola XT1068, popularly known as Moto G 2nd Gen is one of the leading phones in India which took over the smartphones market. Here, in this post I will be explaining the process for rooting Motorola XT 1068 and some tweak tools. This whole blog post will be in two parts. The first part consists of how to root Moto G 2nd Gen, the second blog post will contain about the installation of the GravityBox tweak tool, which lets you to tweak your Android.

The second generation Moto G, which we predicted would be called the Moto G2 is easier to find online by searching for its part code: XT1068. The main features of this Moto G2 is a 5 inch display that offers a 1280 x 720 p resolution. The screen is protected using a Corning Gorilla Glass. It is powered by a 1.2 GHz quad core Snapdragon processor along with a 1 GB RAM and an Adreno 305 GPU. The main feature of this is that it contains an external SD card slot which allows the user to expand the memory to further extent.

There are quite a lot of features which you cannot access as a normal user. For those who wants to give a try exploring all the different options, the only way is to root the mobile. 😉

Key specifications

  • 5 inch display (1280 x 720p)
  • 1.2 GHz quad core processor
  • Qualcomm Snapdragon 400 MSM 8228 Chipset
  • Adreno 305 GPU, 450 MHz Single Core
  • 1 GB of RAM
  • 8GB / 16 GB internal memory
  • Micro SD card slot  (up to 32 GB)
  • 8 MP rear camera with flash
  • 2 MP front camera
  • Android 4.4.4 KitKat upgradeable to Android L
  • 2070 mAh battery
  • Dual sim, dual mic and dual speakers.

Rooting Moto G 2nd Gen

Rooting your Android lets you to use the SuperUser permissions which helps you to remove all the unnecessary system applications which come along with the phone by default. Rooting your Android device lets you to side load Custom ROM’s such as CyanogenMod, MiUi etc.

Rooting any Android Device mainly consists of the following steps.

  • Unlocking the Boot-Loader
  • Flashing Custom Recovery
  • Installing Super Su (Super User) as a root

Prerequisites for rooting are as follows

These are the least minimum tools which you require for the rooting your device.

  • Installing the minimal adb and fastboot tools. You can download the installation file from here.
  • Custom Recovery for flashing the Custom ROM’s. There are two types of recoveries available for this phone. You can install anyone of these two.
  • Super SU (Super User), the root apk which needs to be installed from the custom recovery.

Note: The following procedure will void your warranty and you are responsible for any damage to your phone.

Unlocking the Boot-Loader

The first and the foremost thing to be done before you start the process for unlocking the boot loader is to take the backup of all the apps, contacts, messages, calendar and phone logs. This can be done by installing the Super Backup: SMS & Contacts app from the play store. Taking backup is one of the important steps before you start the unlocking process because after you unlock the device it will do a factory wipe out which leaves no trace of any data in your phone. So it is better to take the backup of the all the required data beforehand. J

For unlocking the boot loader you need to register in the Motorola site. Log in with either your Gmail or Motorola ID. After that you can proceed to the next stage of the unlocking your process.

  • Put your device in fastboot mode (power off then press the power button and the volume down buttons simultaneously for at least 3 seconds.)
  • Open the minimal adb and fastboot tool which you installed previously on your system. If not please download it and install which is given in the above section.
  • When you open the above file you will get a command prompt opened. Now connect your phone to the computer using a USB cable.
  • In the command prompt type the following command:
fastboot oem get_unlock_data
  • Now you will get a string which will be used to retrieve your unlock key. The string which you get in the command prompt looks somewhat similar to this if you are using a windows system:
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000

On a Mac the string which will be returned in the terminal will be similar to this:

INFO0A40040192024205#4C4D3556313230
INFO30373731363031303332323239#BD00
INFO8A672BA4746C2CE02328A2AC0C39F95
INFO1A3E5#1F53280002000000000000000
INFO0000000
  • Now copy the string from the command prompt to a notepad and then remove the (bootloader) or INFO and the white spaces also. After you remove those the string must look similar to this:
0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000
  • Now copy the string which you get by removing the white spaces, and paste it in the Motorola site where you logged in. Now paste it in the given box over there and then click on the button below that box.

Note: If your device can be unlocked then click on the REQUEST UNLOCK KEY in the bottom of the page.

  • After you click on the REQUEST UNLOCK KEY button, check your mail. You will get a mail from the Motorola with the key in it.
  • Now open the minimal adb and fastboot terminal which started before and execute the following command:
fastboot oem unlock UNLOCK_KEY
  • Now your device will go for a reboot. That’s it your mobile’s boot loader is unlocked.

Flashing Custom Recovery

The default recovery present in the phone is of no use. So we will have to replace the default recovery with some recovery such as Clockwork Mod or TWRP. For flashing the recovery you need to go the bootloader and from there you need to install the custom recovery.

To go to the bootloader menu directly run the following command in the minimal adb and fastboot command prompt:

adb reboot bootloader

Now the phone will restart and it will be in the fastboot mode. Now in the command prompt run the following command to install the custom recovery.

fastboot flash recovery TWRP2801-titan-motog-2014.img (for Team Win Recovery mod)

or

fastboot flash recovery CWM_Touch_Titan_v2.img (for Clockwork Recovery mod)

That’s it, now the phone is flashed with the custom recovery which you want.

Installing SuperSU as admin / root

For this copy the SuperSU file to the internal memory and then reboot the phone to the fastboot mode. In the fastboot mode, navigate to the recovery and then you will be taken to the Custom recovery which you installed previously.

In the custom recovery go the INSTALL ZIP option and then select the SuperSU.zip which you placed in the internal SD card. Now click on the install button after selecting the zip file. Let it complete the installation process of the file. Once after it completes reboot the phone.

That’s it, yay, you have rooted your phone. 🙂

Hope that this post helped you. If you have any problem, please do comment below. 🙂