亚行无法识别我的Redmi Note设备 [英] ADB is not recognizing my Redmi Note device

查看:99
本文介绍了亚行无法识别我的Redmi Note设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ADB无法识别我的Redmi Note设备。我正在使用Windows 8





另外,当我在CMD中使用以下命令时,
adb设备
也会显示





我关注了



使用硬件设备

解决方案

对于Redmi Note ADB驱动程序,您必须经历此箍。我不确定所有MI手机还是所有非Google mfg手机都一样,我不确定。首先,如果使用USB电缆连接设备并关闭USB调试,您将看到Windows 8加载了通用驱动程序,可用于将打开/关闭文件复制到手机和SD存储器中。当首次插入USB电缆时,该图标会出现,并在控制面板,设备管理器,便携式设备, HM Note(或正在使用的设备)下显示为设备图标。



转到手机并在手机的开发人员部分打开 USB调试。请注意,现在在设备管理器列表中还有一个未定义的设备,该项目将带有黄色的感叹号,并且可能与您在便携式设备下看到的电话名称不同。暂时忽略此项目。现在,无需对电话进行任何操作(它应该已经处于USB调试模式),请返回到设备管理器中的便携式设备,然后右键单击HM Note或此处列出的任何正在使用的不带感叹号的电话(在便携式设备下列出)。右键单击便携式设备下的图标。在该图标上选择属性,详细信息,然后在下拉菜单中选择硬件ID,然后复制您看到的内容。



对于Redmi注意,我得到:

  USB\VID_2717& PID_1218& REV_0216& MI_00 
USB\VID_2717& PID_1218& MI_00

(请注意,如果不按顺序执行此操作,则在关闭手机USB调试后,硬件ID会有所不同。您要复制该值

现在按照上面的说明进行操作,当然,请使用与您的相关代码自定义添加INF文件的行拥有自己的手机,而不是Nexus 10。当您下载SDK时,应该具有从ZIP扩展的文件结构,例如:

  \adt-bundle-windows -x86_64-20140321\sdk\extras\google\usb_driver 

查找名为:在usb_driver文件夹中 android_winusb.inf 对其进行复制并命名,例如 redmi.inf



编辑 redmi.inf 并按照上面的说明添加仅针对您的特定手机进行修改的行。例如,对于HM Note,我按照指示在2个位置添加了以下2行。

 ; HM Note 
%SingleAdbInterface%= USB_Install,USB\VID_2717& PID_1218& REV_0216& MI_0
%CompositeAdbInterface%= USB_Install,USB\VID_2717& PID_1218& MI_00

现在返回到当您打开设备USB调试并右键单击该项目(带有黄色感叹号)时,出现在设备管理器中的未知设备,右键单击它,然后选择更新驱动程序软件,然后浏览我的电脑,让我选择,单击单击从磁盘安装并浏览以查找Redmi.inf。继续同意所有提示,警告您它可能不是正确的驱动程序。作为最后一步,Windows应该将设备标识为Android ADB接口,完成后,您应该可以返回,打开CMD窗口并按照本教程中的说明运行命令 adb devices,现在您应该看到电话现在已被发现并正在通信。



我在 ADB上找到了它找不到设备


ADB is not recognizing my Redmi Note device. I am using windows 8

Also when I use below command in CMD, adb devices it is displaying

I followed the procedure in below link,

Using Hardware Devices

解决方案

For the Redmi Note ADB drivers, you have to go through this hoop. I am certain it is the same with all MI phones or maybe for all non-Google mfg phones, I am not sure. First of all if you connect the device with USB cable and USB Debugging off, you will see that Windows 8 loads a generic driver for you to copy on/off files to the phone and SD storage. This will appear when the USB cable is first plugged in and appears as a device icon under Control Panel, Device Manager, Portable Devices, HM Note(or the device you are working with).

Go to the phone and switch on USB Debugging in the Developer section of your phone. Notice that an additional item appears as an undefined device now in the device manager list, it will have the yellow exclamation mark and it may not have the same name of the phone listed as you saw under Portable Devices. Ignore this item for the moment. Now, without doing anything to the phone (it should be already in USB debug mode) go back to the Portable Devices in Device Manager and right-click the HM Note or whatever phone you are working with that is listed there without the exclamation mark (listed under Portable Devices). Right click on the icon under Portable Devices. On that icon select Properties, Details, and under the pull down, select Hardware IDs and copy down what you see.

For Redmi Note I get:

USB\VID_2717&PID_1218&REV_0216&MI_00
USB\VID_2717&PID_1218&MI_00

(Note if you do this out of turn, the HW ID will be different with the phone USB debugging turned off. You want to copy the value that it changes to when the USB debugging is ON)

Now do as the instructions say above, of course customizing the lines you add the the INF file with those relating to your own phone, not the Nexus 10. Here is what to customize; when you downloaded the SDK you should have a file structure expanded from the ZIP such as this:

\adt-bundle-windows-x86_64-20140321\sdk\extras\google\usb_driver

Find the file named: android_winusb.inf in the usb_driver folder Make a copy of it and name it anything, such as redmi.inf.

Edit the redmi.inf and add the lines as instructed above only modified for your particular phone. For example, for the HM Note, I added the following 2 lines as instructed in the 2 locations as instructed.

;HM Note
%SingleAdbInterface%        = USB_Install, USB\VID_2717&PID_1218&REV_0216&MI_0
%CompositeAdbInterface%     = USB_Install, USB\VID_2717&PID_1218&MI_00

Now go back up to the unknown device that appeared in Device Manager when you switched on device USB debugging and right click on this item (has yellow exclamation mark), right click on it and then select Update Driver Software, and then Browse My Computer, Let Me Pick, click on the Have Disk button and browse to find the Redmi.inf. Continue to agree to all the prompts warning you it might not be the right driver. As the final step, Windows should have identified the device as Android ADB Interface and once that is done, you should be able to go back, open your CMD window and run the command "adb devices" as instructed in this tutorial and now you should see that the phone is now discovered and communicating.

I found this at ADB No Devices Found

这篇关于亚行无法识别我的Redmi Note设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