How to Root OnePlus One running Cyanogen OS 12 – Working!

by Ujjwal Kumar ·
Published January 20, 2017
· Updated December 2, 2016

How to Root OnePlus One running Cyanogen OS 12 – Working! : So after the release of Oxygen OS for OnePlus OneI was waiting for Cyanogen to release CM12S for OnePlus One. Days passed and it was still stuck in certification at Google.

It was only after the roll out started that we came to know that the update is now branded as Cyanogen OS 12.

The name doesn’t matter. The branding had to happen some day or the other as Cyanogen is now a totally commercial company. But let’s not beat around the bush and head straight to the point. In this post I will tell you how to root OnePlus One running Cyanogen OS 12. This is a very easy method and you need have a few requirements completed. Let us see what those requirements are.

Requirements

OnePlus One running Cyanogen OS 12 😛

Bootloader unlocked

Custom recovery installed – I recommend TWRP

Now if you still haven’t unlocked the bootloader of your OnePlus One and installed any custom recovery, then you need to do it. We will be telling you how in this post itself.

Video Tutorial

Unlock Bootloader of your OnePlus One

Be warned that unlocking your bootloader will erase every bit of data from your OnePlus One. Contacts, storage, app data etc. Even the internal storage will be wiped. SO TAKE A BACKUP.

I REPEAT, BACK EVERYTHING UP.

Now that you have backed up everything, you are good to go. Follow the procedure carefully.

On your OnePlus One (OPO) just go to Settings > About Phone > Tap Build Number 7 times.

This will enable the developer options.

Now go back into the main settings and navigate to Developer Options.

Look for an option named USB Debugging and turn it on.

Now if you do not have ADB drivers installed on your PC then you need to install it right now.

Now that you have downloaded the image, just copy the img file to the ADB drivers folder.

Rename the twrp image to recovery.img from whatever name it may be.

Now keep the SHIFT key on your keyboard pressed and right click and choose the option that says Open command window here.

Type the following command into the command prompt and this will reboot your OPO into bootloader mode.

adb reboot bootloader

Now that the phone is into bootloader mode, just type the following command to flash TWRP.

fastboot flash recovery recovery.img

This will take a few seconds and it will flash the recovery on your phone.

Now type:

fastboot reboot

This will reboot the phone in Android system.

Now go to settings > developer options > Turn on Advanced Reboot.

This will give you more options in the reboot menu.

Now long press the power button and tap on reboot.

Then tap on recovery and the phone will boot into TWRP recovery.

Congratulations!

You have successfully unlocked your bootloader and installed custom recovery on your OnePlus One. Now you just have to flash 2 things in order to achieve root on your OnePlus One running Cyanogen OS 12.

Root OnePlus One Running Cyanogen OS 12

Rooting Cyanogen OS 12 is not as simple as it was in Cm11S. We first need to have a debuggable boot.img which I got from Cyanogen servers.

I have compiled a flashable ZIP that contains both the boot.img as well as the SU binary. All you need to do is flash via TWRP. Let us see how to do it.

Troubleshooting

Ujjwal is just a simple guy who likes to be happy and likes to write various different kind of stuff. You can find him writing posts related to Android most of the time but he also likes writing poems, short stories and other stuff. Mail him at ujjwal [at] droidextra [dot] org.