Brightness control solution.

Search This thread

mtechfan

Senior Member
Jan 14, 2009
450
18
Östersund
As some of you are like me and find the auto brightness flicker annoying. :mad:

I did notice if you manually set the brightness level (display settings) the flicker stops, sadly the built in widget is really lacking in control. :rolleyes:

I used this widget on my X10 and tried it on my Arc, it works brilliantly! :cool:

http://curvefish.com/widgets/brightness-level.htm

Hope you find it useful as I do.

(What it looks like, from curvefish website)
brightness_01.png
brightness_02.png


I run mine at 75% all the time unless I am checking stuff just before bed, then I turn it all the way down. Battery life is very good using this widget.
 
Last edited:

Step666

Retired Forum Moderator
Jan 13, 2009
3,749
1,045
Xiaomi Mi 11 Ultra
The Widgetsoid brightness control also seems to override the automated system.

edit: scratch this, the automatic brightness seems to have come back again...



Also, if you set it to LED flash control to 'method 2' in the global preferences, it works as a flashlight/torch.
 
Last edited:

Blagus

Inactive Recognized Developer
Jun 10, 2010
1,324
1,048
Hi guys! In this post you can find hw_config for X8 with disabled light sensor. You can compare it to yours to find out how to disable light sensor.
Also, you can upload your hw_config here (/system/etc) and give me a chance to try it ;)

Update: Found the possible solution!
This'll work only if you have similar light sensor.
Open /system/etc/hw_config.sh in text editor.
Search for these two (or similar) lines:
Code:
# lm3530 LMU configuration
...
...
[I][COLOR="Red"]echo 128 > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/als::avg-t     # 32, 63, 128, 256, 512, 1024, 2048, 4096
echo i2c > /sys/devices/platform/i2c-adapter/i2c-0/0-0036/mode    # i2c, pwm, i2c_pwm, als, pwm_als, i2c_pwm_als, i2_als[/COLOR][/I]
Change echo 128 to echo 1024
Change echo i2c* to echo i2c_pwm
Save it and chmod to 777 if needed (if you edited file in Windows).
I recommend using Notepad++ for editing on PC.
 
Last edited:

nex10v9w32h0041

New member
Apr 17, 2010
3
1
I tried I could not.
Upload files to the link below.
ttp://db.tt/XX9Fsnb
Thank you please.

I use Google translation.
Sent from my LT15i using XDA App
 
  • Like
Reactions: Blagus

Blagus

Inactive Recognized Developer
Jun 10, 2010
1,324
1,048
Try this. Upload to /system/etc and chmod 777.
 

Attachments

  • hw_config.zip
    1.9 KB · Views: 50

maxx228

Senior Member
Mar 20, 2011
102
38
Taipei , Taiwan
Try this. Upload to /system/etc and chmod 777.


Hi ~ blagus

sorry for my poor english

I compare this file with my one

is only "Line 31" is different ?

Code:
echo 0 > $dev/lcd-backlight/als/enable  #Sensor on/off. 1 = on, reg 90h

Code:
echo 1 > $dev/lcd-backlight/als/enable  #Sensor on/off. 1 = on, reg 90h

after Upload to /system/etc and chmod 777...then reboot

auto brightness still functional :(


update..... auto brightness become no-step(smooth) Conversion
 
Last edited:

nex10v9w32h0041

New member
Apr 17, 2010
3
1
I'm sorry,,,
I might uploaded files that I was already rewritten.

Change echo 1 to echo 0,
I succeeded to disable auto brightness!

Thanks, blagus!

Edit: When I lock the screen, auto brightness is back. X-<

Sent from my LT15i using XDA App
 
Last edited:

keen36

Senior Member
Jul 26, 2012
259
139
Berlin
Thank you for this tip. Helpful!

if you are still running carbon rom (or any aosp-based rom even?), there is an option to change brightness by swiping on the statusbar. it is an elegant solution i think, no need for additional apps/widgets.
you could also set the brightness menu as a quicktile or if you really want to use a widget, i think the preinstalled slim settings offers a brightness option, too.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    As some of you are like me and find the auto brightness flicker annoying. :mad:

    I did notice if you manually set the brightness level (display settings) the flicker stops, sadly the built in widget is really lacking in control. :rolleyes:

    I used this widget on my X10 and tried it on my Arc, it works brilliantly! :cool:

    http://curvefish.com/widgets/brightness-level.htm

    Hope you find it useful as I do.

    (What it looks like, from curvefish website)
    brightness_01.png
    brightness_02.png


    I run mine at 75% all the time unless I am checking stuff just before bed, then I turn it all the way down. Battery life is very good using this widget.
    1
    Extended Control can do job also ;) Thanks mtechfan for a useful thread
    1
    Extended Control can do job also ;) Thanks mtechfan for a useful thread

    Yep, extended controls work as well. Never bothered trying it as it wasn't free here in Sweden, but it is not that expensive either :)
    They sure look nice though.
    1
    I tried I could not.
    Upload files to the link below.
    ttp://db.tt/XX9Fsnb
    Thank you please.

    I use Google translation.
    Sent from my LT15i using XDA App