How to change LCD display DPI settings - Android Q&A, Help & Troubleshooting

Hi,
I found how to change android screen resolution through changing dpi no in build.prop file,
the problem I'm facing is that I can't save the file after I put the new dpi setting no.
I get error saving message on my Galaxy s4
could somebody help me with that please​

Not A good idea
theniner said:
Hi,
I found how to change android screen resolution through changing dpi no in build.prop file,
the problem I'm facing is that I can't save the file after I put the new dpi setting no.
I get error saving message on my Galaxy s4
could somebody help me with that please​
Click to expand...
Click to collapse
If you entered a non compatible DPI settings it will NOT boot up, so before changing please test the DPI settings first by using any dpi changer apps but do not set it to boot up permanently with every boot.(temporary dpi settings to see whether it work on that dpi)

cracktech said:
If you entered a non compatible DPI settings it will NOT boot up, so before changing please test the DPI settings first by using any dpi changer apps but do not set it to boot up permanently with every boot.(temporary dpi settings to see whether it work on that dpi)
Click to expand...
Click to collapse
Thanks for your reply,
the whole issue about screen resolution is when I open Firefox browser I used to log in express.paltalk.com which uses flash I could view log in screen big enough enough, after sometime I accidentally used a program called screen resolution changer then when I go to paltalk express log in flash webpage a message says that I am using low resolution and it recommends to click where it redirects to log in with lower resolution but viewing and typing log in user name and password is very hard to do because it isn't viewable normally like it used to be.
I did try change screen resolution and dpi setting several times with even factory default settings using mentioned program also cleared privacy and browsing history on Firefox browser nothing changed, still log in screen is small and can't even type in my user name and password.
By the way this happen also with other different browsers like chrome.
I think what I need is factory default resolution and dpi settings if I'm not mistaken.
your help is appreciated

Related

Cannot restore LCD density in mini pro..please help!!!!

HI!!
I am new to this forum. I rooted my mini pro then installed a droid overclock. but i am unable to overclock. it has extra options in which changing lcd density is one. i changed it to stock value. after that it asked for reboot. after reboot the resolution is decreased ...i only see large icons most parts are invisible.
i tried using lcd density app and lcd density changer app...both didn work
i tried for factory reset ...but that too had no response... i also restored backup ...but no change ....please any one help..
its X10 mini pro
Android version 2.1
Thankyou!!!
Look into the /system/build.prop file.. you should find a line referring to screen LCD density
ro.sf.lcd_density=
Change the number at the end to 110
E.g. ro.sf.lcd_density=90 --> ro.sf.lcd_density=110
Save and exit, then reboot .. should fix your issue
Alternately you could search xda for ADB mask controller.. I think that has an options to edit the LCD density
Sent from my X10 mini using XDA App
Gothic-4-Schiffer said:
Look into the /system/build.prop file.. you should find a line referring to screen LCD density
ro.sf.lcd_density=
Change the number at the end to 110
E.g. ro.sf.lcd_density=90 --> ro.sf.lcd_density=110
Save and exit, then reboot .. should fix your issue
Alternately you could search xda for ADB mask controller.. I think that has an options to edit the LCD density
Sent from my X10 mini using XDA App
Click to expand...
Click to collapse
Mini and mini pro default lcd density value are 120
Sent from my X10 mini pro using XDA App
I need to post on small threads sorry. Btw just change the build.prop
Sent from my U20i using XDA App
i am new to this site and just rooted my galaxy mini.i have changed my screen density to 220 have messed up my screen.since i can't access superuser due to limited icons being displayed im stuck up with a ****ty screen as help would be much appreciated.
P.S i haven't/cant install busybox since i cant access the superuser functionality
ha17sun said:
i am new to this site and just rooted my galaxy mini.i have changed my screen density to 220 have messed up my screen.since i can't access superuser due to limited icons being displayed im stuck up with a ****ty screen as help would be much appreciated.
P.S i haven't/cant install busybox since i cant access the superuser functionality
Click to expand...
Click to collapse
You might be able to use adb to edit the build.prop but this is a totally different phone so you will have to follow your phones guides for restoring things like stock ROM
Sent from my U20i using xda premium
solution.
Hello,
a moment ago had the same problem,you do not need to reset or anything.
just follow. I know that all apps become hard to operate and in the app "build.prop" it wont even show the size. here's a solution that might help. you need to have an app which has a bigger UI . like I used -"Root explorer" since it gives more space to edit the build.prop file.
now go to app , find build.prop , edit, search for ro.sf.lcd_density , after an "=" you'll see the value associated with it. since your keyboard will be like before only, type default value and save.
note- if you are not able to open play store from device , try opening it from a pc, then install directly to phone.
hope that helps.
Sunny

