[APP][2.3+] Lux Auto Brightness

Search This thread

Neuer_User

Senior Member
Jul 16, 2010
1,091
2,528
Where is the developer?

Anybody knows how to reach the developer?

He doesn't seem to react to questions and bug reports on this thread. I have tried the "report bugs/feedback" function in the app. No reaction either. :( :(

The app has a bug in the tasker plugin. Cannot be used with tasker. Pity, I would like to turn lux off in cases when the phone is in the car dock.

Anybody recommends a brightness app with better support?
 

STAticKY

Senior Member
Feb 11, 2013
1,067
394
Christchurch
Anybody knows how to reach the developer?

He doesn't seem to react to questions and bug reports on this thread. I have tried the "report bugs/feedback" function in the app. No reaction either. :( :(

The app has a bug in the tasker plugin. Cannot be used with tasker. Pity, I would like to turn lux off in cases when the phone is in the car dock.

Anybody recommends a brightness app with better support?

Have you tried to PM him??

Sent from my portable powerhouse using Tapatalk 4
 

Cyb3rGlitch

Senior Member
Apr 12, 2011
599
663
Anybody knows how to reach the developer?

He doesn't seem to react to questions and bug reports on this thread. I have tried the "report bugs/feedback" function in the app. No reaction either. :( :(

The app has a bug in the tasker plugin. Cannot be used with tasker. Pity, I would like to turn lux off in cases when the phone is in the car dock.

Anybody recommends a brightness app with better support?

Hey Neuer_User. I replied to a batch of emails a few days ago. I'm close to my thesis deadline so I'm forced to reply to people in large batches. If I missed your email please resend it so I can take a look.
 
  • Like
Reactions: rxmxsh

Neuer_User

Senior Member
Jul 16, 2010
1,091
2,528
Hey Neuer_User. I replied to a batch of emails a few days ago. I'm close to my thesis deadline so I'm forced to reply to people in large batches. If I missed your email please resend it so I can take a look.
Yeah, I understand. Good luck with the thesis. It's a lot of work.

I have sent you a PM regarding the problems I have. When you have some time, have a look at it.

Cheers

Michael
 

ehabnoreddin

New member
Apr 11, 2013
3
0
anyone else getting weird colors across the screen when powering on/off to or from the lock screen? I've tried dynamic and "on wake" adjust modes, but same problem...

I'm using a liquidsmooth rom on a sprint gs3... only happens when the app is enabled or not sleeping...I'm guessing it has something to with the light sensor polling? otherwise, its an awesome app!
 

Robi959

Senior Member
Mar 11, 2011
750
190
Is anyone know how can i set in tasker to get a refreshing every 45 seconds. Im using it for my S3 mini, and set to On wake. I want to try to set for refresh time in tasker but don't know how :/ please help me
 
Last edited:

Neuer_User

Senior Member
Jul 16, 2010
1,091
2,528
Is anyone know how can i set in tasker to get a refreshing every 45 seconds. Im using it for my S3 mini, and set to On wake. I want to try to set for refresh time in tasker but don't know how :/ please help me
Well, I tried the Tasker plugin and it does not work here. I already contacted the author via PM. Let's see if he can fix this bug.
 

sylvn

Senior Member
May 11, 2008
76
33
I'd like my photo gallery to be at 100% but i only see the option to make lux sleep at the current x% when the photo gallery opens.
Is there a way to set specific app to be at 100%?
 

Cyb3rGlitch

Senior Member
Apr 12, 2011
599
663
Hey everyone. Sorry for being very slow with the responses, I've been swamped with work lately (and still am). I've created a Google+ community for future beta builds. Please request access if you plan to provide feedback (also, you need to already own a copy of Lux):

https://plus.google.com/communities/110543872430577987299/

Once you've been added to the group, simply click the link in the 'about' section to opt-into the beta. From then on you will receive new beta builds automatically via Google Play.
 

Shardzmi

Senior Member
Dec 4, 2012
346
150
Hey everyone. Sorry for being very slow with the responses, I've been swamped with work lately (and still am). I've created a Google+ community for future beta builds. Please request access if you plan to provide feedback (also, you need to already own a copy of Lux):

https://plus.google.com/communities/110543872430577987299/

Once you've been added to the group, simply click the link in the 'about' section to opt-into the beta. From then on you will receive new beta builds automatically via Google Play.

