Skip to content

Latest commit

 

History

History
 
 

one-key-hidpi

Open macOS HiDPI

English | 中文

Instruction

This program is to open native Apple HiDPI settings for non-Retina screen, and no need for RDM. The resolution is faked to 2848 x 1604, and UI looks like 1424 x 802. Comparing to the previous version, this one solves glitter in boot page and in wake up.

macOS has a different dpi mechanism with Windows 10. For example, Win10 provides 125% scale or 150% scale option, while macOS can only change to a lower resolution if users choose "Scale" on a non-Retina screen. In this way, the visual experience is bad since UI and text seem small in 1080p, and they seem fuzzy if people choose "Scale".

Logo scaling up may not be resolved, because the higher resolution is faked.

Also, this program is only for Mi Pro.

How to install

  • Run the following command in Terminal:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/daliansky/XiaoMi-Pro-Hackintosh/master/one-key-hidpi/one-key-hidpi.sh)"
  • For macOS 10.14 and above, you may also need to enable font smoothing to get better experience
  • Run the following command in Terminal:
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
  • And adjust font smoothing setting:
  • Strong font smoothing
defaults -currentHost write -globalDomain AppleFontSmoothing -int 3
  • Medium font smoothing
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2
  • Light font smoothing
defaults -currentHost write -globalDomain AppleFontSmoothing -int 1

Recovery

If you cant boot into the system, or get any other issues, you can use clover -x reboot or into Recovery mode, remove DisplayVendorID-9e5 folder under /System/Library/Displays/Contents/Resources/Overrides , and move backup files.

In Terminal:

$ cd /Volumes/"Your System Disk Part"/System/Library/Displays/Contents/Resources/Overrides
$ rm -rf ./DisplayVendorID-9e5
$ cp -r ./backup/* ./

To return font smoothing settings to default, run the following commands in Terminal:

defaults -currentHost delete -globalDomain AppleFontSmoothing

And:

defaults write -g CGFontRenderingFontSmoothingDisabled -bool YES

Credits