Nexus 5,我得到远程:闪光灯写入失败,同时尝试修复BootLoop -- nexus-5 领域 和 boot-loop 领域 android 相关 的问题

Nexus 5, I'm getting remote: flash write failure while trying to fix a bootloop


3
vote

问题

中文

在我说出任何我只是想说我没有安装任何自定义roms,也没有扎根手机。

我已经从这里下载了工厂图像 https://developers.google.com / Android / nexus /图像#hammerhead

我将手机放入bootloader,我从我下载的文件夹开始闪存-blas.bat脚本。它运行此脚本:

  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   

我得到以下输出:

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

我已经注意到了粗体的线条,所以我使用命令解锁手机 fastboot OEM解锁。它解锁了它,但是如果我重置手机,它就锁定了。互联网上的人说,如果发生这种情况,那么手机就死了。我希望并非如此。

我试过在电话解锁时再次运行脚本:

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

你可以看到我收到失败(远程:闪存写入失败)。

我试过删除重置手机的命令,以便手机停留锁定,我在运行修改后的脚本后获得此输出:

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

再次,发生故障(远程:闪存写入失败),但我不明白为什么它找不到"system.img" ,因为它位于脚本的文件夹中。

我还尝试了从这个youtube视频 https://www.youtube.com /手表?v = pjnoimtw5cy

当我尝试的第一个命令是"Fastboot Flash系统System.img" 时,我得到相同的错误。

所以,我的手机死了,还是可以解决它?

编辑:我有RMA-ed [1]手机,他们已经给了我一个替代品。我希望这个线程有助于未来的人。

[1] https://en.wikipedia.org/wiki/return_merchandise_authorization

英文原文

Before I say anything I just want to say I didn't install any custom ROMs nor rooted my phone.

I've downloaded the factory images from here https://developers.google.com/android/nexus/images#hammerhead

I put my phone into bootloader and I start the flash-all.bat script from the folder I've downloaded above. It runs this 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 

I get the following output:

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

I've noticed the bolded lines so I unlocked the phone using a command fastboot oem unlock. It unlocks it, however if I reset the phone, it's locked again. People on the Internet say that if this happens then the phone is dead. I hope it's not the case.

I've tried running the script again when the phone is unlocked:

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

As you can see I get the FAILURE (remote: flash write failure).

I've tried removing the commands that reset the phone so the phone stays locked and I get this output after running the modified script:

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

Again, the FAILURE (remote: flash write failure) occurs but I don't understand why it can't find "system.img" because it is in the folder where the script is.

I've also tried the tutorial from this Youtube video https://www.youtube.com/watch?v=pJnoiMTw5cY

When I try the first command which is "fastboot flash system system.img" I get the same error.

So, is my phone dead or can I still fix it?

EDIT: I've RMA-ed[1] the phone and they've sent me a replacement. I hope this thread will help future people.

[1] https://en.wikipedia.org/wiki/Return_merchandise_authorization

     

回答列表

4
 
vote

flash-all.sh脚本没有考虑到每个重启后的引导加载程序锁定。

我打开shell脚本并在每个命令之后通过以下命令逐个执行每个命令:

  fastboot oem unlock   

我闪过每个图像没有错误,但无论如何,它似乎没有写入内存。

 

The flash-all.sh script does not take into consideration that your bootloader is locked after each restart.

I opened the shell script and executed each command one by one, re-unlocking with the following after each command:

fastboot oem unlock 

I flashed each image with no errors, but it did not seem to write to memory regardless.

 
 
   
   
0
 
vote

有趣的点是:虽然你没有得到这些"只允许在解锁状态中" 的警告了,但你的bootloader真的解锁了吗?在解锁模式下运行以下命令时,您会得到什么输出?:

fastboot oem device-info

和:你还能启动恢复吗?

 

The interesting point is: Although you don't get these "only allowed in unlocked state" warnings anymore, is your bootloader really unlocked? What output do you get when you run the following command in unlocked mode?:

fastboot oem device-info

And: Can you still boot into recovery?

 
 
         
         
0
 
vote

从恢复擦除缓存,请确保您有最新的adb和fastboot文件。 在"恢复" 菜单中,执行这些命令。

  adb shell recovery --wipe_data recovery --wipe_data    

