[HowTo] Install Android 5 (L) developer preview on N5

If you have a Nexus 5, Google has released the developer preview of Android 5, called Android L. In this article, I will explain how to install this preview on your Nexus 5 with the help of a Debian based distribution.

Note : Nexus 7 users must bear in mind that the developer preview is available only for Nexus 7 WiFi version 2 released in 2013. Please don’t try it if you have older or 3G Nexus 7

Get the required packages

Firstly, you need to add this PPA running this command

sudo add-apt-repository ppa:phablet-team/tools

Now, you can get the latest updates and install the required tools

sudo apt-get update
sudo apt-get install ubuntu-device-flash

Now, you are ready to do the next step: Unlock your N5.

Unlock your Nexus 5

You can of course skip this step if your Nexus 5 is already unlocked and directly move to the next one.

  1. First become a developer. Go to Android’s settings and click on the build number 7 times to become a developer. Once you are a developer go to {} Developer Options and check USB debugging.
  2. Boot into the bootloader (power off the device and then power it on by holding the power button + volume up + volume down)
  3. Open the terminal and run this command
sudo fastboot oem unlock

Now N5 screen will ask whether you want to unlock or not. It will also tell you which hardware keys (power and volume buttons) to use to select ‘yes’. Use volume key to choose the option you want and power key to ‘click’ on it. Once you have unlocked the device, N5 will take some time to reboot into unlocked system.

Install Android L

Download the appropriate image for your device from this link. Once downloaded extract the files and change directory to the extracted folder. Then run the following command:

adb reboot-bootloader

Once your Nexus boots in to the boot loader, run the following command:


Wait for it to complete and once done your Nexus will boot into the brand new Android L. Please keep in mind, don’t disconnect the USB during any of the above operations.

Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.