Hello, I'm looking for a mod that adds the option of setting brightness by sliding across the status bar. To clarify, this is not the same as a brightness slider in the notification panel. You literally slide on the status bar with out having to pull anything down first. It's a crucial feature for me since I go in and out of the Sun a lot during the day. Thanks!
Viper ROM has it as an option so I know it is compatible with Sense roms. I'm running CleanRom now.
Tried GravityBox xposed module and it has the option but when I enable it, it doesn't actually go into effect...
Are you running the Kitkat version of it? Also you shouldn't even need to do this, the auto screen brightness adjustment on this phone is quite good and should adjust it properly for you even quicker than the status bar slider mod you're looking for can.
S1L3nTShaDoWz said:
Are you running the Kitkat version of it? Also you shouldn't even need to do this, the auto screen brightness adjustment on this phone is quite good and should adjust it properly for you even quicker than the status bar slider mod you're looking for can.
Click to expand...
Click to collapse
Yes, I was using KitKat version. The JB version won't even install on a KK phone...
I'd use Auto Brightness if I could set the lower limit to go all the way down to 0% but I can't find settings to customize that. Do you know an Xposed module that can?
In case you were wondering how to set the maximum automatic brightness level
A Google Search:
From the Home screen, tap > Settings > Display & gestures or Display, gestures & buttons. With the Automatic brightness option selected, drag the slider to set the maximum brightness level. This sets a limit on how bright the screen will be when Automatic brightness is selected.
Great answers.
How can one add this feature?
I wrote an App that lets you control your phone's brightness provided it's running Android 8.0+ and has a compatible fingerprint sensor.
I wrote it because I change my phone's brightness as often as I change it's volume, if not more, and I was upset I didn't have dedicated hardware for it. When Oreo launched and it added fingerprint gesture detection, I figured it was time
I own and test on the OG Google Pixel, and the app has been out for 2 weeks so I've been able to squash most bugs.
Feedback and suggestions are most welcome!
https://play.google.com/store/apps/details?id=com.tunjid.fingergestures
Link doesn't work.
Dude... THANK YOU. Aside from ad-blocking and kernel tweaks, one of the main reasons I've always rooted was for the status bar brightness slider, and this is an even better implementation of it (I love hardware switches). The ads would never get in my way at all, but I went ad-free just out of appreciation.
mmartenn said:
Link doesn't work.
Click to expand...
Click to collapse
Thanks for catching that, fixed!
How to check is my fingerprint compatible?
Device is OnePlus 3T.
mihata said:
How to check is my fingerprint compatible?
Device is OnePlus 3T.
Click to expand...
Click to collapse
For your device to be compatible, you have to be running Android Oreo and your OEM would need to support fingerprint gestures on a firmware level. I don't believe the One Plus 3T Oreo beta supports it at the moment.
The app is super cool; I love the option to adjust brightness via the fingerprint reader! One major complaint keeps me from using it though, which is that it always disables adaptive brightness when making an adjustment. This is extremely jarring when it's dark and I just want to dim the screen a bit, but bringing it down from 40% (adaptive) to 20-30% (absolute) actually makes the screen brighter. I hope for the next version you consider having the option to leave adaptive brightness on while making adjustments. Thanks!
teiglin said:
The app is super cool; I love the option to adjust brightness via the fingerprint reader! One major complaint keeps me from using it though, which is that it always disables adaptive brightness when making an adjustment. This is extremely jarring when it's dark and I just want to dim the screen a bit, but bringing it down from 40% (adaptive) to 20-30% (absolute) actually makes the screen brighter. I hope for the next version you consider having the option to leave adaptive brightness on while making adjustments. Thanks!
Click to expand...
Click to collapse
Hi! I experimented with this previously, but since adaptive brightness is managed by the system, leaving it on when you adjust brightness will cause the brightness to be reset immediately by the adaptive brightness service. The compromise I added was allowing adaptive brightness to be restored as soon as the screen is turned off and on again.
@youtube10 thanks for this
when Oxygen OS will be on Oreo, do you think your tweak will works on OnePlus 5 ?
i change too, very often the brightness on my device...
sunnyraid said:
@youtube10 thanks for this
when Oxygen OS will be on Oreo, do you think your tweak will works on OnePlus 5 ?
i change too, very often the brightness on my device...
Click to expand...
Click to collapse
Hi! I'm not sure. I'm going to set up a way for beta testing so people with phones not supported can check and verify if the app is compatible with their device. I should be getting around to that in the coming days. I'm just not sure if it should be through the Play Store or XDA. I don't think the Play Store allows for beta testing on specific devices.
youtube10 said:
Hi! I'm not sure. I'm going to set up a way for beta testing so people with phones not supported can check and verify if the app is compatible with their device. I should be getting around to that in the coming days. I'm just not sure if it should be through the Play Store or XDA. I don't think the Play Store allows for beta testing on specific devices.
Click to expand...
Click to collapse
thanks! don't hesitate to send beta apks, i can test them on my OP5 :good:
youtube10 said:
Hi! I experimented with this previously, but since adaptive brightness is managed by the system, leaving it on when you adjust brightness will cause the brightness to be reset immediately by the adaptive brightness service. The compromise I added was allowing adaptive brightness to be restored as soon as the screen is turned off and on again.
Click to expand...
Click to collapse
Thanks for the reply. As another user mentioned, I'd be using your app primarily to replace the status bar quick finger slide feature from most custom ROMs, and those are generally able to work alongside auto brightness, which is why I assumed it would be possible. Personally I find this too frustrating to work around, but I appreciate that you considered this.
teiglin said:
Thanks for the reply. As another user mentioned, I'd be using your app primarily to replace the status bar quick finger slide feature from most custom ROMs, and those are generally able to work alongside auto brightness, which is why I assumed it would be possible. Personally I find this too frustrating to work around, but I appreciate that you considered this.
Click to expand...
Click to collapse
Out of curiosity, on those ROMs, how long did it take for adaptive brightness to restore the brightness to what it was before you adjusted it?
I don't think adaptive brightness and system brightness are 2 different values. It's possible you didn't give permissions to read or write to settings so that when you try reducing the brightness with adaptive brightness on, I can't read the current value of your brightness so I default to the highest. This would explain the "jump" in brightness you see while adjusting.
If you don't mind, try giving it another go and checking that you give both accessibility permissions, and permissions to write to settings. After that, with adaptive brightness on, try changing the brightness again and please let me now if the jump still occurs. Also, left and right swipes my default toggle minimum and maximum brightness respectively, so there might've been an accidental recognition of either gesture.
Absolutely love the app! Thank you so much.
Out of curiosity, why doesn't this app support previous Android versions? Asking for my own knowledge and would definitely love to use it on my spare devices running MM and Nougat.
I could see that certain fingerprint gesture apps like this do support the previous versions. Any specific difference?
DJBhardwaj said:
Absolutely love the app! Thank you so much.
Out of curiosity, why doesn't this app support previous Android versions? Asking for my own knowledge and would definitely love to use it on my spare devices running MM and Nougat.
I could see that certain fingerprint gesture apps like this do support the previous versions. Any specific difference?
Click to expand...
Click to collapse
It's because the gesture API was introduced in Android Oreo
youtube10 said:
It's because the gesture API was introduced in Android Oreo
Click to expand...
Click to collapse
Thanks for responding! Totally loved it! Did a research yesterday and found out the same
youtube10 said:
I wrote an App that lets you control your phone's brightness provided it's running Android 8.0+ and has a compatible fingerprint sensor.
I wrote it because I change my phone's brightness as often as I change it's volume, if not more, and I was upset I didn't have dedicated hardware for it. When Oreo launched and it added fingerprint gesture detection, I figured it was time
I own and test on the OG Google Pixel, and the app has been out for 2 weeks so I've been able to squash most bugs.
Feedback and suggestions are most welcome!
https://play.google.com/store/apps/details?id=com.tunjid.fingergestures
Click to expand...
Click to collapse
Excellent work, my friend! This works great on my Pixel 2.
You've been featured!
https://www.androidunfiltered.com/d...htness-with-fingerprint-gestures-android-8-0/
youtube10 said:
Out of curiosity, on those ROMs, how long did it take for adaptive brightness to restore the brightness to what it was before you adjusted it?
I don't think adaptive brightness and system brightness are 2 different values. It's possible you didn't give permissions to read or write to settings so that when you try reducing the brightness with adaptive brightness on, I can't read the current value of your brightness so I default to the highest. This would explain the "jump" in brightness you see while adjusting.
If you don't mind, try giving it another go and checking that you give both accessibility permissions, and permissions to write to settings. After that, with adaptive brightness on, try changing the brightness again and please let me now if the jump still occurs. Also, left and right swipes my default toggle minimum and maximum brightness respectively, so there might've been an accidental recognition of either gesture.
Click to expand...
Click to collapse
I didn't view it as a bug in the app, just a side effect of disabling adaptive brightness. For example, the screen gets roughly to its dimmest with the brightness slider at around 20% and adaptive brightness on, so then if you slide that down to 10% but with adaptive brightness off, the screen will actually be brighter (the "jump" I described before). The issue is definitely not a result of a mis-swipe, as I can see the displayed percentage changing as expected.
I don't quite understand what you mean by "adaptive brightness to restore the brightness to what it was before you adjusted it"--my experience of sliding my finger along the status bar on my old phone to change brightness was the same as sliding the brightness slider in the quick settings, which can be done whether adaptive brightness is on or off. The adaptive brightness algorithm doesn't adjust the slider.
edit: I think I understand now; you're saying that the adaptive brightness algorithm actually changes the value displayed by the brightness slider. My Pixel 2 (as well as my previous phone, the HTC 10) both do not work this way, though I know some of the phones I have used in the past do. The Pixel's adaptive brightness adjusts the actual brightness based both on the ambient light and the slider, rather than adjusting the slider to what it considers an appropriate value.
teiglin said:
I didn't view it as a bug in the app, just a side effect of disabling adaptive brightness. For example, the screen gets roughly to its dimmest with the brightness slider at around 20% and adaptive brightness on, so then if you slide that down to 10% but with adaptive brightness off, the screen will actually be brighter (the "jump" I described before). The issue is definitely not a result of a mis-swipe, as I can see the displayed percentage changing as expected.
I don't quite understand what you mean by "adaptive brightness to restore the brightness to what it was before you adjusted it"--my experience of sliding my finger along the status bar on my old phone to change brightness was the same as sliding the brightness slider in the quick settings, which can be done whether adaptive brightness is on or off. The adaptive brightness algorithm doesn't adjust the slider.
edit: I think I understand now; you're saying that the adaptive brightness algorithm actually changes the value displayed by the brightness slider. My Pixel 2 (as well as my previous phone, the HTC 10) both do not work this way, though I know some of the phones I have used in the past do. The Pixel's adaptive brightness adjusts the actual brightness based both on the ambient light and the slider, rather than adjusting the slider to what it considers an appropriate value.
Click to expand...
Click to collapse
You're right. They do seem like 2 different values. Especially that the lowest brightness setting with adaptive brightness turned on is lower than the lowest setting without adaptive brightness. I'll try getting it and the gestures to work together again.
teiglin said:
I didn't view it as a bug in the app, just a side effect of disabling adaptive brightness. For example, the screen gets roughly to its dimmest with the brightness slider at around 20% and adaptive brightness on, so then if you slide that down to 10% but with adaptive brightness off, the screen will actually be brighter (the "jump" I described before). The issue is definitely not a result of a mis-swipe, as I can see the displayed percentage changing as expected.
I don't quite understand what you mean by "adaptive brightness to restore the brightness to what it was before you adjusted it"--my experience of sliding my finger along the status bar on my old phone to change brightness was the same as sliding the brightness slider in the quick settings, which can be done whether adaptive brightness is on or off. The adaptive brightness algorithm doesn't adjust the slider.
edit: I think I understand now; you're saying that the adaptive brightness algorithm actually changes the value displayed by the brightness slider. My Pixel 2 (as well as my previous phone, the HTC 10) both do not work this way, though I know some of the phones I have used in the past do. The Pixel's adaptive brightness adjusts the actual brightness based both on the ambient light and the slider, rather than adjusting the slider to what it considers an appropriate value.
Click to expand...
Click to collapse
You're absolutely right. They are 2 different brightness values: https://stackoverflow.com/questions/29349153/change-adaptive-brightness-level-programatically
It seems the Adaptive Brightness one is hidden and not supposed to be a public api, so I am hesitant to try to change it's value. However I can try to read it's value so that it would prevent the brightness jump if adaptive brightness is on and you're trying to adjust the brightness manually. Adjusting it manually will still cause adaptive brightness to be turned off however. It can be turned back on when the screen goes off and on and you checked the option.