New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
digiholic
Old
(Last edited by digiholic; 8th September 2011 at 02:51 PM.)
#1  
digiholic's Avatar
Senior Member - OP
Thanks Meter 338
Posts: 507
Join Date: Apr 2011
Location: purgatory
Default [GUIDE] Edit your build.prop (Root Explorer - ES File Explorer) for LCD density

This guide was originally just for LCD density tweaks but it is also a good guide on how to edit your build.prop file using two methods (one paid app one free app). For a great list of other configuration settings you can work with head over to this thread.

Super Build.prop Tweaks

With our qHD resolutions we have the ability to easily read very small text or see small images clearly. Take that to the next step and decrease your LCD density and you can make things even smaller on the screen while still being clear and legible. Here is how you do it.

You WILL need to be S-OFF and permanently rooted. Click here for ikhzter's excellent guide for obtaining S-OFF and root. AND ALWAYS DO CLOCKWORK BACKUPS!

Spareparts is recommended. Get it here from the market. It's not needed for just editing your build.prop but it's handy for any Sensation owner.

You will also need a file explorer application that allows you R/W access. I use Root Explorer. It's not free but cheap and probably the best one out there. ES File Explorer is free and it supports R/W and root level access but it's a beta function. It does seem to work fine. Both options will require superuser access so allow it if you get the prompt. When you load the application you should see a message at the bottom "xxx has been granted superuser permission".

Root Explorer Method

