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. 🙂

How to Install ATI Radeon 7670 graphic driver in Linux Mint / Ubuntu (latest versions)


Hey guys, I have a HP Pavilion g6 lap, which comes with an ATI Radeon 7670M HD graphic card which comes with Windows 8 preloaded. When you install any Linux Distributions side loaded with Windows 8, the graphic driver will not get installed while Linux is being installed, which keeps the graphic card’s fan running all the time. Because of this, there will be a lot of battery drain.

So I’ve decided to install the graphic driver for Linux manually. Here’s a small guide through which you can install the graphic driver in Linux.

During this process, we will install the default fglrx driver through which you can turn off the graphic card if you want.

Process for installing ATI Radeon driver on Ubuntu / Linux Mint

Installing the default fglrx drivers doesn’t involve much process. This is very simple when compared to the previous versions. 🙂

Step – 1

Upgrade your system. This you can do it using the following process:

sudo apt-get upgrade
Step – 2

Install the fglrx drivers. For this enter the following command in the terminal:

sudo apt-get install fglrx

Now restart the computer to complete the installation process.

sudo reboot
Step – 3

After the drivers are installed in your system, now install the necessary pxpress package that is used for switching the graphic card from discrete to integrated and vice-versa.

sudo apt-get install fglrx-pxpress

Now you will get a message that the discrete graphic card is activated. Reboot the system once again.

Step – 4

After you restart, you can check which graphic cards are active using the following command in the terminal:

inxi -G
Step – 5

Now install the AMD Catalyst control center in your system switching between the graphic cards. That you can do it by executing the following command:

sudo apt-get install fglrx-amdcccle

Now reboot your system once again. 🙂

sudo reboot
Step – 6

Now launch the AMD Catalyst Control Center as an administrator so that you can switch between the graphic cards.

In the Settings, switch between the graphic cards as per your need. If you want more battery backup, then it is recommended to switch the graphic card to integrated (i.e. Intel Graphics) The system will ask for a reboot.

After the reboot is completed, now the Linux will use the internal graphic card instead of the discrete graphic card.

Now, once after you change the graphic card to integrated, you will see the increase in the battery backup 🙂

2014 in review


The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog and here it is. 🙂 That’s some great work from the stats helper monkeys in reviewing my blog. 🙂

Here’s an excerpt:

A New York City subway train holds 1,200 people. This blog was viewed about 5,900 times in 2014. If it were a NYC subway train, it would take about 5 trips to carry that many people.

Click here to see the complete report.

GravityBox & Xposed Framework


Hey guys, in the last post we have seen how to root Motorola phone. As I told earlier in this post you’ll come to know about a few more apps and tweaks about Android which you can experiment on your phone. 😛

First thing and the main advantage of rooting your Android phone is that you can get rid of useless system apps which comes by default in your phone which in turn frees your phone memory. If you don’t root your phone you can’t remove those unwanted apps from your device.

There are quite a few apps which can help you free the internal memory of your phone. But for using those you need to root your phone. Apps like Link2SD, Titanium Backup requires root permission for freeing the internal memory.

Link2SD

This is one of the awesome apps which helps you to move most of the system apps also to the external memory. Using this app you can mount an external partition (if you have created) and install even more apps into the phone preventing your phone from running out of memory. 🙂 You can download the app from here.

Link2SD

GravityBox

GravityBox is one of the awesome apps for root users which lets you customize your phone to the max. It is like a gateway to access most of the hidden features of Android. The customization part is all up to you and your imagination. In Android KitKat you have the option called quick settings which you can access it by tapping the tiles button in the notification bar. In the stock KitKat you cannot change the tiles which are there. For customizing those tiles you can use this GravityBox.

GravityBox

There is one more thing, which we don’t have it in the Stock Android, the brightness control from the navigation bar. This is one of the feature which I love a lot. For enabling all these kind of features you need to install GravityBox. For installing GravityBox you need to install the Xposed Framework in your mobile.

Xposed Framework

Xposed Framework gives you the possibility to modify your Android ROM without using any modifying apps or flashing another rom. There are quite a few advantages which you can get if you use Xposed Framework. Here are a few of them.

  • No need to modify any APKs. This means:
    • No need to decompile, change things in small, compile.
    • It will work for odexed and deodexed ROMs.
    • Multiple mods can be installed at the same time, even if they modify the same app. So you can use these battery icons and those quick toggles.
  • It does its magic at runtime. That means that developers can implement settings and do changes based on them. It can be disabled easily without having to re-flash.
  • It’s open source and free (as in beer and in speech).
  • There is a repository with many popular module.

You can download the Xposed Framework module from their site. There is another zip file which you can download it from here, which is used to disable the Xposed Framework if it goes to a boot loot after you install it.

Before you start installing the Xposed Framework installer in your mobile, copy the Recovery which you have downloaded to the external SD card, so that you can access it from the recovery mode.

Installing Xposed Framework

  • Download the Xposed Installer from the site which is provided above.
  • Install the Xposed Installer normally, in the same way how you install an app.
  • Open the Xposed Installer and then go to Framework in the menu and click on the install option.
  • Reboot your phone after it is installed.
  • DoneJ, you have installed the Xposed Framework in your mobile.

If you get into a boot loop, go to the recovery mode and then just install the zip file which you copied earlier to the SD card. This disables the Xposed Framework, and then you can uninstall it normally after you restart.

Installing requires modules

  • Open Xposed Installer which you installed, in that open the option
  • Search for the required module and then install it.
  • Open the modules in the main menu of the Xposed Installer and then check the box next to the module which you installed.
  • Reboot your phone.
  • That’s it, you have the module installed in your mobile.

That’s it guys, hope you will have fun with your phone. 😀 If you have any questions, please do ask here.