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?...