Screen dpi change. - Galaxy S II Q&A, Help & Troubleshooting

Sorry for the noob question but what do I get by changing the screen density in my phone.
Sent from my GT-I9100 using XDA

There's a procedure, but why do you want to try this?
1. Open Root Explorer.
2. Go to /system
3. Click on Mount RW (It should appear as Mount RO, that’s when it is correct!)
4. Look for build.prop. Long press on the file and press Open file in Editor
5. Scroll down to ro.sf.lcd_density=240
6. Change the value to anywhere between 180 and 240. The lower the value, the higher density your screen will have.
7. Click on the Menu button, and Save and Exit.
8. Reboot.
Be careful because you may encounter some problems with the market. If so change to 240dpi when want to use market and then back to your option....

Easier to use density modder app from play store

Thanks guys

Get an app from palystore and nothing is going to happen to your device, just keep the values between 160 to 240 and you are fine. All the new market apk's work perfectly!

on what depends if dpi changes work ? if i change dpi from 240 to 192 or whatever, on reboot it hangs on yellow triangle. the build.prop is in the kernel or in the OS ??

spirotech said:
on what depends if dpi changes work ? if i change dpi from 240 to 192 or whatever, on reboot it hangs on yellow triangle. the build.prop is in the kernel or in the OS ??
Click to expand...
Click to collapse
if ur phone doesn't start then wipe data,cache,dalvik cache and reboot.which method r u using to change dpi?

There was a bug in some pre-release versions of ICS where ro.sf.lcd_density appeared twice in the build.prop and if both instances weren't changed to the same number, the phone would hang on the boot screen, I'm not 100% sure that this persisted in release versions but it's a possibility and a possible cause of boot problems.

is the ability to change the dpi dependant of the kernel i use?

Related

LCD Density Changer problems

i am on rooted stock ATT 2.2 firmware. I have busybox installed. Tried LCD density changer app from market but everytime i try to adjust the setting, the phone freezes and the only way to start back is by removing the battery. phone starts back up fine at 160 dpi again.
i have tried 180, 200, and 220 all with same results. any ideas what the problem is?
If you are using a rooted phone browser to build.prop, mount it R/W (root explorer e.g), and edit it.
You should be able to change it there manually.
In the /system/build.prop file, add this:
ro.sf.lcd_density=XXX (where XXX is the density number you want 160/240/etc)
Save, restart your phone and there you go.
MySeLfPT said:
If you are using a rooted phone browser to build.prop, mount it R/W (root explorer e.g), and edit it.
You should be able to change it there manually.
In the /system/build.prop file, add this:
ro.sf.lcd_density=XXX (where XXX is the density number you want 160/240/etc)
Save, restart your phone and there you go.
Click to expand...
Click to collapse
yeh, i saw that manual method but was afraid to try because i wasn't sure i'd be able to easily recover if there was a problem.
fortunately, i found a different app on the market "LCDDensity!" that works just fine. There is no preview and you have to reboot to make the change, but it does a fast reboot and it works flawlessly.
Thanks for the Help!
mongofrye said:
yeh, i saw that manual method but was afraid to try because i wasn't sure i'd be able to easily recover if there was a problem.
fortunately, i found a different app on the market "LCDDensity!" that works just fine. There is no preview and you have to reboot to make the change, but it does a fast reboot and it works flawlessly.
Thanks for the Help!
Click to expand...
Click to collapse
Tried it n it worked but after a full reboot, it reverts back to normal 160 density
MySeLfPT said:
If you are using a rooted phone browser to build.prop, mount it R/W (root explorer e.g), and edit it.
You should be able to change it there manually.
In the /system/build.prop file, add this:
ro.sf.lcd_density=XXX (where XXX is the density number you want 160/240/etc)
Save, restart your phone and there you go.
Click to expand...
Click to collapse
I cant seem to find this line in my build.prop
im using AWS 345 build rooted and Ive done this before with previous phone so im familiar with it but ive looked at least 5 times for that line but its nowhere to be found..
is there any other way???
ducehlmg said:
Tried it n it worked but after a full reboot, it reverts back to normal 160 density
I cant seem to find this line in my build.prop
im using AWS 345 build rooted and Ive done this before with previous phone so im familiar with it but ive looked at least 5 times for that line but its nowhere to be found..
is there any other way???
Click to expand...
Click to collapse
If the line doesn't exist, just add it. For some reason many of the stock Streak build.prop's don't have it in there. But, just add it and then you can tweak to your heart's content. That's what I did, and I'm on LCD=200 now.
mellojoe said:
If the line doesn't exist, just add it. For some reason many of the stock Streak build.prop's don't have it in there. But, just add it and then you can tweak to your heart's content. That's what I did, and I'm on LCD=200 now.
Click to expand...
Click to collapse
yea i figured that out but thanks for the tip... i set mine to 190 & i also grabbed ur wallpaper from the Screenshot thread.. so thanks for that too
MySeLfPT said:
If you are using a rooted phone browser to build.prop, mount it R/W (root explorer e.g), and edit it.
You should be able to change it there manually.
In the /system/build.prop file, add this:
ro.sf.lcd_density=XXX (where XXX is the density number you want 160/240/etc)
Save, restart your phone and there you go.
Click to expand...
Click to collapse
What did you use to edit the file?
mid_life_crisis said:
What did you use to edit the file?
Click to expand...
Click to collapse
Root Explorer. That's what I use. It is a paid app, but the best file explorer I've found. I'm a big fan.
mellojoe said:
If the line doesn't exist, just add it. For some reason many of the stock Streak build.prop's don't have it in there. But, just add it and then you can tweak to your heart's content. That's what I did, and I'm on LCD=200 now.
Click to expand...
Click to collapse
Worked for me. On 345 with density=180! Thanks mellojoe!
Try font changer if you don't want to meddle with build.prop.

