How to remove messages from the lock screen on Xiaomi: 5 working ways

Xiaomiโ€™s smartphone lock screen defaults to incoming notifications, from SMS and messengers to system alerts. Itโ€™s convenient for some users, but uncomfortable for others: sensitive information can catch the eye of outsiders, and the constant flashing of the screen drains the battery. Fortunately, MIUI offers multiple levels of privacy settings, from completely hiding notifications to selectively turning off for individual applications.

In this article, we will discuss all the current ways to hide messages on a locked screen, including the little-known features of MIUI 14 and workarounds for older versions of firmware. We will pay special attention to configuring Sensitive Content in MIUI 13+, a feature that automatically hides notifications with personal data (phone numbers, confirmation codes, etc.).

1. Completely disabling notifications on the lock screen

The most radical way is to completely ban notifications from the locked screen, which is for those who value privacy over convenience. MIUI 12-14 has the same path to setup, but newer versions have added additional options.

To disable the display:

  1. Open Settings โ†’ Notifications and Status bar
  2. Select Notifications on the lock screen
  3. Activate the option to not show notifications (older versions may call Hide Notification Content)

Once the changes are applied, the lock screen will be clean โ€” no message text or app icons. Please note: this does not turn off the notifications themselves, they will still come into the curtain and on the main screen after unlocking.

๐Ÿ“Š What version? MIUI use?
MIUI 14
MIUI 13
MIUI 12
Older version (MIUI 11 or lower)

โš ๏ธ Note: Some Redmi models (e.g. Redmi Note 10 Pro) after upgrading to MIUI 13.5+ This parameter can be reset. To fix the settings, after you change, restart the device.

2. Hiding the contents of notifications (without disabling icons)

If you want to see that a new message has arrived but you donโ€™t want to show its content, use the hidden text mode, in which case the lock screen will only display the icons of the applications (for example, WhatsApp or Telegram), but not the text itself.

Algorithm of settings:

  1. Go to Settings โ†’ Notifications โ†’ Notifications on the lock screen
  2. Select Show notification icons (in MIUI 14 may be called Hide the Contents)
  3. Enable Hide Sensitive Content (available with MIUI 13)

This method is especially useful for instant messengers: you will see that a message has arrived in Viber, but its text will only be revealed after unlocking. On the Xiaomi 13 Pro and new flagships, this feature works together with the Always On Display without conflicting with its display.

๐Ÿ’ก

If you still have text after you set up the notification, check the security permissions in Settings โ†’ Apps โ†’ Permissions โ†’ Special Rights. Sometimes, resetting the rights causes privacy issues.

3. Selective disabling of notifications for individual applications

Not all notifications are equally important, for example, you can hide alerts from games or news apps, leaving only messages from messengers visible, and in MIUI, this is implemented through the individual settings of each application.

How to set up:

  1. Open Settings โ†’ Applications โ†’ Application Management
  2. Select the app you want (such as Facebook or AliExpress)
  3. Go to the Notifications section
  4. Turn off the slider Show on the lock screen or select Hide content

For convenience, you can use the filter by category:

  • ๐Ÿ“ฑ Social networks: Instagram, TikTok, VKontakte
  • ๐Ÿ’ฌ Messengers: Telegram, WhatsApp, Viber
  • ๐ŸŽฎ Games: PUBG Mobile, Genshin Impact, Clash Royale
  • ๐Ÿ“ฐ News: Yandex.News, Google News, Meduza

Selected all unnecessary applications|For messengers left "Show icons"|Notification rights do not conflict with other settings|Checked display after rebooting-->

4.Setting up Sensitive Content in MIUI 13 and later

With the release of MIUI 13, Xiaomi added an automatic concealment feature for sensitive notifications, which analyzes the text of the alert and hides it if it finds:

  • ๐Ÿ”ข Confirmation codes (SMS from banks, social media)
  • ๐Ÿ’ณ Card or account numbers
  • ๐Ÿ“ž Phone numbers in messages
  • ๐Ÿ”‘ Passwords and tokens (e.g. from Google Authenticator)

To activate:

  1. Go to Settings โ†’ Notifications โ†’ Additional
  2. Find Sensitive Content (in English firmware - Sensitive Content)
  3. Turn on the slider and select the concealment level: Always Hide or Hide in public places (determined by geolocation)

The feature works at the system level and does not depend on the settings of individual applications, but it can conflict with some messengers (for example, Signal), which have their own mechanisms for encrypting notifications.

How to check the function
Send yourself a test SMS with the text "Your confirmation code: 123456." If the lock screen only shows "New message from [number]" and the code itself is hidden, the function works correctly.

5.Use of Do Not Disturb mode for temporary concealment

If you only need to hide notifications at certain times (such as during a meeting or while you sleep), use Do Not Disturb (DND) mode. Unlike a complete shutdown, you can flexibly configure:

  • โฐ Schedule (daily from 23:00 to 8:00)
  • ๐Ÿ“ต Exceptions (allow calls from selected contacts)
  • ๐Ÿ”” Type of notifications (to hide only sounds or icons too)

Setting:

  1. Go to Settings โ†’ Sound and vibration โ†’ Do not disturb
  2. Activate the mode and set the rules in the table below
ParameterRecommended valueExplanation
Schedule22:00โ€“7:00Standard sleep time for most users
Repeated callsIncluded.If one number calls 2 times within 3 minutes, the signal will sound.
Hide notificationsYes.Remove the icons from the lock screen
Contact exemptionsElectedCalls from important people will be made
Event alertsOff.Disables meeting reminders on the calendar

