Flashing the Android 5.0 factory images on LG Nexus 4, LG Nexus 5, ASUS Nexus 7 and Samsung Nexus 10 can lead to an error message: "error: update package missing system.img," which means failure to install the factory images after running the bat file. Here are the steps in order to fix the installation issue of factory images.

Warning: Neither the author nor IBT Media are not responsible for any issues that may occur on the Nexus device. Read the steps carefully and make sure to have the necessary files needed for the manual installation before using this hotfix. Do this at your own risk!

1. Look for the "image-xxx-xxx.zip" file inside the factory image for the Nexus device. It is found in the extracted factory image of Android 5.0 Lollipop for Nexus devices.

2. Extract the "image-xxx-xxx.zip" file to a new folder on the computer. Files to be received from this extraction are "boot.img," "cache.img," "recovery.img," "system.img" and "userdata.img."

3. Now copy and paste the Bootloader and Radio images from the factory image to the new folder where the extracted files on step two are located.

4. Extract the contents of ADB and Fastboot files and then copy and paste them to the new folder mentioned on step two. If the computer has a working ADB and Fastboot set up, ignore this step.

5. View the screenshot to see all files in one folder, except for the highlighted items if ADB and Fastboot have been installed before.

6. Launch a Command Window inside the folder where all files have been stored.

7. Enter the following commands one by one to manually flash Android 5.0 Lollipop factory image on a Nexus device:

a. "fastboot flash bootloader bootloader.img" (replace "bootloader.img" with respective factory image such as "bootloader-hammerhead-hhz12d.img" for Nexus 5; exclude quotation marks).

b. "fastboot flash radio radio.img" (replace the "radio.img" with respective radio image such as "radio-hammerhead-m8974a-2.0.50.2.21.img" for Nexus 5; exclude quotation marks).

c. "fastboot reboot-bootloader" (exclude quotation marks).

d. "fastboot flash recovery recovery.img" (exclude quotation marks).

e. "fastboot flash boot boot.img" (exclude quotation marks).

f. "fastboot flash system system.img" (exclude quotation marks).

8. The last file called "system.img" is the largest, which takes time to install. After the installation has been completed, enter this command to reboot the device:

a. "fastboot reboot" (exclude quotation marks).

9. The Nexus device will reboot automatically and may take up to five minutes before reaching the home screen.

After reaching the home screen, check the About Phone section in the Settings Menu to view Android 5.0 Lollipop software version. For any comments or issues, kindly send your feedback to Android Soul official thread for the hotfix.