Giter Site home page Giter Site logo

michaelschattgen / colorbreeze Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 2.49 MB

Color Breeze is an Android app which will automatically grayscale the display according to the specified schedule by the user.

License: GNU General Public License v3.0

Java 100.00%

colorbreeze's Introduction

Color Breeze

Color Breeze is an open source Android app which mimics the behavior of Google's Wind Down feature introduced in Android Pie (9.0).

Getting Started

In order for Color Breeze to work it is required to grant the 'WRITE_SECURE_SETTINGS' permission. The permission is needed to grayscale your device.

This permission can be granted by giving the app root priviliges or by manually granting it via adb.

How to manually grant permission

Before following the steps below, make sure you've installed adb correctly and it's properly set up in your path variables.

  1. Connect your Android device to your computer
  2. Execute the following command in your terminal or command prompt: adb devices
  3. Make sure your device appears in the output and its current state is online
  4. Execute adb shell pm grant com.reverp.colorbreeze android.permission.WRITE_SECURE_SETTINGS

Screenshots

Main Activity Settings Activity Example

Downloads

Color Breeze can be downloaded from the following sources:

Libraries

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details

colorbreeze's People

Contributors

michaelschattgen avatar

Stargazers

 avatar Eric Curtin avatar Alexander Bakker avatar

Watchers

Alexander Bakker avatar  avatar Ubiratã Carvalho Nogueira avatar

Forkers

patrickvdlinden

colorbreeze's Issues

Easier way of setting "android.permission.WRITE_SECURE_SETTINGS"

First of all, thanks for creating such a useful app (and open sourcing it). Hopefully it will increase my sleep quality so thanks so much! I'm sure loads will find this useful on pre-9.0 devices.

If it's not a technical limitation, it might be useful if the "WRITE_SECURE_SETTINGS" was implemented as a pop-up permission to allow or deny. I'm sure most users don't even know how to access the Developer Options in the menu.

Otherwize, It might be useful to put the adb steps directly in the pop up so you can access them if you are offline.

But yeah just some suggestions you have probably thought of already! Thanks again for creating this useful app.

Problems setting android.permission.WRITE_SECURE_SETTINGS on MIUI devices.

I'm just going to link a issue that helped me to set the android.permission.WRITE_SECURE_SETTINGS on a MIUI device.

Genymobile/gnirehtet#5 (comment)

The issue seems to be resolved by heading over to Developer Options on MIUI, and enabling the following:
USB debugging -Debug mode when USB is connected
Install via USB -Allow installing apps via USB
USB debugging (Security Settings)- Allow granting permissions and simulating input via USB debugging

The first was already enabled, and I installed the apk file manually so I didn't need the second option.

After enableing the USB debugging (Security Settings) option, a few timed dialoges have to be accepted.
Don't forget to disable the option after you've set the permission!

Hopefully this will help someone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.