When a Xiaomi smartphone stops responding to touch, hangs on the logo, or is simply blocked by a forgotten pattern lock, it often causes a user to be confused.At this point, there is an urgent need to know the exact model name of the device to find the appropriate firmware, drivers or repair instructions.The problem is exacerbated by the fact that the standard path through the settings menu is not available, and the device body does not always have labeled stickers.
Fortunately, the Android architecture that the MIUI or HyperOS shell is based on provides multiple layers of access to system information. Even if the operating system does not boot, low-level bootloader protocols often continue to function. Understanding how to interact with these modes will allow you to identify the device without disassembly of the case and the presence of special boards.
In this article, we will take a closer look at software and hardware identification methods, including console commands, recovery modes, and even physical tags that manufacturers often hide from the userโs eyes. Accurate knowledge of the codename is critical when flashing, as installing a ROM from another model is guaranteed to lead to a hardware brick.
Visual Identification and External Signs
Before we go into complex software methods, we need to look at the device itself, and sometimes the answer is on the surface, if we know where to look. The case of Xiaomi smartphone contains several zones where laser engraving or printing is printed with technical information, and these data are static and independent of the state of the software.
Notice the back cover of the device. On modern models, information is often missing, but on older versions or on devices for certain markets (China, India), there may be a sticker there. If there is no sticker, try to remove the tray for the device. SIM-Some models, such as the early Redmi Note series, have the device type stamped in or under the metal frame of the tray in small print.
- ๐ Check the tray. SIM-microscopic engraving cards with model code.
- ๐ Check the area around the lens of the main camera where the marking is sometimes duplicated.
- ๐ Remove the protective case - under it may hide a worn, but readable factory sticker.
Packaging is also important. If you have the original box, all the information you need is on the end of the box, and it's not just the model (like the M2101K7AG), but the code name (alioth), the storage capacity and the region, which is the most reliable source if the phone itself is not available.
โ ๏ธ Note: Donโt rely on the look of other models. Xiaomi often uses the same body design for completely different hardware platforms (e.g. Redmi Note 10 and Note). 10S have different processors and screens, which can lead to an error when choosing a firmware.
If the visual examination fails, you'll have to use software diagnostics, which require you to connect your smartphone to your computer through a computer. USB-The quality of the cable is secondary, and the main thing is that it provides data transfer, not just charging.
Using Fastboot Mode for Accurate Diagnostics
Fastboot mode is a low-level protocol built into the Android bootloader that activates before the operating system boots, so it works even when the screen is completely dead or the file system is corrupted. It is one of the most reliable ways to know the model of a locked Xiaomi.
To enter this mode, you need to turn off your smartphone and press the key combination. This is usually a Volume Down button along with the power button. Hold them until you see an image of a hare repairing an android or FASTBOOT on the screen. If the screen is not working, focus on the vibration and heating of the device.
Connect your phone to your computer. If you have ADB/Fastboot drivers installed on your PC, open the command line and type in a command to get information about the device, and the system will give you the serial number and, more importantly, the device's code name.
fastboot getvar allIn the lead, look for the product or variant line. That's where the code name will be, like vayu for the Redmi Note 10 Pro or miui for the global versions. Knowing that name, you'll easily find the exact model on the Internet.
โ๏ธ Checking the Fastboot mode
It is worth noting that on some Locked Bootloaders, the amount of information available through the Fastboot may be limited by the manufacturer, but basic model data is usually readable.
Diagnostics through Recovery Mode (TWRP and Stock)
If Fastboot is not available or doesnโt provide the data you need, you can try to enter Recovery Mode. Xiaomi has two types of recovery: the standard (Stock Recovery) from the manufacturer and custom (for example, TWRP), if it was installed earlier.
To enter a standard Recovery, press the Volume Up and power button. From the menu, select a language (if the screen is responsive) and go to About or Status. It often displays the MIUI version and device model. In custom TWRP, model information is displayed immediately on the home screen at the top of the interface.
This method is especially useful if the phone goes into a cyclic bootloop. Even if the system does not load, the recovery partition remains operational and stores up-to-date hardware configuration data.
- ๐ ๏ธ Stock Recovery shows basic information in the "About phone" menuยป.
- ๐ ๏ธ TWRP displays the device code name (Device) in the header of the main screen.
- ๐ ๏ธ OrangeFox Recovery displays detailed hardware logs when you first start up.
What to do if you recover in Chinese?
Using Recovery Mode is safe for user data if you are limited to just viewing information.However, be careful with the "Wipe" or "Format" buttons, as this will result in the complete deletion of all files.
Checking through ADB and debugging via USB
The Android Debug Bridge (ADB) method only works if the phone has been pre-bugged with USB and the computer is authorized. If the phone is locked but the system boots and the screen is at least partially functional (or the PC screen is being distributed), this method will give the most complete information.
Once you have connected the device, type in the command line adb shell getprop ro.product.model. The system will return the exact commercial name of the model. the command adb shell getprop ro.product.device will show the code name, and adb shell getprop ro.build.fingerprint will give the full build print, including the region and the Android version.
If the screen is not working, but debugging is enabled, you can try to output information directly to the log file or use commands to emulate the clicks to unlock the device, but this requires high qualification. For most users, it will be enough to get a line with the model.
| ADB Team Team | What shows | Example of inference |
|---|---|---|
| ro.product.model | The commercial model | M2101K7BG |
| ro.product.device | Codename (Codename) | poco_f3 |
| ro.product.brand | Brand of device | Xiaomi |
| ro.board.platform | Processor platform | sm8250 |
๐ก
If ADB doesnโt see the device, try installing Google USB Driver Universal Driver or Xiaomi dedicated drivers through Windows Device Manager, changing the device type to Android ADB Interface.
It is important to understand that without debugging enabled, this method is useless, but if the phone was bought used or received from a friend, it is worth checking this option first by connecting it to a familiar computer where it could have been authorized earlier.
Identification by IMEI and service codes
Even if the screen is locked, the basic dialing functionality often works (if you have access to the lock screen with the call button) or respond to service commands. The easiest way is to type *#06#. IMEI-code.
Knowing IMEI, you can use online verification services like IMEI.info or Xiaomiโs official warranty check page, and by typing in the number you get, youโll get an exact model description, release date, and region, and this works even for fully deaf devices, as long as they even display IMEI numbers.
In addition, on some Xiaomi models, the IMEI and model are printed on a factory sticker under the back cover. If the phone has a removable battery (a rarity in modern models) or you are ready to carefully bend the edge of the case (for models with an adhesive lid), you can find this information physically.
- ๐ Type *#06# on the lock screen to receive IMEI.
- ๐ Use online databases to decrypt IMEI model.
- ๐ท๏ธ Look for a factory sticker under the battery or on the frame of the case.
This is a good way to be versatile: IMEI is assigned to a communication module in the factory, and it doesn't change when you flash or reset settings. It's a unique identifier tied to a specific hardware revision.
Hardware methods and device analysis
When software methods are exhausted and the phone needs to be identified urgently (for example, to order a spare part), a physical inspection of the board is required, a technique that requires disassembly skills and appropriate tools such as suction cups, mediators and hair dryers.
After carefully removing the back cover (which is often glued), look at the motherboard. Textolite is almost always marked. It can look like a set of numbers and letters, for example, 21061110AG or MB43S. Search engine quickly turns this code into an understandable model name.
โ ๏ธ Attention: Opening the case of a Xiaomi smartphone almost always leads to a loss of warranty.In addition, careless removal of the back cover can damage the plumes of the scanner or the cameras located on it.
It can also be a memory chip or a processor with a label, and while decoding the processor markings (like the Snapdragon 870) wonโt give you an accurate model of the phone, it will help to weed out the inappropriate options, as different models are often based on different chipsets.
Summary table of code names of popular models
For ease of search, we have prepared a table matching commercial names and internal codenames (codename), which you will find in the Fastboot and Recovery modes, knowing these matches will make it much easier to find firmware on forums.
| Commercial name | Codename (Codename) | Series |
|---|---|---|
| Xiaomi Mi 11 | venus | Flagship |
| Redmi Note 10 Pro | sweet / sweetin | Middle class |
| POCO F3 | alioth | subbrand |
| Xiaomi Redmi 9 | lancelot | Budgetary |
| Xiaomi 13 | fuxi | Flagship |
Use this data to cross-check. If you see alioth in the Fastboot and you searched for the firmware for the Redmi Note 10, you will immediately understand the error, since this device is known as the POCO F3. A one-letter error can cost the gadget its performance.
๐ก
The fastest and safest way to lock a phone is to use a combination of keys to log in to Fastboot (Vol- + Power) and read the product line through a PC. This does not require a screen to be turned on and works on 99% of Xiaomi devices.