Xiaomiβs MIUI 12 lock screen is not just a security feature, but a full-fledged display, and many users donβt even realize that itβs not just time and notifications, but also arbitrary text, from motivational quotes to reminders of a big deal. In this article, weβll look at all the ways you can add labels, both through standard settings and through hidden shell features.
It's important to understand that customization options vary depending on the firmware version and device model. For example, the Redmi Note 10 Pro with MIUI 12.5 Enhanced has advanced text formatting options, whereas on the budget POCO M3, some of the features can be trimmed. We tested all the methods on current versions of the software (2023-2026) and collected only working solutions.
Method 1: Standard settings through the βlock screenβ
The easiest method is to use the built-in MIUI 12 options, which can be used to add a date, owner name or short message (up to 30 characters).
- Open the Settings β Lock screen.
- Select the text of the lock screen (on some models - the signature of the lock screen).
- Activate the switch to show text.
- In the input field, specify the desired text (for example, Urgent: pay rent!).
- Press Ready and check the result by locking the screen.
Limitations of the method:
- π Maximum length of text β 30 characters (including spaces).
- π¨ No way to change the font, color or size of the inscription.
- π Text is displayed only in the lower left corner of the screen.
Updated to the latest version of MIUI 12/12.5
Is there a "lock screen text" in the settings
Are there any third-party launchers installed (they can block the function)
Have the lock screen settings been reset to factory settings (if the text is not displayed)
-->
If the item is not on the menu, your Xiaomi model does not support this feature at the firmware level, in which case, move to alternative methods (see the following sections).
Motivational citation
Reminder of the case
Name and contact for phone return
Weather information
Another option-->
Method 2: Use of the Notes widget
For owners of devices with MIUI 12.5 and later, a more flexible way is available - place text through the Notes widget.
- π Add text up to 500 characters in length.
- π¨ Choose background and font color.
- π Fix the note on the lock screen.
Instructions for setting:
- Create a new note in the Notes app (or use an existing one).
- Add the desired text and format it (greater, italics, lists).
- Click on the three dots in the upper right corner and select Secure on the lock screen.
- Confirm the action in the window that appears.
Important: The widget will only appear after unlocking the screen (at the level) PIN-Completely hidden text without unlocking it can not be added in this way - this is a security limitation. MIUI.
How to remove the widget from the lock screen?
Method 3: Customization through MIUI Themes
The MIUI 12 shell allows custom themes to be set, which may include pre-configured labels on the lock screen, a method that is suitable for those who do not want to be limited to standard options.
How to find and apply the right topic:
- Open the Themes app (icon with brush).
- Go to the Lock Screen section.
- In the search bar, enter type requests: π lock-screen π lockscreen π custom-writing
Apply
Advantages of the method:
- π¨ Unique design with animations and non-standard fonts.
- π± Compatibility with all models Xiaomi/Redmi/POCO on MIUI 12+.
- π Ability to quickly change the title by changing the subject.
π‘
Before installing the theme, check the reviews of other users β some custom solutions can conflict with system fonts and lead to display failures.
| Method | Max. length of text | Type setting | Position on the screen | Requires unlocking. |
|---|---|---|---|---|
| Standard settings | 30 characters | β No. | Lower left corner | β No. |
| The Notes widget | 500 characters | β Yeah (color, size) | Center of the screen | β Yes. |
| Castomy themes | Depends on the topic. | β Yes (full customization) | Anybody. | β No. |
| ADB-team | Unlimitedly | β Yes (through system files) | Anybody. | β No. |
Method 4: Manual editing of system files (for advanced ones)
This method requires super-user rights (root) and can lead to unstable operation of the system. Use it only if other methods do not work.
If you need to add arbitrary text to any location on the lock screen (for example, in the upper right corner or in the center), you can edit the system files framework-res.apk or miui-systemui.apk.
- Install Magisk and get root access.
- Using MT Manager or Root Explorer, find the file: /system/framework/framework-res.apk
- Take it out, find the folder. res/values/ and edit the file. strings.xml, line: <string name="lockscreen_custom_text">Your text is here.</string>
- Compile the file back and restart the device.
π‘
Editing system files without a backup can lead to a device blink. Always back up through TWRP before making changes.
Alternative for users without root:
- π± Use it. ADB Changes to the settings: adb shell settings put system lockscreen_custom_text "Your text"
- π Reset the device.
β οΈ Attention: After update MIUI All changes to the system files will be reset. You'll have to repeat the procedure after each firmware.
Method 5: Third-party applications for customization
If you don't like standard solutions, you can use Google Play apps that extend the lock screen.
- π± Always On Display (AOD) Mi - allows you to add text in the mode of always on screen (works on the screen) AMOLED-display).
- π¨ Lock Screen Widgets with custom text, weather and notifications.
- π Hi Locker β a complete replacement for the standard lockscreen with support HTML-widget.
How to customize text through Always On Display:
- Install the application and provide all necessary permissions.
- Go to the AOD settings β Text.
- Add up to 3 lines of text (each 20 characters).
- Choose the font, color and position.
- Activate Always On mode in the screen settings.
β οΈ Warning: Third-party screen locking apps may conflict with system services MIUI, Especially with Find Device. Before installing, disable the antivirus and check for compatibility reviews with your model.
Problem Solving: Why is the text not displayed?
If you have all the instructions, but the inscription on the lock screen never appeared, check the following points:
- π Reboot device: sometimes changes are only applied after rebooting.
- π± Update MIUI: older versions MIUI 12.0.3 may not have any options.
- π Third-party launchers: Nova Launcher, Hyperion, and others can block system widgets.
- π οΈ Settings reset: If text is missing after the update, try resetting the lock screen settings in Settings β System system β Resetting settings β Reset the lock screen settings.
To diagnose the problem:
- Check if the text is hidden under the interface elements (for example, under the clock).
- Turn off the Dark Theme β sometimes the text merges with the background.
- Make sure that in Settings β Battery β Power Saving Mode is not activated Ultra Mode (it turns off widgets).
How to return the standard lock screen after a crash?
Security: What can and cannot be placed on the lock screen
The lock screen is the first thing that the person who picks up your phone sees, so you should approach the text you place responsibly:
- β We can: π Reminders of important dates (birthday, meetings). π Alternative contact in case of loss of phone. π‘ Motivational citations or affirmations.
- β No: π Passwords, PIN-card-code. π Exact home address or place of work. π³ Document numbers (passport, rights).
If you make a contact to return your phone, use a second phone number or email instead of the primary one.
In case of loss, call:
+7 (XXX) XXX-XX-XX (WhatsApp/Telegram)β οΈ Attention: On the lock screen MIUI 12, the default notifications are from messengers. If you add confidential text, turn off preview notifications in Settings β Notifications β On the lock screen β Hide the contents.