How to add a search bar to the desktop of Xiaomi smartphone: all ways

Why Xiaomi doesn’t have a default search bar and how to get it back

Have you just updated your MIUI firmware or bought a new Xiaomi/Redmi/POCO smartphone and suddenly lost your search bar on your desktop? or has it never been displayed, but is it convenient to search for apps and information directly from the home screen? This problem is typical for many users, especially after transitions between shell versions (for example, from MIUI 12 to MIUI 14).

In this article, we’ll look at 5 proven ways to get your search bar back to your desktop, from standard Google and Mi Search widgets to custom launcher workarounds. All of the methods are tested on current versions of MIUI 13-15 and work on most models: Xiaomi 13/14 series, Redmi Note 12/13 Pro, POCO F5/X5 and even Black Shark. Importantly, some methods require permission to install from unknown sources, but we’ll explain in detail how to do this safely.

Before you start, check out two key points:

  • πŸ“± Version MIUI: Go to Settings β†’ About Phone β†’ Version MIUI. If you have MIUI 12.5 or older, all the methods below will work.
  • πŸ” Current Launcher: Xiaomi defaults to either the POCO Launcher (for the POCO line) or the MIUI Launcher. You can find it by holding your finger in the free desktop space β€” if a menu says β€œStartup Settings” appears, it’s a standard interface.
πŸ“Š What kind of launcher are you using on Xiaomi?
Standard MIUI Launcher
POCO Launcher
Nova Launcher
Another custom
I don't know.

Method 1: Adding a Google Search widget (the easiest method)

If you want a classic Google search bar (like on pure Android), this one works best: it works on all Xiaomi models, regardless of the MIUI version, and does not require superuser rights.

Instructions:

  1. Press your finger on the free space of the desktop (where there are no icons).
  2. In the menu that appears, select Widgets (or Widgets in English firmware).
  3. Scroll down to the Google section (the G color logo icon).
  4. Select the Search widget (usually the first one on the list) and drag it to the desktop.
  5. Let go of your finger, and the search bar will appear on the screen, and if necessary, you can stretch it out across the width by pulling the edges.

If the Google widget is not listed, the app is disabled or removed.

  1. Open Settings β†’ Applications β†’ Application Management.
  2. In the search bar, type Google.
  3. Click on the app, then select Enable (if disabled) or Install (if removed, there will be a redirect to the Play Market).

Make sure that the Google app is installed|Check the Internet connection|Free up space on the desktop|Update Google Play Services (if notified)-->

⚠️ Warning: Some firmware for Redmi and POCO (especially for the Chinese market) may not have a Google widget even after installing the app.

Method 2: Use the built-in Mi Search widget (for Chinese firmware)

If you have global firmware (e.g. MIUI Global or EEA), this may not work – the Mi Search widget is usually only available in Chinese versions (MIUI China), but it can be manually activated even on non-Chinese builds, if you follow our instructions.

How to add Mi Search to your desktop:

  1. Press your finger on the desktop and select Widgets.
  2. Find the Mi Search section, if it's not there, skip this step and read on.
  3. Drag the Search widget onto the screen. It can be called Quick Search or Smart Search.
  4. Customize the widget size (options are available: small square, long line or full-screen block).

If Mi Search is not in the list of widgets, try to enable it through the settings:

  1. Open Settings β†’ Applications β†’ Application Management.
  2. Find Mi Search (or Quick Search) in the list.
  3. Click Enable, then Reset (if the option is active).
  4. Restart the phone and try adding the widget again.
Xiaomi modelSupport for Mi SearchNotes
Xiaomi 13/13 ProYes (on Chinese firmware)The global version requires manual activation.
Redmi Note 12 Pro+Yes.The widget can be called Quick Search.
POCO F5Partially.It only works after resetting the launcher settings.
Black Shark 5No.Use Method 1 or Method 4

⚠️ Warning: On some models (POCO X3 Pro, Redmi 10C), the Mi Search widget may conflict with Google Discover. If the search bar fails after adding, disable Discover in the launcher settings (Home Screen β†’ Settings β†’ Discover).

Method 3: Configure search via POCO Launcher (for POCO devices)

POCO line devices (e.g., POCO X5 Pro, POCO F4 GT) use the proprietary POCO Launcher, which has its own search settings. Unlike the standard MIUI Launcher, here the search bar can be embedded in the dock panel (bottom of the screen) or added as a separate widget.

How to set up a search in POCO Launcher:

  1. Press your finger on your desktop and select Launcher Settings (or POCO Launcher Settings).
  2. Go to the Dock Panel section.
  3. Activate the option to show search bar.
  4. Select the search type: πŸ” Google Search is a classic string from Google. πŸ“± App Search is a search only for installed applications. 🌐 Web & App Search is a combined search (web + applications).

Save the settings and go back to the desktop – the search bar will appear in the dock panel.

If the line does not appear, try resetting the launcher settings:

  1. Open the launcher settings β†’ Additional β†’ Reset the settings.
  2. Confirm the action and restart the phone.
  3. Repeat the steps to add the search bar.

πŸ’‘

If you don’t like the location of the line in the docking panel, you can move it to the desktop: pinch the Search widget in the dock and drag it up to the vacant space.

If standard methods have not worked (for example, on Black Shark or custom firmware), the best solution is to install an alternative launcher.

  • πŸ† Nova Launcher supports Google Search, Sesame Search and custom search bars.
  • 🎨 Action Launcher – has a built-in search bar with support for Google Assistant.
  • ⚑ Lawnchair is a lightweight open source launcher with Google Feed integration.
  • πŸ” Microsoft Launcher – offers search from Bing with Office 365 integration.

