[MOD] Resolution (dpi) changer *now with zips for all (hopefully) legend ROMs*

TheGrammarFreak

Senior Member
Jul 29, 2010
2,820
678
0
twitter.com
I shall take no credit for any of this. Smartsreenath first put me onto the idea, and pretty much anyone if this forum could've managed it. I just had the time to do it all.


Woo! Snakehult, being a genius, has made a clever little zip that uses proper scripts to just change the required value, instead of the whole file. So! Instead of me making an insane number of zips every time ROMs are updated use these instead. Cheers Snakehult!


Attached is a zip file with a whole lot of flashable zips in it. Don't flash the zip you download, extract that one somewhere and look inside

How to use:

Download the attached zip file, and extract it to somewhere on your computer. Inside the zip are a bunch of folders, each folder named after a ROM for the HTC Legend. Navigate into the folder that shares the name of whatever ROM you are using and inside you will find 6 zip files. These zips are flashable. The the zips are names thus: xxx.zip, where xxx is a number. The lower the number, the higher the apparent resolution. Choose a zip, copy it to your SD card and flash it like any other zip. To revert back to how it was simply flash the "160.zip". This just flashes a completely un-modified version of build.prop for your ROM. :D Make sure you only use the zips form the correct folder for your ROM, or funny things *might* happen.

More info:

By editing the build.prop file it is possible to increase the dpi of an Android device. This essentially scales everything down, so you can fit more on the screen. This is especially nice for browsing the market and the internet; as well as improving, in my opinion, the overall Android experience. The lower the number in the name of the zip, the higher the apparent resolution. It's worth noting that this does *not* change the actual resolution of the Legend; it's still a HVGA device. So you still can't install apps designed for bigger, more powerful phones, like the HTC Desire or Nexus One. This is a somewhat flawed way of achieving this effect, and can have some ugly side effects:

Some apps simply don't scale
HTC-IME mod ends up screwed
Games *can* be rendered unplayable, but not always. Often the menu is the worst affected part.

A work around to fix a number of issues is to disable the built in compatibility mode of Android, and if I knew a way to do this through a zip, rest assured that I would. It'd save me having to explain how to do it. Alas, I don't know how, so here's how:

In your ROM look for an app called "Spare parts". If it's not there look for it in the market. If you open that app and scroll down to the bottom you will find a checkbox option for "Compatibility mode". Ensure that this is *un-checked*, then reboot. Most issues will be resolved. As I learn more about Android I shall keep an eye out for a way to force apps to scale correctly, and if I ever find one I'll update these.

I have also tried values higher than usual, just for kicks. I don't expect them to be useful, nor will I make actual zip files for them, but I went all the way up to 200; and it felt like I was using an HTC wildfire: everything was really quite cramped. :D




My personal favourite setup is as follows:
CM 6.1, with a 768MHz overclock
My "lcd-density" (this MOD) set to 130
Launcher Pro Plus with 5 icon rows
 
Last edited:

TheGrammarFreak

Senior Member
Jul 29, 2010
2,820
678
0
twitter.com
Below is a paste of what was the first post (when I was just trying to fix a ****-up on my part), and is now here for reference. It has all of the original build.prop files attached.



Attached is a .zip file, which you will need to extract somewhere. It's not for flashing. Within this zip are several folders, each containing a "build.prop". You'll notice that each folder is named after a ROM: Azure, NeonMOD etc. The "Based-on-stock" folder should cover these ROMs:
[ROM] Based on Official WWE_2.03.405.3 ROM + A2SD [Rev 03 - released]
[ROM] UPDATED Almost Stock Legend HTC WWE 2.03.405.3 Radio 7. 08.35.21



You'll need to use ADB to push these files, as I haven't had time to make flash-able zip's for them yet

Instructions:

1. Extract the zip to a suitable directory, and locate the appropriate build.prop

2. Copy the build.prop to your AndroroidSDK/tools folder

3. Reboot your phone into ClockworkMOD recovery and navigate the the "Partitions menu", then click "mount /system"

4. Connect your phone to the PC and start CMD/a terminal window in your AndroidSDK/tools folder

5. Run the command "adb devices" to ensure that the ADB server is running, and that the PC has detected your device correctly

6. Run these commands in this order:

adb push build.prop /sdcard/build.prop

adb shell

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

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



This will put your resolution back to default, but should fix everything else too. If you still want a higher resolution then follow the guides in posts 1 and 2 of the other thread. This one.

If you can't use ADB for whatever reason you'll just have to wait it out until myself or someone else create proper, flash-able, fixes. I have done this to try and quickly rectify the issue; assuming, of course, that most people in this forum can use ADB

I will make proper zips, but it's getting late for me...
 
Last edited:

TheGrammarFreak

Senior Member
Jul 29, 2010
2,820
678
0
twitter.com
Wow do we have a lot of ROMs...

Anyhoo, I am currently working on appropriate flashable zips for each ROM, and each ROM will have the following versions:
110
120
130
140
150
160 (original)

I'm doin' 'em as fast as I can..

EDIT:

Current thoughts:

All build by Ali Ba have nice, short build.prop files. The current record for the longest one it held by MyTouch Legend...
 
Last edited:

TheGrammarFreak

Senior Member
Jul 29, 2010
2,820
678
0
twitter.com
No worries, I hope I haven't missed one

Now to sign 50 60 zip files...


EDIT:

DONE! All finished. I really hope they work. I can't test them all, but there is no reason why they won't work. Lemme know either way.
 
Last edited:

nafnist

Senior Member
Nov 18, 2007
202
16
0
Just flashed 130 for SpeedLegend and it worked like a charm

HTC_IME works here (this isnt the mod)

images dont look so good anymore and stuff, but alright
works fine

edit; TBH I find the 140 to be 'more' compatible overall, and show a better picture (ive tried all the flashables)
thats besides the orgnal setting btw, it gives the best picture by far.
 
Last edited: