简体   繁体   English

亚行停在<waiting for devices></waiting>

[英]ADB stopping at <waiting for devices>

I was trying to install some custom recovery and ROM on to my phone when I got to this situation.当我遇到这种情况时,我正试图在我的手机上安装一些自定义恢复和 ROM。

(I have my windows update turned off) (我的 windows 更新已关闭)

ADB or fastboot shows ADB 或 fastboot 显示

<waiting for devices>

I tried and saw few solutions.我尝试并看到了几个解决方案。 I'm writing a detailed solution to this.我正在为此写一个详细的解决方案。 this was how I solved it.这就是我解决它的方法。 if you have more suggestions you can answer below.如果您有更多建议,您可以在下面回答。

the only reason for this is that your PC is not recognizing Phone.which is a driver problem.唯一的原因是您的 PC 无法识别电话。这是驱动程序问题。

You have to understand a few things before starting with the solution.在开始解决方案之前,您必须了解一些事情。 you may know this too.你可能也知道这一点。

  • when you are in your recovery adb gets into something like recovery mode(just framing some terms myself)当您处于恢复状态时,adb 会进入类似于恢复模式的状态(只是自己制定一些术语)

  • in bootloader, it takes fastload mode.在引导加载程序中,它采用快速加载模式。

each of this mode needs different drivers other than what the driver you use with adb when your phone is running on OS.除了当您的手机在操作系统上运行时与 adb 一起使用的驱动程序之外,每种模式都需要不同的驱动程序。

so what you have to do is.所以你必须做的是。

if you are trying to get into recovery mode or fastload mode.如果您正在尝试进入恢复模式或快速加载模式。

  • open device manager(settings>devices>(more options)Device manager).打开设备管理器(设置>设备>(更多选项)设备管理器)。

  • now boot the phone into the required mode using manual or adb method.现在使用手动或 adb 方法将手机启动到所需的模式。

  • the device manager reloads and a new driver will be shown.设备管理器重新加载并显示一个新的驱动程序。 either in Android or pointing device or others folder.在 Android 或指针设备或其他文件夹中。

  • select the driver and update online.选择驱动程序并在线更新。 (always preferred). (总是首选)。

  • if you don't find an online driver you have to select manual update here.如果找不到在线驱动程序,则必须在此处选择手动更新。 在此处输入图片说明 select browse my computer.选择浏览我的电脑。 在此处输入图片说明 select let me pick.选择让我挑。 在此处输入图片说明 select browse.选择浏览。

at last, you have to select the usb-driver provided by the google.最后,你必须选择谷歌提供的usb-driver。 in sdk>extras>google>usb-driversdk>extras>google>usb-driver

it will show the updatable driver.select and press next to install.它将显示可更新的驱动程序。选择并按下一步安装。 press ok now it should work correctly.现在按确定它应该可以正常工作。

Happened to MACOS Mojave 10.14.6 while trying to install twrp-3.3.1-2-enchilada.img.尝试安装 twrp-3.3.1-2-enchilada.img 时遇到了 MACOS Mojave 10.14.6。

Solved it by running:通过运行解决它:

adb reboot-bootloader adb 重启引导程序

Then, when the phone boot into bootloader,然后,当手机启动进入引导程序时,

fastboot boot twrp-3.3.1-2-enchilada.img

worked like a charm像魅力一样工作

For me, I couldn't even see my Android device in Windows 10 Device Manager until I went into Settings/General/Developer options and set Select USB Configuration to MTP (Media Transfer Protocol) instead of the default Charging Only, and also found a different USB cable that wasn't a charging-only one.对我来说,我什至无法在 Windows 10 设备管理器中看到我的 Android 设备,直到我进入“设置”/“常规”/“开发人员”选项并将“选择 USB 配置”设置为 MTP(媒体传输协议)而不是默认的“仅充电”,并且还发现了一个不同的 USB 电缆,它不是仅用于充电的 USB 电缆。 Then, as @sushanthkille indicated above, I still had to install an updated driver, but the way he describes via Device Manager didn't work.然后,正如@sushanthkille 上面指出的,我仍然需要安装更新的驱动程序,但他通过设备管理器描述的方式不起作用。 For my LG G4, I had to go to https://www.lg.com/us/lgeai/Drivers/pages/mobile-drivers.html (found via googling for windows 10 LG G4 drivers) download the Windows driver, and install it manually.对于我的 LG G4,我必须去https://www.lg.com/us/lgeai/Drivers/pages/mobile-drivers.html (通过谷歌搜索 Windows 10 LG G4 驱动程序找到)下载 Windows 驱动程序,然后手动安装。 After all that, my G4 finally showed up in Windows 10.毕竟,我的 G4 终于出现在了 Windows 10 中。

For me it was not turning on usb debugging .对我来说,它没有打开usb debugging

(settings -> developer options(you should activate this if you don't see this option) -> usb debugging.) (设置 -> 开发者选项(如果你没有看到这个选项,你应该激活它)-> USB 调试。)

运行以下命令使您的设备进入 FastBoot 模式(如果使用 Windows 系统,则从 adb-driver 文件夹)

adb reboot-fastboot

I had to update Windows 10 to resolve this issue.我必须更新 Windows 10 才能解决此问题。

I believe the needed update was a driver update for Android Bootloader Interface from Google, Inc. Windows updated several things at once so I can't verify that is what specifically solved the problem for me.我相信所需的更新是来自 Google, Inc. 的 Android Bootloader Interface 的驱动程序更新。Windows 一次更新了几项内容,因此我无法验证这是专门为我解决的问题。

Usually it's the drivers' issue on Windows!通常是 Windows 上的驱动程序问题!

Just install the appropriate OEM driver from here:只需从这里安装适当的 OEM 驱动程序:

https://developer.android.com/studio/run/oem-usb#Drivers https://developer.android.com/studio/run/oem-usb#Drivers

I've just spent a lot of time with the same problem, and it turns out to be because I have a Samsung phone.我刚刚花了很多时间解决同样的问题,结果是因为我有一部三星手机。

There are a log of Fastboot blogs out there but what they don't always mention is, Samsung devices have no fastboot mode.那里有一个 Fastboot 博客的日志,但他们并不总是提到的是,三星设备没有 fastboot 模式。 So if yours is a Samsung device, don't waste time on any of the drivers and settings, because it will not work on Samsung.因此,如果您使用的是三星设备,请不要在任何驱动程序和设置上浪费时间,因为它不适用于三星。

There's another post with more info here: https://android.stackexchange.com/a/187573/111755 .这里还有另一篇提供更多信息的帖子: https : //android.stackexchange.com/a/187573/111755

Easy way简单的方法

  1. download the Google USB Driver from the official website ( https://developer.android.com/studio/run/win-usb )从官网下载谷歌USB驱动( https://developer.android.com/studio/run/win-usb

  2. Turn off your device and connect with your PC or laptop with a USB plugging关闭您的设备并使用 USB 插头连接您的 PC 或笔记本电脑

  3. go to the device manager, You will see Other devices . go 到设备管理器,你会看到其他设备 There you will see the Android option .在那里您将看到Android 选项 Right-click on it and press on update driver , then click on Brouse my computer for driver S/W.右键单击它并按更新驱动程序,然后单击 Brouse my computer for driver S/W。 then Let me pick from the list and continue with All devices and next.然后让我从列表中选择并继续所有设备和下一个。 Then browse again and select the file from the folder you have downloaded and click on install .然后再次浏览 select 您下载的文件夹中的文件,然后单击install and restart重新启动

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM