Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,761 Members 42,170 Now Online
XDA Developers Android and Mobile Development Forum

Change Your Screen Resolution on HTC Evo 4g

Tip us?
 
jonathaflores
Old
(Last edited by jonathaflores; 1st September 2010 at 06:30 PM.)
#1  
jonathaflores's Avatar
Senior Member - OP
Thanks Meter 57
Posts: 524
Join Date: Apr 2010
Location: philadelphia

 
DONATE TO ME
Thumbs up Change Your Screen Resolution on HTC Evo 4g

In this post I'd like to share a small bit of Android information with you. I've discovered it while looking around at the build.prop file and did some research on it, and it turns out to be a pretty cool and powerful feature. Of course, seeing as this requires root you can probably already guess that it involves some more-than-consumer level risk, so anything you do here is your responsibility. This is not a tweak for a fairly novice user. You will need some basic knowledge on command line terminal and how to copy/edit files. I will be assuming you know how to setup and run ADB, and how to execute it and work with it in command prompt.

What's this mod do? Basically it changes your resolution (not really, but for simplicity sake we'll say it does) to a higher pixel density. What this means is everything on your screen will look smaller as if you changed your resolution on your PC to a higher setting. Now obviously we don't want to increase this too much or it will make our screen look bad and be impossible to read things, so I recommend you stick with the settings I have and only tweak it if you're daring.

Now for setup:

1: You require root access for this to work, so make sure you have it prior to doing anything else.

2: Next you will need to get your build.prop file from the /system directory. An easy (and free) way to do this is to use Astro file manager. Open up Astro, navigate to /system/ and copy the build.prop file to the sdcard.

3: Hook the phone up to your PC and enter USB Mass Storage mode. Open the drive on your computer and copy the build.prop file to the desktop.

4: IMPORTANT: make a second copy of this file, and rename it to: build.prop.BAK - accept the change to filetype and leave it alone for now.

5: Open up build.prop using notepad. Once its open you'll see a whole ton of text assuming you have Word Wrap enabled. Press Control + F and type in "density" then press enter.

6: Close out the search menu and find the number "240" to the right of "density"

7: Change the number from 240 to 200. Save the file and close notepad. (Note - higher numbers means bigger text/objects, smaller numbers means smaller text/objects allowing you to fit more on the screen)

8: Put your phone back into PC Mode, and then enable USB Debugging in Settings->Applications->Development

9: At this point I assume you have ADB setup on your PC. Copy and paste the modified build.prop file into the folder with ADB, and then open up a command prompt, change directory to wherever you have ADB installed (ex: cd C:\adb\ ), and type in "adb devices" without the quotes to start ADB and make sure your device is configured properly

10: Now you must push the modified build.prop file to your sdcard. To do so type this in:

adb push build.prop /sdcard/build.prop

11: You should see the text indicating it successfully transferred the file. Now type in "adb shell" without quotes. You should see a $: appear. Once it does, type in "su" and it should change to a #: sign.

12: Now that you're in root access, you must mount /system as read/write to copy over the new build.prop file. To do so type this in exactly as it is, making sure to not skip any spaces or use wrong letters/characters:

mount -o remount,rw /dev/block/system /system

You should see the line repeated and that means it went ok. If you get anything else like an error, somethings not right with the text you entered. Go back and double check it.

13: Now we'll copy the file from the sdcard to the system directory to overwrite the old build.prop file:

cp /sdcard/build.prop /system/build.prop

