中兴V9不是由亚行检测 [英] ZTE V9 not detected by ADB

查看:208
本文介绍了中兴V9不是由亚行检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经花了一个多小时努力使亚行检测我的中兴V9在的Ubuntu 11.04 。这不是一个权限问题,的 ADB设备的根本不显示任何信息。

I've spent over an hour trying to make ADB detect my ZTE V9 on Ubuntu 11.04. It's not a permissions issue, adb devices simply doesn't print anything

List of devices attached

USB调试是

USB debugging is on

这是我的Andr​​oid规则看起来像

This is what my android rules look like

/etc/udev/rules.d/51-android.rules

SUBSYSTEM=="usb", ATTRS{idVendor}=="19d2:0083" SYMLINK+="android_adb", MODE="0666" GROUP="plugdev" TEST=="/var/run/ConsoleKit/database", \ RUN+="udev-acl --action=$env{action} --device=$env{DEVNAME}"

这是输出的的lsusb

Bus 002 Device 008: ID 19d2:0083 ONDA Communication S.p.A. 
Bus 002 Device 004: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
...

编辑android.rules我已经重新启动udev和亚行重新启动后。

After editing android.rules I've restarted udev and restarted adb.

我已经试过这udev规则的若干修改。我也试着使用99-android.rules,而不是51,但没有任何变化。

I've tried several modifications of this udev rule. I've also tried to use 99-android.rules instead of 51, but nothing changes.

于是,我试图手动编辑./android/adb_usb.ini,这之后,我的编辑看起来像这样

Then, I've tried to manually edit ./android/adb_usb.ini, which after my edit looks like this

# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x19d2

但尽管如此,没有检测设备

But still, the device is not detected.

到现在为止我已经开发了三星Galaxy S,被检测inmediately

Up to now I have developed for a Samsung Galaxy S, which is detected inmediately

在此先感谢!

来源沿用到现在:

XDA开发人员

许多其他网站

推荐答案

我通过与中兴V768(协和)所有这些相同的步骤只是去,用相同的结果你 - 亚行刚刚出现什么。我使用的所有其他手机相同的udev规则只为这一个不工作。

I just went through all these same steps with a ZTE V768 (concord), with the same results as you -- adb just showed nothing. The same udev rules I've used for every other phone just don't work for this one.

然后我发现这个线程: <一href="http://forum.xda-developers.com/showthread.php?t=1853571&page=8">http://forum.xda-developers.com/showthread.php?t=1853571&page=8

Then I found this thread: http://forum.xda-developers.com/showthread.php?t=1853571&page=8

看起来像中兴通讯方便留下了司机对他们的手机(我是/system/data/PCSUITE.ISO,或有人提到/dev/PCSUITE.ISO),其中有一个Linux脚本来设置一些udev的地方安装文件规则它。我跑的安装,然后ADB设备后,立即和它在那里。

Looks like ZTE conveniently leaves a driver install file somewhere on their phones (mine was in /system/data/PCSUITE.ISO, or someone mentioned /dev/PCSUITE.ISO), which has a linux script to set up some udev rules for it. I ran their 'install', then 'adb devices' immediately after, and it was there.

他们的驱动程序包括在所有这三个文件复制2规则文件/etc/udev/rules.d/,亚行复制到/ usr / bin,然后运行'搭配chmod A + X'的。我删除从规则文件的可执行权限,并删除其安装ADB,我仍然能够连接到手机上,所以我只相信规则应该是必要的。

Their 'driver' consists of copying 2 rules files to /etc/udev/rules.d/, copying adb to /usr/bin, and running 'chmod a+x' on all three of those files. I removed the executable permissions from the rules files and removed their installed adb, and I'm still able to connect to the phone, so I believe only the rules should be necessary.

所以,在这里,他们是:

So, here they are:

51-Android的hs.rules:

# for android device

SUBSYSTEM=="usb", SYSFS{idVendor}=="19d2", MODE="0666"

61-USB-CDROM-hs.rules:

# This file maintains persistent names for CD/DVD reader and writer devices.
# See udev(7) for syntax.

############################################################################
SUBSYSTEM=="block", SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="0358", SYMLINK+="ZTECdrom", \
RUN+="/usr/bin/eject /dev/ZTECdrom", RUN+="/bin/eject /dev/ZTECdrom"
############################################################################


我没有做更多的研究,为什么这个工作(需要光驱的规则,是手机被认为是莫名其妙地cdrom设备?有没有使用SYSFS'而不是'ATTR'之间的区别吗?或者没有规则只需要被股票规则这个电话之前?) ......但这些都是官方中兴udev规则,和它的作品。


I haven't done any more research into why this works (is the cdrom rule necessary, is the phone being recognized as a cdrom device somehow? Is there a difference between using 'SYSFS' as opposed to 'ATTR'? or does the rule just need to be before the stock rules for this phone?) ... but these are the 'official' ZTE udev rules, and it works.

在情况下,重要的,这是对中兴通讯协和它显示0355中的一个的lsusb产品ID,而我没有的设备与'0358'作为CDROM规则列表产品ID。同样,不知道这是相关的,以防万一分享它。

In case it matters, this was for a ZTE Concord which shows a product ID of '0355' in lsusb, and I don't have a device with a product ID of '0358' as the cdrom rule lists. Again, not sure if this is relevant, just sharing in case it is.

如果你想完整的驱动程序安装,它可能是您的手机上/system/data/PCSUITE.ISO或/dev/PCSUITE.ISO,或有一个链接,下载它上面的XDA线程。

And if you want the full driver install, it's probably on your phone in /system/data/PCSUITE.ISO or /dev/PCSUITE.ISO, or there's a link to download it in the XDA thread above.

这篇关于中兴V9不是由亚行检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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