Priyank Sharma
loading...

Mac users, get your Nexus 5 Lollipop update now!

Nov 15, 2014

[dropcap]I[/dropcap] have been endlessly waiting for the Android Lollipop OTA update to pop up on my phone since the past few weeks. I thought I’d be one of the first ones to receive the update, as owning a Nexus device gave me that edge. How wrong I was! Having a Nexus device for timely updates is not a thing anymore. After going through endless updates on Twitter every morning and evening, trying to figure out if anyone in the community has received the update, I finally decided to go the manual way. And trust me, it was not as difficult as it seemed. So I thought, why not create an easy-to-understand guide and share the information with everyone. Here goes…

[alert type=”danger” close=”true” heading=”Warning”]I do not take any responsibility whatsoever in the unlikely event that your device gets bricked. By following these instructions, you agree to take full responsibility of the consequences.[/alert]

[custom_headline type=”left” level=”h2″ looks_like=”h5″ accent=”true”]Step 1: Initial Setup[/custom_headline]

On your Mac, head into System Preferences and select [highlight type=”dark”]Keyboard > Shortcuts > Services[/highlight]. Find the “New Terminal at Folder” in the settings and check the box. This enables us to launch Terminal in a specific folder.

[image src=”http://priyanksharma.com/images/mac-users-get-your-nexus-5-lollipop-update-now-2.jpg” alt=”System Preferences” type=”rounded” float=”none” title=”System Preferences”]

On your Nexus 5, enable USB Debugging by opening [highlight type=”dark”]Settings > About Phone[/highlight] and tapping “Build number” seven times. You will be prompted and ‘Developer Options’ will be enabled after your seventh tap in Settings right above ‘About Phone’. Go in and check “USB debugging”.

[image src=”http://priyanksharma.com/images/mac-users-get-your-nexus-5-lollipop-update-now-3.jpg” alt=”Developer Options” type=”rounded” float=”none” title=”Developer Options”]

[custom_headline type=”left” level=”h2″ looks_like=”h5″ accent=”true”]Step 2: Download Files[/custom_headline]

[button type=”flat” shape=”pill” size=”mini” href=”http://click.xda-developers.com/api/click?format=go&jsonp=vglnk_14160212368129&key=f0a7f91912ae2b52e0700f73990eb321&libId=890333d6-7e61-4c72-80cb-4e36d94b4ef2&loc=http%3A%2F%2Fforum.xda-developers.com%2Fgoogle-nexus-5%2Fgeneral%2Fref-nexus-5-stock-ota-urls-t2475327&v=1&out=http%3A%2F%2Fandroid.clients.google.com%2Fpackages%2Fota%2Fgoogle_hammerhead%2F67fdc56df808024ba5ebd95d4e16358c3b4f96cb.signed-hammerhead-LRX21O-from-KTU84Q.67fdc56d.zip&ref=https%3A%2F%2Fwww.google.co.in%2F&title=%5BREF%5D%20Nexus%205%20Stock%20OTA%20URLs%20%7C%20Google%20Nexus%205%20%7C%20XDA%20Forums&txt=http%3A%2F%2Fandroid.clients.google.com%2Fpa…Q.67fdc56d.zip” title=”Nexus 5 Stock OTA”]Download[/button] the Nexus 5 Stock OTA considering your Build number is KTU84Q. File size should be around 502 MB.

Head over to Android Developers and [button type=”flat” shape=”pill” size=”mini” href=”https://developer.android.com/sdk/” title=”Android SDK for Mac”]Download[/button] the Android SDK for Mac as well, which should be a good 320 MB.

[custom_headline type=”left” level=”h2″ looks_like=”h5″ accent=”true”]Step 3: Device Check[/custom_headline]

Connect your Nexus 5 via USB and extract the Android SDK archive, and navigate to the [highlight type=”dark”]sdk > platform-tools[/highlight] folder.

Place the Stock OTA archive in this folder and rename it to something simple like “ota.zip”.

Go back to the sdk folder, right-click on the platform-tools folder and select “New Terminal at Folder”. This will launch Terminal for that folder.

[image src=”http://priyanksharma.com/images/mac-users-get-your-nexus-5-lollipop-update-now-4.jpg” alt=”Terminal” type=”rounded” float=”none” title=”Terminal”]

Type the below and Terminal will return your device as a string of alphanumeric characters. This means you are okay to move ahead with installation.

[code]./adb devices[/code]

[custom_headline type=”left” level=”h2″ looks_like=”h5″ accent=”true”]Step 4: Installation[/custom_headline]

Reboot to the bootloader by typing the below. Your Nexus should now reboot to a screen which shows the Android laying down with its lid open.

[code]./adb reboot-bootloader[/code]

Use the Volume buttons to select Recovery and press the Power button to accept. Your device will now boot into Recovery which will show the same Android laying down with its lid open. Except this time the Android is smaller and there is a Red Exclamation warning icon on it.

Open the Recovery Menu by holding the Power button and pressing Volume Up. Use the Volume buttons to select “Apply Update from ADB” and press the Power button to accept. You will now see a message “Now send the package you want to apply to the device with adb sideload …”.

Type the below and you will see a percentage progress of your file being sent to your handset. Now sit and wait while Lollipop is being installed. The entire process will take anywhere from 5-10 minutes.

[code]./adb sideload ota.zip[/code]

[image src=”http://priyanksharma.com/images/mac-users-get-your-nexus-5-lollipop-update-now-5.jpg” alt=”Terminal commands” type=”rounded” float=”none” title=”Terminal commands”]

Reboot the device when you are presented with the option and you are done.

[alert type=”info” close=”false” heading=”Important”]Please note that the first boot will take over 5 minutes and an additional 5-10 minutes will be taken for your apps to optimise.

As compared to flashing the ROM, using this method will make sure you don’t lose the data on your phone[/alert]

That’s it. You are done! Do share your feedback/experience in the comment section below.

[gap size=”50px”]

[author title=”About the Author”]

You might also like these articles:

[recent_posts count="4" category="code-snippets"]
recent posts
Nov 15, 2014
Nov 15, 2014
Nov 15, 2014