Hi there! I've been using lux successfully on my gnex, but after recently changing to mako ( nexus 4 ), I saw that lux doesn't change the brightness at all! I'm using the latest faux kernel and slimbean ( weekly build 5.7 ) : What are the things that COULD go wrong?
(Explanation : Even if I set brightness through lux manually, it won't change at all. I'm using the paid version of the app)

Thank you!
 

rxmxsh

Senior Member
Dec 22, 2012
354
108
Hi there! I've been using lux successfully on my gnex, but after recently changing to mako ( nexus 4 ), I saw that lux doesn't change the brightness at all! I'm using the latest faux kernel and slimbean ( weekly build 5.7 ) : What are the things that COULD go wrong?
(Explanation : Even if I set brightness through lux manually, it won't change at all. I'm using the paid version of the app)

Thank you!

SwipePad is the only app that I've found that messes with it. And only if you have the top 2 corners enabled.
 

dtective

Senior Member
Oct 24, 2012
81
18
100% jump

For whatever reason, Lux keeps jumping to 100%.

I don't know what on earth is causing this, but it fixes itself after a while... only sometimes it takes ages.
Is anyone else having this issue?
 

CPaladin

Member
Nov 7, 2011
34
1
Hi all

I'm having a issue with the front camera. It works fine in darker enviroment, but when under stronge light, the luma reading won't increase at all, in fact, if I put it directly under a lamp the luma reading will decrease instead. I presume the camera is designed to shrink its aperture(or whatever it's called) to protect itself from strong light, but it's not what I want for light sensing. Anyway I can have a workaround of this issue?

BTW I'm using the Sumsang Galaxy R with CM10.1 nightly
 
Last edited:

Cyb3rGlitch

Senior Member
Apr 12, 2011
599
663
Hi there! I've been using lux successfully on my gnex, but after recently changing to mako ( nexus 4 ), I saw that lux doesn't change the brightness at all! I'm using the latest faux kernel and slimbean ( weekly build 5.7 ) : What are the things that COULD go wrong?
(Explanation : Even if I set brightness through lux manually, it won't change at all. I'm using the paid version of the app)

Thank you!

Make sure you don't have any other brightness apps installed, or any apps which use overlays such as SwipePad.

For whatever reason, Lux keeps jumping to 100%.

I don't know what on earth is causing this, but it fixes itself after a while... only sometimes it takes ages.
Is anyone else having this issue?
Go into the Dashboard and hold down the settings button. Do you have 100% linked to low lux values?

Hi all

I'm having a issue with the front camera. It works fine in darker enviroment, but when under stronge light, the luma reading won't increase at all, in fact, if I put it directly under a lamp the luma reading will decrease instead. I presume the camera is designed to shrink its aperture(or whatever it's called) to protect itself from strong light, but it's not what I want for light sensing. Anyway I can have a workaround of this issue?

BTW I'm using the Sumsang Galaxy R with CM10.1 nightly
Just to double check, did you try shining the light on the rear camera? Maybe it swapped somehow.
 

Shardzmi

Senior Member
Dec 4, 2012
346
150
Make sure you don't have any other brightness apps installed, or any apps which use overlays such as SwipePad.

Indeed I am using Floating Notifications but it worked without any problems on my gnex.
EDIT : Even after disabling floating notifications, lux doesn't change the device's brightness. The only way to change it is by moving the slider in brightness settings
 
Last edited:

CPaladin

Member
Nov 7, 2011
34
1
Just to double check, did you try shining the light on the rear camera? Maybe it swapped somehow.

Nah I'm pretty sure it doesn't get swapped, both back and front camera work just as intened under moderate light. Don't know if it has something to do with the CM Rom. I've posted the issue to the CM thread of Galaxy R, will report back in a few days.

Meanwhile I'm just using tasker to take over under strong light, pitty the light sensor reading of Galaxy R is so rough
 

DevShaft

Senior Member
May 12, 2013
603
1,456
@Cyb3rGlitch: I really am enjoying your app on my devices. Now I would also like to buy a license for my girl her phone, but the Google Play store is saying it is not compatible. Her device is the Samsung Galaxy S3 Mini, it is hard for me to believe that your app isnt supporting that device. Can you give me any response on this?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 160
    unnamed.png


    Lux - The Original Android Auto-Brightness App

    So I thought I should make an XDA thread for Lux, over a year after releasing it to the Play Store!

    FULL or FREE


    Issues/Suggestions

    If you have any issues or suggestions, please add them to the public issue tracker found here. Be sure to search first, duplicated issues will not work in your favour.


    News
    • Update to 1.51 released to Play Store!
      - Profiles. Have different behaviour for day and night!
      - Root plug-ins. Custom kernel with RGB control? Make a plug-in to utilise it!
      - Improved notification
      - Low pass filter
      - Cubic interpolation
      - Polish/French/Russian/German/Italian translation
      - Manual sunrise location input
      - Control Dashboard slider with vol. keys
      - Fade duration/step
      - Reduced battery usage
      - Fixes

    • Update to 1.06 released to Play Store!
      - Automatic night mode (uses location for sunset/sunrise).
      - Notification priority
      - Enhanced dashboard and notification UI
      - Enable/disable and refresh Lux via Tasker
      - Bug fixes

    • Update to 0.76 released to Play Store!
      - Fixed brightness issues after call

    • Update to 0.74 released to Play Store!
      - Fixed max/phone brightness preferences swapped
      - Added ignore 0 lux option
      - Made static phone brightness optional

    • Update to 0.70 released to Play Store!
      - New 'ascending' automatic mode for zero jitter!
      - Expandable notification for added control (Android 4.1+)
      - Improved efficiency
      - Install to OS functionality
      - Set min/max brightness bounds
      - Adjustable night mode
      - Improved persistence (Android won't kill it!)
      - Fixed Nexus 7 255 luma bug
      - Fixed Tasker 'on wake' revert bug
      - Compat. mode is now known as 'sleep mode'
      - Night Mode now default Dashboard action (hold for Astro. mode)
      - Misc. tweaks and fixes.

    App Description

    Lux isn't your ordinary brightness app. It intelligently adjusts the brightness of your display based on the environment you're in. If, for example, you step into a dimly lit room, Lux will automatically lower the brightness of your display to make it not only comfortable to read, but to also preserve battery power.
    Lux provides the option to automatically adjust the backlight at fixed intervals (periodic mode), when a change in environment is detected (dynamic mode), or when the phone wakes from sleep. It's also possible to adjust the backlight manually. Simply disable automatic mode and you can use it like a traditional brightness tool!
    Perhaps the best thing about Lux is that you can teach it how to behave. If the backlight is too bright or dim for your liking, simply open the provided Dashboard, adjust the brightness slider to the level you desire, then hold the link button. Lux will use this new 'link' as a reference in future.

    Give it a go! I want you to test Lux for more than the 15 minute refund period offered by Google. I understand that some devices may not have the best quality light sensor, and that you may need more time to play around with settings. If you find that Lux doesn't suit you after the 15 minutes is up, you can request a refund at any time via e-mail - no questions asked.

    ★FEATURES★
    ■ Custom auto brightness.
    ■ Sub-zero brightness to make reading in the dark significantly less irritating.
    ■ Battery efficient
    ■ Handy brightness widget
    ■ Option to use the camera to read in ambient light.
    ■ Power-user settings such as choice of interpolation, sensor debugging, and linked sample editing.
    ■ Backup to SD.
    ■ 'Ascending' auto mode for phones with inaccurate light sensors.
    ■ Gradual fade for backlight adjustments.
    ■ Astronomer mode adds a red filter to the screen to preserve the eyesight of stargazers.
    ■ Jitter control to prevent constant small changes to the backlight.
    ■ Automatic night mode, to change the colour temperature of the display for comfortable night time viewing.
    ■ Add app specific exceptions via sleep mode
    ■ No ads, or other nuisances.
    ■ Tasker and Locale support!
    Note: Please disable other brightness apps before using Lux. The author is not liable for any issues caused when using this app.

    ★PERMISSIONS★
    TAKE PICTURES AND VIDEOS: Used to read in luma values, if camera input is selected.
    DRAW OVER OTHER APPS: Required for night/astro mode.
    READ PHONE STATE: Required to prevent Lux from interfering with phone controls in Android 4.1.
    MODIFY SYSTEM SETTINGS: Brightness is a system setting, as is toggling the default auto brightness.
    RETRIEVE RUNNING APPS: Required to make the 'sleep list' functionality work, so Lux can disable itself when certain apps are in the foreground.
    COARSE LOCATION: Required to automatically calculate sunrise/sunset times.
    IN APP BILLING: Required for purchasing future device specific root only plug-ins, to enhance functionality.
    14
    Lux Low-Level Plug-ins

    Soon Lux will support plug-ins to bypass Android API limitations. These plug-ins serve to replace the overlay system Lux uses to make adjustments for Night/Astronomer modes and brightness in general. The plug-in library is free to use for non-commercial development, and can be found here:

    Lux Plug-in Library | Nexus 4 Sample Plug-in Code

    How to make a plug-in

    There are two approaches to making a plug-in for Lux. The passive and the active method. The former is as easy as providing a set of superuser commands for Lux to interpret and apply. These command correlate to functions such as setting pixel RGB or brightness levels. This is the type of plug-in the Nexus 4 sample linked above takes.
    The active method requires you produce your own code to perform RGB/brightness adjustments. This might include importing a device specific library to do the heavy lifting, and then returning empty superuser commands back to Lux.


    Getting Started

    Simply import the Lux Plug-in Library source into your IDE as an Android Library Project, and then create a new Android app which extends PassiveDisplay.java.

    PassiveDisplay provides hooks into Lux's plug-in framework, which you can use to provide superuser commands for Lux to execute. These commands correlate to functions such as setting RGB values. Take a look at the sample Nexus 4 project to see how it's all done.
    Finally, in your new project's AndroidManifest.xml file, add the following:

    Code:
        <activity
            android:name="com.vitocassisi.lux.plugin.MainActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
    
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    
        <receiver
            android:name="com.vitocassisi.lux.plugin.LuxBroadcastReceiver"
            android:exported="true" >
            <intent-filter>
                <action android:name="com.vitocassisi.lux.plugin.search" />
            </intent-filter>
        </receiver>
    
        <service
            android:name=".[B]MY_PLUGIN[/B]"
            android:exported="true" >
            <intent-filter>
                <action android:name="[B]YOUR_PACKAGE_NAME_HERE[/B]" />
            </intent-filter>
        </service>

    Be sure to replace YOUR_PACKAGE_NAME_HERE with the name of your plug-in's package, and MY_PLUGIN with your extended PassiveDisplay class.

    And that's it! Now you're ready to test!


    Enabling Plug-In support within Lux

    To enable plug-in support, you must check 'Enable plug-in support' in the Advanced section of Lux settings. Enabling this option forfeits all responsibility of mine for any issues caused while using Lux. Plug-in's can cause very real damage to your device if they're written incorrectly - don't use plug-ins from sources you don't trust!
    Testing your plug-in
    Testing is critical for creating a good plug-in. You are dealing directly with system files, and can easily cause damage if you do not know what you're doing.

    DO NOT RELEASE A PLUG-IN WITHOUT TESTING IT ON THE TARGET DEVICE FIRST!

    Ensure that the following work with your plug-in installed:
    • Astronomer Mode
    • Night Mode
    • General brightness adjustment
    • Lux readings functional

    BE METICULOUS WITH YOUR IMPLEMENTATION OF isSupportedDevice()!
    Modifying system files on the wrong model/kernel may cause irreversible issues!


    Licence
    Code:
    Copyright © 2013 Vito Cassisi
    
    You may not use this library except in compliance with the following:
        - It cannot be used for commercial purposes under any circumstances, unless explicit permission is granted in writing from the author.
        - Modifications to this library may not be distributed.
    
    Unless required by applicable law or agreed to in writing, software
    distributed under this licence is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    11
    Lux v1.99.8 released (staged rollout)

    - Added CF.lumen support (don't need CF.lumen active, just install the driver). Acts as a plug-in for all Android 4.4+ devices. Please buy the pro version to support his work.
    - System autobrightness enabled during calls
    - Option to shake at lockscreen to increase brightness
    - Option to prevent drop in brightness in landscape
    - Enforced persistent notification, added system removal method
    - Fixed dashboard width issue
    - Fixed notification priority resetting at boot
    - Misc. fixes
    11
    Hey everyone. Sorry to hear that people are having issues with the paid version. I'm working on hotfixes at the moment. A lot of these bugs don't appear on my test devices, which is why regressions happen seemingly randomly. I'm working hard on finding a reliable way to reproduce and test these issues to prevent this happening again.
    9
    Apologies to everyone for not being around lately. I've been answering support via email.

    A new release is rolling out on the market to 5% of users. Please use the 'Send Feedback' button in Lux preferences if you experience issues. Also, feel free to email me with any questions or concerns.