提供的命令:

   *   --wipe_data - erase user data (and cache), then reboot  *   --wipe_cache - wipe cache (but not user data), then reboot   

使用 nexus根工具包完成作业: http://www.wugfresh.com/nrt/ wugfresh的nexus根工具包

 

Wipe cache from recovery, make sure you have latest adb and fastboot files. In the recovery menu, execute these commands.

adb shell recovery --wipe_data recovery --wipe_data  

The supplied commands :

 *   --wipe_data - erase user data (and cache), then reboot  *   --wipe_cache - wipe cache (but not user data), then reboot 

Use Nexus Root Toolkit to do the job done : http://www.wugfresh.com/nrt/ wugfresh's nexus root toolkit

 
 
0
 
vote

以下是如何从不可拒绝的emmc进入adb:

  1. 下载twrp,提取它,使您看到 recovery.img

  2. 使用 fastboot oem unlock 解锁
  3. 。不要重启。

  4. 使用 fastboot boot recovery.img 引导到自定义恢复(不是闪存)。

您现在将在TWRP中重新启动,从您可以访问 adb adb shell 。

 

Here is how you can get into adb from an unwriteable emmc:

  1. Download twrp, extract it so you see recovery.img.

  2. Unlock using fastboot oem unlock. do not reboot.

  3. Boot into the custom recovery (not flash) using fastboot boot recovery.img.

You will now be rebooted in twrp, from where you can access adb and adb shell.

 
 
 
 
0
 
vote
vote
最佳答案
 

在这个线程他们告诉我我的emmc是炒的,因为我不能锁定/解锁我的手机,所以我 RMA 它。

 

In this thread they told me my emmc is fried because I can't lock / unlock my phone so I RMA-ed it.

 
 

相关问题

5  Nexus 5未连接到PC  ( Nexus 5 not connecting to pc ) 
我尝试通过USB将其连接到我的PC。虽然它显示在我的外部设备中连接并在我的电脑中显示,但是当我尝试打开它并没有文件到我的手机时,它只是显示一个普通的空白屏幕,绿色放置在顶部。< / p> ...

0  如何通过直接谈话将MMS达到Nexus 5?  ( How do i get mms working on nexus 5 with straight talk ) 
我无法通过我的nexus直接通话发送或接收彩信5.我已经验证了我的妻子的iPhone与相同的信息一样好,以及验证MMS用于在我的Nexus 4上工作通用ST指令。 我已经验证了st 的最新SIM卡 我已经验证了使用标准的st信息,因为apn不起作用。 APN名称:直谈 APN:TFDATA. 港口:80 MM...

0  Kindle Fire HD在Nexus 5上的屏幕键盘  ( Kindle fire hd on screen keyboard on nexus 5 ) 
我发现了Kindle Fire HD上的键盘是我使用的最佳移动设备之一,我已经使用过,并且我想知道它是否在任何其他设备上都有? 与SWIFTKEY等其他Android替代键盘一样,有类似版本的键盘,我可以在我的Nexus 5上安装吗? 谢谢。 设备:nexus 5 操作系统:Android 4.4.4 root...

29  为什么我的Nexus 5在重启后继续忘记所有WiFi密码?  ( Why does my nexus 5 keep forgetting all wifi passwords after a reboot ) 
一个月前我得到了一个nexus 5.它正在运行Android 4.4.2(内核:3.4.0-gadb2201)。我注意到使用它后一段时间后,它不断保持忘记重启后的所有保存的wifi密码。一开始我认为它可能会与我的路由器有关,但该设备还忘记了我大学的WiFi网络的密码,因此这不可能是问题。在获取此设备之前,我有一个三星...

6  如何更改加密密码 - Android 5.0  ( How to change encryption password android 5 0 ) 
我的加密密码太简单,想知道我如何改变它,而无需重置整个手机? 我知道Android 4有一个应用程序,但是android 5设备上的过程是什么? 设备:nexus 5 操作系统:Android 5.0 ...

1  whatsapp不使用移动数据服务  ( Whatsapp not working with mobile data service ) 
升级到棒棒糖后,我的Nexus 5手机就面临以下问题。像WhatsApp,徒步旅行,Messenger这样的应用程序在移动数据上时并不工作,但我的Internet连接没有问题。但所有这些应用程序都在WiFi环境中完美地工作。 我没有改变任何设置尝试在安全模式下重新启动手机,没有结果。任何建议都将受到高度赞赏。 ...