Again, you should see the line repeat below to confirm it copied it successfully. You can now reboot the phone to make the changes happen (note: for a speedy reboot, simply type in "reboot" from the #: prompt, this will drop you out of root shell and do an automatic reboot of your phone pretty neat)

Once your phone is booted back up you should notice some pretty significant changes in appearance. Everything will look smaller much akin to the changes you see on your desktop PC when you increase the resolution from say 800x600 to 1600x1200. In case you want to change it back to the old look, simply re-trace your steps using the original build.prop file, with the pixel density set to 240 instead of 200.


Screenshots for comparison. Note how lines of text are fully exposed in the new screenshots compared to the old ones, where it has to scroll/cut off text in App names etc:

http://forum.androidcentral.com/moto...-req-root.html
Attached Thumbnails
Click image for larger version

Name:	snap20100831185102.jpg
Views:	3329
Size:	34.1 KB
ID:	393124   Click image for larger version

Name:	snap20100831185912.jpg
Views:	3029
Size:	35.9 KB
ID:	393125  
"Technology is the key to quality of life in this generation"
 
njfoses
Old
#2  
njfoses's Avatar
Senior Member
Thanks Meter 774
Posts: 1,995
Join Date: Jun 2010
Location: S Jersey
Or you can save a whole lot of time and effort and use this app. http://www.xda-developers.com/androi...v3-0-released/
 
luckylui
Old
#3  
luckylui's Avatar
Senior Member
Thanks Meter 364
Posts: 4,015
Join Date: Aug 2010
Location: Chi-Town
I think that is pretty sweet bro!! Great finding

Sent from my PC36100 using Tapatalk
Current: LG Nexus 5

Past: HTC One

Past: LG Nexus 4

Tablet: ASUS N7 8GB

Sent from my shuttle to mars!
 
leeh41
Old
#4  
Senior Member
Thanks Meter 18
Posts: 316
Join Date: Aug 2006
Quote:
Originally Posted by njfoses View Post
Or you can save a whole lot of time and effort and use this app. http://www.xda-developers.com/androi...v3-0-released/
Been using this for a few days now. It works great. They should have released the Evo with the higher resolution from the start.
 
rawdikrik
Old
#5  
rawdikrik's Avatar
Senior Member
Thanks Meter 119
Posts: 686
Join Date: Sep 2008
Location: Arlington

 
DONATE TO ME
Looks great in my opinion. I lowered just slightly to 220 and i used RootExplorer to just change the Build.prop file.
 
Tilde88
Old
#6  
Senior Member
Thanks Meter 211
Posts: 1,022
Join Date: Nov 2008
Shouldn't this be in general? This is like dpi in windows lol... not resolution
Better than DropBox, you get more space, and its forever + free. https://copy.com?r=ZBCUUK using my link you get an extra 5GB, so thats 20GB permanent storage. You can get +5GB for every referral.
 
utnick
Old
#7  
utnick's Avatar
Senior Member
Thanks Meter 147
Posts: 265
Join Date: Nov 2009
Location: San Antonio
Quote:
Originally Posted by rawdikrik View Post
Looks great in my opinion. I lowered just slightly to 220 and i used RootExplorer to just change the Build.prop file.

yeah, root explorer is fantastic. it even creates a backup for you after you edit the file.
 
freeza
Old
#8  
freeza's Avatar
Recognized Developer
Thanks Meter 9486
Posts: 4,246
Join Date: May 2006
Location: Pasadena, CA

 
DONATE TO ME
The interesting part about this is, I made a thread about the density change back when the EVO first launched and nobody cared lol
 
bdoople
Old
#9  
bdoople's Avatar
Senior Member
Thanks Meter 18
Posts: 117
Join Date: Jul 2010
Just changed to 200 with the aforementioned app, the only problem I have is the main status bar and most of the popup menus and stuff look like crap. Hoping we can find some higher resolution (or whatever) pieces to use. Might be because I'm using Manup's theme.
 
ms79723
Old
#10  
ms79723's Avatar
Senior Member
Thanks Meter 631
Posts: 1,867
Join Date: Jul 2010
Quote:
Originally Posted by bdoople View Post
Just changed to 200 with the aforementioned app, the only problem I have is the main status bar and most of the popup menus and stuff look like crap. Hoping we can find some higher resolution (or whatever) pieces to use. Might be because I'm using Manup's theme.
i noticed that too....so i just went to like 215. 200 was looking good though

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Blast Those Flags with Knock the Flags

Lately, we have seen a rather drastic shift in the world of mobile device gaming. The infamous Angry … more

Hide Numbers on Your SMS and Call Logs with Reflection

How many times have you given your device to someone else in order to show them a … more

Implement Split View in Your LG G2 KitKat Rom with Automated Installer

Some of you may have remembered a story on the Portal a few weeks back … more

Cast Your Device Screen the Way it Was Meant to be with Second Screen

Not too long ago here on the XDA Portal, we covered how Google had made … more