Htc One Serial Number Check

Posted on by
Htc One Serial Number Check Rating: 4,5/5 1200votes

Quote: Originally Posted by yrreP Hi all, Here's some news for you, whether you be interested or not! HTC are changing their Serial Number format from the classic HT[year][week] to something a bit more.

Htc One Serial Number Check

The new format will read similar to HT[year][month][day]. I presume that they wish to be this precise for warranty purposes. The month format shall be between 1 - 12, but the day format will take a slightly different shape. Days will go from 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, G, H, J, K, L, M, N, P, R, S, T, V, W, X, Y, Z. Day Z represents day 31.

Htc One Serial Number Check

TelephonyManager tManager = (TelephonyManager)myActivity.getSystemService(Context.TELEPHONY_SERVICE); String uid = tManager.getDeviceId(); getSystemService is a method from the Activity class. GetDeviceID() will return the MDN or MEID of the device depending on which radio the phone uses (GSM or CDMA). Each device MUST return a unique value here (assuming it's a phone). Style Qasidah Untuk Casio Ctk 731.

This should work for any Android device with a sim slot or CDMA radio. You're on your own with that Android powered microwave;-). Another way is to use /sys/class/android_usb/android0/iSerial in an App with no permissions whatsoever. User@creep:~$ adb shell ls -l /sys/class/android_usb/android0/iSerial -rw-r--r-- root root 4096 2013-01-10 21:08 iSerial user@creep:~$ adb shell cat /sys/class/android_usb/android0/iSerial 0A3CXXXXXXXXXX5 To do this in java one would just use a FileInputStream to open the iSerial file and read out the characters. Just be sure you wrap it in an exception handler because not all devices have this file.

At least the following devices are known to have this file world-readable: • Galaxy Nexus • Nexus S • Motorola Xoom 3g • Toshiba AT300 • HTC One V • Mini MK802 • Samsung Galaxy S II You can also see my blog post here: where I discuss what other files are available for info.

I need to use a unique ID for an Android app and I thought the serial number for the device would be a good candidate. How do I retrieve the serial number of an.