1  是否可以从引导循环中恢复来自Nexus 5的文件?  ( Is it possible to recover files from nexus 5 stuck in boot loop ) 
我有一个启动的Nexus 5,"优化应用程序" ,然后重新启动并重复无休止地重复。我只想从手机恢复我的文件。是否有任何方法可以通过恢复模式来完成这一点,也许通过安装数据文件夹?我唯一用于安装的唯一选择是"挂载/系统" ,但这似乎没有任何事情。 ...

2  棒棒糖:警报并未及时射击  ( Lollipop alarm isnt firing in time ) 
更新我的nexus 5到Android 5.0我注意到警报未在设定的时间(实际上被损坏了我今天的早晨)。 当我设置警报时,它写入正确的增量(例如,从立即开始"报警3分钟),但它不会在3分钟内发出任何声音或任何屏幕上的更改:警报刚刚在通知中挂起托盘作为"即将到来的警报" 。 我已经检查了通知设置,并没有找到任何问题。...

1  谷歌事件和联系人没有出现在展望中  ( Google events and contacts not showing up in outlook ) 
我拥有一个nexus 5.我有一个办公室365电子邮件帐户,我用来运行我的小企业。使用Kitkat时,如果我在我使用的联系人/日历应用程序中输入了联系人或日历约会,它将在Outlook和Outlook约会中自动显示在我的手机上。自从下载Lollipop,预约和联系人进入Outlook以来,在我的手机上显示,但在我的手...

0  尝试安装Nexus Media Importer时,应用程序未安装错误  ( App not installed error while trying to install nexus media importer ) 
我正试图用一个apk文件安装一个应用,但我经常得到应用程序未安装错误..我不是rooted,我有nexus 5..any解决方案? ...

3  Lollipop更新后的光传感器无效  ( Light sensor not working after lollipop update ) 
升级我的nexus 5到Android OS版本5.0棒棒糖后,发生了一个问题:当我试图拨打某人时,光传感器无法正常工作。屏幕始终保持警惕,我无法进行适当的转换,因为我用脸颊略微触摸屏幕,例如,静音我的麦克风... 将恢复出厂重置帮助我解决这个问题吗?或者也许您有任何关于如何解决此问题的提示。 ...

25  如何跳过Android系统更新并停止通知?  ( How do i skip an android system update and stop its notifications ) 
我收到消息 Android 5.0.1 System Update Available 但没有选择跳过更新。 令人沮丧,我点击"下载" 。下载后并不更好。我仍然得到 System update downloaded 无法避免更新。 如何用Kitkat 4.4.4发出完全满足于kitkat 4.4....

5  Android Lollipop Nexus5移动网络感叹号  ( Android lollipop nexus5 mobile network exclamation mark ) 
我正在使用nexus5,我从未使用移动数据网络出现问题。有些时候我更新到5.0.1和问题开始发生,移动网络图标上的感叹号,互联网停止工作。有谁吩咐同样的问题?我可能会闪回Android 4 ...

1  使用来自非三星手机的Allshare连接到三星电视  ( Connect to samsung tv using allshare from a non samsung phone ) 
我有一个Nexus 5手机,并希望连接到我的三星智能电视(支持Allshare)。 我怎样才能做到这一点? 谢谢。 更新:在将手机更新到Android 5.0后,我再次尝试。但没有好运来获得这项工作。 ...

1  为什么我的拔出的Nexus 5在任何应用程序使用后继续关闭?  ( Why does my unplugged nexus 5 keep shutting down after any app usage ) 
我一年前买了一个nexus 5,它一直在罚款。在Lollipop更新之后,我的手机已经开始崩溃了。即使手机有足够的电池,如果我运行任何应用程序,如5分钟(它发生的任何应用程序,也没有特定的应用程序,我可以隔离),手机刚刚崩溃到黑屏。当我再次启动时,电池突然从其初始健康数字(例如40%)零零,手机再次关闭(有时即使在"...




© 2021 it.wenda123.org All Rights Reserved. 问答之家 版权所有


Licensed under cc by-sa 3.0 with attribution required.