Tips & Tutorials

Update Nexus 5 to Android M MPZ79M Developer Preview 2 Official Factory Image

Install Android M MPZ79M on Nexus 5 Using Official Factory Image

We have put together a detailed step-by-step instructions guide on how to install the official Android M Developer Preview 2 (MPZ79M) on Nexus 5 using the factory image provided by Google. This tutorial is for beginners who are not used to playing around with official factory images by Google for their Nexus devices.

Please make sure your phone fulfills all the requirements and you read the entire tutorial once before actually performing it on your device.

Disclaimer: Try this on your own risk. We are not responsible if you mess up with your Nexus 5.

Just To Remember:

  • This tutorial is only for LG Nexus 5 and we are not sure if it will work on the other variants of the Nexus 5 on other carriers.
  • Your phone can be on any previous Android version or even on a custom ROM. It doesn’t matter at all. This tutorial will still work for installing Android M Developer Preview 2.
  • Enjoy Android M on your device and let us know your review about it!

NOTE: Installing Android M MPZ79M Developer Preview 2 factory image will WIPE / DELETE / ERASE everything from your phone if your bootloader is not already unlocked. Please make sure you have a backup of all the data. Read: How to Backup Android Apps and Other Data.

Complete Step-By-Step Instructions:

Step 1 – Download Android M Factory Image (hammerhead-MPZ79M-preview-b1f4bde4.tgz) for Nexus 5 on your PC, if you haven’t already.

Step 2 – Connect your Nexus 5 to your computer using the USB cable.

Step 3 – Please make sure Fastboot is configured and properly installed on your computer. How? See here: How to Set Up ADB and Fastboot with Android SDK.

Step 4 – Turn OFF your phone.

Step 5 – Get into the Fastboot/Bootloader Mode on your phone. Turn ON the phone while pressing and holding the Volume Up + Volume Down + Power buttons till you see the Fastboot menu and START on top.

Step 6 – Now extract the downloaded file anywhere in your computer. Go to the folder hammerhead-MPZ79M and then copy/paste all the files to your Fastboot directory.

Note: If you followed our tutorial on setting up Fastboot on your computer, there is a 99% chance your Fastboot directory will be the platform-tools folder in your Android SDK directory.

Step 7 – From the factory image files in your Fastboot directory, do the following depending which OS you are on:

  • On Windows: Run the file “flash-all.bat”.
  • On Mac: Run the file “flash-all.sh” using Terminal.
  • On Linux: Run the file “flash-all.sh”.

Step 8 – That’s pretty much that you had to do for flashing the stock factory image on your Nexus 5. Now wait and watch as the process is completed — or follow the on-screen instructions on your phone if in case you have to unlock the bootloader.

Step 9 – After the installation completes, the phone will boot now and it might take about 5 minutes to boot on your first time. So, please wait with patience!

That’s it! Your Nexus 5 should now have the official Android M MPZ79M Developer Preview 2 software update installed on your phone using the stock factory image from Google! Go to Settings >About phone to verify.

ROOT TUTORIAL: How to Root Nexus 5 on Android M MPZ79M Developer Preview 2 Official Update.

Hit +1 or LIKE to thank us!

Have fun playing with the new Android M Developer Preview 2. All the instructions are clearly given above, but if you have any issues, please let us know through Facebook, Twitter or Google+!

About the author

Haris Nadeem

He lives on everything Android; has countless devices, apps and games to play with everyday. Currently serving as the Chief Editor at Team Android.

Leave a Comment