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

zhuyonsan

Member
May 9, 2016
29
2
0
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.
 

Uometydev

Member
Jul 24, 2012
21
2
0
Wenzhou
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...
 

prophet558

Senior Member
Oct 8, 2014
87
24
0
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.
No way to change it unfortunately. Apps like Youtube and Google Now look ridiculously magnified.
 

karunch

Senior Member
Dec 12, 2010
92
15
0
Bangalore
@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
 

zhuyonsan

Member
May 9, 2016
29
2
0
@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
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)
 

drazil22

Member
May 27, 2010
34
3
0
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?
 
Aug 16, 2018
6
3
0
solution

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?
it works, just remember to check "Disable Permission Monitoring" in Developer Options
i set at 480 dpi with nova launcher prime

Hope it hepls
 
  • Like
Reactions: drazil22

drazil22

Member
May 27, 2010
34
3
0
it works, just remember to check "Disable Permission Monitoring" in Developer Options
i set at 480 dpi with nova launcher prime

Hope it hepls
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.
 
Last edited:
  • Like
Reactions: allacciascarpa

xNiNELiVES

Senior Member
Apr 25, 2013
135
24
0
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.
 
Last edited:
  • Like
Reactions: farang4u and sujju

sujju

Senior Member
Jun 26, 2014
288
24
38
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.
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?
 

Heosphoros

New member
Jun 10, 2019
2
0
0
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
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone