How to hide the text of notifications on the lock screen Xiaomi

In the digital age, privacy is becoming a priority for every smartphone owner. It often happens that the device is lying on a desk in the office or lying next to the public place, and the screen suddenly lights up from the message that came in. At this point, any passerby or colleague can read the contents of the SMS, the confirmation code from the bank or the personal message from the messenger, this poses a real security threat, especially if the phone is not locked with a complex password or fingerprint at the moment.

Fortunately, the MIUI shell and Xiaomi’s new HyperOS provide flexible notification management tools. You can set the system to only display the app icon or β€œNew Notice” on a locked screen, hiding the text itself. This setup requires minimal effort but greatly improves your digital hygiene. Below we’ll take a closer look at all the ways you can restrict access to content.

It’s important to understand that settings may vary slightly depending on the version of the Android operating system and the specific model of your device, whether it’s the flagship Xiaomi 14 or the budget Redmi Note. However, the logic of the interface remains the same throughout the brand ecosystem.

Basic configuration of the content display in the system

The most direct and reliable way to hide text messages is to use the system security settings. In modern versions of Xiaomi firmware, this option is put into a separate menu, which makes data access management as convenient as possible. You do not need to install third-party applications or have superuser rights. You just need to go through several steps in the device configuration menu sequentially.

To start, open the main settings menu for your smartphone. Find a section called Notifications and Status Bar (some versions of MIUI may call it simply Notifications). This is where all the controls on how and when your device tells you about new events are concentrated.

In the menu that opens, the system will prompt you to choose one of the modes of operation. You can leave the display of full text, show only the app title or completely hide the content. Choosing the option to hide content ensures that even when you unlock the face (Face). ID) The text of the message will not appear on the screen until it is entered PIN-This is a critical nuance for protecting bank codes.

⚠️ Note: Once content concealment mode is enabled, notification curtain previews may also become unreadable until the device is unlocked. Make sure this does not cause inconvenience when using the smartphone in pocket mode or when carrying it in your bag.

If you want to control the process in more detail, you can use the advanced settings for each application separately. For example, for messengers like Telegram or WhatsApp, you can set your own rules, different from the system SMS. To do this, go to Settings β†’ Notifications and Status bar β†’ Notification Management. Select the desired application from the list and find the Hide Content switch. By activating it, you isolate the specific data source from prying eyes.

πŸ“Š How often do you block your smartphone screen?
Immediately after use
1-2 minutes.
Only when I put it in my pocket.
I'm not blocking at all.

Use of Do Not Disturb Mode and Profiles

An alternative and highly effective method is to use smartphone modes such as Do Not Disturb or user profiles, which are designed to minimize distractions, but are also great for privacy purposes. Unlike global text hiding, you can flexibly customize rules for different situations.

Do Not Disturb mode allows you to completely disable the sound, vibration and, most importantly, visual display of notifications on the locked screen. To activate this feature, lower the notification curtain and click on the corresponding icon (usually this image of the month). However, the standard mode can hide notifications completely, even after unlocking, which is not always convenient.

In the Do Not Disturb mode settings, go to Lock Behavior, and you can select Hide Notifications, in which case, while the mode is active, the lock screen will be clean and text messages will be inaccessible, ideal for meetings, cinemas or night time, when the phone is lying on the bedside table.

  • πŸŒ™ Night mode: Set up automatic text hiding from 23:00 to 07:00 so that no one will see the night messages if the phone is in the wrong hands.
  • 🎬 Movie Mode: Create a profile that hides notification content when you launch a video player or streaming app.
  • 🏒 Business hours: Use geolocation to automatically enable privacy when you are in an office or public place.

Also worth noting is the Second Space feature in MIUI, which is a unique feature that allows you to create an isolated environment in your smartphone with its own set of applications and passwords. Notifications from the applications in Second Space are never displayed on the First Space lock screen without special authorization, this is the highest level of separation of personal and work life.

πŸ’‘

Use the voice assistant to quickly switch profiles: say "Hi Xiao," followed by the "Enable Do Not Disturb" command to instantly hide all notifications without taking the phone out of your pocket.

Privacy settings for specific applications

Global settings are good, but sometimes a pinpoint approach is required. Some applications, especially social media and financial services, have their own built-in mechanisms to protect the content of notifications, and ignoring these settings can nullify all efforts to set up Android.

Consider popular messengers. Telegram needs to go to Settings β†’ Notifications and sounds. There is the Show text item. If you turn off this switch, the notification will simply say β€œMessage” without specifying the sender and text. Similar situation on WhatsApp: Settings β†’ Notifications β†’ Show notifications (uncheck) or use the β€œShow preview” feature in the privacy settings.

For banking applications, the situation is even stricter. Many banks, such as Sberbank or Tinkoff, hide transaction details by default in push notifications for security purposes. However, if you previously allowed the display of details, check the settings inside the application itself in the Security or Notifications section. There you can often find a switch to Hide balance or Hide the amount of transfer in preview.

AnnexThe path to adjustmentParameterRecommended value
TelegramSettings β†’ NotificationsShow the textOff (for concealment)
WhatsAppSettings β†’ NotificationsDisplay of notificationsOn (but without previews)
ViberSettings β†’ NotificationsShowing messagesOff
InstagramSettings β†’ NotificationsPreview screeningOff

