FORUMS
Remove All Ads from XDA

[APP][ROOT] Brightness Tweak

7 posts
Thanks Meter: 25
 
By Arbusk, Junior Member on 18th March 2016, 04:01 PM
Post Reply Email Thread



Brightness Tweak allows you to reduce your screen brightness below the android specified minimum.

Android places certain limitations on screen brightness not allowing you to reduce your screen brightness to the minimum level. This app will allow you to reduce your brightness to the minimum as soon as it detects that the brightness has hit the brightness limit.

On a device I tested, I found the following,
System Minimum (Normal Mode) : 7
System Minimum (Power Saver Mode - Lollipop) : 3

This app will allow you to reduce your screen brightness to 1.
If you are using CM12+ based ROM (May 20 or newer builds) the app will use the CM Tile which you can use to enable or disable the service. On all other devices a notification will be displayed allowing you to do the same. I made this app because the system's minimum brightness was still bright for me and would strain my eyes in a dark room.

Features
  • Relies on the system informing the app about brightness rather than polling.
  • Utilizes CM's Tile API. So no clutter in your notification drawer if you use CM

Limitations and Known Issues
  • If you have set a minimum brightness below the system specified limit, there will be a delay of 1 second or so to apply the brightness after you switch on the screen. This is a limitation and nothing can be done about it as of now.
  • The app may slow down the entire system if root permissions were not granted in a few seconds. if this happens just swipe away the app from the recents menu. The brightness service is not affected by this and will continue to run.


Download

App available on XDA Labs Download XDA Labs

APKs available in Downloads tab above


XDA:DevDB Information
Brightness Tweak, App for all devices (see above for details)

Contributors
Arbusk

Version Information
Status: Testing

Created 2016-03-18
Last Updated 2016-03-20
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2016-03-18-15-29-28.png
Views:	11456
Size:	175.6 KB
ID:	3687796   Click image for larger version

Name:	Screenshot_2016-03-18-15-31-51.png
Views:	11426
Size:	129.1 KB
ID:	3687797   Click image for larger version

Name:	Screenshot_2016-03-18-15-32-03.png
Views:	11306
Size:	128.8 KB
ID:	3687798  
The Following 21 Users Say Thank You to Arbusk For This Useful Post: [ View ] Gift Arbusk Ad-Free
 
 
18th March 2016, 04:01 PM |#2  
OP Junior Member
Thanks Meter: 25
 
More
Reserved
Changelog


Quote:

Update 1.0.1
Fix Crash on Marshmallow which occurs while checking supported features phase.
Prevent Infinite loop in Some devices which never went past checking supported features.
Improved Thread Control which should reduce some lag (Still not ideal though).

Update 1.0.2
Switched to Dark theme. (Because it makes more sense)
Added ability to switch button backlight.
Simplified the UI a bit.
Fixed Bugs

The Following User Says Thank You to Arbusk For This Useful Post: [ View ] Gift Arbusk Ad-Free
18th March 2016, 07:41 PM |#3  
Senior Member
Thanks Meter: 184
 
Donate to Me
More
Working great on my yureka.
Great Job
19th March 2016, 04:24 AM |#4  
sandeep_7's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 67
 
More
Not working on redmi 2 prime CM13 , app crashed at checking supported features.
19th March 2016, 09:52 AM |#5  
OP Junior Member
Thanks Meter: 25
 
More
Quote:
Originally Posted by sandeep_7

Not working on redmi 2 prime CM13 , app crashed at checking supported features.

Go to system settings and search for modify system settings, over there you will find Brightness tweak, give it permission and it shall work fine.

I'll be fixing this in the next build, I'm just limited with not having a marshmallow compatible device and emulators don't support this
20th March 2016, 02:00 PM |#6  
OP Junior Member
Thanks Meter: 25
 
More
Update 1.0.1
  • Fix Crash on Marshmallow which occurs while checking supported features phase.
  • Prevent Infinite loop in Some devices which never went past checking supported features.
  • Improved Thread Control which should reduce some lag (Still not ideal though).
20th March 2016, 02:25 PM |#7  
sandeep_7's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 67
 
More
Quote:
Originally Posted by Arbusk

Go to system settings and search for modify system settings, over there you will find Brightness tweak, give it permission and it shall work fine.

I'll be fixing this in the next build, I'm just limited with not having a marshmallow compatible device and emulators don't support this

there is no permission in settings.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160319-160608.png
Views:	742
Size:	27.9 KB
ID:	3689917  
20th March 2016, 03:40 PM |#8  
OP Junior Member
Thanks Meter: 25
 
More
Quote:
Originally Posted by sandeep_7

there is no permission in settings.

Use the latest apk, 1.0.1 from here

if it still doesn't fix it

Go to settings
Tap the search icon and type "write"
You'll get Modify System Settings as a result, tap on it
Tap Modify System Settings again
Tap Brightness Tweak
Enable Allow Modify System Settings

That should fix it
Attached Thumbnails
Click image for larger version

Name:	screen.png
Views:	760
Size:	26.8 KB
ID:	3689981   Click image for larger version

Name:	screen2.png
Views:	766
Size:	49.8 KB
ID:	3689982   Click image for larger version

Name:	screen3.png
Views:	748
Size:	107.9 KB
ID:	3689983   Click image for larger version

Name:	screen4.png
Views:	746
Size:	51.1 KB
ID:	3689984  
20th March 2016, 05:06 PM |#9  
sandeep_7's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 67
 
More
Quote:
Originally Posted by Arbusk

Use the latest apk, 1.0.1 from here

if it still doesn't fix it

Go to settings
Tap the search icon and type "write"
You'll get Modify System Settings as a result, tap on it
Tap Modify System Settings again
Tap Brightness Tweak
Enable Allow Modify System Settings

That should fix it

okay,thanks for detailed info. i will try it after some days currently i m on miui 7
28th March 2016, 05:15 PM |#10  
OP Junior Member
Thanks Meter: 25
 
More
Update 1.0.2
  • Switched to Dark theme. (Because it makes more sense)
  • Added ability to switch button backlight.
  • Simplified the UI a bit.
  • Fixed Bugs
The Following User Says Thank You to Arbusk For This Useful Post: [ View ] Gift Arbusk Ad-Free
30th March 2016, 12:04 AM |#11  
Listy2021's Avatar
Senior Member
Thanks Meter: 315
 
More
Can you attach the apk to the first post as well please matey so it can be downloaded that way too
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes