Grayscale is a quick settings tile that can toggle your display between full color and grayscale.
Normally this setting exists in
Settings -> System -> Developer Options -> Simulate color space -> Monochromacy
.
This can be a pain to change quickly by hand! Grayscale is a quick settings tile that allows you to toggle this setting.
- install adb (guide)
- download the app (right click to save as..)
- install the app
adb install grayscale-1.0.apk
- grant secure settings permissions
adb -d shell pm grant com.dtkav.grayscale android.permission.WRITE_SECURE_SETTINGS
Developer options cannot be changed by apps without special permission, so you have to grant special permissions to Grayscale in order to use it.
The secure settings
permission flag is broad, so it's a good idea to review the code first!
I've compiled the APK without obfuscation, so you can analyze it with Android Studio if you like.
If your phone is rooted, check out the next section, otherwise skip to adb
.
If your phone is rooted, you can grant permissions directly on your phone.
If you phone isn't rooted, then you need to use adb (Android Debug Bridge) to grant the app special permission. This can be done with the following command:
adb -d shell pm grant com.dtkav.grayscale android.permission.WRITE_SECURE_SETTINGS
You can manually set your phone to grayscale (this app is just a quick toggle) in developer options.
You can enable on-device developer options by following these instructions.
Once you have developer options, the setting exists in
Settings -> System -> Developer Options -> Simulate color space -> Monochromacy
.
This was forked from fei-ke because I didn't want to grant broad permissions to a random app on the play store. I've also changed to the US spelling of "grayscale", as well as add more detailed instructions in the README.
You can find fei-ke's app Greyscale on google play.