Have you ever wondered why your Xiaomi app icons are placed this way instead of the other? Or why when you add a new widget, all the icons suddenly move aside? All these nuances are controlled by the desktop grid, a hidden but critical element of the MIUI interface. It's not just a "background" setting: its parameters depend on how many applications fit on one screen, how convenient they will be to use with one hand, and even how fast the system will process gestures.
In this article, weβll explore what a Xiaomi desktop grid is (and why itβs often confused with icon size), how to change it across different versions of MIUI (including MIUI 14 and HyperOS), and what hidden options can be activated through an engineering menu to fine-tune it, and how to get around system limitations if you donβt like standard settings, such as when you need to place 6Γ7 icons instead of standard 4Γ5 icons.
What is a desktop grid and why you need it
A home screen grid is an invisible structure that defines:
- π Number of rows and columns for icons (e.g, 4Γ5 or 5Γ6)
- π Step between icons (distance vertical/horizontal)
- πΌοΈ Maximum number of screens (in) MIUI default to 9)
- π± Adaptability to the screen size (on Xiaomi 13 Ultra and Redmi Note 12 grids will be different)
It's basically a skeleton of your desktop.
- π Easy to use one-handedly (on small smartphones like Xiaomi 13 mini it is better to reduce the number of columns)
- β‘ The speed of the launcher (the more icons on the screen β the more load on com.miui.home)
- π¨ Appearance (dense grid looks "loaded", rare - too empty)
β οΈ Note: Change the grid to values higher 5Γ6 This can cause animations to slow down when swiping between screens. MIUI renders all icons in advance, not as you scroll.
Interesting fact: in the early versions of MIUI (until 2018), the grid was tightly tied to the screen resolution. For example, on the Xiaomi Mi A1 with a resolution of 1920Γ1080, the maximum possible was a 4Γ5 grid, and on the Mi Mix 2S β already 5Γ6. These restrictions are now removed, but some models (for example, the POCO F5) still have hardware limits.
How to change the desktop grid on Xiaomi: the official way
The standard method works on all Xiaomi, Redmi and POCO smartphones with MIUI 12 and later (including HyperOS).
- Open the settings (cog icon).
- Go to the Desktop section (or Screen β Desktop on some models).
- Select the Desktop Grid item.
- You will be offered 3-5 preliminary options (for example, 4Γ5, 4Γ6, 5Γ5).
- Click on the desired option and confirm the change.
On some firmware (e.g., the POCO X3 Pro with global MIUI), the path may be slightly different:
Settings β Additional settings β Desktop β GridImportant: once the grid changes, all icons and widgets will automatically be redistributed. If you used a custom layout, you will have to manually restore it, and some widgets (such as the weather from Xiaomi) can change size, and they will also need to be reconfigured.
Make sure all the icons are in place
Reconfigure widgets (weather, clock, notes)
Check the display of folders with applications
Evaluate the convenience of swipes between screens-->
Hidden grid settings: engineering menu and ADB
If you don't have enough standard grid options (like 6Γ7 or 3Γ4), you can use the hidden settings.
Method 1: Engineering menu (without root)
This method works for most Xiaomi devices with MIUI 11-14:
- Open the Phone app.
- Enter the combination: ##4636###.
- In the menu that appears, select Phone Information (or Testing).
- Scroll down and find the Set Home Grid Size.
- Enter the desired values through a comma (for example, 6,7 net-wise 6Γ7).
- Restart the launcher (or the entire smartphone).
β οΈ Note: Some models (e.g. Xiaomi) 12T) After changing the grid through the engineering menu, the notification icons on the application icons may disappear. To return them, restart the device.
Method 2: ADB-Teams (for experienced users)
If the engineering menu is not available, you can use ADB.
- Install Platform Tools on your PC.
- Connect your smartphone via USB and activate Debugging over USB in the developer settings.
- Enter the command: adb shell settings put global home_grid_size"6x7" (substitute 6x7 statuary).
- Restart Launcher: adb shell am force-stop com.miui.home
To reset to standard settings, use:
adb shell settings delete global home_grid_sizeWhat are the values of the grid that are supported informally?
Optimal grid settings for different scenarios
The choice of grid depends on your tasks. Here are recommendations for situations:
| Use case scenario | Recommended grid | Explanation |
|---|---|---|
| Single-handed use (small smartphones: Xiaomi 13 mini, Redmi 10A) | 4Γ5 or 3Γ4 | Larger icons are easier to press with your thumb, fewer occasional touches. |
| Maximum information (big screens: Xiaomi 13 Ultra, POCO F4 GT) | 5Γ6 or 6Γ5 | It allows you to place up to 30 icons on one screen without scrolling. |
| Game mode (minimalism for POCO F5, Black Shark) | 4Γ4 or 5Γ4 | Large icons are easier to click on in games, less distracting elements. |
| Productivity (many widgets: Xiaomi Pad 6) | 6Γ4 or 5Γ5 | Wide widgets (such as a calendar) fit better into a horizontal grid. |
Professional life hack: if you use navigation gestures (swipe from the bottom), a 5Γ6 grid or tighter is better combined with disabling gesture prompts (in Settings β Screen β Gestures).
4Γ5 (standard)
5Γ6 (dense)
3Γ4 (large icons)
Another (I will write in the comments)-->
Problems after changing the grid and how to solve them
Even after a successful grid change, bugs can occur, and here are the most common ways to fix them:
- π Icons overlap with each other Reason: conflict with the theme of the design. Solution: change the theme to the standard (Settings) β Theme β Standard, then return yours.
- β οΈ Widgets disappeared or changed size Reason: widgets tied to the standard grid Solution: delete and add widgets again.
- π’ The launcher slows down with swipes The reason: too dense grid (6Γ7+) Solution: Reduce the number of icons or turn off animations in the developer settings.
- π± No changes are saved after rebooting Reason: resetting settings by launcher.Solution: clear the launcher cache (Settings) β Annexes β Launcher β Kesh. β Clean up).
If after changing the grid through ADB or engineering menu, the launcher stopped starting, do:
adb shell pm clear com.miui.homeThis command will reset the launcher settings to factory settings, but won't delete your apps and data.
π‘
If after changing the grid, the notification icons on the icons disappeared (for example, a red circle with a number from WhatsApp), go to Settings β Notifications β Notification icons and turn on the option Show on the application icons.
How to return the standard grid if something goes wrong
If grid experiments have led to unstable system operation, there are several ways to bring it back:
Method 1: Through launcher settings
The simplest method is:
- Hold your finger on the empty space on the desktop.
- Select Desktop Settings (or Settings).
- Find Reset Settings or Restore by default.
- Confirm the reset.
Method 2: ADB (if the launcher does not open)
If after the changes, the launcher stopped working:
adb shell settings delete global home_grid_size
adb shell am force-stop com.miui.homeMethod 3: Complete launcher reset (extreme case)
This method will remove all your desktop settings (including folders and widgets), but will return stability:
- Go to Settings β Applications β Application Management.
- Find Louncher (or com.miui.home).
- Select Warehouse. β Clear the data.
- Reset the device.
β οΈ Note: On some firmware (such as custom LineageOS for Xiaomi), a launcher reset may result in the loss of wallpaper.
Alternative launchers: if the standard grid is not satisfied
If you don't like the limitations of the standard MIUI launcher, you can install a third-party one. Here are the best options with flexible grid settings:
- π Nova Launcher supports grids to 12Γ12, Adaptive icons, gestures, free version limited 5Γ5.
- β‘ Lawnchair Lightweight Launcher with Grid Support 10Γ10 Integration with Google Discover.
- π¨ Action Launcher Unique βAdaptive Foldersβ and the ability to configure indentations between icons in pixels.
- π§ Smart Launcher 6 Automatic sorting of applications and support of grids to 8Γ8.
When using third-party launchers, consider:
- Some MIUI features (such as Second Space or App Lock) may not work properly.
- Xiaomi widgets (weather, steps) are sometimes not fully displayed.
- On weak devices (e.g. Redmi 9A), third-party launchers can increase battery consumption by 5-10%.
To return the standard MIUI launcher:
- Go to Settings β Applications β By default.
- Select Louncher and install the MIUI Launcher.
π‘
The side launchers allow you to customize not only the grid, but also the size of the icons, indentations, transparency of the dock panel and even animations of opening applications - which is not in the standard MIUI launcher.