Changing the DPI/"display size" on the stock global rom without root

siemen86

Member
Aug 27, 2015
6
0
0
Hello! No need for any apps to the phone. I have MIUI9 and this is what I did.

1. http://api.en.miui.com/url/MiFlashTool

If you have installed any other phone drivers to your PC, just remove them and install Mi Flash Tool

2. https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip

Download SDK Tools to your PC. You can put it to right to C:\SDK for example so its easy to go there afterwards.

3. Enable both USB Debugging options in your phone's developer settings from additional settings. If you don't have developer settings availalbe, go to "about phone" and tap MIUI Version several times to get those developers.

4. Go to command prompt on your computer. Then navigate to your SDK Tools directory. (C:\sdk)
Type:
adb shell wm density 380

(I heard 380 is the lowest you can put there without having problems with home screen icons etc. )
No need for restarts, it will take action right away.
 

Hellboy880

Senior Member
Jul 20, 2011
184
11
0
Hello! No need for any apps to the phone. I have MIUI9 and this is what I did.

1. http://api.en.miui.com/url/MiFlashTool

If you have installed any other phone drivers to your PC, just remove them and install Mi Flash Tool

2. https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip

Download SDK Tools to your PC. You can put it to right to C:\SDK for example so its easy to go there afterwards.

3. Enable both USB Debugging options in your phone's developer settings from additional settings. If you don't have developer settings availalbe, go to "about phone" and tap MIUI Version several times to get those developers.

4. Go to command prompt on your computer. Then navigate to your SDK Tools directory. (C:\sdk)
Type:
adb shell wm density 380

(I heard 380 is the lowest you can put there without having problems with home screen icons etc. )
No need for restarts, it will take action right away.

53/5000
do you know the parameters for apps in tablet mode?
 

simrim1

Senior Member
Jan 23, 2007
204
21
0
Hello! No need for any apps to the phone. I have MIUI9 and this is what I did.

1. http://api.en.miui.com/url/MiFlashTool

If you have installed any other phone drivers to your PC, just remove them and install Mi Flash Tool

2. https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip

Download SDK Tools to your PC. You can put it to right to C:\SDK for example so its easy to go there afterwards.

3. Enable both USB Debugging options in your phone's developer settings from additional settings. If you don't have developer settings availalbe, go to "about phone" and tap MIUI Version several times to get those developers.

4. Go to command prompt on your computer. Then navigate to your SDK Tools directory. (C:\sdk)
Type:
adb shell wm density 380

(I heard 380 is the lowest you can put there without having problems with home screen icons etc. )
No need for restarts, it will take action right away.
It is not working for me. I got MIUI9 on Mi6. My phone is not rooted. and here is what I get.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
df5857f5 device

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell wm density 380
java.lang.SecurityException: Must hold permission android.permission.WRITE_SECURE_SETTINGS
at android.os.Parcel.readException(Parcel.java:1684)
at android.os.Parcel.readException(Parcel.java:1637)
at android.view.IWindowManager$Stub$Proxy.setForcedDisplayDensityForUser(IWindowManager.java:1546)
at com.android.commands.wm.Wm.runDisplayDensity(Wm.java:205)
at com.android.commands.wm.Wm.onRun(Wm.java:90)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:51)
at com.android.commands.wm.Wm.main(Wm.java:47)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)


But I found a solution. which is as follows. credits to apelsinex and fmotta on MIUI forum.

1. Settings -> Additional Settings -> Developer options -> Turn off Miui Optimizations -> Restart
2. Security -> Permissions -> Gear Icon at top right corner -> Turn On "Install via USB"
3. Settings -> Additional Settings -> Developer options -> Turn On/Off "USB Debugging" -> Turn On "Install vis USB"

If there is any issue turning on the last option. switch off WiFi and switch on your mobile data. Make sure you are connected to Mi account on your mobile.

I hope it will help someone.
 

Stryker_Echo9er

