Does the error "missing system.img" will not let you flash Android 5.0 on your Nexus?

+1 vote
753 views
asked Dec 14, 2014 in Android by eslem (14,060 points)
Does the error "missing system.img" will not let you flash Android 5.0 on your Nexus?

2 Answers

+1 vote
answered Dec 14, 2014 by osky (126,020 points)
 
Today Google has finally begun to update their Nexus progressively to Android 5.0 (Lollipop), published for the most impatient factory images for Nexus 5, Nexus 7 and Nexus 10, but many of these users who have already tried to install the new version in your Nexus found with the error "missing system.img" which aborts the installation.
The flash-all script which lets you install the factory image of a Nexus for some reason fails when you try to install the files in the image of Android 5.0, but fortunately there is a simple solution, and decompress the ZIP file and image proceed to install all the files manually by following these steps:
Flash the bootloader and radio (radio does not appear for all nexus, if you are in the tgz it is because we do not need)
 
fastboot flash bootloader <bootloader file name here> .img
fastboot flash radius <radius file name here> .img
 
After flashing the bootloader / radio, need to reboot the bootloader to load the new version, do not skip this step!
 
fastboot reboot-bootloader
 
Now we have to flash the following files:
 
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
 
Only for the Nexus 9
 
fastboot flash vendor vendor.img
If we clear the cache and user data (clear all), we have to flash this:
 
fastboot flash cache cache.img
fastboot flash userdata userdata.img
 
Finally, we have to restart your Android device to boot with the new version
fastboot reboot
+1 vote
answered Dec 21, 2014 by osky (126,020 points)
he truth is that the solution to the error "missing system.img" is quite simple, and is to install all image files manually. We detail the process:
 
First, we unpack corresponding to the image you want to flash our Nexus package. Once unzipped, you will see four to six .img files and the .img files corresponding to the radio (if your device has it) and the bootloader, we could find in the tgz file you previously downloaded.
 
When we have them all in the same directory, proceed as usual to flash a factory image. Although simply type the commands that we show below, it should be emphasized that the bootloader and radio should be flashed first:
 
Flash the bootloader and radio (radio does not appear for all nexus, if not within the tgz it is because we do not need)
 
fastboot flash bootloader <bootloader file name here> .img
fastboot flash radius <radius file name here> .img
 
After flashing the bootloader and radio, we must restart the bootloader as shown below, this step will not skip it!
 
fastboot reboot-bootloader
We can now proceed with the flashing of the other files:
 
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
 
ONLY FOR THE NEXUS 9. Flashead also this:
 
fastboot flash vendor vendor.img
 
If you want to do a wipe cache and wipe user data (full wipe), we have to flash these:
fastboot flash cache cache.img
fastboot flash userdata userdata.img
 
Finally, reboot your device and Android should be launched:
fastboot reboot
It should be a clarification on the images of bootloader and radio, is that your flash is not strictly necessary if we had had a failed update using the method of flash-all script, since these files are flashed before it appears the error and the process is killed.
 
Here we put an end. What will it seemed ?, could you flash your Nexus smoothly, or else gave you the odd headache?...
...