Tofetopo
Tofetopo

Reputation: 496

Android: How can I get device hardware information with adb command?

I would like to know how to retrieve specific hardware information, for example, from the camera, using an adb command. I would like to know if its possible to retrieve hardware ID or Physical device object name for example, to store these values.

Upvotes: 5

Views: 19750

Answers (2)

Praveen Mulchandani
Praveen Mulchandani

Reputation: 446

Sdk:

adb shell getprop ro.build.version.sdk

Complete list:

adb shell getprop

Through the package manager:

adb shell pm list features

To retrieve detailed information about the camera

adb shell dumpsys media.camera

Upvotes: 17

Forsan Al-nemah
Forsan Al-nemah

Reputation: 11

adb shell getprop replace x with the prop. you want

Upvotes: 0

Related Questions