How to remove the inscription from the lock screen on Xiaomi: from standard settings to ADB

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.

📊 What message appeared on your lock screen Xiaomi?
Name of owner
The tagline: Mi Fan, Powered by...
System message (update, error)
Another inscription
I don't know.

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:

  1. Go to Settings → Theme of design.
  2. Select the “My Topics” section and click on the current active theme.
  3. In the menu that opens, find the “Reset to Standard” button (or “Restore by default”).
  4. 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:

  1. Activate Developer Mode: Go to Settings → About Phone. Click 7 times on “MIUI Version” until the notification “You’ve become a developer!” appears.
  2. 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_text

For 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?
1. Install the latest Xiaomi drivers USB Drivers from the official website. 2. Try another one. USB-cable (preferably original). 3. Include in the developer settings the item "Configuration" USB default» → Select "File Transfer». 4. On Windows, disable driver signatures: type in the command line bcdedit /set nointegritychecks on and restart the PC.

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:

  1. Install Magisk to obtain root rights (see the XDA Developers forum for instructions for your model).
  2. Open the root file manager and follow the path: /system/priv-app/SystemUI/SystemUI.apk/res/layout/
  3. 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 deviceThe path to the file with the inscriptionRecommended action
Xiaomi 12/13 series/system/priv-app/SystemUI/SystemUI.apk/res/layout/keyguard_clock.xmlDelete the lines from android:text="@string/mi_fan"
Redmi Note 10/11/system/priv-app/SystemUI/SystemUI.apk/res/values/strings.xmlFind 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.xmlRemove 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:

  1. Backup: Go to Settings → Additional → Backup and Reset → Local Backup. Select data to save (contacts, messages, photos) and click “Create a Backup”.
  2. 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.

FAQ: Frequent questions about removing labels from the lock screen

❓ The text appears again after the reboot?
This is a typical problem for MIUI 13/14, where miui.analytics restores system settings.Solution: Disable analytics in Settings → Memory. → Auto-start → Analytics MIUI. Use it. ADB-Command for permanent shutdown: adb shell pm disable-user --user 0 com.miui.analytics Install Disable Flag Secure in Magisk (requires root).
❓ Can you remove the inscription without rooting and ADB?
Yes, but only if it's added through custom settings or user data. Try: Reset the theme to the standard, delete your Mi Account (if it's linked to it), disable lock screen sync in the cloud, if it's system-based (e.g., "Powered by MIUI"), without ADB or root, you can't remove it.
❓ After editing system files, the phone does not turn on?
Chances are you violated the integrity of the file SystemUI.apk or incorrectly installed rights. Solutions: Load to TWRP Recovery and restore the backup of the /system partition. Refashion the device through fastboot with official firmware (instructions on en.miui.com). If the bootloader is blocked, contact the Xiaomi service center (but the warranty will be lost). In the future, always make a backup before editing system files!
❓ The inscription appeared after the update MIUI. How to roll back?
Retraction to the previous version MIUI Possible, but has limitations: 🔄 Through Recovery: Download the desired version of the firmware from the official website and run through TWRP. ⚠️ Restriction: On new devices (Xiaomi) 13, Redmi Note 12) Recoiling is blocked by anti-rollback policy. 📱 Alternative: Install custom firmware based on Android 12/13 (Before rolling back, check the firmware compatibility with your model in the forum. 4PDA.
❓ How to remove the owner’s name from the lock screen?
The owner name is usually added through: → Lock screen → Owner information (disable this item) Sync with Mi Account (check Settings) → Accounts. → Mi Account. → Contact app - delete your card from "My business card." If your name is still there, use it ADB-Adb shell settings put global owner_info ""