Senior Member
May 7, 2014
94
27
0
Mumbai
Why is it that on my Oneplus 3T I have to increase dpi to increase the real-estate and on the Mi Max 2 i have to decrease the dpi to increase the real-estate.
This just is against all I theoretically know about DPI, screen resolutions and pixel density.
 

Smoked33

Senior Member
Nov 8, 2010
384
39
0
Kitchener
But I found a solution. which is as follows. credits to apelsinex and fmotta on MIUI forum.

1. Settings -> Additional Settings -> Developer options -> Turn off Miui Optimizations -> Restart
2. Security -> Permissions -> Gear Icon at top right corner -> Turn On "Install via USB"
3. Settings -> Additional Settings -> Developer options -> Turn On/Off "USB Debugging" -> Turn On "Install vis USB"

If there is any issue turning on the last option. switch off WiFi and switch on your mobile data. Make sure you are connected to Mi account on your mobile.

I hope it will help someone.
The first method didn't work for me either... it appeared to but the screen didn't change. I'll try this... I assume this is to happen before the sdb command to drop dpi? That part's not clear.
 

Smoked33

Senior Member
Nov 8, 2010
384
39
0
Kitchener
The first method didn't work for me either... it appeared to but the screen didn't change. I'll try this... I assume this is to happen before the sdb command to drop dpi? That part's not clear.
Update: Got it working. It was the second USB debugging option that needed to be disabled. Loving 360dpi :)
 

Smoked33

Senior Member
Nov 8, 2010
384
39
0
Kitchener
Found this reliable way to enable USB Debugging (security) feature....

"Install via USB" wont work if your Xiaomi phone is running MIUI 8 or above. Looks like when you try to Enable this option, your phone trys to connect to some chinese server and fails.

I got a work around and it worked for me. Idea is to connect to Chinese-Shanghai server through VPN. Try the following:

Install PlexVPN from Playstore and login into it. You will get a 24 hr free VPN service.
Select China-Shanghai server and connect.
From developer option in your Xiaomi phone, Enable "Install via USB".
You can then disconnect the VPN and logout from PlexVPN.
Enjoy!!
 

jutley

Senior Member
Mar 23, 2006
2,634
457
163
UK
This worked for me first time

Hello! No need for any apps to the phone. I have MIUI9 and this is what I did.

1. http://api.en.miui.com/url/MiFlashTool

If you have installed any other phone drivers to your PC, just remove them and install Mi Flash Tool

2. https://dl.google.com/android/reposi...ws-3859397.zip

Download SDK Tools to your PC. You can put it to right to C:\SDK for example so its easy to go there afterwards.

3. Enable both USB Debugging options in your phone's developer settings from additional settings. If you don't have developer settings availalbe, go to "about phone" and tap MIUI Version several times to get those developers.

4. Go to command prompt on your computer. Then navigate to your SDK Tools directory. (C:\sdk)
Type:
adb shell wm density 380

(I heard 380 is the lowest you can put there without having problems with home screen icons etc. )
No need for restarts, it will take action right away.
 

user4001

Senior Member
Apr 4, 2016
82
18
0
I came across this really easy way to change DPI.


It allows access to Android's in-built Vision Settings which allows you change font size and display size. Although you can't manually input DPI figures I find small on both settings works beautifully.

No root/adb/pc needed, just one app (an excellent one at that).
 
  • Like
Reactions: Jaripi

paradise220

Senior Member
Aug 15, 2012
217
31
58
I came across this really easy way to change DPI.


It allows access to Android's in-built Vision Settings which allows you change font size and display size. Although you can't manually input DPI figures I find small on both settings works beautifully.

No root/adb/pc needed, just one app (an excellent one at that).
I just tried your trick with nova launcher without installing the QuickShortcutMaker app. I created a home screen gesture with nova launcher to go into vision setting which allowed to change font size and display size.
Btw your video tutorial helped me to use nova launcher for change the vision settings.
 
  • Like
Reactions: user4001
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