[q] dpi :: Lcd density changer

Hey guys recently changed my DPI, I found using this app you can set your saved density as "240" and change your density via the "PREVIEW" button to "190" and still be able to use the market as per normal..
Although this got me thinking.. why cant we make this a permanent change ? So spoof the DPI to the market making it believe were on 240.. although in reality using 190..
Any ideas ? every a start up script which will detect if the current DPI is set to 240.. to put the device in LCD DENSITY CHANGERS "PREVIEW" state of the DPI to 190.. or better yet actually edit the Market app.. to force it to read the DPI as 240 all the time ?
Im new to the android scene.. so not sure if this is possible or not but would love to see this happen..

[Q] LCD density modder, and cant boot

I did something dump today
I used LCD density modder pro on my rooted prime. I changed from 160 to 140 and when i rebooted using "save as system DPI (Reboot) the Ics launcher keeps crashing and i cant go back to it to change it back to 160.
What is the easiest way to accomplish this now? I can use ADB, but before i start messing around and make it worse, please give me the easiest instructions (not a beginner, but not super duper adv either).
Thanks
-- Resolved --
Relatively easy.. adb'd pull to pc and fixed build.prop and pushed back and all is good.
I also came accross this issue.
Im not so advanced at adb etc.
The way I did it was to email myself a link to LCD Density Modder in the market.
I could then click on the email in the notification bar and use the link to open the market.
You can then click open on the app and change the density back to 160.

Good bye DPI changing?

Before we could and still can change DPI for the phone but now that xposed is not working, we can't change specific apps that need original stock DPI. I hope I can live with the original DPI settings lol
Brava27 said:
Before we could and still can change DPI for the phone but now that xposed is not working, we can't change specific apps that need original stock DPI. I hope I can live with the original DPI settings lol
Click to expand...
Click to collapse
Have you tried changing the DPI? I tried with textdroider and despite trying a few different values it didn't change. Textdroider reported the proper value but there was no change in anything.
you know you have to be rooted to change dpi, right?
if you are, do it in the build prop
wase4711 said:
you know you have to be rooted to change dpi, right?
if you are, do it in the build prop
Click to expand...
Click to collapse
Yes I know that and changing it in the build.prop is what textdroider does. I've done it with app and manually and it doesn't change anything.
so, when you save the new build.prop, and you open it again, it shows that your density settings are saved?
And, then after rebooting, the old density is back in the build prop?
I wont get my phone until later today, so I cant try it now, but that's strange..
wase4711 said:
so, when you save the new build.prop, and you open it again, it shows that your density settings are saved?
And, then after rebooting, the old density is back in the build prop?
I wont get my phone until later today, so I cant try it now, but that's strange..
Click to expand...
Click to collapse
Yes the new value shows after manual (and after textdroider) edit and save/reboot but the screen DPI doesn't actually change. The value is shown, but the screen is the same.
There are actually a few different values, the one that is 400 is the one I'd been changing. I wasn't sure what the two 640 values were and haven't changed them. Never seen a build.prop with multiple values. Didn't know if maybe those two values corresponded to the left and right edge screens since there are settings for them.
Have you found out any more info about this setting?
Has anyone tried running this via adb shell:
wm density 380 (or whatever density you want)
This worked fine without root on my Xperia phone. Just curious as I am thinking about getting this phone, but not setting density is a potential dealbreaker.
Alright so an update, it's the first 640 value that changes the DPI. The one under #system.prop for universal7420. I changed it to 580 and the attached pic is the result. I loaded google now launcher to test the scaling and it appropriately scales itself to use the whole screen whereas TW moved itself to the top left of the display. I guess the next challenge is to make TW properly scale.
I noticed that last night. I wonder what the other 2 dpi settings control?
adb works
I have successfully changed the DPI using adb on normal S6, though Play Store now believe it to be a tablet. Also, most of touchwiz hates it, not a big deal for most things, camera may be the biggest annoyance when its only taking up the upper right 60% of the screen.
Has anyone sucessfully changed the per app DPI, like you can with Paranoidandroid?
Look for "buil prop editor" on play store!! But the kamera and keybord looks like a#$
Dears, you can easily swap de dpi with a simple app : Resolution changer.
Kind regards,
wikidavid said:
Dears, you can easily swap de dpi with a simple app : Resolution changer.
Kind regards,
Click to expand...
Click to collapse
What are you doing? trying to pad your post count? Exact same reply in three different threads about DPI, as well as your other post in the same threads asking "dears to please not use the double post..." WTF?
schollianmj said:
What are you doing? trying to pad your post count? Exact same reply in three different threads about DPI, as well as your other post in the same threads asking "dears to please not use the double post..." WTF?
Click to expand...
Click to collapse
I'm just trying these things :
1) delete double post/overflow on the forum
2) give a solution anyway.
Don't be upset, there's no reason to... Have a nice day !
boosting1bar said:
Have you tried changing the DPI? I tried with textdroider and despite trying a few different values it didn't change. Textdroider reported the proper value but there was no change in anything.
Click to expand...
Click to collapse
I also tried the same thing with no results
Hi,
I changed my DPI successfully by changing the first occurrence of ro.sf.lcd_density from 640 to 540 in /system/build.prop using the built-in texteditor in root explorer (and rebooting afterwards ofcourse).
Then I noticed the camera didn't work properly anymore, so I created a fix for that (see this post).
Hope you'll get it to work, it seems the same to me as on earlier devices with as exception that the ro.sf.lcd_density occurs multiple times in the build.prop file.
Cheers,
Bane.
For testing different resolutions:
- have a functional adb
- enable USB debugging on device (developer options)
- connect device to your PC via USB cable. Then start a cmd in folder containing adb.exe. Type "adb devices" (without quotes) in the command prompt to check if adb recognizes the phone
- If is OK, type "adb shell wm density ZZZ" (no quotes) where "ZZZ" is the pixel density value you want to try (default is 640)
- no reboot needed, the change is on-the-fly
- check the programs (Samsung ones - dialler, calendar, camera, launcher, etc...)
- the change will disappear when you reboot your device.
per-app DPI...not; only with Xposed, when will be available.
Once you find the desired resolution it can be inserted in build.prop

