1. Home
  2. Mobile

How To Change LCD Density For Rooted HTC Desire Z / T-Mobile G2

Got an HTC Desire Z / T-Mobile G2 and want to do something interesting with it? In case you successfully gained permanent root on your device, you can easily change its LCD density. What would that do, you might ask? It’ll give your screen the appearance of a higher resolution by making all the interface elements appear smaller on it, thus giving you the ability to fit more on the screen while not cutting off or overlapping icons, widgets etc. We have come across some apps in the Market that tend to alter the LCD density of several Android phones, but hardly any app changed anything on HTC Desire Z / T-Mobile G2, but that doesn’t mean we can’t do it manually. Ready to do it? Continue reading after the break for our step-by-step instructions.

G2Let’s cut the rant short and get straight to changing the LCD density of your handset.

Warning: You will be editing protected system settings by following these instructions. Attempt it at your own risk.


  • Permanently rooted HTC Desire Z / T-Mobile G2. See our guide for the complete rooting method.
  • Terminal Emulator (or any terminal app of your choice)


  1. Install Terminal Emulator (or any other terminal app of your choice like ConnectBot) on your phone.
  2. Once done installing the terminal app, launch it and enter these two commands one by one:
    setprop qemu.sf.lcd_density 200

    Make sure to confirm the SuperUser request when you get it upon entering ‘su’. In the second command, you may replace ‘200’ with a value of your choice for the LCD density.

  3. Now press enter and type:
    busybox killall system_server
  4. Press Enter and your phone will automatically reboot with new changes in LCD density.

While the method has been safe in our testing and based on user response, it may cause (software-related) issues in your display if you set the value too high or too low. That’s why we have chosen this method, as the changes applied this way last only till the next reboot. Therefore, if things don’t display correctly after you apply the above steps, simply reboot the phone and things will be back to normal.

Once you have found the perfect screen density for you and want this change to be permanent, edit the ‘build.prop’ file in /system using any root access file manager (like ES File Explorer) and change the value of  ‘ro.sf.lcd_density’ to the value that you want to set permanently.

Don’t forget to drop us a comment about your experience, including what LCD density values you tried and which ones you found to work best. If you are facing any issues with this method, you can consult the official XDA thread posted here.

Leave a comment

  • LooieENG

    Before you run the steps above, make sure you type “su” (without quotes) and press enter so it gives you root access