Antes de decir algo sólo quiero decir que no instalé ninguna ROM personalizada ni arraigué mi teléfono.
He descargado las imágenes de la fábrica desde aquí https://developers.google.com/Android/nexus/images#hammerhead
Pongo mi teléfono en el cargador de arranque y arranco el flash-all.bat script de la carpeta que he descargado arriba. Ejecuta este script:
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-hammerhead-hhz12d.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.22.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot -w update image-hammerhead-lrx22c.zip
echo Press any key to exit...
pause >nul
exit
Tengo la siguiente salida:
OKAY [ 0.307s]
writing 'bootloader'...
**FAILED (remote: not supported in locked device)**
finished. total time: 0.407s
rebooting into bootloader...
OKAY [ 0.050s]
finished. total time: 0.050s
< waiting for device >
target reported max download size of 1073741824 bytes
sending 'radio' (45521 KB)...
OKAY [ 1.732s]
writing 'radio'...
**FAILED (remote: not supported in locked device)**
finished. total time: 1.842s
rebooting into bootloader...
OKAY [ 0.046s]
finished. total time: 0.046s
< waiting for device >
target reported max download size of 1073741824 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1005027540 bytes
error: update package missing system.img
Press any key to exit...
Me he dado cuenta de las líneas en negrita, así que he desbloqueado el teléfono usando un comando fastboot oem unlock . Lo desbloquea, pero si reinicio el teléfono, se bloquea de nuevo. La gente en Internet dice que si esto sucede, el teléfono está muerto. Espero que no sea así.
He intentado ejecutar el script de nuevo cuando el teléfono está desbloqueado:
target reported max download size of 1073741824 bytes
sending 'bootloader' (2579 KB)...
OKAY [ 0.202s]
writing 'bootloader'...
**FAILED (remote: flash write failure)**
finished. total time: 0.402s
rebooting into bootloader...
OKAY [ 0.090s]
finished. total time: 0.090s
< waiting for device >
target reported max download size of 1073741824 bytes
sending 'radio' (45521 KB)...
OKAY [ 1.709s]
writing 'radio'...
**FAILED (remote: flash write failure)**
finished. total time: 2.939s
rebooting into bootloader...
OKAY [ 0.100s]
finished. total time: 0.100s
< waiting for device >
target reported max download size of 1073741824 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1005027540 bytes
error: update package missing system.img
Press any key to exit...
Como puedes ver, tengo el FALLO (remoto: fallo de escritura del flash).
He intentado eliminar los comandos que reinician el teléfono para que éste permanezca bloqueado y obtengo esta salida después de ejecutar el script modificado:
target reported max download size of 1073741824 bytes
sending 'bootloader' (2579 KB)...
OKAY [ 0.300s]
writing 'bootloader'...
**FAILED (remote: flash write failure)**
finished. total time: 0.492s
target reported max download size of 1073741824 bytes
sending 'radio' (45521 KB)...
OKAY [ 1.716s]
writing 'radio'...
**FAILED (remote: flash write failure)**
finished. total time: 1.894s
target reported max download size of 1073741824 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1005027540 bytes
**error: update package missing system.img**
Press any key to exit...
De nuevo, el FAILURE (remoto: fallo de escritura de flash) ocurre pero no entiendo por qué no puede encontrar "system.img" porque está en la carpeta donde está el script.
También he probado el tutorial de este video de Youtube https://www.youtube.com/watch?v=pJnoiMTw5cY
Cuando intento el primer comando que es "fastboot flash system.img" obtengo el mismo error.
Entonces, ¿mi teléfono está muerto o todavía puedo arreglarlo?
EDITORIAL: He RMA-ed[1] el teléfono y me han enviado un reemplazo. Espero que este hilo ayude a la gente del futuro.
[1] https://en.wikipedia.org/wiki/Return_merchandise_authorization