factory image errors

Android errors: archive does not contain ‘boot.sig’ & archive does not contain ‘recovery.sig’

I tried updating my Nexus 5 with the latest Lollipop 5.0.1 version. My phone is rooted, so I can’t use the OTA (over-the-air) updater. I attempted to use the same process that I used to update from Kit Kat (4.4.4) to Lollipop 5.0. I’ll recap the process:

  1. I downloaded the 5.0.1 factory image (hammerhead) from https://developers.google.com/android/nexus/images
  2. unpackaged the .tgz file
  3. executed the flash-all.sh program (note: I’m on a Mac)

During step three, I encountered a problem:

archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
fastboot(99706) malloc: *** mmap(size=1006034944) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
failed to allocate 1005027540 bytes
error: update package missing system.img

I thought this was due to my phone being encrypted. I tried to troubleshoot, but I ended up soft-bricking my phone. I got myself up and running by flashing the Kit Kat 4.4.4 factory image. I also reverted back to the 5.0 Lollipop backup I made before attempting the update. I later figured out, this is not an encryption issue (I was able to update my encrypted Nexus 7 to Lollipop 5.0.1 using flash-all.sh program).

From a forum post on XDA (link here) suggested flashing the files within the image-XXX.zip individually (comment from manasgirdhar). I found another forum that clearly state the steps and flashing order of factory images. The steps are found here (drill down to “Method 2”). Quick recap of the process:

  1. expand the image-hammerhead-lrx22c.zip file
  2. flash the bootloader.img file
  3. flash the radio.img file
  4. flash the system.img file
  5. flash the userdata.img file
  6. flash the boot.img file
  7. erase the cache
  8. from the phone, boot into Android recovery
  9. from recovery, select “Wipe data/factory data reset”
  10. reboot

I got hung up on step 9. I held down the Volume Up + Power buttons too long and ended up rebooting to the system. The system won’t boot until you do the data wipe step. The trick is to push the Volume Up + Power buttons simultaneously or, push and hold Volume Up, then press the Power button, making sure not to hold the buttons down too long. If you get stuck in the boot animation, just boot back up into bootloader (hold down: Volume Up + Volume Down + Power), then continue with step 8.

As with any system mod you perform on your phone, you and only you are responsible for the outcome. So, please be very careful. If you do not understand how to flash a file from your computer to your Android phone, then you shouldn’t attempt to do any of the stuff I’ve posted here. I posted procedural steps not literal computer commands. Simply copying and pasting the steps into a command prompt will not work. If you decide to proceed with “Method 2”, please follow the procedure thoroughly as stated in the XDA forum post.

Leave a Reply

Your email address will not be published. Required fields are marked *