我可以使用adb.exe找到一个电话的描述? [英] Can I use adb.exe to find a description of a phone?

查看:106
本文介绍了我可以使用adb.exe找到一个电话的描述?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我调用命令adb.exe设备我得到设备的列表,每个一个唯一的ID。这些ID是完美的程序,但不是很可读。有没有什么办法可以链接这些ID中的一个来电话的(不一定是唯一)描述?举例来说,如果我有一个设备与ID 1234567890abcdef有什么办法我可以计算的,在现实生活中它是摩托罗拉Droid X?

If I call the command "adb.exe devices" I get a list of devices with a unique ID for each. These IDs are perfect for programming but not very human readable. Is there any way I can link one of these IDs to a (not necessarily unique) description of the phone? For example, if I have a device with an ID 1234567890abcdef is there any way I can figure that in real life it is a Motorola Droid X?

推荐答案

在Android的存在是在设置型号项,显示手机的名称。

In Android there is a Model number entry in settings that shows phone name.

有一种方法可以通过命令行快速地看到这一点:

There is a way to quickly see this via command line:

adb shell cat /system/build.prop | grep "product"


这是什么显示对于三星Galaxy S 4G


This is what's shown for Samsung Galaxy S 4G:

ro.product.model=SGH-T959V
ro.product.brand=TMOUS
ro.product.name=SGH-T959V
ro.product.device=SGH-T959V
ro.product.board=SGH-T959V
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Samsung
ro.product.locale.language=en
ro.product.locale.region=US
# ro.build.product is obsolete; use ro.product.device
ro.build.product=SGH-T959V


在一个的HTC Desire,输出看起来是这样的:


On a HTC Desire, the output looks like this:

ro.product.model=HTC Desire
ro.product.brand=htc_wwe
ro.product.name=htc_bravo
ro.product.device=bravo
ro.product.board=bravo
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HTC
ro.product.locale.language=hdpi
ro.product.locale.region=


您可以优化您的查询只显示一行:


You can refine your query to show only one line:

adb shell cat /system/build.prop | grep "ro.product.device"

adb shell cat /system/build.prop | grep "ro.product.model"

这篇关于我可以使用adb.exe找到一个电话的描述?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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