[Nexus 5 General] malonso07:
[/CODE][/QUOTE]

There is more than one way to flash these images. Each give the same results, but the first is for lazy users :D

Method 1

. Easy method.

★Power off your phone.

★Boot it in fastboot by pressing and holding Power Button + Volume Down at the same time.

★Connect your phone to your PC through your USB cable.

★Execute the flash-all.bat script (for Windows) or flash-all.sh(for MAC and LINUX) in the folder where you extracted the factory images.

**!!** For MAC: You'll have to edit the flash-all.sh, and add "./" before every fastboot command.

★Wait for everything to flash.

★After everything finished, select "Recovery" using the volume buttons.

★When a small dead Android appears, press Power Button + Volume UP.

★Select "Wipe data/factory data reset"

★Reboot. Your phone should be stock. :good:

Method 2

. Long method (Same thing actually, but I'll mention it, just in case)

★Extract the image-hammerhead-krt16m.zip somewhere easy to access (On C:\image-hammerhead-krt16m for example). You will have the following files:

★In the same folder, from the original archive, extract "bootloader-hammerhead-XXXXXX.img" (

rename it to bootloader.img

) and "radio-hammerhead-XXXXXX.img" (

rename it to radio.img

)

★Power off your phone.

★Boot it in fastboot by pressing and holding Power Button + Volume Down at the same time.

★Connect your phone to your PC through your USB cable.

★Open a CMD window.

★Type the following commands, in this order (If you have a different folder, change the path)

fastboot flash bootloader C:\image-hammerhead-krt16m\bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:\image-hammerhead-krt16m\radio.img
fastboot reboot-bootloader
fastboot flash system C:\image-hammerhead-krt16m\system.img
fastboot flash userdata C:\image-hammerhead-krt16m\userdata.img
[B](Note: this command will wipe your device (including \sdcard), EVEN if your bootloader is already unlocked.)[/B]

fastboot flash boot C:\image-hammerhead-krt16m\boot.img
fastboot flash recovery C:\image-hammerhead-krt16m\recovery.img
fastboot erase cache
fastboot flash cache C:\androidimage\cache.img

★After everything finished, select "Recovery" using the volume buttons.

★When a small Android appears, press Power Button + Volume UP.

★Select "Wipe data/factory data reset"

★Reboot. Your phone should be stock. :good:

******************************************************************************

Hello abaaaabbbb63

I have the same problem on my Nexus 5

Try two methods

Try method 1, result:

C:\Windows\system32>fastboot devices

039f8bc8437cbcc8 fastboot

C:\Windows\system32>cd..

C:\Windows>cd..

C:\>cd hammerhead-m4b30x

C:\hammerhead-m4b30x>flash-all.bat

sending 'bootloader' (3124 KB)...

OKAY [ 0.297s]

writing 'bootloader'...

OKAY [ 0.443s]

finished. total time: 0.740s

rebooting into bootloader...

OKAY [ 0.047s]

finished. total time: 0.063s

"ping" no se reconoce como un comando interno o externo,

programa o archivo por lotes ejecutable.

< waiting for device >

target reported max download size of 1073741824 bytes

sending 'radio' (45489 KB)...

OKAY [ 1.584s]

writing 'radio'...

FAILED (remote: flash write failure)

finished. total time: 2.820s

rebooting into bootloader...

OKAY [ 0.031s]

finished. total time: 0.047s

"ping" no se reconoce como un comando interno o externo,

programa o archivo por lotes ejecutable.

< waiting for device >

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...: HHZ20h

Baseband Version.....: M8974A-2.0.50.2.30

Serial Number........: 039f8bc8437cbcc8

--------------------------------------------

checking product...

OKAY [ 0.005s]

checking version-bootloader...

OKAY [ 0.008s]

checking version-baseband...

OKAY [ 0.097s]

sending 'boot' (9154 KB)...

OKAY [ 0.518s]

writing 'boot'...

OKAY [ 0.761s]

sending 'recovery' (10012 KB)...

OKAY [ 0.449s]

writing 'recovery'...

FAILED (remote: flash write failure)

finished. total time: 2.901s

Press any key to exit...

Try method 2, result:

Microsoft Windows [Versión 6.3.9600]

(c) 2013 Microsoft Corporation. Todos los derechos reservados.

C:\Windows\system32>cd..

C:\Windows>cd..

C:\>fastboot devices

039f8bc8437cbcc8 fastboot

C:\>fastboot erase boot

erasing 'boot'...

OKAY [ 0.205s]

finished. total time: 0.205s

C:\>fastboot erase cache

******** Did you mean to fastboot format this partition?

erasing 'cache'...

OKAY [ 0.191s]

finished. total time: 0.206s

C:\>fastboot erase recovery

erasing 'recovery'...

OKAY [ 0.215s]

finished. total time: 0.218s

C:\>fastboot erase system

******** Did you mean to fastboot format this partition?

erasing 'system'...

OKAY [ 0.221s]

finished. total time: 0.221s

C:\>fastboot erase userdata

******** Did you mean to fastboot format this partition?

erasing 'userdata'...

OKAY [ 0.449s]

finished. total time: 0.451s

C:\>cd hammerhead-m4b30x

C:\hammerhead-m4b30x>fastboot flash bootloader bootloader.img

target reported max download size of 1073741824 bytes

sending 'bootloader' (3124 KB)...

OKAY [ 0.292s]

writing 'bootloader'...

FAILED (remote: flash write failure)

finished. total time: 0.516s

C:\hammerhead-m4b30x>

Can you help me please, I have a LG Nexus 5 D820H

Thanks