How to remove text messages from the lock screen on Xiaomi: all ways

Xiaomiโ€™s lock screen is not only about protecting your data, itโ€™s also about opening a window to your personal communications. Sensitive messages, instant messaging notifications, or SMS can be displayed directly on a locked screen, making them accessible to prying eyes, and this is especially true in public, at work, or when your phone is on the table with a screen up.

Many users of Redmi, POCO, and Xiaomiโ€™s lineup are faced with the fact that even after setting up notifications, text messages continue to appear, the reason lies in the multi-level MIUI/HyperOS privacy system, where settings are duplicated in several menus, and in this article we will discuss all the working ways to hide the content of notifications, from basic to hidden firmware functions.

Important: the instructions are relevant for MIUI 12/13/14 and the new HyperOS (including global and Chinese versions).If you have custom firmware (e.g. PixelExperience or LineageOS), some methods may not work - manual editing of system files is required.

1. Basic notification settings in MIUI/HyperOS

The first step is to check the standard privacy settings, and in most cases, it is enough to disable the content of notifications on the locked screen through the settings menu.

Open Settings โ†’ Notifications and Status bar โ†’ Notifications on the lock screen. Here you will see three options:

  • ๐Ÿ“ฑ Show everything โ€“ App icons and text messages are displayed (by default).
  • ๐Ÿ”’ Hide the content of notifications โ€“ only application icons without text are shown.
  • ๐Ÿšซ Do not show notifications โ€“ the lock screen is completely clean.

Select the second option (Hide content) if you want to see only messenger icons without text. The third option (Do not show) will radically remove all notifications, which is not always convenient - you will not even see missed calls.

โš ๏ธ Note: On some models (Xiaomi) 12T, Redmi Note 11 Pro+) After upgrading to HyperOS, this section may be called Settings. โ†’ Annexes โ†’ Notifications โ†’ Lock screen. The path depends on the version of the shell.

If the text of the messages is still visible after changing the settings, proceed to the next method - the problem lies in the individual permissions of the applications.

๐Ÿ“Š What kind of shell your Xiaomi uses?
MIUI 12/13
MIUI 14
HyperOS
Custom firmware
I don't know.

2. Set up notifications for individual applications

MIUI HyperOS allows you to flexibly manage notifications for each messenger or SMS-This is useful if you want to hide the text only on WhatsApp or Telegram, but leave visible notifications from banking applications.

Instructions:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Select a messenger (for example, Viber or SMS).
  3. Slip on Notifications โ†’ Notifications on the lock screen.
  4. Set the switch to Hide content or Do not show.

For SMS The path may be different: Settings โ†’ SIM-maps and mobile networks โ†’ Settings SMS โ†’ Notifications on the lock screen. Here also select Hide text.

Disabled text display in general lock screen settings|

Checked individual settings for each messenger |

Notifications are set up for SMS-client|

Rebooted smartphone to apply changes-->

If the text of the messages continues to be displayed after these manipulations, the problem may be related to the permissions for system applications or features of a particular model. For example, on the POCO F5 and Xiaomi 13 Ultra, a bug sometimes occurs when the settings are reset after the update.

3. Hidden privacy settings (for power users)

MIUI and HyperOS have hidden options that don't show up in the standard menu, but are managed through developer settings or special commands.

First, activate the developer mode:

  1. Go to Settings. โ†’ The phone.
  2. Tap 7 times on the MIUI version (or HyperOS version).
  3. Enter a password/pattern lock if required.

Now open Settings โ†’ More โ†’ For developers and find the Notifications section. Here two options can be useful:

  • ๐Ÿ”ง Disable notifications on the lock screen - complete disconnection (analogue of the third item in the basic settings).
  • ๐Ÿ” Hide sensitive content of notifications โ€“ masks text messages with stars or empty fields.

Some firmware (e.g. Xiaomi.eu) has an option in the developer menu. force_hide_notification_content โ€” Enabling it forcibly hides the text of notifications even for system applications.

โš ๏ธ Note: Changing the settings in the developer mode may lead to unstable notifications. force_hide... no notifications from banking applications, return the setting to the original state.

What to do if there is no โ€œDevelopersโ€ item?
If so, 7 tap-up MIUI/HyperOS The developer menu is not available, try it: 1. Reboot the phone. 2. Check if the menu is hidden through the search in the settings (enter "for developers"). 3. On some models (Redmi) 9A, POCO M3) The path may be: Settings โ†’ System system โ†’ Additionally. โ†’ For developers

4.Use of third-party applications to block notifications

If the system settings don't work, you can use third-party utilities, which are basically intercepting notifications and modifying them before they're displayed.

Top.-3 appendices:

AnnexFunctionsConsReference
Notification History LogHiding text, keeping a notification logRequires root or ADBGoogle Play
Hide Notification ContentMasking text with stars, works without rootPlugins for some messengers paidGoogle Play
AutoNotification (Tasker)Full control over notifications (requires skills)Tough setupGoogle Play

