我可以使用adb.exe找到一个电话的描述?可以使用、电话、adb、exe

2023-09-03 21:28:57 作者:男人不色何来本色@

如果我调用命令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

adb.exe下载 adb.exe官方下载 PC下载网

在一个的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"