Skip to content

3 Ways to Find Android Device Codename

Android smartphones and tablets are given a unique device name, codename, model number, IMEI number, and serial number so that they can be distinguished from other devices. These code names are not limited to the devices alone, even the different versions of the Android OS have unique codenames like Android 12L, Android 11, Pie, Oreo, Nougat, Lollipop, etc. If you want to find the Android device codename for your smartphone or tablet, there are various ways to do so.

As of now, there are nearly 1300 OEMs globally that manufacture Android devices. According to the official Android portal, more than 24000 distinct smartphones and tablet devices have been produced by these OEMs to date. All Android OEMs give a unique codename to the devices they manufacture. You might know the model name and number of a phone from Samsung, Xiaomi, OnePlus, Oppo, Realme, Techno, Nokia, Lenovo, Asus, Google, Vivo, Huawei, Motorola, etc. However, when it comes to Android device codename, very few people are aware of the same about the device they own.

In this detailed tutorial, we’ll check out all the possible ways to find the Android device codename without root privilege. Below are a bunch of methods you can use to find the codename of your Android phone or tablet.

1. Android Device Codename List

Google keeps updating this list every now and then. No matter what Android device you own, you should be able to find its details mentioned under the following heads.

Retail Branding Marketing Name Device Model

Google officially provides the list of all Android smartphones, tablets, smartwatches, etc. To find out the Android device codename of the phone or tablet you own, click on this link. You can navigate through the list or simply search for it. You’ll find the Android device codename under the ‘Device‘ head. In case you want to keep the complete list for offline usage, you can also download the latest CSV file. Alternatively, you can also head over to the LineageOS wiki page that contains a list of Android devices and their codenames. However, this list is very small and features only Android phones and tablets for which the LineageOS ROM is available.

2. Find Codename Using an App

If you want to get more information about your Android phone or tablet than just its codename, there are some apps that you can use. There are some great apps in the Google Play Store that provide exhaustive details about the system of your phone as you can see below.

android device codename information

I tested several apps that give complete information about any Android device along with its codename. Below are some great apps that are worth mentioning.

  1. AIDA64
  2. Device Info HW
  3. Droid Hardware Info
  4. Device Info – Hardware and Software
  5. Device Info 360: HW, Root Info
  6. DevCheck Hardware and System Info
  7. Device Info: System & CPU Info

3. Using ADB Command

We have already mentioned the easier and quickest ways to find out the codename of your Android device above. However, there is still another way that is a little more time-consuming but still deserves a mention here.

In order to find the Android device codename using ADB command, you need to download and install ADB on your Windows, Mac, and Linux computer beforehand. You’ll then have to turn on Developer options and USB debugging on your Android device.

Once you have set up ADB and Fastboot on your PC, follow the quick steps given below.

  1. Navigate to the folder that contains the ADB and Fastboot files and open it. In my case, I have extracted the contents of ‘platform-tools’ into a folder named ‘Android’ on the C drive of my PC.
  2. Place the mouse pointer in any space inside this folder. Then press the Shift key on the keyboard and perform a right-click on the mouse. Select the ‘Open PowerShell window here‘ option from the Windows context menu.launch windows powershell
  3. When the PowerShell window is launched, connect your Android phone or tablet to your computer.
  4. Make sure that the screen of your device is unlocked and execute the following command to check if it’s properly connected to the computer.
    adb devices
  5. If the ADB daemon detects your device, you’ll see an alpha-numeric string in the PowerShell window. In case you get ADB is not recognized error, fix it.
  6. Now type the following command and hit the Enter key on the keyboard.
    adb shell
  7. As soon as you press the Enter key, you’ll see the codename of your Android device printed in the PowerShell window. As you can see ‘p3s‘ below which is the codename for my phone Samsung Galaxy S21 Ultra.adb shell command
  8. There is one more ADB shell command to find your Android device codename. Just execute the following command as shown below and you’ll have the codename.
    getprop | grep device

    android device codename in adb shell

Bonus Tip

You can also use the following commands to get a range of other information about your Android device.

adb shell 
getprop | grep -e 'model' -e 'version.sdk' -e 'manufacturer' -e 'hardware' -e 'platform' -e 'revision' -e 'serialno' -e 'product.name' -e 'brand'

adb shell getprop command for device info

If multiple Android devices are connected to your computer and you want to find the codename of a particular device, you can use the following command with the serial number of that device. This command gives you very detailed information about your phone. (Replace the text highlighted with red with the serial number of your own phone).

adb -s R5CR11BM80A shell getprop

I hope this little tutorial describing the ways to find the Android device codename would have helped you. In case you know some other method that I have missed here, please let us know.