How to change the desktop grid on Xiaomi smartphones: all ways

Xiaomi desktop based on the shell MIUI It offers flexible customization options, but not all users know how to make the most of screen space. By default, the system sets a standard grid with a fixed number of rows and columns, which is not always convenient – especially on devices with large displays or non-standard proportions (for example, Xiaomi Mix Fold or Redmi Note 12 Pro).+).

In this article, we will analyze all available ways to change the desktop grid: from the basic settings in the menu. MIUI to the hidden functions through ADB You'll learn how to increase the number of icons on the screen, reduce their size for better readability or, conversely, make them larger for convenience. MIUI 12 to MIUI 15) and smartphone models where settings may be hidden in non-obvious places.

Important: Some methods require unlocking the bootloader or the superuser rights (root), we will point out where you can’t do without them, and offer alternative solutions for users without technical skills.

Standard grid settings in MIUI

On most Xiaomi smartphones, including Redmi, POCO and Black Shark, basic desktop grid settings are available through the themes menu:

  1. Open the Themes app (the icon with a brush on your desktop).
  2. Go to My Screen (or Screen Settings in older versions) MIUI).
  3. Select the Desktop Settings item.
  4. Slip on the option of the desktop grid.

Here you will see the available grid options, for example:

  • πŸ“± 4Γ—5 (standard)
  • πŸ“± 4Γ—6 (lineage)
  • πŸ“± 5Γ—5 or 5Γ—6 (wide-screen)

On some devices (for example, Xiaomi 13 Ultra or other devices). POCO F5) Free grid mode can be available, allowing you to place icons and widgets in any order, but this option appears only after installing certain themes from the official store. MIUI.

⚠️ Note: On smartphones with MIUI for POCO (for example, POCO X5 Pro) the path to settings may be different.Look for the launcher settings section in the themes menu or through a long desktop tap β†’ Settings.

πŸ“Š What version? MIUI you use?
MIUI 12 or older
MIUI 13
MIUI 14
MIUI 15 (HyperOS)
I don't know.

Hidden settings through ADB (rootless)

If the standard options are not satisfied, you can change the parameters of the grid through ADB-This method works on most Xiaomi devices without the need for root rights, but requires connecting the smartphone to a computer.

You'll need:

  • πŸ’» Computer with installed drivers Xiaomi and Android SDK Platform-Tools.
  • πŸ“± Included debugging by USB on a smartphone (path: Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times to tap the assembly number β†’ return to Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ USB-cable (preferably original).

Instructions:

  1. Connect your smartphone to your PC and confirm the debugging permission.
  2. Open the command prompt (or Terminal on macOS/Linux) in the folder with the platform-tools.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Use one of the commands to change the grid (replace X and Y with the desired values): adb shell settings put secure launcher_grid_columns X adb shell settings put secure launcher_grid_rows Y Example for grid 5Γ—6: adb shell settings put secure launcher_grid_columns 5 adb shell settings put secure launcher_grid_rows 6
  5. Restart the launcher (or the entire smartphone) by holding the Home button and selecting Reboot.

Values allowed for most devices:

ParameterMinimum.MaximumRecommended
launcher_grid_columns375
launcher_grid_rows386
launcher_cell_width (dp)6012080
launcher_cell_height (dp)6012090

⚠️ Note: On some devices (e.g. Xiaomi Pad) 6) change of parameters ADB If you want to update your firmware, use the command: adb shell settings put global. launcher_provider_config "grid_columns=5;grid_rows=6"

Install Android SDK Platform-Tools|Enable debugging on USB|Connect your smartphone to your PC|Check the connection of the adb device team|Make a backup copy of the data-->

Use of third-party launchers

If standard and ADB-The methods don't work, so consider installing an alternative launcher, which will not only change the grid, but also completely redesign the interface:

  • 🎨 Nova Launcher – supports setting up the grid from 2Γ—2 before 12Γ—12, Adaptive icons, gestures and backup settings. Nova Prime adds advanced features.
  • πŸ”§ Action Launcher – a unique Quicktheme feature for automatic wallpaper adjustment, flexible grid settings (up to the end of the day) 10Γ—10).
  • ⚑ Lawnchair – an open launcher with support for Android 13+, minimalist design and the ability to fine-tune indentations.
  • πŸ“± POCO Launcher – official launcher from Xiaomi for devices POCO, It works on any smartphone, and it offers a unique sorting of applications by category.

