He spends most of his prime time fiddling around with the software on his Android devices. Keep in mind that the first boot might take some time so please be patient.If the flash-all.sh script gives you a fastboot not found error on your Mac, open up the file in Text Edit and add a “./” before every fastboot command.The flash-all script included in the factory image might not work for all. A couple of days ago, Google released the Android 4.4 KitKat factory images for the Nexus 4, 7 (2012/2013) and the Nexus 10. Recently he has also found his interest in gaming PCs and building them. The list of files will include a ZIP file containing the codename of your Android device, two files with “flash-all” names, and a bootloader image file. Also, you will need to have an unlocked bootloader to flash the factory image.Extract the contents of the ADB/Fastboot ZIP file inside a new folder called ‘google’ on your desktop. If you haven’t yet, you should be warned the unlocking your device will wipe its data, as if you had performed a factory reset. This is slightly cumbersome though.The command to manually flash a partition via fastboot is “fastboot flash Now, its time to manually flash the partitions to your Nexus device. Find the factory images for the “Nexus 5”, which is code-named “hammerhead”. But we will first need to erase all the current partitions.Okay, so now we are done with everything. Make sure that you have properly installed the drivers and are inside the correct folder.If you are running Windows, copy-paste the following command in the command prompt window -:The script will then automatically flash the full factory image on your Nexus device. Apart from that, Dhananjay is also a mountain biker and an occasional gamer.Manually Install Cyanogen OS 12.1 OTA on OnePlus One

Extract and transfer the contents of the factory image inside this folder as well. (“M4B30Z” and similar are build labels, not model numbers, as I originally thought. To flash a system image, your device will need to be unlocked. If you are updating a Nexus or Pixel device that is manufactured in 2015 or later (for example, a Nexus 5X, Nexus 6P, Pixel, Pixel XL, Pixel 2 or Pixel 2 XL device), run this command: fastboot flashing unlock Note: the ‘flashing unlock’ command is only available with fastboot version 23.0.1 or later. If your phone has an unlocked bootloader, you can use Fastboot commands to flash factory images. So, the above command will look something like this on a Mac -:The above command should confirm if your device is indeed being detected by your PC or not. Connect your device to your computer over USB. The factory image downloaded from this page includes a script that flashes the device, ... To flash a system image: Download the appropriate system image for your device below, then unzip it to a safe directory. We will first begin with the bootloader.Then, we will flash all other partitions. If you are using Nexus 5X, or Nexus 6P, it is necessary to first enable OEM Unlocking in Settings > Developer options. If you have any issues during or after the process, you can ask us directly by commenting below.Dhananjay has 9+ years of experience in Android software modding and has spent the past 8 years writing about it. We shall not be held responsible for any damage to your device.

If you’ve already unlocked your device to root it or install a custom ROM, you can skip this part. The factory images were already available for download on the day the device went up for sale on the Play Store. These stock firmware files are available in the form of factory images, officially available through the These instructions will work on every old and new Nexus device – Nexus S, Galaxy Nexus, Nexus 4, Nexus 5, Nexus 6, Nexus 7, Nexus 9, Nexus 10, Nexus 6P, and Nexus 5X.

So, use the power button to select Voila!

If you are in the same boat as me, you will have to flash each partition manually on your device. The factory images were already available for download on the day the device went up for sale on the Play Store. The names of the image files in the factory image will clearly indicate the partition they are intended for as well.If you want to relock the bootloader of your device after flashing the device, put the device back in fastboot mode. They don’t necessarily need to be in the same order as I have listed them below. Now, connect your Nexus device to the PC.

(The “Nexus 5X” has code-name “bullhead”.) Google has its own simplified way to install stock firmware on Nexus smartphone/tablets. But before we proceed, it’s necessary to complete a set of pre-requirements.Prior to the instructions, we assume that you have already unlocked bootloader and have a custom ROM installed if it is so you should skip This tutorial can also be used to update your Nexus device by manually flashing the factory image.Flashing wrong factory image may soft-brick your Nexus device, so make sure to cross check the files and proceed as stated. If not, repeat the steps above again. Do note that the below steps will completely wipe your Nexus of any data, so make backups. Nexus devices allow you to unlock their bootloader with a single command. You have just unlocked your Nexus device’s bootloader.Now that everything is ready, it is time to start the flashing. A couple of days ago, Google released the Android 4.4 KitKat factory images for the Nexus 4, 7 (2012/2013) and the Nexus 10.