Default LCD density or dpi - Moto E Q&A, Help & Troubleshooting

This question is for rooted Moto E users only. Can you please check the build.prop file located at /system/ and check the value of "ro.sf.lcd_density" (located towards the lower end of the file)?
That's the default lcd density or dpi. If you are sure you have never modified that value, then I kindly request you to check the value because I have been playing around with the LCD density value a lot and thus I forgot the default value. :/

nilanko said:
This question is for rooted Moto E users only. Can you please check the build.prop file located at /system/ and check the value of "ro.sf.lcd_density" (located towards the lower end of the file)?
That's the default lcd density or dpi. If you are sure you have never modified that value, then I kindly request you to check the value because I have been playing around with the LCD density value a lot and thus I forgot the default value. :/
Click to expand...
Click to collapse
The default is 240

Related

[Q] i want to change my lcd density to 200 (ish) but want to resize the dialer too

hi guys..
i have seen a few posts on the SGS side of things about resizing the dialer / camera etc... correctly when the LCD denisty is changed to a lower than standard figure..
is there a way of these apps "ignoring" the LCD density values set in the build.prop files?
just thinking.....
ta
nutmegy said:
hi guys..
i have seen a few posts on the SGS side of things about resizing the dialer / camera etc... correctly when the LCD denisty is changed to a lower than standard figure..
is there a way of these apps "ignoring" the LCD density values set in the build.prop files?
just thinking.....
ta
Click to expand...
Click to collapse
This ROM has a modified camera app for 200 dpi: http://forum.xda-developers.com/showthread.php?t=1149713
Just extract it from SkyROM and replace yours via adb or root explorer...
please help me i changed my s2 density to 200 now its not booting please super please help.

Change Dpi

Hello
Can i change dpi stock 240. Someone have tested?
kvadde said:
Hello
Can i change dpi stock 240. Someone have tested?
Click to expand...
Click to collapse
A solid-state screen's DPI is a physical attribute, you cannot change it.
I believe OP is referring to the soft DPI settings in build.prop. You must root, then edit the ro.sf.lcd_density setting in build.prop. It's already 240 on CM, not sure about stock though.
Cat McGowan said:
A solid-state screen's DPI is a physical attribute, you cannot change it.
Click to expand...
Click to collapse
You are talking about PPI, not DPI
Stock DPI is also 240.
But why would you want to change that??
If some app is not displaying to your satisfaction, it's better not to modify build.prop, because it could lead to unexpected weird behaviors.
Better is to use the "Xposed Framework" with the module "App Settings"; there you can specify individual DPI settings for each app. The safer and more flexible solution! I use it without problems on all my devices.
Felimenta97 said:
You are talking about PPI, not DPI
Click to expand...
Click to collapse
You have it backwards.
kvadde said:
Hello
Can i change dpi stock 240. Someone have tested?
Click to expand...
Click to collapse
As you didn't specify whether you want this on stock firmware or an AOSP ROM, I'd suggest to try the PACman port to the XTZ, as it includes per-app DPI modifier. It's currently in nightlies and no fully stable release as of yet, but it's worth to try if you really need that feature.
DPI = Dots Per Inch
PPI = Pixels Per Inch
The reason we've started to use PPI instead of DPI is because of PenTile, since that technology yields more pixels than dots per inch (dots are shared between adjacent pixels). Both are properties of the hardware but by telling Android you have a different DPI you can scale the UI. This procedure will make graphical elements that makes use of their physical size on the display (rulers, printing tools, etc.) show up at incorrect sizes.
For example, if you have a virtual measurement tape, you'll need to multiply all values with the original DPI divided by the new DPI. So if you choose to change your tablets DPI to 120, making every UI element scale to half of the original size, you'd need to multiply every value by 240/120=2 for it to match up with the real world.
I hope this clears things up.
Shanliang- said:
As you didn't specify whether you want this on stock firmware or an AOSP ROM, I'd suggest to try the PACman port to the XTZ, as it includes per-app DPI modifier. It's currently in nightlies and no fully stable release as of yet, but it's worth to try if you really need that feature.
Click to expand...
Click to collapse
As I already said: No need to change firmware. Just install Xposed framework with App Settings module on rooted device, and you can freely modify DPI per app.

Screen density (DPI) change

Hello,
I would like to change my DPI which is at 320 right now.
I'm about to do it by changing the value in build.prop.
My question is, what are safe ranges where i can stay in between, does anyone know?
Or is anyone using a custom DPI and can you then tell me what DPI you are on?
Thanks

[WARNING] Changing LCD density and then resolution

I just thought I would give everyone a warning about changing LCD density with "adb shell wm density XXX"
(only applies to us non-rooted users -- rooted users can edit build.prop on the fly)
If you change the density, and then decide to check out the other resolutions like 720p and 1080p, it will fully erase your set density and return to stock resolution, even if you change the resolution back to stock (WQHD)
I myself didnt know this. I thought it would keep the resolution and recalculate the density, or reduce / increase the density based on the difference between WQHD. This is not the case.
So for those who set a custom density, DONT CHANGE RESOLUTION!

Note 20 original Build.prop looking to analyse dpi settings

Hi all,
I updated dpi via ADB but it generates a side effect.
Screen size and resolution decrease instead of increase.
I reset the default values but adter that the splash screen resolution decreased (big pictures) and initial resolution (in my opinion) is not the same.
Can yiu share orifinal dpi values and original build.prop file? ( or file with resolution and dpi info).
Regards
Francesco

Categories

Resources