Created
October 1, 2022 15:06
-
-
Save jack-webb/8232d4acbe5adf4d6f44a12508e4b25c to your computer and use it in GitHub Desktop.
Change screen configuration with ADB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Emulate any screen config | |
adb shell wm size 3200x1440 # The pixel size of the display | |
adb shell wm density 288 # Called "Display Size" or "Screen Zoom" in Settings | |
adb shell settings put system font_scale 0.5 # Any floating point number, common values are between 0.85 and 1.3 | |
# Reset screen config back to default | |
adb shell wm size reset | |
adb shell wm density reset | |
adb shell settings put system font_scale 1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment