Root Google Nexus 5

First of all I want to say that I take no responsibility if you brick your phone by following steps from my blog.

The whole process seems to be very familiar if you’ve rooted a nexus device before. With CWM my phone didn’t start anymore so I tried openrecovery which worked like a charme:

Preparation

Installation

  • Copy the downloaded openrecovery-twrp-2.6.3.2-hammerhead.img to your android-sdk-linux/platform-tools folder and cd to that folder
  • Change to superuser with
sudo su
  • Reboot your phone to recovery mode (shut down the phone and hold volume down and power button to turn it on again)
  • Check that your device is recogniced with
./fastboot devices
  • Unlock the bootloader (This will erase all your data!!!)
./fastboot oem unlock
./fastboot reboot-bootloader
sleep 5
  • Flash the recovery image with
./fastboot flash recovery openrecovery-twrp-2.6.3.2-hammerhead.img
./fastboot reboot-bootloader
sleep 5
  • Go to recovery mode (change selection on phone with vol +/- and select with power button)
  • In recovery mode choose to reboot the phone from within recovery mode. The application will ask if you want to root the phone. Say yes ;-)
  • The phone boots after that. When finished start the SuperSU application which tells you that you haven’t finished yet. Choose TWRP when asked how to finish installation. The phone will reboot again and you are done.

Feel free to post questions. For me it worked exactly as described here.

Leave a Comment