35

GitHub - ti0ma/oneplus-screen-shortcut: Shortcut tile for switching refresh rate...

 4 years ago
source link: https://github.com/ti0ma/oneplus-screen-shortcut
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

OnePlus screen refresh rate switcher

Just a simple shortcut menu toggle for switching between 60 Hz and 90 Hz refresh rate on the OnePlus 7 Pro

OnePlus screen refresh

Motivation

Basically I got tired doing up to 5 steps each time I wanted to switch between refresh rates for saving battery life or for playing Pokemon GO (it's harder to get a curve ball sweat_smile). I needed something quicker, so I created this APP.

But... How can you switch it?

Simple! Each time you switch it over settings menu you change the oneplus_screen_refresh_rate global value setting it to 1 when 60 Hz and 2when it's 90 Hz.

Installation

  • Download the app rocket
  • Install it in your awesome OnePlus 7 Pro star_struck
  • Enable developer tools (Settings -> about phone -> click on "Build number" several times) hammer_and_wrench
  • Enable USB debugging (Settings -> System -> Developer options -> USB Debugging) microscope
  • Set up ADB (More info) hammer_and_wrench
  • Run adb shell pm grant me.molonosov.oprefreshrate android.permission.WRITE_SECURE_SETTINGS (Without this permission the application would not be able to change the parameter) computer

Now, you can edit the quick settings layout and add the Tile whereever you want ;)

© Artem Molonosov 2019 MIT License


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK