6

I have a Google Nexus 7 (2013) that's under warranty with a dead LCD screen. To get it replaced I need to provide Asus with the serial number (SSN) which is available in 3 places: - In the device's settings (accessed using LCD, which is dead) - On the Box (No room for those in a studio apartment) - Inside the back panel (but removing the panel will void the warranty)

I have my Nexus 7 connected to my PC and can communicate with it using ADT (Android Development Toolkit). Is there any way I can get the serial number using ADT or other software? I need the actual serial number (SSN) for the device and no the ADT device instance serial number.

Nik
  • 131
  • 1
  • 1
  • 4
  • 1
    Anything in `adb shell getprop` seem to be of the right format? And are you sure the adb device identifier is wrong? On the two nexus phones I tried that seems to match ro.serialno and the display in the settings menu, though neither was made by Asus. – Chris Stratton Aug 14 '14 at 18:16
  • You could also try to get into the settings menu (with your finger or adb event injection) and monitor your progress using ADB screenshots (via DDMS or one of the host-side screencasting applets). – Chris Stratton Aug 14 '14 at 18:18
  • Both of those are great suggestions, I'll explore them both and post my findings. Thanks Chris! – Nik Aug 14 '14 at 18:27

5 Answers5

10

No grep command is needed, just use getprop :

adb shell getprop ro.serialno 
wuseman
  • 1,259
  • 12
  • 20
7

Found it! The serial number can be retreived using:

adb shell getprop | grep ro.boot.serialno

I used DDMS to double verify and it is in fact the correct serial number. Thanks Chris!

hBrent
  • 1,696
  • 1
  • 17
  • 38
Nik
  • 131
  • 1
  • 1
  • 4
4

Adb given one command for get serial number

adb get-serialno

But it not works always

Yogesh Rathi
  • 6,331
  • 4
  • 51
  • 81
Benjamin Lucidarme
  • 1,648
  • 1
  • 23
  • 39
2

For Samsung note 3 I do this >> adb shell getprop ril.serialnumber

it print the Serial Number not UDID number as has been answered above!

BuGaU0
  • 391
  • 3
  • 2
0

Another method is to use this command:

adb shell idme print | grep  "^serial"
Yar
  • 7,020
  • 11
  • 49
  • 69