Instructions for setting up on the example of Nova Launcher:

  1. Install a launcher from Google Play.
  2. Click the Home button and select Nova Launcher as the default launcher.
  3. Keep your finger in the free space of the desktop β†’ Settings β†’ Desktop.
  4. In the Desktop Grid section, select the number of rows and columns (for example, 6Γ—7).
  5. In the size of the icons, adjust the scale (recommended value: 80-90%).
  6. To apply the changes, restart the launcher (long press on the Home button) β†’ Reset).

Important: When using third-party launchers, some functions are disabled MIUI, For example, built-in navigation gestures and system widgets (such as weather from Xiaomi), to return them, you will need to manually adjust or install additional modules, such as Xiaomi Home for widgets.

How to return the standard MIUI launcher?
To roll back to the standard launcher, go to Settings β†’ Annexes β†’ Manage applications, find the current launcher (like Nova Launcher) and click Clear Data. Then, when you press Home, select Launcer3 (launcher MIUI) or POCO Launcher (if installed).

Change the size of the icons without changing the grid

If you are satisfied with the current grid, but want to change only the size of icons or text signatures, the MIUI There are hidden parameters:

Method 1: Through the Topic Menu

  1. Open Topics β†’ My screen. β†’ Desktop settings.
  2. Select the size of the icons (options are available: Small, Medium, Large).
  3. Turn on or off the icon names.

Method 2: ADB (for advanced users)

Use commands:

adb shell settings put secure launcher_icon_size 0.8 # Scale 80%


adb shell settings put secure launcher_icon_text_size 12 # Text size (in sp)

Values allowed:

  • πŸ“ launcher_icon_size: from 0.6 (very small 1.3 (big).
  • πŸ“ launcher_icon_text_size: from 8 before 16 (signature size).

adb shell settings delete secure launcher_icon_size

This will reset the size to default values.-->

Features for different Xiaomi models

Grid settings may vary depending on the smartphone model and version MIUI. Let’s look at the key differences:

Model/SeriesMIUI versionFeatures of the gridRecommendations
Xiaomi 13/13 Pro/13 UltraMIUI 14+Dynamic grid support (automatic change when you turn the screen).Use it. ADB for fixing the grid in landscape orientation.
POCO F5/F5 ProMIUI 14 for POCOThere is no "Free grid" option in standard settings.Install. POCO Launcher 2.0 from the theme store.
Redmi Note 12/12 Pro+MIUI 13/14Limitation on maximum net 5Γ—6.For 6Γ—7 use ADB or Nova Launcher.
Xiaomi Pad 5/6MIUI 13/14 (Pad)Default grid 6Γ—4, but maintains 8Γ—5.Recommended use launcher_grid_columns=7 balance.
Black Shark 5/5 ProJOYUI (based on MIUI)No Topics menu. Grid settings are hidden in Settings. β†’ Screen. β†’ Desktop.Use Shark Launcher (preinstalled).

On HyperOS devices (e.g. Xiaomi 14 or Redmi) K70) The desktop interface has changed. Now the way is this: Settings. β†’ Screen. β†’ Desktop style β†’ You can also use additional options here, like Adaptive Grid, which automatically adjusts to the number of widgets.

πŸ’‘

On smartphones with AMOLED-screens (e.g. Xiaomi) 12S Ultra) too dense a grid can cause accelerated pixel burnout β€” 5Γ—6 icon-size 85%.

Solving problems after changing the grid

If you don't set the grid correctly, you can have bugs: missing icons, not being able to add widgets or "downed" wallpaper, and here's how to fix them:

  • πŸ”„ Resetting the launcher: Hold the Home button β†’ Settings β†’ Reset. It'll bring back the standard grid without losing data.
  • πŸ“± Cache Clearing: Go to Settings β†’ Annexes β†’ Application management β†’ Launcher (or) Launcer3) β†’ Clear the cache.
  • πŸ”§ Verification ADB-Settings: If you have used ADB, Make sure that the values do not exceed the maximum permissible (see the table in the section about the ADB).
  • πŸ–ΌοΈ Wallpaper problems: After changing the grid, the wallpaper can stretch.Look into Topics β†’ Wallpaper and reuse it.

