Tag Archives: root

Update Nexus device with the official image

*You must have previously installed the Android SDK on your computer and unlock the bootloader.

  1. Download the original image. here
  2. Uncompress it.
  3. Modify flash-all.sh file if you’re using linux / mac or flash-all.bat if you’re using Windows.
    Change the line that looks like this :
    fastboot -w update image-hammerhead-lmy48b.zip
    Remove the -w, w means wipe (erase) that’s what we want to avoid :
    fastboot update image-hammerhead-lmy48b.zip
  4. Open the file with name use by the previous fastboot command, in this example we will open : image-hammerhead-lmy48b.zip
  5. Erase userdata.img from this compress file.
  6. Close the edited zip file.
  7. Flash the phone with the flash-all.sh script if you’re using linux/mac or with flash-all.bat if your’re using Windows.

After rebooting, you can now root the phone if necessary.