Install and root Android 5 on Nexus 5

I thought about the thing to have a rooted Nexus 5 with Android 5 but how??

The answer is: YES it is possible 😀 but Android 5 is for me not completely stable 😐 and it is stable 🙂

UPDATE: IF you have rooted your Nexus 5 with Andorid 5 your system will have an ram overflow after 5 to  15 minutes after power on!!!! – Wait with the update to Android 5 and the rooting of it.
I have tried it a second time and after that it works for me now fine.

 

I have installed the Android 5 on my Nexus 5 with the how-to from the Google developer: Factory Images for Nexus on my Xubuntu-Notebook.

  1. Download the last Android SDK with the “fastboot” application in the sub folder “platform-tools/” and define it as a PATH
  2. Download the factory-image for your Nexus 5 from the list on the Google developer site and extract that to a folder
  3. Connect your Nexus 5 to a computer
  4. Now you have to set your Nexus 5 in “fastboot mode”
    1. You can do it, by holding down the “power” + “volume up” + “volume down” buttons before pressing anything on your switched off phone.
  5. Now run the command “fastboot oem unlock” – that unlocks the bootloader and will delete any data on your phone.
  6. Open a terminal and navigate to the extracted system image directory
  7. If step 5 was without any problems then switch over that hole step if not and you use a linux computer then do that among
    1. Open with an editor the file “flash-all.sh”
    2. Write at the second line: BOOT=/%dir to your%/fastboot
    3. Change every “fastboot” to “$BOOT”
  8. Now execute “flash-all” as root/admin – that will take some minutes
    1. Linux: ./flash-all.sh
    2. Windows: flash-all.bat

Now you have a running Android 5 on your Nexus 5.

Now it is time to root your Nexus5:
To do that i have taken that how-to: Root Nexus5 & Nexus 7

  1. Check if your phone is “oem unlocked”
    1. If not then do step 4 and 5 from above
  2. Now set your phone to “fastboot mode” as the step 4 above
  3. Download “CF Auto Root”
    1. Nexus 5
    2. Nexus 7 2013
  4. Connect your Nexus to your computer
  5. Now execute “root-linux/windows”
    1. Linux: ./root-linux.sh
    2. Windows: root-windows.bat

The CF Auto Root will install the “SuperSu” APP on you phone with that you can give other programs the right to do something with “sudo” rights.

Comments and suggestions: iSticktoit.net on Facebook