简体   繁体   English

如何从Sonim XP7设备使用ADB获取Logcat

[英]How to get a logcat using ADB from a sonim xp7 device

I've been trying to extract a logcat from a sonim xp7 device. 我一直在尝试从sonim xp7设备提取logcat。 I turned on developér options and USB debug, instaled the USB driver for windows and the adb from the android adk both on linux and windows, but in both systems when I type adb devices on the comand line (Already set adb as system variable) the return is nothing even with the device connected (Works for another device samsung s5 and a LG but not with the sonim xp7). 我打开了开发选项和USB调试,在linux和Windows上从android adk安装了Windows和adb的USB驱动程序,但是在两个系统中,当我在comand行上键入adb设备时(已经将adb设置为系统变量),即使连接了设备,返回也不是什么(适用于其他设备三星s5和LG,但不能使用sonim xp7)。 Anyone knows how to make the adb work for this device? 有人知道如何使adb在该设备上工作吗?

I just got a Sonim XP7 IS device, and here is how I successfully installed the ADB interface driver on Windows 7 X64: 我刚刚有了Sonim XP7 IS设备,这是在Windows 7 X64上成功安装ADB接口驱动程序的方法:

  1. make sure you have got the Google USB driver from Android SDK: 确保您已从Android SDK获得了Google USB驱动程序:

Android SDK的Google USB驱动程序

  1. This is how the phone shows in your device manager: 电话在设备管理器中的显示方式如下:

未安装的Android手机是什么样的

  1. Select "Browse my computer for driver software" 选择“浏览我的计算机以获取驱动程序软件”

浏览我的计算机以获取驱动程序软件 ] 3 ] 3

  1. Right click on that exclamation marked device, select Update driver software. 右键单击该带有感叹号的设备,选择“更新驱动程序软件”。 And choose "Let me pick from a list of device drivers on my computer". 并选择“让我从计算机上的设备驱动程序列表中选择”。 (Ignore the upper half's browsing for driver location stuff) (忽略上半部分的驱动程序位置信息浏览)

我来挑

  1. Select "Have Disk" button: 选择“从磁盘安装”按钮:

选择“从磁盘安装”

  1. You can copy & paste the Google USB driver location here (On my computer it's "C:\\android\\sdk\\extras\\google\\usb_driver"), you select "Browse" button and choose the location. 您可以在此处复制并粘贴Google USB驱动程序的位置(在我的计算机上为“ C:\\ android \\ sdk \\ extras \\ google \\ usb_driver”),然后选择“浏览”按钮并选择位置。

确保输入正确的Google USB位置

  1. Now you have some option to choose, please choose "Android Composite ADB Inteface". 现在您可以选择一些选项,请选择“ Android Composite ADB Inteface”。

选择Android Composite ADB界面

  1. Probably you got a warning because of compatibility risk. 由于兼容性风险,您可能收到了警告。 Press "Yes" to confirm. 按“是”进行确认。

更新驱动程序警告

  1. Now you need to confirm again to install this "Google Inc. Android Phone" device driver. 现在,您需要再次确认以安装此“ Google Inc. Android Phone”设备驱动程序。

确认安装Google Inc. Android手机

  1. You have done the driver software installation for: Android Composite ADB Interface. 您已完成以下驱动程序软件的安装:Android Composite ADB Interface。

安装了Android Composite ADB接口

  1. Go back to your device manager and double check the device "Android Composite ADB Interface" is working now. 返回设备管理器,并仔细检查设备“ Android Composite ADB Interface”现在正在工作。

设备管理器中的Android复合ADB界面

  1. Now go to command prompt, type "adb start-server", your phone probably will prompt for RSA fingerprint confirmation, remember to select "Yes" otherwise the adb device list will show it as "Unauthenticated". 现在转到命令提示符,键入“ adb start-server”,您的手机可能会提示您进行RSA指纹确认,请记住选择“是”,否则adb设备列表将其显示为“未经身份验证”。

If you don't see the fingerprint confirmation prompt on the phone, unplug the cable, and plug it again, it should come, double check with "adb devices" in command prompt. 如果您在手机上没有看到指纹确认提示,请拔下电缆,然后再次将其插入,这应该会出现,请在命令提示符中再次检查“ adb devices”。

Download universal adb driver from the following link 从以下链接下载通用adb驱动程序

http://googleweblight.com/?lite_url=http://adbdriver.com/&ei=Ho-htPxw&lc=en-IN&s=1&m=853&ts=1435775034&sig=AG8Ucul1mSgYkNHuK-mv8n8xYcMkCw3JOw http://googleweblight.com/?lite_url=http://adbdriver.com/&ei=Ho-htPxw&lc=en-IN&s=1&m=853&ts=1435775034&sig=AG8Ucul1mSgYkNHuK-mv8n8xYcMkCw3JOw

Open the driver software, keep ur device connected with system.., and install the driver. 打开驱动程序软件,使您的设备与系统保持连接,然后安装驱动程序。

Now close the command prompt, open again and check with adb devices command. 现在关闭命令提示符,再次打开并使用adb devices命令进行检查。

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

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