Do Not Disturb mode can be quickly activated via the Quick Settings Panel (swipe down from the top edge of the screen).The Xiaomi 12T and new models have a separate button for a temporary turn on for 1 hour.

โš ๏ธ Attention: B MIUI 14 When activating Do Not Disturb Schedule, all visual notifications, including the AED display, automatically turn off. To leave the clock on the screen, select Allow Always On Display in the mode settings.

6. bypasses for older versions of MIUI (up to 12th)

On devices with MIUI 11 and below, the notification settings interface is very different. There is no Sensitive Content feature, and some options are hidden deeper. If your Redmi 5 Plus or Mi A2 is still running on the old firmware, use these methods:

Method 1: Through Security Settings

  1. Open the Security app (shield icon)
  2. Go to Privacy โ†’ Notifications on the lock screen
  3. Choose Hide the Content of Notifications

Method 2: Through ADB-Teams (for advanced teams)

If the system settings do not work, you can manually turn off the display via ADB:

adb shell settings put global lock_screen_show_notifications 0

To get back:

adb shell settings put global lock_screen_show_notifications 1

This will require:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB-driver
  • ๐Ÿ”Œ Included Debugging by USB phone-on
  • ๐Ÿ“ฑ Connection by cable (Wi-Fi) ADB This team is not supported by this team)

๐Ÿ’ก

On devices with MIUI 10 and below after use ADB-commands need to restart the phone, otherwise the settings will not take effect.

7.Why settings are reset and how to fix it

Many Xiaomi users face a problem: after a system update or device reboot, the notification settings on the lock screen are reset, which is due to the peculiarities of MIUI Optimization, a system process that resets some parameters to default values.

Decisions:

  1. Turn off MIUI optimization (requires developer rights): Activate Developer Mode (7 taps by build number in Settings โ†’ About phone) Return to Settings โ†’ Additional โ†’ For developers Find MIUI Optimization and turn it off
  2. Use Automate or Tasker to automatically apply settings after a reboot. Tasker task example: Profile: Device boot Task: 1. ADB Command: settings put global lock_screen_show_notifications 0 2. Wait. 5 seconds 3. Reset the interface (action: com.android.settings/.MiuiSettings)
  3. Install an alternative launcher (like Nova Launcher) that has its own notification settings that are not dependent on MIUI.

On the Poco F3 and other devices with a โ€œcleanโ€ Android (such as the Mi A3), the problem is less common, as it uses the standard notification manager from Google.

8 Additional security measures

In addition to hiding notifications, consider additional privacy protection measures on Xiaomi:

  • ๐Ÿ”’ Encrypting the device: Settings โ†’ Additionally. โ†’ Encryption and credentials. Encrypted data won't be available even when you connect your phone to your computer.
  • ๐Ÿ‘ค Hidden annexes: B MIUI You can hide applications from prying eyes through Settings โ†’ Annexes โ†’ Hide apps. They won't show up in menus and search.
  • ๐Ÿ“ฑ Second Space: Dual Applications (c Settings) โ†’ Special features) allows you to create a separate work profile with other notification settings.
  • ๐Ÿ›ก๏ธ Blocking apps: Set a password for individual messengers through Settings โ†’ Confidentiality โ†’ Application lockdown.

The Xiaomi 13 Ultra and 2023 flagships have hardware protection, a security chip that encrypts notifications at the iron level, but even on budget models (like the Redmi 10C), you can achieve high levels of privacy with the right settings.

๐Ÿ’ก

The combination of hiding notifications on the lock screen + locking applications with a password gives maximum protection against unauthorized access.

FAQ: Frequent questions

Can you hide notifications only for certain contacts?
There is no such feature in standard MIUI settings, but you can: Create a separate group in the messenger (like "Work") and disable notifications for it; use applications like Truecaller that allow you to filter SMS by sender; and MIUI 14 in beta tests the "Priority Contacts" feature, which can appear in stable builds.
Why did the notification settings disappear after the MIUI 14 update?
This is a well-known problem related to settings migration. Solutions: Reset the Security app settings in Settings โ†’ Apps โ†’ Application management โ†’ Security โ†’ Warehouse โ†’ Clear data. Install manual firmware via MIUI bootloader (power users only). If the problem persists, contact Xiaomi support with logs (collect through Settings โ†’ Phone โ†’ Error Report).
How to hide notifications on Always On Display (AOD)
AOD setting is separate from the main notifications. To hide: Go to Settings โ†’ Display โ†’ Always On Display. Turn off the Slider to Show Notifications. Select the style of the non-alert watch (e.g., Dial instead of Notification Dial). On Xiaomi 12S Ultra and new models, you can configure notifications to display only when the phone is lifted.
Will notifications from system applications (e.g., โ€œSecurityโ€) be hidden?
No, system alerts (updates, virus alerts, etc.) always show up on the lock screen, even if you have disabled all other notifications. This is done to keep the device safe. To reduce the number of alerts: Turn off automatic update checks in Settings โ†’ About Phone โ†’ System Update. Set up a scan schedule for viruses in the Security app.
Can I return the old notification settings after the MIUI update?
If you don't like the new notification management interface: Install APK-Security from old firmware (for example, with MIUI 12 on MIUI Use the Xposed Framework with module MIUI Tweaks (requires unlocked bootloader) Please note that such manipulations can lead to unstable system operation and loss of warranty.