Remember that the in-app settings take precedence over system settings in some cases. If the application itself allows text to be displayed, the system can stream it to the lock screen, even if there are general restrictions, so it is recommended that you audit the settings of each application that is important to you separately.

What to do if the settings are lost after the update?
After a major MIUI update or a HyperOS upgrade, some user preferences may be reset to factory-based. If you notice that text is visible again, check the Notifications section again. It's also worth checking the application's access rights: sometimes, after an update, the application loses the right to display over other windows or access the status bar, which can affect the notification format.

Function "Pocket mode" and proximity sensors

One of the common problems faced by Xiaomi users is the accidental switching on of the screen in your pocket or bag, at which point the notification text can be displayed, which can be read by someone who looks into your pocket. To combat this, MIUI implemented Pocket Mode, but its work depends on the correct calibration of the proximity sensor.

If the proximity sensor is not working properly (for example, due to protective glass or contamination), the system can assume that the phone is outdoors, and activate the screen when a notification arrives. To check the sensor, open the Service app (or enter the code ##6484## in the call) and run a hardware test. Make sure that when you close the top of the screen with your hand, the sensor responds instantly.

In addition, the lock screen settings have a Raise to wake feature that is very convenient but increases the risk of random notifications. If you often carry your phone in your hands or in a vibrating bag, it is better to turn it off or adjust the sensitivity. Go to Settings β†’ Lock screen and find the appropriate switch.

  • 🧼 Clean Sensor: Regularly wipe the top of the screen where the sensor is located so that fat and dust do not distort its readings.
  • πŸ›‘οΈ Protective Glasses: Make sure your protective glass does not cover the proximity sensor area located next to the front camera.
  • πŸ”§ Calibration: If problems persist, try resetting the sensor calibration through the engineering menu or specialized apps from Google Play.

⚠️ Warning: Using poor-quality security glasses with a black frame that enters the sensor area is the cause of 90% of problems with the β€œpocket set” and spontaneously turning on the screen with display notifications.

Advanced Methods: Scenarios and Automation

For users who want to gain maximum control, the MIUI shell offers a powerful tool, the Scripts app (formerly known as Mi Pilot or simply Scripts), a built-in analogue of systems like Tasker, but with a simpler interface and deeper integration into the system.

With Scenarios, you can create a rule that will automatically change the notification settings depending on the conditions, for example, you can create a scenario: β€œIf you run a YouTube or Netflix app β†’ Enable Do Not Disturb and hide the contents of notifications.” or: β€œIf you have Bluetooth headphone connected β†’ Allow only calls by hiding the text of the SMS.”

It takes a couple of minutes to create a script. Open the Scripts app, press + and select a condition (trigger). Then add an action. In actions, look for categories related to Notifications or Sound Modes. You can set up automatic privacy when your phone is connected to a specific Wi-Fi (e.g., in the office) or disconnected from charging.

Example of scenario logic:


Condition: Time between 09:00 and 18:00 AND Days of the Week (Mn-Pt)




Action: Set the "Do Not Disturb" mode




Action: Hide the contents of notifications on the lock screen

The good thing about this is that it works automatically without requiring you to intervene, and you don't have to remember to switch switch switches every time you leave the house or come to work, and it will provide the necessary level of privacy.

β˜‘οΈ Checking privacy settings

Done: 0 / 1

Solving Common Problems and FAQs

Even when set up properly, users may be faced with nuances of how the system works, often because of the conflict between the settings of the app and the system itself, or the specific features of specific versions of Android, for example, Android 13 and 14 have new levels of control that can overlap the old MIUI settings.

If you have covered everything but the notifications are still lit up in full text, try clearing the Settings cache or restarting the device. Sometimes you need to re-enable the launcher app or notification system. Also make sure you don’t have Advanced Notifications enabled, which may ignore standard lock rules.

The table below provides possible reasons why the text is still visible and how to address them:

Problem.Possible causeDecision
Text is visible in some annexesInternal settings of the applicationCheck the privacy settings inside the messenger itself
Notifications disappear completelyDo Not Disturb mode is onCheck the notification curtain and turn off the mode
The screen lights up in your pocketSensor malfunctionCalibrate or replace the protective glass

Keep in mind that complete security is a set of measures. Hiding text on the lock screen is just one step. Remember to use strong passwords, two-factor authentication, and regularly update your Xiaomi, Redmi, or POCO software.

πŸ’‘

The most effective protection is achieved by a combination of system-based content hiding (through Settings) and individual settings within each important application (WhatsApp, Telegram, Banks).

Why did the MIUI update reset the text hiding settings?
When you update a major version of the shell (for example, from MIUI 13 to 14 or HyperOS), the system often updates the notifications to comply with the new Google security standards. This may result in some user preferences being reset to default values.
Can I hide the text of the notifications for only one contact?
With standard Android and MIUI tools, you can’t hide the text for just one particular contact, leaving it visible to others. The settings apply either globally to all notifications or individually to each application as a whole. However, in some messengers (such as Telegram Premium or WhatsApp), you can hide the previews for individual chats by fixing them or changing the notification settings within the dialog.
Does hiding text affect the work of smart watches?
Configuring the content on the lock screen of a smartphone does not usually affect the display of notifications on the paired smartwatch (Mi Band, Amazfit, Galaxy Watch). The watch often has its own privacy settings. If you want to hide the text on the watch, you need to find the corresponding item in the companion app (Mi Fitness, Zepp Life) in the Notifications section or in the settings of the watch itself.