[MOD]change home screen grid size Miui Launcher

MikeyLee

Senior Member
Jul 20, 2010
3,964
631
0
Phoenix
backup your rom
for a 4x6 grid size
-First download this on phone :http://www.mediafire.com/download/12ge91h88llsa2b/com.miui.home.zip
-remove extension .zip,now you have com.miui.home
-open a file manager with root (ES Explorer) and copy paste at phone/device/system/media/theme/default
-check the permissions

-Reboot,start take a 2/3 min


If you want more:4x6/5x6/5x7 working,I have not tested more
-Open com.miui.home.zip with Winrar, you have a folder theme_values.xml
-Open theme_values.xml with Notepad or other app https://notepad-plus-plus.org/fr/
-Changed both values in red

<dimen name="folder_preview_width">42.0dip</dimen>
<dimen name="folder_preview_height">42.0dip</dimen>
<integer name="config_cell_count_x">4</integer>
<integer name="config_cell_count_y">6</integer>
<dimen name="workspace_cell_height">82.000000dip</dimen>
<dimen name="workspace_cell_padding_bottom_min">10.000000dip</dimen>
<dimen name="icon_title_padding_bottom">1.000000dip</dimen>
<dimen name="workspace_cell_padding_top">8.000000dip</dimen>
<dimen name="workspace_padding_top">11.000000dip</dimen>
<dimen name="workspace_indicator_margin_bottom">84.000000dip</dimen>
<dimen name="hotseats_height">92.000000dip</dimen>
<dimen name="icon_message_max_width">55.000000dip</dimen>
<dimen name="workspace_cell_padding_bottom">102.000000dip</dimen>

-Save
-With winrar add to the archive the new theme_values.xml and rename it to com.miui.home.zip
-remove extension .zip,now you have com.miui.home
-open a file manager with root (ES Explorer) and copy paste at phone/device/system/media/theme/default
-check the permissions


-Reboot

Thx kuan for tips ;)
Following these instructions and changing the values to 5 and 7 I can confirm works. I now have a 5 X 7 grid on MIUI Launcher
 

albertoduqe

Senior Member
May 4, 2017
1,084
526
123
I can confirm it works on Mix with Epic Rom Pro Beta. I tried 7x5 with 400 dpi and 8x6 with 385 and both worked perfect. Finally opted for 7x6 on 385 and looks very nice to me.

I hope this mod does not interfere with any of the features of the ROM... :)
 
Last edited:

Renth

Senior Member
May 1, 2012
186
9
0
Unfortunately it does not work on MIUI 9.5 global stable. When using rom from xiaomi.eu it did work (within later versions of that ROM changing grid size was even part of the entire ROM and normal settings - unfortunately they discontinued support for RMN2).
 

tvladan

Senior Member
Oct 23, 2012
288
107
0
Timisoara
For icon size use this code in the same file:
<dimen name="config_icon_width">53dp</dimen>
<dimen name="config_icon_height">53dp</dimen>
Change from 53 to whatever you like. Also from miui 9.5 forward the measurement unit is "dp" rather than "dip".