How do I change screen density of custom ROM?

I have two phones, a Huawei m860 and an m835. They are both basically the same phone, except the m835 has a smaller screen.
I have a CM 7.1 ROM that runs great on the m860 with the larger screen, but is out of scale on the m835 with the smaller screen.
I edited the BUILD.PROP file and changed the LCD.SCREEN.DENSITY from 160 to 120. But when I inject the edited file back into the zip file, ROM Manager says the ROM is bad and refuses to flash it.
Anyone know how to properly recompile the ROM with the edited BUILD.PROP file, so that I can flash it?
You can use an app to change the screen density.
Can you elaborate a little? What app?
1. You can use LCDDensity
2. Or if you don't want to have an app running in the background, you can simply install ES File Explorer and (as you know) go to /system/build.prop and change the density and reboot. This is permanent or until you change it back or flashing the/a ROM again.
Thanks, I was able to edit the /system/build.prop file after flashing the ROM, and that did the trick once I rebooted.
Now though, I've discovered that the screen does not change orientations when I turn the phone as it should. Any have any ideas how to fix that?
-TheGE128

[Q] Changing the DPI on the i717

Has anyone changed their DPI? I'd like to make everything a hair smaller. I am on the new ICS leak with root. Will changing the DPI cause touchwiz to break? Should I just wait until a stock rom comes out? If not what tool/settings are known to work?
thanks
bump
Rom Toolbox is the only app that has worked for me in ICS.
Im not sure how touchwiz will react since I use Apex.
Use a root a file explorer, go to /system mount r/w, long press on build.prop open in text editor.
ro.sf.lcd_density= 320
Is the line you're looking for, just change the number to the dpi you want, save, reboot, profit.

320 Pixel Density: Mod Needed

