Win8 下载恢复Nexus 5官方固件错误解决办法

老师傅遇到新问题,下载Nexus 5官方固件后,不管是直接双击flash-all.bat还是右键以管理员身份运行均出现以下错误:

error: cannot open 'bootloader-hammerhead-hhz11k.img'
rebooting into bootloader...
OKAY [ 0.078s]
finished. total time: 0.078s
error: cannot open 'radio-hammerhead-m8974a-1.0.25.0.23.img'

rebooting into bootloader...
OKAY [ 0.082s]
finished. total time: 0.083s
error: failed to load 'image-hammerhead-kot49h.zip': No such file or directory
Press any key to exit...

一番搜索发现是由于执行路径有问题,所以无法找到要刷的固件,解决办法很简单就是单独运行一个命令提示符,然后手动到固件所在的目录再执行flash-all.bat就可以了。

C:\Windows\system32>fastboot oem lock
...
OKAY [ 0.043s]
finished. total time: 0.043s

C:\Windows\system32>fastboot oem unlock
...
OKAY [ 18.880s]
finished. total time: 18.880s

C:\Windows\system32>cd C:\Users\Dear\Desktop\Nexus 5\hammerhead-kot49h

C:\Users\Dear\Desktop\Nexus 5\hammerhead-kot49h>

手动刷分区

fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata.img

PS:切换盘符D可以使用

d:
Like
Like Love Haha Wow Sad Angry

《Win8 下载恢复Nexus 5官方固件错误解决办法》有2个想法

发表评论

电子邮件地址不会被公开。 必填项已用*标注