The lock screen on Xiaomi smartphones is not just a protection against unauthorized access, but also a business card of the device. However, many users face a problem: the lockscreen suddenly appears with the name of the owner, advertising slogan or system message, which cannot be removed by standard methods, most often after updating MIUI, resetting or activating Xiaomi Cloud services.
In this article, we will discuss 5 Proven ways to remove the inscription from the lock screen – from simple changes in settings to use ADB-commands and system file editing, and we'll focus on the nuances for different versions. MIUI 12/13/14 and models (Redmi Note) 11, POCO X5, Xiaomi 13T If you see on your lock screen text like "Mi Fan," "Powered by." MIUI» The name of the previous owner – this guide will help you get rid of it forever.
Before you start, consider that some methods require unlocking the bootloader or root rights, and we will mark these cases separately so that you can choose the most secure option for your device.
1. Check the standard lock screen settings
To start with, it's possible that the inscription was added through MIUI settings and can be removed without any complicated manipulation, which works for most user texts (e.g., owner name or contact information).
Open the Settings menu → Lock screen. Depending on the firmware version, the path may be slightly different:
- 📱 MIUI 12/13: Settings → Lock screen → The inscription on the lock screen
- 📱 MIUI 14: Settings → Display. → Lock screen → Text on the lock screen
- 📱 POCO Launcher: Settings → Personalization → Lock screen → Text
If the item with the inscription is active, just turn it off or delete the text in the corresponding field. However, often users are faced with the fact that this section is blocked or missing, which means that the inscription is added at the system level, proceed to the following methods.
⚠️ Note: On some models (Xiaomi Mi 11, Redmi) K50) When you turn off the settings, it may reappear after you restart, and this is due to the com.miui.systemAdSolution service, which is a forced system element recovery service, which will require more in-depth intervention.
2. Removal of inscriptions through editing of themes of design
The system labels on the lock screen are often tied to the current MIUI theme, and even if you haven't installed custom themes, the firmware can use embedded text elements, and try to reset the theme to the standard or edit it.
Instructions:
- Go to Settings → Theme of design.
- Select the “My Topics” section and click on the current active theme.
- In the menu that opens, find the “Reset to Standard” button (or “Restore by default”).
- If the inscription is gone, the problem is solved. If not, try using another built-in theme (e.g., "Default" or "Classic").
For advanced users, if you use a custom theme from the Mi Theme Store, it can be stitched into its files.
Remove the current theme in Settings → Design theme → My themes
Clear the app cache Topics in Settings → Apps → Application Management
Reset the device
Try to apply the standard theme again.-->
If the inscription is still there after the themes have been reset, it means it's added at the system file level.
💡
Before you change the theme, back up your current settings in Settings → Additional → Backup and Reset. This will help you quickly restore personalization if something goes wrong.
3.Use of ADB-commands to remove system inscriptions
This method is suitable for removing embedded system labels (e.g., "Powered by"); MIUI» Or "Mi Fan") that is not deleted through settings. You'll need a computer with drivers installed to work. ADB and the debugging on USB smartphone.
Step-by-step:
- Activate Developer Mode: Go to Settings → About Phone. Click 7 times on “MIUI Version” until the notification “You’ve become a developer!” appears.
- Turn on USB debugging: Return to Settings → Additional → Developer. Activate the USB debugging switch.
Connect your smartphone to your computer and confirm the debugging permission.
Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell pm hide com.android.systemui/.keyguard.KeyguardClockSwitch
adb shell settings put global lock_screen_custom_text ""If the text hasn’t disappeared, try an alternative command to reset all user texts:
adb shell settings delete global lock_screen_custom_textFor models with MIUI 14, an additional command may be required:
adb shell cmd overlay disable com.miui.systemui.plugin⚠️ Note: On some devices (POCO F4, Redmi Note 12 Pro+) post-execution ADB-When you reboot the commands, the message comes back, and this is due to the work of miui.analytics, which restores system settings, and then you have to turn off the analytics in Settings. → Memory. → Auto-start → Analytics MIUI.
What if the ADB does not recognize the device?
4. editing system files (root required)
If previous methods didn’t work, the inscription is likely written in MIUI system files, which requires root access and a superuser-enabled file manager (e.g., Root Explorer or Mixplorer) to remove.
Warning: This method can lead to loss of warranty and unstable system operation, only use it if other methods have not worked.
Instructions:
- Install Magisk to obtain root rights (see the XDA Developers forum for instructions for your model).
- Open the root file manager and follow the path: /system/priv-app/SystemUI/SystemUI.apk/res/layout/
- Find the files: keyguard_clock.xml — Responsible for displaying time and text. keyguard_header.xml — It contains the upper inscriptions (for example, "Mi Fan»).
Powered by MIUI
<TextView
android:text="@string/powered_by_miui"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />644
rw-r--r--
| Model of the device | The path to the file with the inscription | Recommended action |
|---|---|---|
| Xiaomi 12/13 series | /system/priv-app/SystemUI/SystemUI.apk/res/layout/keyguard_clock.xml | Delete the lines from android:text="@string/mi_fan" |
| Redmi Note 10/11 | /system/priv-app/SystemUI/SystemUI.apk/res/values/strings.xml | Find and clear meaning <string name="powered_by_miui">Powered by MIUI</string> |
| POCO X3/X4 | /system/priv-app/SystemUI/SystemUI.apk/res/layout/keyguard_header.xml | Remove the block <TextView> ID-identified @id/lockscreen_carrier_text |
⚠️ Attention: On devices with MIUI 14 newer files SystemUI.apk You can protect DM-Verity, and editing it without turning off the check will lead to a bootloop. /system through TWRP Or OrangeFox Recovery.
5. Resetting to factory settings (last resort)
If none of the above methods worked, the last option is a complete reset, which will delete all user data, but return the device to a “clean” state where the system labels on the lock screen are absent.
How to reset your settings without losing important data:
- Backup: Go to Settings → Additional → Backup and Reset → Local Backup. Select data to save (contacts, messages, photos) and click “Create a Backup”.
- Reset: In the same menu, select “Reset settings.” tick “Delete all data” and confirm the action.
Do not restore backup of settings
On devices with Xiaomi Cloud, after reset, the inscription can return if it was synchronized with the account. Before reset, turn off the lock screen sync in Settings → Accounts → Mi Account → Sync.
6. Alternative solutions: custom firmware and modules Magisk
If you’re not afraid of experimentation, consider installing custom firmware or modules for Magisk that remove system labels, a method that’s suitable for power users as it requires unlocking the bootloader and could potentially lead to loss of functionality (e.g. Google Pay will stop working).
Popular solutions:
- 📱 Module MIUI Lockscreen Mod: Allows you to completely redefine the lock screen, including deleting all system texts.
- 📱 Pixel Experience or LineageOS: Replaces MIUI on a "clean" Android without system labels. Requires an unlocked bootloader.
Before installing custom software, check compatibility with your model on the 4PDA or XDA Developers forum. For example, ArrowOS is suitable for the Redmi Note 11 Pro+, and crdroid is suitable for the POCO F3.
💡
Custom firmware solves the problem of system labels forever, but deprives the device of official Xiaomi support. Before installing, make sure you have a backup of the original firmware (fastboot rom) for rollback.