Step 1: Open Root Explorer ("allow" superuser if first time loading) and you should be at the root partition. / Scroll down and select "system". You should now be located in /system.
Step 2: Select the "Mount R/W" button at the top. The "r/o" to the left of the button should change to "r/w".
Step 3: Long press build.prop and "Open in Text Editor".
Step 4: Scroll about half way down and find the line "ro.sf.lcd_density=240". Change it to a value you like 167/180/200/220. (I'm using 187 right now).
Step 5: Select the "menu" button on your phone and then select "Save Changes". Root Explorer will make a nice build.prop.bak backup for you.
Step 6: Open the Spare Parts application and make sure "Compatibility Mode" is unchecked.
Step 7: Reboot your phone.

ES File Explorer Method

Step 1: Open ES File Explorer and select your "menu" button on your phone then select "settings". Scroll down and check "Root Explorer" and select "yes" for the experimental feature. Superuser will pop up so "allow" it and check "remember". Check "Mount File System". Select your "back" button on your phone.
Step 2: You should be at the sdcard partition. /sdcard Select the sdcard image in the top left and it should change to a home image. You should now be at root. / Scroll down and select "system". You should now be located in /system.
Step 3: Press build.prop and select "ES Note Editor".
Step 4: Scroll about half way down and find the line "ro.sf.lcd_density=240". Change it to a value you like 167/180/200/220. (I'm using 187 right now).
Step 5: Select the "menu" button on your phone and then select "save".
Step 6: Open the Spare Parts application and make sure "Compatibility Mode" is unchecked.
Step 7: Reboot your phone.

If you changed to something like 167 or 180 you should easily see the change as many things are now much smaller. If you don't like the results you can try changing to a different value. Just reboot after each change. BE VERY CAREFUL trying a very low value. 167 is probably too small so try that first if you want to be extreme. I have tested 167/180/200/220. They all work but some things might seem a little weird. Still testing mine and seeing what I like best.

-Testing Update-

Looks like Sense related stuff can have issues. I've had the Sense launcher not work at all for me, but work after factory reset with LCD density still changed. Some Sense pieces scale and some don't but still work. If you use the Sense launcher LCD density changes might produce odd results.

Non-Sense (not HTC created) related things like alternative launchers or lockscreens, apps, etc work great so far. This guide will become more relevant after ROMs like CM or MiUi come out.

If you mess up your build.prop and can not get into Android read here:

In a command prompt:

- adb pull /system/build.prop
- edit the file
- save the file
- adb shell mount -o remount rw /system
- adb reboot
-
The Following 11 Users Say Thank You to digiholic For This Useful Post: [ Click to Expand ]
 
RANDYRKELLY
Old
#2  
RANDYRKELLY's Avatar
Senior Member
Thanks Meter 30
Posts: 337
Join Date: Jun 2010
Location: Arlington, TX

 
DONATE TO ME
you can do this but allot of people want easy so just use LCD Density in the market
 
digiholic
Old
(Last edited by digiholic; 30th July 2011 at 03:52 PM.)
#3  
digiholic's Avatar
Senior Member - OP
Thanks Meter 338
Posts: 507
Join Date: Apr 2011
Location: purgatory
Quote:
Originally Posted by RANDYRKELLY View Post
you can do this but allot of people want easy so just use LCD Density in the market
If you fully reboot or pull the battery it doesn't stay. The app that does it permanently for you costs money. This way is free and sticks after reboots and battery pulls.

-Edit-

Just tested LCD density and it doesn't even work at all for me. Won't change it.
-
 
RANDYRKELLY
Old
#4  
RANDYRKELLY's Avatar
Senior Member
Thanks Meter 30
Posts: 337
Join Date: Jun 2010
Location: Arlington, TX

 
DONATE TO ME
Quote:
Originally Posted by digiholic View Post
If you fully reboot or pull the battery it doesn't stay. The app that does it permanently for you costs money. This way is free and sticks after reboots and battery pulls.
your correct on that, but we all know how noobs r
 
jyabor91
Old
#5  
Senior Member
Thanks Meter 33
Posts: 173
Join Date: Mar 2010
I followed the steps for the root explorer but im stuck at the t-mobile logo. my phone boots into h-boot and recovery but wont go past boot screen. anyway i can get past this without factory reseting?
 
b14ckd34th
Old
#6  
b14ckd34th's Avatar
Senior Member
Thanks Meter 14
Posts: 244
Join Date: May 2010
Location: Jacksonville
this was one of the big reasons i wanted root. i used to use 167 on my hd2..tried 167 on my sensation and it kill my lock ring graphics on m-deejay's new rom..im using 200 now and it is plenty small...like mcdonalds "im loving it"
 
kloopk
Old
(Last edited by kloopk; 25th August 2011 at 04:37 PM.)
#7  
kloopk's Avatar
Member
Thanks Meter 2
Posts: 31
Join Date: Sep 2006
Location: dark hole in east mids
Fantastic and easy guide, my sensation looks great on 180, some small issues with scaling on some aspects ie sim unlock usable but main keyboard scales ok.

Thanks

edit 200-210 looks sexier
 
digiholic
Old
(Last edited by digiholic; 30th July 2011 at 08:23 PM.)
#8  
digiholic's Avatar
Senior Member - OP
Thanks Meter 338
Posts: 507
Join Date: Apr 2011
Location: purgatory
Quote:
Originally Posted by jyabor91 View Post
I followed the steps for the root explorer but im stuck at the t-mobile logo. my phone boots into h-boot and recovery but wont go past boot screen. anyway i can get past this without factory reseting?
Pull the battery and boot again. I've seen this before too.

Unless... you tried that. Then I would wonder if you editing something else by accident in the prop file? Did you do a recovery backup recently?

Quote:
Originally Posted by b14ckd34th View Post
this was one of the big reasons i wanted root. i used to use 167 on my hd2..tried 167 on my sensation and it kill my lock ring graphics on m-deejay's new rom..im using 200 now and it is plenty small...like mcdonalds "im loving it"
It works on the stock lockscreen at 167.

Quote:
Originally Posted by kloopk View Post
Fantastic and easy guide, my sensation looks great on 180, some small issues with scaling on some aspects ie sim unlock usable but main keyboard scales ok.

Thanks
My Sense mail client for my work Exchange does not work at 180 or lower... grrr... email page blank.
-
 
kevinliu2336
Old
#9  
kevinliu2336's Avatar
Senior Member
Thanks Meter 24
Posts: 108
Join Date: Aug 2009
Location: Chula Vista
Quote:
Originally Posted by jyabor91 View Post
I followed the steps for the root explorer but im stuck at the t-mobile logo. my phone boots into h-boot and recovery but wont go past boot screen. anyway i can get past this without factory reseting?
I think its a problem in HTC Sense , i Installed ADW launcher and boots fine. Try installing a different launcher before changing LCD density.
 
jackolus
Old
#10  
jackolus's Avatar
Member
Thanks Meter 4
Posts: 97
Join Date: Jul 2007
Location: Cracow
Thanks... need to reflash becouse of this
Phone stuck at htc logo screen


XDA PORTAL POSTS

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more