Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

How do I get the android phone model number from a Windows PC connected via USB, provided all the USB device drivers are installed properly? Is there anyway to get it via Android SDK?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I don't know how to get it by the adb command.

But you can get it programmably with the SDK. There is a class Build which have many information of the current running phone, such as you wanted model number can be got by the Build.MODEL.

share|improve this answer
    
hey, thanks for the pointer, found out the adb command: adb shell cat /system/build.prop | grep "ro.product.model" –  Anindya Chatterjee Mar 19 '12 at 15:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.