If you bought a used Xiaomi, Redmi or POCO smartphone, or just suspect that your device may have been modified, it is important to check its status. The terms Rostest, unlocked bootloader and root rights are often confused, but they mean different things: Rostest is the procedure for unlocking a bootloader through the official Xiaomi service, and root is obtaining superuser rights. In this article, we will discuss how to determine exactly whether your Xiaomi Rostest passed, whether the bootloader is unlocked or the custom Recovery, and what risks this carries.
The problem is that vendors don't always honestly report the condition of the device, and an unlocked bootloader or root can take away your warranty, cause problems with your device. OTA-We've collected all the relevant verification methods, including hidden menus, commands, and other ways to block access to banking applications. ADB No complicated manipulations, only working methods for 2020-2026 models.
What is Rostest and why is it important?
The term Rostest was created because of Xiaomiβs policy in Russia: In 2020, the company introduced a mandatory binding of devices to the Mi Account to unlock the bootloader.Rostest is the official way to unlock through the service unlock.mi.com, which requires proof of identity and expectation (usually 7-15 days).
Why is it critical?
- π Security: Unlocked bootloader allows you to install unofficial firmware, which may contain malicious code.
- π± Guarantee: Xiaomi refuses warranty service if the bootloader is unlocked.
- π³ Banking applications: Many banks (Sberbank, Tinkoff) block work on devices with unlocked bootloader or root.
- π OTA-Updates: On some firmware updates "over the air" stop working.
It is important to distinguish Rostest from unofficial unlocking (through exploits or paid services), which can lead to a device βbrickβ or locking IMEI. Official Rostest leaves a trace in the system that can be traced.
Signs of an unlocked bootloader (without connecting to a PC)
If you don't have access to a computer, you can check the bootloader status directly on your smartphone, and these methods work on all Xiaomi, Redmi and POCO models with MIUI 12 and later:
1. Booting message
Turn off the phone, then press Volume Up + Power to enter the Fastboot. If the bootloader is unlocked, the bottom of the screen will appear:
This device is unlocked
Device state: unlockedThe devices will be locked with Device state: locked.
2.Inscription in MIUI settings
Go to Settings β About Phone β MIUI version and tap 7-10 times on the kernel version. If the Developer Options menu appears, go there and check Mi Unlock status. If it is active, the bootloader is unlocked.
3. Unofficial firmware
If in Settings β The phone is named firmware like Xiaomi.eu, LineageOS or PixelExperience β the device exactly passed Rostest. MIUI Global 14.0.5.
π‘
If you turn on the phone, the TWRP logo appears instead of the standard MIUI, it is 100% a sign of an unlocked bootloader and a customized Recovery installed.
Checking through ADB and Fastboot (exact method)
For the most reliable check, you will need a computer with installed Xiaomi drivers and tools ADB/Fastboot. Follow the instructions:
- Download Googleβs Platform Tools and unpack the archive.
- Turn on your phone to debug by USB (Settings β About Phone β MIUI Version β 7 taps β Additional settings β For developers β Debugging by USB).
- Connect the phone to the PC and confirm the debugging permission.
- Open the command line in the folder with platform-tools and type:
adb devices(The serial number of the device must appear.)
adb shell getprop ro.boot.verifiedbootstateResults:
- Orange - the bootloader is unlocked (passed Rostest).
- green - the loader is locked.
To check through Fastboot:
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- In the command line, type:
fastboot oem device-infoLook for the lines:
- Device unlocked: true - Rostest passed.
- Device unlocked: false β the bootloader is locked.
Install Platform Tools on PC
Enable debugging over USB on your phone
Connect your phone to the original cable
Start the command line on behalf of the administrator-->
How to find out if root (Magisk or SuperSU) is installed
An unlocked bootloader doesnβt always mean root rights, but often they go together.
1. Root Checker appendix
Download the Root Checker app from Google Play (or Magisk Manager if installed). Run the check - if root is available, the message Root access properly installed! will appear.
2. Check through the terminal
Install the Termux app and type in the command:
suIf you have a superuser rights request, root is set. If you don't find a command, you don't.
3. System files
Use any file manager (such as Solid Explorer) and check for:
- π Folders. /system/bin/su or /system/xbin/su.
- π File. /system/bin/.magisk (quiz).
- π§ Magisk Manager or SuperSU applications in the installed list.
If you have Magisk installed with MagiskHide, some verification methods may not work, in which case use the adb shell magisk --version command, if Magisk is installed, it will return the version.
Analysis of system logs (for experienced users)
If the previous methods didn't give a definitive answer, you can analyze the system logs, which requires knowing the ADB commands, but gives you the most accurate result.
Step 1: Receiving logs
Connect your phone to your PC and do:
adb logcat -d > miui_log.txtIt'll save the logs to the file. miui_log.txt.
Step 2: Search for Key Lines
Open the file and find the following phrases:
| Line in the lairs | Meaning |
|---|---|
| unlocked: true | The bootloader is unlocked (Rostest passed). |
| magiskd is running | Magisk (root rights) is installed. |
| TWRP recovery | Custom recaveri is installed. |
| miui.rom.flash | The firmware was changed through the Mi Flash Tool. |
Step 3: Checking SafetyNet Status
Many banking applications use SafetyNet to check system integrity, install SafetyNet Test and run the test.
- β CtsProfile: True - the system is not modified.
- β ctsProfile: False β there are signs of root or unlock.
What to do if SafetyNet does not work?
Risks and how to avoid them
Did you find out that your Xiaomi has gone through Rostest or has a root? Here's what it can lead to and how to minimize the risks:
1.Problems with the guarantee
β οΈ Note: Xiaomi officially refuses warranty repairs if the bootloader is unlocked.Even if the problem is not related to firmware (for example, a broken screen), the service center may refuse service. To return the warranty, you need to lock the bootloader back through the Mi Flash Tool (but this erases all data!).
2. Banking Apps and Google Pay
Most banks block work on devices with unlocked bootloader due to the risk of data leakage.
- π Install Magisk and activate MagiskHide for specific applications.
- π± Use the second device for banking operations.
- π Return the official firmware (but it will delete all data).
3. Mistakes OTA-update
On devices with custom firmware or unlocked bootloader, the "over-the-air" updates may not be installed, in which case you will have to manually update via Fastboot or TWRP.
π‘
If you don't plan on installing custom firmware, you'd better lock the bootloader back, which will bring back the warranty and compatibility with banking applications.
What to do if Rostest is not needed: we return everything back
If you find that the bootloader is unlocked, but you don't need it, you can lock it back.
Step 1 Download the official firmware
Find firmware for your model on MIUI Download. Choose the Fastboot version (not Recovery!).
Step 2: Install the Mi Flash Tool
Download the Mi Flash Tool and install it on your PC. Unpack the downloaded firmware into a folder without Cyrillic characters.
Step 3. Sweep through the device.
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect the phone to the PC.
- In Mi Flash Tool, click Select, specify the folder with the firmware.
- Select the clean all mode (full reset).
- Press Flash and wait until it is completed (5-10 minutes).
Step 4. Check the status
After the reboot, repeat the check via fastboot oem device-info. Device unlocked: false should appear.
β οΈ Note: If the bootloader locks the phone does not turn on ("brick"), try flashing it again in clean all and lock mode. If this does not help, you will need to contact the service center (but the warranty is no longer valid).