Priyank Sharma

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=”” 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=”” 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=”…” 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=”” 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 “”.

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=”” 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[/code]

[image src=”” 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