Most of these applications will require permission to access notifications (Settings โ†’ Applications โ†’ Special Access โ†’ Access to Notifications). Some utilities (such as Notification History Log) also request super-user rights (root), which is not secure on an everyday device.

๐Ÿ’ก

Before installing third-party notification management apps, check the reviews from the past month โ€“ some utilities may contain advertising modules or collect data.

5. Radical Methods: Disabling Notifications Through ADB

If none of the above methods worked, you can edit system parameters directly via Android Debug Bridge (ADB), which is suitable for advanced users and requires connecting the phone to a computer.

Instructions:

  1. Install. ADB-PC drivers.
  2. Activate debugging over USB in the developer settings.
  3. Connect your phone to your computer and execute: adb shell settings put global hide_notification_content 1
  4. Reset the device.

To get it back, use the command:

adb shell settings put global hide_notification_content 0

Some firmware (such as HyperOS for Xiaomi 14) may require additional commands:

adb shell settings put secure lock_screen_allow_private_notifications 0

โš ๏ธ Attention: Misuse of the right ADB If notifications stop coming after executing commands, reset settings via adb shell settings reset global (application data will not be affected).

๐Ÿ’ก

ADB-commands are the most reliable way to hide the text of notifications, but it requires technical skills. For beginners, it is better to limit yourself to system settings or third-party applications.

6. Features for different Xiaomi models

MIUI and HyperOS firmware have model-dependent bugs that may cause notification settings to malfunction. Here is a list of known problems and solutions:

  • ๐Ÿ“ฑ Xiaomi 11T/12T: After upgrading to HyperOS, the notification settings for Telegram are reset.
  • ๐Ÿ“ฑ Redmi Note 10 Pro: In the global version MIUI 13 no clause "Hide contents" for SMS. Bypass: Use Google Messages instead of the standard SMS-client.
  • ๐Ÿ“ฑ POCO F3/F4: The lock screen can duplicate notifications. The solution is to disable Settings. โ†’ Lock screen โ†’ Double notifications.
  • ๐Ÿ“ฑ Xiaomi Mi A3 (Android One: It only works here ADB-method, since there are no branded settings MIUI.

If your model didnโ€™t make the list, but the problem persists, try resetting notification settings through Settings โ†’ Apps โ†’ Resetting app settings. This wonโ€™t delete the data, but will return all permissions to factory.

7. Alternative ways to protect confidentiality

In addition to hiding the text of notifications, you can use additional security measures:

  • ๐Ÿ” Disable notifications on the lock screen for sensitive applications (banks, instant messengers with the help of the user) 2FA).
  • ๐Ÿ“ฑ Use Incognito Mode for notifications (available in HyperOS via Settings) โ†’ Confidentiality).
  • ๐Ÿ”„ Set up automatic notification hiding after 5 seconds (Settings) โ†’ Lock screen โ†’ Notification timer).
  • ๐Ÿ›ก๏ธ Install a third-party screen blocker (e.g. AcDisplay or Always On) AMOLED).

For maximum privacy, combine several methods, such as hiding the text of notifications through system settings and additionally installing the Notification History Log app to mask sensitive data.

FAQ: Frequent questions

Why is the text of the messages visible again after the HyperOS update?
HyperOS resets some privacy settings when you first run.You need to reset notifications through Settings โ†’ Annexes โ†’ Notifications โ†’ Lock screen. If the problem persists, use it. ADB-section 5.
Can you hide notifications for a specific contact?
Yes, but only in some messengers: WhatsApp: Open chat โ†’ Tap on the contact name โ†’ Notifications โ†’ Showing notifications โ†’ Telegram: Click on the chat โ†’ โ‹ฎ โ†’ Turn off notifications or Quiet mode. SMS No such function โ€“ you will have to hide all notifications from the Messages application.
Hiding the text works, but the lock screen still shows who the message is from. How do you remove it?
That's a limitation. MIUI/HyperOS โ€” Even when the text is hidden, the name of the sender is displayed (for example, the name of the sender is displayed). SMS) You can only completely remove this information by disabling notifications for the entire application. ADB-Adb shell settings put global hide_notification_icon 1 (Note that the second method may disrupt some system notifications (e.g. low battery charge).
There's no "Notifications on the Lock Screen" option on the POCO X3 Pro. What do you do?
In some models POCO This section is hidden. Try: Update the firmware to the latest version. Search in settings (enter "Notification Lock Screen"). Install an alternative launcher (e.g. Nova Launcher) that has its own notification settings. If nothing works, it's all you have to do. ADB-method.
Will notifying hide work if your phone is unlocked with a fingerprint?
Yes, the notification privacy settings are valid regardless of the way you unlock (PIN, pattern lock, fingerprint or Face ID) text messages will not be displayed until the screen is fully unlocked.