Skip to content
Home » Android » 6 Methods to Find Android Device Codename

6 Methods to Find Android Device Codename

Android smartphones and tablets are given a unique device name, codename, model number, IMEI number, and serial number to distinguish them 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 14, Android 13, Pie, Oreo, Nougat, Lollipop, etc. If you want to find the codename of your Android phone or tablet, we have 5 methods for you.

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 so far. All Android manufacturers give a unique codename to the devices they manufacture. In this detailed tutorial, we’ll check out all the possible ways to find the codename of devices from Samsung, Xiaomi, OnePlus, Oppo, Realme, Techno, Nokia, Lenovo, Asus, Google, Vivo, Huawei, Motorola, etc.

Method 1: Google’s Device Codename List

Google keeps updating this list 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 lists all Android smartphones, tablets, and wearables. To find out the codename of an Android phone or tablet, click this link. You can navigate through the list or use Ctrl + F to 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, the list is small and features only Android phones and tablets for which the LineageOS ROM is available.

Method 2: 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. Some great apps in the Google Play Store provide exhaustive details about your phone below.

android device codename information

I tested several apps that provide 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 360: HW, Root Info
  5. DevCheck Hardware and System Info
  6. Device Info: System & CPU Info

Method 3: Via ADB Command

We have already mentioned the easiest 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.

To find the Android device codename using the ADB command, download and install ADB on your computer beforehand. You’ll then have to enable Developer options and turn on USB debugging on your device.

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

  1. Navigate to the folder that contains the ADB and Fastboot files and open it.
  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. Ensure your phone’s screen 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‘ 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 to get the codename.
    getprop | grep device

    android device codename in adb shell

You can also use the following command to get detailed technical 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

When multiple Android devices are connected to your computer, use the following command with the serial number of that device to find the codename. This command gives you very detailed information about your phone. Replace the highlighted text with the serial number of your phone.

adb -s R5CR11BM80A shell getprop

Method 4: Using ADB Command in aShell Terminal App

Setting up ADB can be time-consuming and requires a computer. Earlier, we had to root an Android device to use ADB commands. However, with the advent of Shizuku, the need to root to enjoy ADB-level tweaks and mods has been eliminated. aShell is a Shizuku-supported Terminal app that lets you harness the power of ADB natively without a computer.

  1. Set up Shizuku on your Android phone.
  2. Download the aShell app from F-Droid and install the APK.
  3. Launch aShell when installed and allow it access to Shizuku.allow ashell to access shizuku
  4. Now type getprop | grep device in the aShell command box and tap the Send button or Enter key on your phone’s keyboard.
  5. Look for the entry named ‘ro.product.device‘ in the output. You’ll find the codename of your device next to it.find device codename using ashell terminal app

Method 5: Using ADB AppControl

ADB AppControl is a versatile tool for Android users. It can debloat Android devices, clear app data, control your phone, perform ADB and Fastboot-level tasks, and so on. Additionally. you can use this tool to find the codename of your Android phone or tablet.

  1. Download ADB AppControl and launch it.
  2. Connect your USB debugging-enabled device to your Windows PC.
  3. When ADB AppControl detects your Android device, click on the Console tab and then on Shell.launch adb shell windows from adb app control
  4. ADB Shell window will launch in a command window showing the device’s codename. ‘e3q’ is the codename of Samsung Galaxy S24 Ultra.adb shell window with android device codename

Method 6: Using Web ADB in Chrome Browser

You can also find the code name of an Android device by using a web app called WebADB in a Chromium-based web browser like Chrome, Edge, or Opera.

  1. Open WebADB in your web browser.
  2. Enable USB debugging on your Android device and connect it to your computer.
  3. Click the Connect button and allow ADB debugging on your device when prompted.connect samsung phone to web adb
  4. When the connection is established, click the Interactive Shell option. A Shell window starting with your Android device’s codename will launch.view device codename via webadb in a web browser

That’s all for now!

Read Next: How to Turn on Android Phones without Power Button

Rakesh Shukla

Rakesh Shukla

Rakesh is a geek by heart with an ardent passion for all things tech. From a young age, he was drawn to the world of technology and found himself constantly tinkering with gadgets and devices. He enjoys learning and discovering the newest trends in the world of Android, iOS, and Windows.View Author posts