Saturday, October 18, 2014

How to Install Android 5.0 Lollipop in Nexus 5 form your MAC

I have a Nexus 5 and going to show you the most easy way to install Android 5.0 Lollipop in Nexus 5. I have installed it in my Nexus device and would like to share with you what I have done step by step..

You will need the newly updated Android L (or Android 5.0) factory images provided by Google to install on your device. In addition you will need to install the Android SDK or at least ADB and Fastboot.

The Android 5.0 System Image is a download that contains all the files needed to install a stock version of Android 5.0 on the Nexus 7 and Nexus 5. This is essentially everything that you would download as an OTA update for regular Android updates. However, this makes the phone stock like it was out of the box (aka factory image) and will wipe all user data and settings.

So please be careful before you do this.. backup your Data, Photos, Contact, SMS, MMS and Apps.

Now lets move step by step.

Step 1: Download Android 5 Image

Download the image of Android Lollipop from the following location.

http://storage.googleapis.com/androiddevelopers/finalpreview/hammerhead-lpx13d-preview-f7596f51.tgz

This was the final version when I download it but you can download the latest version going to the following link.

http://developer.android.com/preview/index.html

After download the Image(.tgz) please unzip to your desktop. Please make sure you run you command inside this folder.


Step 2: Install ADB on Mac, Linux & ChromeOS

Nexus Tools makes it easy to install ADB on a Mac, Linux or even ChromeOS. All you need to do is open Terminal on your computer and past in the code from xda. Open terminal by going to search, and simply typing Terminal and opening the program.

Nexus Tools is an installer for the Android debug/development command-line tools ADB (Android Device Bridge) and Fastboot for Mac OS X, Linux, and Google Chrome/Chromium OS. The script does not need to be downloaded, simply copy and paste this command into the terminal and run it to install Nexus Tools:

bash <(curl https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)

and this command to un-install Nexus Tools:

bash <(curl https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/uninstall.sh)


Step 3: Next Step


If your Nexus 5 or Nexus 7 is not unlocked you should do that first. We could not install the Android 5.0 System image with the device locked.

Open a Terminal in the adb folder and type then hit enter.

adb reboot bootloader

In Fastboot type:

fastboot oem unlock

Then hit enter. Follow the on-screen instructions and choose to erase the device. Wait a minute or so for it to unlock. This removes everything on your device.

on a Mac or other computer you will need to type

sudo ./flash-all.sh

This will push all of the files to your Nexus 5 or Nexus 7. The files will start pushing and installing and your Nexus device may reboot and you will see an Android figure and then a moving Android logo. The logo screen may stay for a long time. Don’t unplug the device. This may last 15 minutes or longer. When Android prompts you to complete setup you can unplug the Nexus. It took less than two minutes for us.

No comments:

Post a Comment