Git Product home page Git Product logo

f.lux's Introduction

f.lux-xcode

This installs the f.lux iOS app on your device without requiring a jailbreak. Learn more about f.lux at https://justgetflux.com/

Why isn't this in the app store?

This app changes the color of all running apps on your phone, even when f.lux is not directly open. Such functionality is not allowed in the App Store Review Guidelines, however this type of app is possible.

How do I get this on my phone?

  1. Download (click releases above for file), then open with Xcode

  2. In the Project Editor, go to General > Identity > Bundle Identifier and append some characters to the identifier string to make it unique (anything but com.justgetflux.iflux) or you may get an error saying "An App ID with Identifier 'com.justgetflux.iflux' is not available. Please enter a different string."

  3. Plug in your phone

  4. Select your phone from the device menu (next to the "Play" and "Stop" buttons)

  5. Click "Play"

How does it work?

There is an opaque, non-open-source app called iflux in this project. We trick Xcode into signing and installing this app on your phone by:

  1. Building a dummy app "just an app"

  2. Splicing in the opaque binary during the build process

  3. Letting Xcode sign and install the app as normal

There are build errors

We are building the binary twice, once using source code, and again by splicing. This duplication is reported as an error by Xcode.

f.lux's People

Contributors

3lvis avatar alexander-akhmetov avatar fulldecent avatar jefferyleo avatar lucasderraugh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

f.lux's Issues

License

Please add a license file

It wont work

I have side loaded the application to my iPod 5 (iOS 9.2.1) and it wont change the screen.
Please help

Crashing on iOS 9.2 13C75

This is crashing on iOS 9.2 13C75 for me. Not jailbroken.

When opening, the app does not get to the main screen, it just crashes.

Is anyone else experiencing this?

Ipad 9.2

Installed F.lux on my iPad 9.2 F.lux version 1.09

However, I can't change the hue, it shows it changing while i adjust the sliders or change the wake up time but it goes back to pitch yellow hue as soon as I let go of the sliders

Any advice?

Thank you
NVM!! Fixed it, needed to read directions, Leave the setting on "dawn" the developers don't have the settings set yet

Issue with iPad Pro

The app stops on the splash screen and the console prints the following over and over:
2015-12-19 16:13:07.859 iflux[4534:163243] Waiting for display to come online...

Attribution

Please note in the README who has created this app and where the f.lux opaque binary is coming from.

App no longer works on iOS 9.3 (iPhone 5)

I have not tried to load it again from XCode, but after the update the installed version no longer works. It does seem to launch, but the iPhone jumps back to the homescreen. f.lux does show up in the app switcher, but switching to it makes it jump back to the homescreen. So the app seems to have launched, but it has no effect.

Apple probably broke it intentionally when implementing its Night Shift, 'unfortunately' that is not supported on the iPhone 5.

iPhone gets stuck in dark room mode until reboot.

I have a jailbroken iPhone 5 running iOS 10.3.4 with h3lix jailbreak. I've always used flux from the cydia repo (I think it was version 0.9986) without any issues. A few weeks ago I was unable to sign my jailbreak so I side loaded flux with the Xcode project from this repo (version 1.09). I am now jailbroken again and uninstalled the old flux version from cydia and kept the side loaded version and keep signing it with provenance every week.

I use the new darkroom feature every night but after a couple of days after a reboot the red tint gets stuck and the screen does not return to its normal colors during the day. I also can't change any settings in flux (change temperature, disable, preview) only darkroom works.) The colors are not inverted when dark room feature is disabled but the tint stays. I attached a couple of pics to clarify what I mean.

Is there anything I can do to fix this?

2019-12-06 13 52 35
2019-12-06 13 52 32

Working on 32-bit iPad 3 iOS 9.3.3

I hate using GH issues like forum comments, but... sorry

I mistakenly updated my iPad 3 (original retina) to iOS 9.3.3 thinking I could use the latest Jailbreak on it... oops. Also discovered that that Apple's nightshift doesn't work on 32-bit devices either (which is ridiculous). Since I only use my iPad for reading in bed at night, that suddenly because a rather painful experience.

The good news is I was able to sideload this version of Flux on it and it's working just fine.... yay. It sounds like the current Cydia version of F.lux might not be compatible with 9.3.3 yet, but FWIW this version sideload seems to be.

Build Fails

Hi I am getting the following error from Xcode when I try to build this app.

  1. Target 'iflux' has copy command from '/Users/b/Downloads/flux/f.lux-master/iflux' to '/Users/b/Library/Developer/Xcode/DerivedData/iflux-ciglrfbteqzwqafnuwfvdkdacxoh/Build/Products/Debug-iphoneos/iflux.app/iflux'
  2. Target 'iflux' has link command with output '/Users/b/Library/Developer/Xcode/DerivedData/iflux-ciglrfbteqzwqafnuwfvdkdacxoh/Build/Products/Debug-iphoneos/iflux.app/iflux'

I had a look through all the files for copy/link commands but could not find the cause, this is the only issue with the build process. Trying to build for iPad running iOS 10.3.3

Add ability to not care about time

I just want to open Flux with Alfred, and when it's open, my screen is dimmed to a single preset.

Then when I exit out of Flux, I want it to return to normal brightness.

I sleep at completely random times and "When I wake up" is useless. Messing with settings so that I can turn it on/off causes me to simply not use this app as much as I'd like to.

How does this work?

Im working on an app which combines by other apps altogether and want to run my apps. Any way I can do this?

ios 11 compatibility

Please make flux work for iOS 11
f.Lux is way better than Nighthift on an iPhone X, because the way Apple implemented it, makes all text go blurry when scrolling. It looks like there is a yellow layer, that scrolls slower than the rest.
And we have a new Electra jailbreak now from 11.2 - 11.4 beta 4

Black screen

After building the app and verifying myself as a developer on my phone, once I open the app all I get is a black screen. I'm running an iPhone 6s w/ iOS 9.2

Failed to code sign "iflux".

I get this error message

No non–expired provisioning profiles were found.

Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to     recommended values and resolve issues with signing identities and provisioning profiles.

After I try to fix the issue I get

An App ID with Identifier 'com.justgetflux.iflux' is not available. Please enter a different string.

Release

Please create a release so the source can be downloaded as a ZIP

I want to make my screen colder

Now the maximum of colour temperature is 6500K, but I want to adjust my screen to about 7000K because of the hardware issue of the earliest iPhone SE, will this option been added?

Turning on & off in just a few seconds

encounter a problem and a post in the f.lux forum also mentioned.

I made the update to 37.1 version and since then, the app turn on and off and on every seconds ! It is very annoying, I feel like I'm in a fucking night club !!!
Hopefully, I'm not epileptic !!!!!
Does anyone have the same problem ???
Because it didn't do this before, so I delete it & I download the 37.2 version, and it is the same !
I like the app, but why doing new version if it's getting worst ???

Turning off auto brightness in the mac settings solved it. But I don't think it's a good solution. Hope the problem to be resolved as soon as possible. Thanks!

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.