Hi,
Is there any mod to set pixel density to 320.
I have X920D and I run Virtuous Rom
I tried through pixel density apps in play store but with no luck.
You need a kernel that enables /system writing while booted then you can use one of the apps.
Sent from my HTC6435LVW using xda app-developers app
kdahri said:
Hi,
Is there any mod to set pixel density to 320.
I have X920D and I run Virtuous Rom
I tried through pixel density apps in play store but with no luck.
Click to expand...
Click to collapse
1. Boot into recovery
2. adb pull /system/build.prop
3. open build.prop in a text editor and edit the line that says "ro.sf.lcd_density=480" to say "ro.sf.lcd_density=320"
4. save the file
5. adb push build.prop /system/
6. reboot
EDIT: If you use anything between 320 and 480, it will work, but you are going to have issues with market apps not showing up. I personally prefer 400 DPI, but it mucks my market up. Not worth it to me.
BotsOne said:
1. Boot into recovery
2. adb pull /system/build.prop
3. open build.prop in a text editor and edit the line that says "ro.sf.lcd_density=480" to say "ro.sf.lcd_density=320"
4. save the file
5. adb push build.prop /system/
6. reboot
EDIT: If you use anything between 320 and 480, it will work, but you are going to have issues with market apps not showing up. I personally prefer 400 DPI, but it mucks my market up. Not worth it to me.
Click to expand...
Click to collapse
This ^
Also if you have a kernel which enables write-to-system, you can use Solid Explorer to go into /System and directly edit the build.prop and save it.
Though I believe if you switch from 480 to 320, it stops sense launcher from working. Which is why I use nova prime.
sense does not work with 320, you need an senseless rom
thank you all that was helpfull
Sense does work down to about 370, and you can use LCD Density Modder Pro to download a modified version of the play store that thinks you're running 320.

[Q] Screwed up DPI

Hey guys, Im here to complain. I'm super tired, so I probably won't be very easy to understand.
Anyway, my Huawei Activa 4g was rooted and all was well. I went to change the DPI with the DPI Modded app from the play store, and its all screwed up now. I can't get past my lock screen, it only shows the clock and the emergency call button. I can't swipe the dots, and they aren't just invisible. I was dumb and deleted my backup.
Please, get back ASAP, as I am panicking.
PS: Usually I sound much more intelligent, but I literally nodded off three times as I wrote this.
You have a custom recovery like CWM, right? When you used the DPI Modded app, did it make a backup of your build.prop file on your SD card? If not, do you remember what your stock DPI value was prior to you changing it?
I can tell you what to do, but it's easier if you just follow this guide. Since you can't boot into your ROM, boot into recovery and follow the rest. adb works in both the ROM (if USB debugging is enabled) and in custom recoveries.
http://forum.xda-developers.com/showthread.php?t=1236732
If you have the backed up stock build.prop file, then you can directly skip to the part where you copy it from sdcard to the system partition. If you don't have it, then you need to open this build.prop file (that you get on your computer using adb pull) with a text editor and change the value of this one line ro.sf.lcd_density=, to whatever the stock DPI value was before you changed it. If you don't remember, then try 160. If that doesn't work, repeat the process with 240. Standard DPIs for devices are -
LDPI (Low DPI) = 160
MDPI (Med DPI) = 240
HDPI (High DPI) = 320
Your phone falls into the LDPI category, so 160 should work. Any DPIs other than these are non-standard DPIs and cause compatibility issues. Even to use to these standard DPIs, the ROM needs to support DPI scaling. Usually stock ROMs don't, while custom ROMs especailly AOSP ROMs like CyanogenMod, AOKP, Paranoid Android etc do. If you don't have the Android sdk installed on your computer, and you need the adb files, then use the attached file. Remember to open command prompt in the extracted zip folder, otherwise it'll return 'adb not found'. CMD needs to be opened in the same directory to be able to detect the adb.exe file. Alternatively, you can open cmd directly in the folder by running 'Start_here.bat'.
or go to recovery an clear dalvik caseh
-fluffy- said:
or go to recovery an clear dalvik caseh
Click to expand...
Click to collapse
That won't help because his stock ROM is incompatible with whatever custom DPI he set. Dalvik cache is only related to apps, and this has nothing to do with apps. Only way to fix this is to change the LCD density back to stock value in build.prop.

Categories

Resources