DPI change breaking icons

gsrdemon

Member
Jul 14, 2010
43
12
0
Hyderabad
Changing DPI from stock 480 to any lower value is resulting in a small separated box at the top left corner for most of the icons - especially non system apps. Tried the density change from build.prop and wm density command as well and could not find a way to fix this.. any known workarounds or ideas?

Here is a screenshot
 

Attachments

gsrdemon

Member
Jul 14, 2010
43
12
0
Hyderabad
Resolved

after many experiments and web serach, seem to have found a solution:

1) if you have already made some changes/tinkering - restore all the setiings to default DPI: 480
2) use the build prop editor and change ro.sf.lcd_density to desired value. I use 360 as preferred DPI
3) use adb to set the DPI using wm command to the same value as configured in build prop. <$adb shell wm density 360>
4) Go to data/system/theme_magic/customized_icons and delete all PNGs except miui_version file. You can use any root explorer

Now reboot the phone. this should fix the issue. Let me know if this worked for others as well
 

zohaibahd

Senior Member
May 25, 2016
360
72
28
Changing DPI from stock 480 to any lower value is resulting in a small separated box at the top left corner for most of the icons - especially non system apps. Tried the density change from build.prop and wm density command as well and could not find a way to fix this.. any known workarounds or ideas?

Here is a screenshot
what rom r using? the default dpi is always 360 on all roms
 

maxim.si

Member
Jul 7, 2017
18
1
0
naah its 360...download some dpi changing app and u will see
No, every phone has their dpi. Mido has default dpi=480.
I use 384 dpi at every Rom, and it's good.

I think the problem is in miui, or u put dpi that doesn't match with 1080p.

P.s. U can download "root essentials"->interface->dpi changer
And it will show your original dpi also.
 

Proym

Senior Member
Jan 30, 2011
86
36
48
I can confirm that Mido comes with 480 dpi and I solved the same problem only with editing build.prop for dpi and reapplying the theme after reboot (Although I'm not saying other steps are not needed this was just what I experienced) and I'd also mention that anything below 380 dpi breaks the live icons for me on stock system launcher.
 

KrabKoyal

Senior Member
Jan 10, 2015
77
17
0
Bangalore
after many experiments and web serach, seem to have found a solution:

1) if you have already made some changes/tinkering - restore all the setiings to default DPI: 480
2) use the build prop editor and change ro.sf.lcd_density to desired value. I use 360 as preferred DPI
3) use adb to set the DPI using wm command to the same value as configured in build prop. <$adb shell wm density 360>
4) Go to data/system/theme_magic/customized_icons and delete all PNGs except miui_version file. You can use any root explorer

Now reboot the phone. this should fix the issue. Let me know if this worked for others as well
is there a way I can perform this (Go to data/system/theme_magic/customized_icons and delete all PNGs except miui_version file. You can use any root explorer) with ADB. as I don't have root access.
I changed DPI to 260 and using Terbuchet 15 from XDA labs still some icons are broken. I just want to fix it. thanks
 

kermittos

Member
Sep 17, 2013
45
8
38
after many experiments and web serach, seem to have found a solution:

1) if you have already made some changes/tinkering - restore all the setiings to default DPI: 480
2) use the build prop editor and change ro.sf.lcd_density to desired value. I use 360 as preferred DPI
3) use adb to set the DPI using wm command to the same value as configured in build prop. <$adb shell wm density 360>
4) Go to data/system/theme_magic/customized_icons and delete all PNGs except miui_version file. You can use any root explorer

Now reboot the phone. this should fix the issue. Let me know if this worked for others as well
Great advice man.
Changing build prop value helped with broken icons. Works like a charm on Mi4 Miui 10.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone