Got Screwed by a repair shop, How to flash Factory image with a Nexus that wont boot.

C:\Users\ADMIN\Desktop\platform-tools>fastboot devices 035d62b9216af2c9 fastboot

C:\Users\ADMIN\Desktop\platform-tools>fastboot rebbot bootloader usage: fastboot [ <option> ] <command>

commands: update <filename> reflash device from update.zip flashall flash boot, system, vendor and if fou nd, recovery flash <partition> [ <filename> ] write a file to a flash partition flashing lock locks the device. Prevents flashing partitions flashing unlock unlocks the device. Allows user to flash any partition except the ones that are related to bootloader flashing lock_critical Prevents flashing bootloader related partitions flashing unlock_critical Enables flashing bootloader related partitions flashing get_unlock_ability Queries bootloader to see if the device is unlocked erase <partition> erase a flash partition format[:[<fs type>][:[<size>]] <partition> format a flash partition. Can override the fs type and/or size the bootloader reports. getvar <variable> display a bootloader variable boot <kernel> [ <ramdisk> ] download and boot kernel flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it devices list all connected devices continue continue with autoboot reboot [bootloader] reboot device, optionally into bootlo ader reboot-bootloader reboot device into bootloader help show this help message

options: -w erase userdata and cache (and format if supported by partition type) -u do not first erase partition before formatting -s <specific device> specify device serial number or path to device port -l with "devices", lists device paths -p <product> specify product name -c <cmdline> override kernel commandline -i <vendor id> specify a custom USB vendor id -b <base_addr> specify a custom kernel base address.

                                       default: 0x10000000

-n <page size> specify the nand page size. default: 2048 -S <size>[K|M|G] automatically sparse files greater than size. 0 to disable

C:\Users\ADMIN\Desktop\platform-tools>fastboot flash bootloader bootloader-hamme rhead-hhz12h.img target reported max download size of 1073741824 bytes sending 'bootloader' (3119 KB)... OKAY [ 0.264s] writing 'bootloader'... OKAY [ 0.521s] finished. total time: 0.789s

C:\Users\ADMIN\Desktop\platform-tools>fastboot reboot-bootloader rebooting into bootloader... OKAY [ 0.003s] finished. total time: 0.005s

C:\Users\ADMIN\Desktop\platform-tools>fastboot flash radio radio-hammerhead-m897 4a-2.0.50.2.26.img target reported max download size of 1073741824 bytes sending 'radio' (45425 KB)... OKAY [ 1.541s] writing 'radio'... OKAY [ 3.124s] finished. total time: 4.669s

C:\Users\ADMIN\Desktop\platform-tools>fastboot reboot-bootloader rebooting into bootloader... OKAY [ 0.004s] finished. total time: 0.005s

C:\Users\ADMIN\Desktop\platform-tools>fastboot -w update image-hammerhead-lmy48i .zip target reported max download size of 1073741824 bytes archive does not contain 'boot.sig' archive does not contain 'recovery.sig' archive does not contain 'system.sig' archive does not contain 'vendor.img' Creating filesystem with parameters: Size: 29236371456 Block size: 4096 Blocks per group: 32768 Inodes per group: 8192 Inode size: 256 Journal blocks: 32768 Label: Blocks: 7137786 Block groups: 218 Reserved block group size: 1024 Created filesystem with 11/1785856 inodes and 156120/7137786 blocks Creating filesystem with parameters: Size: 734003200 Block size: 4096 Blocks per group: 32768 Inodes per group: 7472 Inode size: 256 Journal blocks: 2800 Label: Blocks: 179200 Block groups: 6 Reserved block group size: 47

Created filesystem with 11/44832 inodes and 5813/179200 blocks

Bootloader Version...: HHZ12h Baseband Version.....: M8974A-2.0.50.2.26

Serial Number........: 035d62b9216af2c9

checking product... OKAY [ 0.100s] checking version-bootloader... OKAY [ 0.005s] checking version-baseband... OKAY [ 0.091s] sending 'boot' (8980 KB)... OKAY [ 0.499s] writing 'boot'... OKAY [ 0.766s] sending 'recovery' (9696 KB)... OKAY [ 0.553s] writing 'recovery'... OKAY [ 0.804s] erasing 'system'... OKAY [ 1.535s] sending 'system' (1021840 KB)... OKAY [ 32.272s] writing 'system'... OKAY [ 69.124s] erasing 'userdata'... OKAY [ 14.658s] sending 'userdata' (139109 KB)... OKAY [ 4.589s] writing 'userdata'... OKAY [ 9.353s] erasing 'cache'... OKAY [ 0.647s] sending 'cache' (13348 KB)... OKAY [ 0.639s] writing 'cache'... OKAY [ 1.065s] rebooting...

finished. total time: 137.400s

C:\Users\ADMIN\Desktop\platform-tools>

/r/Nexus5 Thread