When Xiaomiโs smartphone stops responding to commands or access is restricted by password, itโs a common problem for many users. Often owners forget what modification of the device they have in their hands, especially if the box is lost and the checks are not saved. This knowledge is critical to finding the right firmware, drivers or instructions for unlocking the bootloader.
Unlike the standard case where information can be found in the About Phone menu, a locked state requires alternative diagnostic methods. Fortunately, the company's engineers have designed multiple levels of access to system information that work even when the screen is off or the interface is locked, and we'll look at ways from simple visual inspection to the use of professional debugging tools.
Before you start to manipulate the device, it is important to understand that the device model is not just a marketing name, but a specific technical index: this code (for example, M2102J20SG) is necessary for correct operation of the software. A single-letter error can lead to the installation of incompatible software, which will turn the smartphone into a brick.
Visual identification and marking of the body
The easiest and safest way to know the model is to look closely at the physical body of the device. Electronics manufacturers are required to put technical information on the device, and Xiaomi is no exception. Even if the screen goes out forever, this data is not going anywhere.
Note the back cover of a smartphone. On modern models, information is often in small print at the bottom or under the logo. On older devices with removable batteries, the sticker with IMEI and the model can be directly under the battery. The text can be erased, so use bright lighting and possibly a magnifying glass.
- ๐ Look for the โModelโ or โMdlโ line on the back of the device, often located next to regulatory signs.
- ๐ฆ Check the original packaging: on the side of the box there is always a sticker with the full technical code of the model and a barcode.
- ๐งพ Keep a warranty card or check, where the full article is often written in the column "Goods", not just the commercial name.
If the sticker on the case is missing or erased, check the tray for SIM-on some Redmi models and POCO Laser engraving with the model code is applied directly to the metal tongue of the tray. This is rare, but it is worth checking, as it can save time.
โ ๏ธ Warning: Never use sharp objects to scrape dirt from the body markings.You can damage the protective coating or scratch the glass, which will reduce the cost of the device in the event of its subsequent sale.
๐ก
Use macro photography on another phone to take a clear picture of the erased markings. Then zoom in on the photo and try to read the text in the graphics editor, increasing the contrast.
Using Fastboot Mode for Diagnostics
Fastboot mode is a low-level protocol that allows you to interact with the device directly, bypassing the Android operating system. This is ideal for locked phones, since the mode is activated by a combination of buttons before the interface loads.
To enter this mode, you need to turn off your smartphone completely. Then press the volume button and, holding it, connect the USB cable connecting the phone to the computer. The device will display an image of a hare repairing an android and the inscription FASTBOOT in orange.
โ๏ธ Checking the Fastboot connection
Once you connect to your computer, the system will identify a new device, and to see if you can use Windows command line or specialized software, you can enter the command line, if you go to the ADB/Fastboot tool folder, you can type in the command line:
fastboot devicesThis command will show the serial number, but it often requires a more detailed survey to get the model. However, even without entering commands, the mere fact of entering mode confirms the health of the power controller and buttons. Sometimes, depending on the bootloader version, the model code can be displayed in fine print in the upper corner in Fastboot mode.
Definition of the model through Recovery mode
Recovery mode is a recovery environment built into the phone's memory, which allows you to reset, clear the cache, and update the system. The Recovery main menu also contains technical information that is available without unlocking the screen.
To get into the recovery menu, press the volume button and plug in the power cable (or press the power button if the phone is turned off, holding the volume up). You will see a multi-item menu where you can switch the language with volume buttons and choose to make a power button.
At the top of the screen, you often see a version of MIUI and, more importantly, a model of the device. If standard Recovery doesn't show a model, you can try to enter Safe Mode, although it's harder to do that on a locked phone.
- ๐ Use volume buttons to navigate the menu if the screen does not respond to touch.
- ๐ฑ In Recovery mode, the touch screen usually doesnโt work, only physical buttons are managed.
- โ๏ธ Select โWipe Dataโ only if you plan to reset completely, but first make sure to use the model.
There is also a hidden engineer menu available through Recovery, but it requires specific actions and can be blocked by the manufacturer in new versions of the software.
What to do if you recover in Chinese?
Use ADB (Android Debug Bridge) from PC
ADB is a powerful tool for interacting with Android devices, providing detailed information about hardware and software, but ADB requires that the phone be debugged using USB before it works, and if the phone is locked with a password but the debugging is active, it will give 100% results.
Connect your phone to your computer as normal. Open the command line in the ADB folder and type in:
adb devicesIf the device is defined (device status, not unauthorized), enter a command to obtain system properties:
adb shell getprop ro.product.modelThis command will return the exact model code. You can also request the full device name via adb shell getprop ro.product.name. If the phone requests permission to debug (the screen should have a confirmation window), and the screen is locked and you can't press OK, this method, alas, will not work without unlocking.
| ADB Team Team | Description of action | Requirements |
|---|---|---|
| adb devices | Connection check | Included debugging over USB |
| getprop ro.product.model | Model code output | Active ADB session |
| getprop ro.bootloader | Loader version | Access to shell |
| adb reboot bootloader | Reboot to Fastboot | Unlocked screen or trusted PC |
It is important to note that if the phone is completely locked with a pattern lock and debugging has not been allowed before, the computer will only define the device as a media player or charger, and ADB commands will not be executed.
๐ก
ADB is only effective if USB debugging has been enabled before locking, otherwise Android security blocks access to the shell.
Analysis through Windows Device Manager
Windows has built-in diagnostic tools that can help identify the hardware connected. Even if the phone doesn't show up as a file drive, it can be seen as an unknown device or component with a specific ID.
Connect the locked phone to your PC. Open Device Manager (press Win+X and select the menu item). Look for Portable Devices, Android Devices, or Other Devices. If you see a device with a yellow exclamation point, that's our candidate.
Right-click on the device, select Properties, go to Information tab. From the property list, select Hardware IDs. USB\VID_2717&PID_... It contains the manufacturer's code. VID_2717 Xiaomi owns it. PID (Product ID), You can find an exact model on the Internet that corresponds to this identifier.
- ๐ฅ๏ธ Please note the section "Controllers" USBยป When connecting your phone in Fastboot mode.
- ๐ Write down the values. VID and PID database-search USB-device.
- ๐ Try different ones. USB-Ports, as some ports may not transmit data correctly.
This method requires some technical savvy, but it is completely free and does not require the installation of additional software, other than drivers that Windows often puts automatically.
โ ๏ธ Warning: Donโt try to install drivers from questionable sources. Use only official Xiaomi drivers or proven packages like Xiaomi. USB Driver for Bootloader.
Searching by IMEI through online services
If there is no marking on the body, but you somehow know IMEI devices (for example, it was recorded when you bought or linked to an account) Google/MI), You can use online databases. IMEI โ It is a unique identifier that is tightly linked to the model.
There are many sites like imei.info or sndeep.info that, upon request, give you the full specification of the device. Type a 15-digit IMEI number and the system will show you the commercial name, model code, color and even the date of manufacture.
Where to get an IMEI if your phone is locked?
1.Look at Google Account: Go to Google Security Settings on another device.
2. Check the router box if the phone has ever connected to your Wi-Fi network (some Xiaomi routers have a list of customers with MAC and sometimes IMEI).
3.Remember whether you have photographed the box or the checks before.
This method is good for accuracy, and error in model identification via IMEI is virtually impossible, since the database of telecom operators and manufacturers is strictly regulated.
๐ก
Keep the box and check in the cloud immediately after you buy the equipment, which will save you from problems with finding IMEI and model in the future.