Instructions for installing Nova Launcher (for example):

  1. Download Nova Launcher from Play Market.
  2. After installation, click Home and select Nova Launcher as the default launcher.
  3. Press your finger on your desktop β†’ Widgets β†’ find Google or Nova Google Search.
  4. Drag the widget onto the screen and adjust its size.

Advantages of third-party launchers:

  • πŸ”§ Flexible configuration of the look of the search bar (color, transparency, animations).
  • πŸ” Support for alternative search engines (DuckDuckGo, Bing, Yandex).
  • πŸ“± Ability to link search to a gesture (e.g., swipe down on the desktop).

⚠️ Attention: Some features of MIUI are disabled when using third-party launchers, such as πŸ“± Super Wallpapers (animated wallpapers). πŸ”‹ Battery optimization for launcher (charge consumption may increase). πŸ”” Desktop weather notifications. To return a standard launcher, go to Settings β†’ Applications β†’ Default β†’ Launcher and select MIUI Launcher.

How to get Super Wallpapers back on a third-party launcher?
This will require you to install the MIUI Super Wallpapers Port module via Magisk (root rights required). Instruction: Install Magisk and get root. Download the MIUI_Super_Wallpapers_XXX.zip module (search for the current version on XDA Developers). Install the module via Magisk and restart the phone. In the launcher settings (Nova/Action, select wallpapers from Wallpapers. Attention: Not all animated wallpapers will work correctly on non-standard launchers!

Method 5: Manually create a search shortcut (for power users)

If you don't have widgets and you don't want to install a third-party launcher, you can create a shortcut for quick manual search, which works on any firmware, but requires ADB or special applications.

Option 1: Activity Launcher (without root):

  1. Install Activity Launcher from Play Market.
  2. Open the app and search in the Google or Mi Search list.
  3. Deploy the Activities list and find: For Google Search:.search.SearchActivity. For Mi Search:.search.MainActivity.

Press the desired activity and drag it to the desktop as a shortcut.

Option 2: Through ADB (for advanced users):

If you are familiar with ADB, you can create a search shortcut by the command:

adb shell am start -n com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.OpaActivity

To put this label on the desktop:

  1. Connect your phone to your PC and activate Debugging via USB (Settings β†’ About Phone β†’ MIUI Version β†’ 7 times click on the version, then Developer Settings β†’ Debugging via USB).
  2. Run the command above at the ADB terminal.
  3. After opening Google search, press the app icon in the multitasking bar and drag it to your desktop.

πŸ’‘

The ADB method is only suitable for advanced users. Incorrect use of commands can lead to system failures!

Problem Solving: Why the Search String Doesn't Work

Even after you successfully add a widget, the search bar may not open, fail, or disappear after you reboot.

Problem.Possible causeDecision
No widget added (gray icon)Search app disabledInclude Google or Mi Search in Settings β†’
Search opens but doesn't searchNo Internet connection.Check your mobile data or Wi-Fi, turn off VPN
The line disappears after the updateResetting launcher settingsAdd the widget again or reset the launcher settings
Search only works on applicationsRestrictions of regional firmwareInstall Google Go or change the region in the settings

If the search bar disappears after a reboot, try:

  • πŸ”„ Reset the launcher settings (launcher settings β†’ Reset).
  • πŸ“΅ Disable battery optimization for launcher (Settings β†’ Battery β†’ Optimization β†’ Find Launcher β†’ No Limits).
  • πŸ”§ Install an update for Google Play Services (Play Market β†’ My Apps β†’ Update).

On MIUI firmware for the Chinese market (CN), Google's search bar can be blocked by the system, the only solution being to install global firmware or use a VPN with a US/Europe region when adding a widget.

FAQ: Frequent questions about the search bar on Xiaomi

Can I add a search bar to a locked screen?
No, there is no widget support on the MIUI lock screen, including the search bar. However, you can use voice search: Activate Google Assistant (Settings β†’ Google β†’ Assistant Settings). Say Okay, Google or press the Home button to call a voice search. Some models (Xiaomi 13 Ultra) have a double-touch gesture on the lock screen for quick search (configured in Settings β†’ Lock Screen β†’ Gestures).
Why did the search bar disappear after the MIUI update?
This is a typical problem when switching to a new version of MIUI (e.g., from MIUI 13 to MIUI 14). Reasons: πŸ”„ Resetting the launcher settings after the update. πŸ“± Removing Google widgets in new firmware (especially on Chinese builds). πŸ”§ Changing Xiaomi's default policy (e.g., replacing Google Search with Mi Search). Solution: Add the widget again according to the instructions from Method 1 or Method 2. If the string does not appear, try rolling back the launcher to the previous version via APKMirror.
How to change the default search engine in line on Xiaomi?
If you have added a Google Search widget but want to use DuckDuckGo, Yandex or Bing, do this: Open Google App. Click on Profile Avatar β†’ Settings β†’ General β†’ Search Engine. Select the search engine you want from the list. For Mi Search, changing the search engine is impossible – it always uses Bing (on Chinese firmware) or Google (on global ones).
Can I move the search bar to the notification bar?
No, there is no such feature in standard MIUI firmware. However, you can use a workaround: Install the Search Box app. In the app settings, select Show in the notification bar. Allow notifications (Settings β†’ Applications β†’ Search Box β†’ Notifications β†’ Enable). After that, a quick search button will appear in the notification bar. Click on it to open the search bar.
Why does the keyboard appear in Chinese when you type in the search bar?
This happens on MIUI China firmware, where the default keyboard is Baidu or Sogou. To fix: Install Gboard (Google keyboard) from Play Market. Go to Settings β†’ Additional β†’ Language and Input β†’ Current Keyboard. Select Gboard and disable Chinese keyboards. If Gboard is not installed, download APK from APKMirror and install manually, allowing installation from unknown sources.