Skip to content Skip to footer

How to fix system.img error on Android 5.0 Lollipop

Experiencing the “update package missing system.img error”? Don’t worry, you are not alone as many users are getting the system.img error message after flashing Android 5.0 Lollipop onto their device (you can check out our guide here).

The error message is caused by a broken Batch script found in 5.0 and happens when it fails to install the factory image and then proceeds to show the following error message: “error: update package missing system.img”.

system.img error

How to Fix System.img Error when Flashing Android 5.0 Lollipop

For this, we are going to have to flash the files manually on your Nexus 4, Nexus 5, Nexus 7, Nexus 10, Nexus 6 or Nexus 9 by following these steps you should be able to fix the error message:

  1. extract the Factory Image .zip file into a new folder
  2. Look for the  image-xxx-xxx.zip and extract it
  3. Once extracted, the following files should be there (check to make sure they are): boot.img, cache.img, recovery.img, system.img, userdata.img and system.img
  4. From the file extracted in Step 1, look for the “Bootloader.img” and “Radio.img” file and drag them into the same folder you extracted Step 3 in.
  5. Download ADB and Fastboot.zip
  6. Extract the files and put them in the same folder as Step 3
  7. Shift + Right click on any empty white space inside the folder and then “Open new Command window”
  8. Run the following commands (copy and paste the bootloader.img file name from Step 3):  fastboot flash bootloader bootloader-NAMEOFYOURDEVICE.img
  9. Copy and paste the Radio.img file name copied in step 4: fastboot flash radio radio-NAMEOFYOURDEVICE.img
  10. fastboot reboot-bootloader
  11. fastboot flash recovery recovery.img
  12. fastboot flash boot boot.img
  13. fastboot flash system system.img
  14. Once done, to reboot your device run fastboot reboot your device will reboot in Android 5.0 Lollipop and the message should dissapear