Notifications from WhatsApp on the lock screen or in the status bar of Xiaomi can be a source of embarrassing situations β especially if you have colleagues, relatives or just curious eyes. Even the short text of a message sometimes gives more than you would like, from personal conversations to work secrets. Fortunately, MIUI offers several layers of privacy protection, and WhatsApp itself has built-in tools to hide the content of notifications.
In this article, we will discuss 5 working ways to hide the text of WhatsApp notifications on Xiaomi, Redmi, POCO and Black Shark smartphones β from basic MIUI settings to advanced tricks with ADB. All methods are tested on current firmware versions (MIUI 12-14) and work independently of the device model.
- π Hide the text of notifications on the lock screen and in the notification panel
- π± Disable WhatsApp-only previews, leaving other notifications visible
- π οΈ Use hidden functions MIUI, Which 90% of users donβt know
- π§ Set up ADB-commands to control notifications (for advanced ones)
Important: Some of the methods require unlocking the bootloader or developer rights, and if you're a beginner, start with the first three methods, which don't require technical skills.
1. Hiding the text of notifications through WhatsApp settings
The easiest way is to take advantage of WhatsAppβs built-in privacy settings, which work on all smartphones, including Xiaomi, and does not require changing system settings.
Open WhatsApp and go to the: βοΈ Settings β Notifications β Notification tone. Here you're interested in two parameters:
- πΉ "Show notifications" - disable this switch if you want to completely hide notifications (but then you won't even see the fact of a new message).
- πΉ "Display text messages" is the main parameter for hiding content. Turn it off, and notifications will only show the sender's name and WhatsApp icon, but not the text.
β οΈ Warning: Once you disable "Show text messages," you'll still see the number of unread messages in the app icon. To hide this, you'll need to adjust the number of unread messages in the app icon. MIUI (see section 3).
Open Settings β Notifications
Disable "Show text messages"
Check if the text is hidden in the notification panel
Reboot your smartphone (optional)-->
2. privacy setting in MIUI (for lock screen)
MIUI allows you to flexibly manage what data is displayed on the lock screen, not only WhatsApp, but also other messengers, to hide the text of notifications on the locked screen:
Move to the: βοΈ Settings β Lock screen β Lock screen style β Notification settings.
Here you will see three options for displaying notifications:
| Regime. | What shows | Is it good for WhatsApp? |
|---|---|---|
| Showing everything | The name of the sender + the full text of the message | β No. |
| Hide the contents | Only the sender name and the app icon | β Yes (recommended) |
| Notify us not to show notices | Nothing's showing up. | β οΈ Only if you need a complete cover-up. |
Select βHide Contentβ β the optimal balance between privacy and convenience β and now the lock screen will only display the WhatsApp icon and the contact name (such as βMamaβ or βWorkβ), but not the text of the message itself.
π‘
If you have Xiaomi with Always-on Display (AOD), check the notification display settings there too. Often they duplicate lock screen settings, but can work independently.
3. Advanced notification settings in MIUI (by app)
If you need to hide the text of WhatsApp-only notifications, leaving other messengers (such as Telegram or Viber) visible, use the applicationβs customized settings in MIUI.
Do the following: βοΈ Settings β Annexes β Application management β WhatsApp β Notifications.
On this menu:
- π΅ Turn off the "Show on the Lock Screen" switch if you want to hide notifications completely.
- π Enable βHide Notification Contentβ is the same as the setting in Section 2, but only for WhatsApp.
- π In the Sound section, you can turn off the audible alert if you want a complete cover-up (but then you risk missing important messages).
β οΈ Attention: On some firmware MIUI (particularly POCO And Black Shark, the way you go to settings may be different. If you don't find "App Management," try it: βοΈ Settings β Annexes β WhatsApp β Notifications.
What to do if there is no item "Hide the contents of notifications"?
4.Use of the "Privacy" mode (for MIUI 13 and later)
Starting with MIUI 13, Xiaomi has added a special privacy mode that automatically hides the content of notifications for all apps on the lock screen.This is handy if you want to protect not only WhatsApp, but other messengers as well.
You can activate the mode like this: βοΈ Settings β Confidentiality β Confidentiality regime.
After inclusion:
- π The lock screen will only display app icons and the number of notifications (e.g., "WhatsApp: 3 new ones").
- π± In the notification panel, the text of messages will remain visible (if not hidden in WhatsApp settings).
- π The mode works automatically and does not require manual adjustment for each application.
The downside of this is that it hides notifications from all apps, not just WhatsApp. If you want selective hiding, combine this mode with the settings from Section 3.
π‘
The privacy mode in MIUI 13+ is the fastest way to hide notifications for all instant messengers at once, but it doesnβt replace custom settings for WhatsApp.
5. Hiding notifications via ADB (for advanced users)
If standard methods do not work (for example, on custom firmware or older versions) MIUI), take advantage ADB-This requires you to connect your smartphone to your computer and enable debugging. USB.
β οΈ Attention: Misuse of the right ADB You can disrupt the system. Follow the instructions carefully and do not change other parameters.
Steps:
- Enable the developer mode on Xiaomi: βοΈ Settings β The phone. β Version. MIUI (press 7 times).
- Activate debugging on USB: βοΈ Settings β Additionally. β For developers β Debugging by USB.
- Connect your smartphone to your PC and execute the command in ADB: adb shell settings put global hidden_notification_contents 1 This command hides the contents of all notifications on the lock screen.
- To return the standard display, use: adb shell settings put global hidden_notification_contents 0
If you want to hide WhatsApp notifications only, use the command:
adb shell cmd notification allow_channel com.whatsapp -c messages 0Where messages is the identifier of the WhatsApp notification channel.
adb shell dumpsys notificationLook for the line with com.whatsapp and the channel list).-->
6. Alternative methods: third-party applications and launchers
If none of these methods work, you can use third-party solutions, which are useful on devices with outdated versions of MIUI or custom firmware.
Popular options:
- π² Nova Launcher β allows you to configure the display of notifications on the home screen, including hiding text.
- π Notisave β saves notifications in encrypted form and hides them from prying eyes.
- π‘οΈ AppLock β blocks access to WhatsApp by password, but does not hide notifications (additional protection).
β οΈ Note: Third-party notification hider apps may request notification access permissions. Check developer reputation and reviews on Google Play before installing.
For maximum privacy, combine these apps with the MIUI settings from the previous sections, for example, you can hide the text of notifications through Nova Launcher and further block WhatsApp with a password in AppLock.