Is there a way to change DPI? I dont know why OPPO deleted the important DISPLAY SIZE

I dont know what is wrong with OPPO ColorOS system engineer. Such a big screen phone, how can they delete the DISPLAY SIZE?
I even checked all the oppo phones, they are the same. Even VIVO phones.
And this makes the ColorOS UI very ugly.
but you can set it by ABD Code or developer options.
after you set it, you can see the difference with the orignal DPI settings (360). because the original one is really ugly.
better set as 420 or even bigger. personally I prefer 480 or 500.
but, questions coming. while restarting your phone. it will become like this. Damn.... I dont even know why it can be like this.
View attachment 4564870
Does anybody have a good way to set it please?
thanks a lot.
Since ColorOS is heavily modified by oppo, on current stage it's impossible to change it, and if u adjust the DPI higher than 360 you'll also noticed that the status bar will go crazy...
zhuyonsan said:
I dont know what is wrong with OPPO ColorOS system engineer. Such a big screen phone, how can they delete the DISPLAY SIZE?
I even checked all the oppo phones, they are the same. Even VIVO phones.
And this makes the ColorOS UI very ugly.
but you can set it by ABD Code or developer options.
after you set it, you can see the difference with the orignal DPI settings (360). because the original one is really ugly.
better set as 420 or even bigger. personally I prefer 480 or 500.
but, questions coming. while restarting your phone. it will become like this. Damn.... I dont even know why it can be like this.
View attachment 4564870
Does anybody have a good way to set it please?
thanks a lot.
Click to expand...
Click to collapse
No way to change it unfortunately. Apps like Youtube and Google Now look ridiculously magnified.
Display size
Highly disappointed .there is no option to set display size.everything looks so zoom out
@zhuyonsan how did you change DPI through ADB, when I tried it show me an error saying "Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS"
Thanks
karunch said:
@zhuyonsan how did you change DPI through ADB, when I tried it show me an error saying "Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS"
Thanks
Click to expand...
Click to collapse
Two ways of doing it.
1. Developer Options---Smallest width.
2.ADB: adb shell wm density XXX && adb reboot (XXX: the size which you wanna change)
@zhuyonsan That didn't work for me, see attached image
karunch said:
@zhuyonsan That didn't work for me, see attached image
Click to expand...
Click to collapse
adb shell
wm density 420
adb reboot
I'm getting the same java.lang.SecurityException: Must hold permission android.permission.WRITE_SECURE_SETTINGS error as Karunch when running the command 'wm density 420' inside the adb shell. Was there a fix for this?
solution
drazil22 said:
I'm getting the same java.lang.SecurityException: Must hold permission android.permission.WRITE_SECURE_SETTINGS error as Karunch when running the command 'wm density 420' inside the adb shell. Was there a fix for this?
Click to expand...
Click to collapse
it works, just remember to check "Disable Permission Monitoring" in Developer Options
i set at 480 dpi with nova launcher prime
Hope it hepls
allacciascarpa said:
it works, just remember to check "Disable Permission Monitoring" in Developer Options
i set at 480 dpi with nova launcher prime
Hope it hepls
Click to expand...
Click to collapse
And what about neon notifications? On different dpi it makes a strange display effect!
freccia said:
And what about neon notifications? On different dpi it makes a strange display effect!
Click to expand...
Click to collapse
Here everything works fine.
So, any way yet to get rid of those weird cutouts on status and nav bar once we change dpi yet?
freccia said:
And what about neon notifications? On different dpi it makes a strange display effect!
Click to expand...
Click to collapse
Allesa said:
So, any way yet to get rid of those weird cutouts on status and nav bar once we change dpi yet?
Click to expand...
Click to collapse
That's one more noise...
allacciascarpa said:
it works, just remember to check "Disable Permission Monitoring" in Developer Options
i set at 480 dpi with nova launcher prime
Hope it hepls
Click to expand...
Click to collapse
Thanks! it was that second setting that I was missing. Also your additional post mentioning you had no problems with the notification bar. I originally set the dpi at 420 but got the messed up notification bar. Changed it to 480 to match your post and the display bug fixed :good:. I guess 420 does not scale properly with the default dpi but 480 does.
Edit: ok I think I finally figured this out. you have to use a lower number like '360' to increase what's displayed on the screen. 'wm density 480' is the default value.
Don't let people confuse you in this thread. Basically the dpi can be changed in the "minimum width" parameter in the developer settings. However, Oppo is absolutely tyrannical in their allowance of the dev menu. The entire status bar turns a flashing orange warning that the developer mode will lead to phone issues. Setting the dpi from the dev menu results in NO status bar anomalies. Upon disabling the developer menu, all dpi changes are LOST. The other way to change the dpi is through adb. The command wm density does this. This produces the same change as the developer mode does. Great right, let's use adb to just change the dpi and not use the dev mode. Well the developer mode is required to be enabled to further enable USB debugging to even send adb commands in the first place. So upon disabling dev mode, all adb dpi changes are also reset. I also used the command wm density xx && reboot. When rebooted the corner of the top and bottom right side has a black anomalous overlay.
Of all tweaks I care about, a custom launcher is one, but dpi is the next. This phone is borderline unbearable.
xNiNELiVES said:
Don't let people confuse you in this thread. Basically the dpi can be changed in the "minimum width" parameter in the developer settings.
Of all tweaks I care about, a custom launcher is one, but dpi is the next. This phone is borderline unbearable.
Click to expand...
Click to collapse
Totally agree to this. I don't think we have any clean solution right now. ColorOS is such a terrible skin to work with and probably Oppo is not serious about this. The team wants to add new features, but ironically some of these important basic android features have gone for a toss.. Shame! Such a software experience is a bummer and I'm not gonna consider Oppo in future - I'm really frustrated.
Is there a way we can send a strong message to the team for this inclusion of this basic option?
Download MS Resolution changer from playsotre, you can change the resololution and the dpi without roor but you have to give the app a permission from adb in order to use the it.
1-Install the app from Playstore on your phone
2-Open it
3-Enable "usb debugging" in Developer Options.
4-Enable "Disable Permissions Monitoring" in Developer Options.
5-Conncet your phone to your pc with usb cable and run this command on adb:
"adb shell pm grant com.draco.smresolutionchanger android.permission.WRITE_SECURE_SETTINGS"
6-Go back to the app and change resolution and dpi, I have an Oppo F9 and the best parameters is resolution: 1080x2340 | dpi: 360
Here's some screenshots : drive.google.com/open?id=10RajURi6meQG6XtobTP3YpW3dWs3MHt4
It takes effect immediately after changing it to 450 BUT it gets reset to default after rebooting.
Change:
c:\minimal_adb_fastboot_1.4.3_portable>adb shell wm density 450
Before ADB Reboot:
c:\minimal_adb_fastboot_1.4.3_portable>adb shell wm density
Physical density: 480
Override density: 450
After ADB reboot:
c:\minimal_adb_fastboot_1.4.3_portable>adb shell wm density
Physical density: 480
Is there some user start script where I can put this setting so that it get's picked up each time I restart Oppo Find X6 Pro (on Android 13) ?? (or some other way to make it permanent (phone not rooted)).

Categories

Resources