If the app icons are missing after the changes:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find the missing app and click Show on your desktop.
  3. If the option is inactive, drag the icon from the app menu (swipe up from the dock panel).

⚠️ Note: On some devices (e.g. Xiaomi Mi) 11 Lite) after the grid change through ADB If you want to return the function, you can run the command: adb shell settings delete secure. launcher_search_enabled

Additional tweaks for experienced users

For those who are ready for experimentation, there are ways to deep-customize the grid, including changing indentations, animations, and even adding new gestures.

1. Change of indentation (padding) of the grid

The spades determine the distance from the edges of the screen to the first icon. ADB-team:

adb shell settings put secure launcher_grid_margin_left 10 # Retreat left (in dp)


adb shell settings put secure launcher_grid_margin_right 10 # Departure from right




adb shell settings put secure launcher_grid_margin_top 15 # Retreat from top




adb shell settings put secure launcher_grid_margin_bottom 15 # Retreat from the bottom

2. Set up the dock panel

The dock panel (bottom panel with frequently used applications) can also be modified:

adb shell settings put secure launcher_dock_columns 5 # Number of icons in the dock


adb shell settings put secure launcher_dock_scale 0.9 # Scale of icons

3. Installation of custom themes with unique grids

Some of the themes from the store MIUI (For example, Minimalist or Pixel Style offer non-standard grids that are not available in the basic settings:

  1. Download the theme from the official store (Themes) β†’ Online).
  2. Apply it and go to My screen. β†’ Desktop settings.
  3. Select a new grid (for example, 6Γ—5 or 4Γ—7).

4. Magisk modules for advanced customization

If your device has an unlocked bootloader and Magisk installed, consider modules:

  • πŸ”§ MIUI Mods – Adds more than 50 new settings, including dynamic grid and adaptive icons.
  • 🎨 Lawnstep – Ported Lawnchair features for standard launcher MIUI.
  • πŸ“± XiaomiEU Customization – a module for firmware Xiaomi.eu, extending the capabilities of the grid to 10Γ—10.
How to install the Magisk module?
1. Download the module file (.zip) from the forum XDA Developers or Telegram channel MIUI Mods. 2. Open the Magisk app and go to Modules. 3. Click Install from storage and select the downloaded file. 4. Reboot the device. 5. After rebooting, the new grid settings will appear in the Topics menu β†’ My screen.

FAQ: Frequent questions about setting up the grid

Can I change the grid to Xiaomi without a computer?
Yes, but the options are limited. β†’ My screen is available 2-3 For more flexibility, install a third-party launcher (like Nova Launcher) or use themes with custom grids from the store. MIUI.
Why After Changing the Grid Through ADB settings are reset?
It's because of politics. MIUI, It resets some settings when you update your firmware or reboot. To fix your settings, use the command: adb shell settings put global settings. launcher_provider_config "grid_columns=5;grid_rows=6" Or install a module. MIUI Mods via Magisk.
How to return the standard grid if after the changes the desktop became unreadable?
There are three ways: Reset the launcher settings: hold your finger on your desktop β†’ Settings β†’ Reset settings. Clear the launcher data: Settings β†’ Annexes β†’ Launcher β†’ Clear the data. Return the standard values through ADB: adb shell settings delete secure launcher_grid_columns adb shell settings delete secure launcher_grid_rows
Do foldable smartphones (such as the Xiaomi Mix Fold 3) support different grids for the interior and exterior screens?
Yeah, but the setup is different. 3: On the external screen, the grid is configured in a standard way (Themes) β†’ Use my screen for the inside screen. ADB-Adb shell settings put secure launcher_grid_columns_secondary 6 (It is also recommended to install Nova Launcher, which supports separate profiles for each display.
Can we make a grid? 7Γ—7 more?
Technically yes, but there are limitations: Standard launcher MIUI no longer supports the grid 5Γ—6 (on most devices. ADB can be set up before 7Γ—8, But it can lead to icons or widget bugs, and the best solution is Nova Launcher or Lawnchair, which supports the grid to the top. 12Γ—12. Example of a team 7Γ—7: adb shell settings put secure launcher_grid_columns 7 adb shell settings put secure launcher_grid_rows 7 But be prepared for the icons to become too small for comfortable use.