Code Monkey home page Code Monkey logo

jschiefner / advanced-brightness-slider-tweak Goto Github PK

View Code? Open in Web Editor NEW
28.0 3.0 6.0 12.66 MB

iOS Tweak that manipulates the brightness slider in the control center so the display brightness and the white point intensity can be modified

Home Page: https://havoc.app/package/advancedbright

License: GNU General Public License v3.0

Makefile 5.73% C 1.00% Objective-C 93.27%
ios jailbreak theos tweak slider brightness whitepoint display

advanced-brightness-slider-tweak's Introduction

Build Get it on Havoc Donate on PayPal

AdvancedBrightnessSlider Tweak

This is an iOS Tweak that modifies the brightness slider in the Control Center. Even with dark mode toggled on, I found the display to be quite bright when reading in the dark. With this tweak, it becomes possible to dim the iPhone even below the regular minimum brightness allowed right from the control center. This tweak takes advantage of the Reduce White Point Setting usually found in Settings > Accessibility > Display & Text Size > Reduce White Point. When the brightness slider goes below a certain threshold, the brightness goes to zero and the Reduce White Point setting is activated. Sliding below that threshold then modifies the Reduce White Point intensity, instead of the usual brightness which is zero at that point. As well, the Auto Brightness feature of iOS is toggled off when the slider is below the threshold to prevent iOS from raising the brightness in that state.

Slider in Control Center Settings Pane

Support

  • iOS: 13, 14, 15 & 16
  • Rootful & rootless jailbreaks
  • Prysm (Control Center alternative available on Havoc), tested with version 1.9.1
  • BigSurCenter (Control Center alternative available on Havoc), tested with version 1.2.1

How it works

This tweak hooks into CCUIContinuousSliderView provided by ControlCenterUIKit.framework. This class represents the two sliders in the control center (brightness & volume). System API calls can be found in the ABSManager Implementation File.

Credits

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.