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.
Related
I just flashed the final beta of CM7 to my triumph, and idk if everybody is having this problem my soft keys are flashing/flickering when i move the phone. It's not physically they are flickering because of the way the light reaches your eyes.
No way to explain it really, when you hold the phone still it's good.
I believe this is because the soft keys brightness is not high enough.
Anybody find a way to fix this,
Thankss in advance.//
I have he same thing, but not sure how to fix it.
It's a 'feature' to reduce the brightness on the softkey LEDs. By default they're turned on full brightness, and it can have light leaks that affect a dark screen on some people's phones. You can just turn it off with an app like 'adjbrightness', 'keyboard backlight control', or in CM settings - display - auto backlight - use custom & edit other levels.
Whyzor said:
It's a 'feature' to reduce the brightness on the softkey LEDs. By default they're turned on full brightness, and it can have light leaks that affect a dark screen on some people's phones. You can just turn it off with an app like 'adjbrightness', 'keyboard backlight control', or in CM settings - display - auto backlight - use custom & edit other levels.
Click to expand...
Click to collapse
If you could explain a little more of what to change on that screen it would be much appreciated. There are so many values to change that it is a bit overwhelming to me.
In the "Edit other levels", the left column is what the light sensor readings are for a certain light level, the next column is the display backlight that should be used in those situations, the right most column is what brightness the bottom capacitive buttons should be at. Set it to 0 to be off, 255 for max. Try some different values to see what suits you.
Awesome! Thank you!
How do increase the auto-brightness as at the moment its a bit dull?
How do stop the palm activating the touch Screen While handwriting?
Amazing I wrote this and my hand writing isn't exactly legible.
billybobray said:
How do increase the auto-brightness as at the moment its a bit dull?
How do stop the palm activating the touch Screen While handwriting?
Amazing I wrote this and my hand writing isn't exactly legible.
Click to expand...
Click to collapse
In the brightness section when you have auto-brightness enabled, you can still adjust the bar higher or lower.
KingRamo said:
In the brightness section when you have auto-brightness enabled, you can still adjust the bar higher or lower.
Click to expand...
Click to collapse
This is not true for everyone.
In my case just touching the bar disables auto brightness.
blud7 said:
This is not true for everyone.
In my case just touching the bar disables auto brightness.
Click to expand...
Click to collapse
The good news on this, mine was this way running ICS. But I am now able to adjust when on auto since I upgraded to JB.
Ok there is a way you can adjust auto brightness even on ICS you cannot do it from the status bar, go to settings - display - Brightness then you select auto brightness once you do that you get a slider with auto brighness adjustment, use that to adjust it.
THough it does not do much
billybobray said:
How do stop the palm activating the touch Screen While handwriting?
Click to expand...
Click to collapse
With my device, touch inputs are not processed as soon as the pen comes into detection range of the digitizer.
I enabled airview and the pen indicator and as soon as this is visible, touch inputs are ignored.
Is there any way to decrease the brightness of always on display?
Just cant see it in a settings.
Any thoughts?
I haven't noticed a setting but I have noticed that the brightness does seem to change based on lighting conditions so I feel like it's got a default auto brightness setting. It does seem somewhat slow to adjust sometimes though.
The screen should refresh every minute, so i think the interval for auto brightness is the same
So i would like to use screen Auto brightness but it sets the screen too dark or some times keeps hunting for a level ...
Any place to adjust the sensitivity of the auto brightness itself?
Right now i just turn the auto brightness off and set the screen brightness level manually
redhatter said:
So i would like to use screen Auto brightness but it sets the screen too dark or some times keeps hunting for a level ...
Any place to adjust the sensitivity of the auto brightness itself?
Right now i just turn the auto brightness off and set the screen brightness level manually
Click to expand...
Click to collapse
Agreed, I do the same as you. I always found that these auto-brightness functions don't work worth a squat. I don't know who is in charge of designing the sensitivity settings for it but they really don't work that well. So I always leave it on manual brightness setting and set it to my liking.
Here's my only problem with this watch : The active display is beautiful, bright, colorful, great to look at. Wish I could look down at my watch and see it everytime but I can't - it flips to AOD display no matter what.
I can live with that, but I'd like to make the 'inactive' display or the 'AOD' display brighter than it is. I have not found any way to do this.
Is there an app or a rooted modification to make this brighter? I don't need the active display on all the time, just want the 'inactive' display to be brighter so I don't have to squint at my watch during the day.
Does anyone have a solution?
Disable the "Low light" auto and AOD stay visible correctly.
I have "Auto low brightness" set to "off" but the AOD brightness still goes down to a level 1 brightness and is very difficult to see. I'd like to see it at a 4-5. Are there no rooted mods or anything that can fix this?
Yes, we must have at least brightness to 4 to see properly AOD. But if "Auto low brightness" is ON even at 6 is it dark with dark light.
I tried setting it to 10 while keeping "auto low brightness" OFF - but the AOD brightness is still too dim. I wish there was a way to change this.
I don't know of any way to do this for native watchfaces. However, Watchmaker allows you to customise the AOD to your specification. I have a Fortis watchface I downloaded and customised that the AOD just hides some complications and is fully visible. Yes, it does drain battery quicker but still lasts the day...
I gave Watchface a try and although you can customize much more, after setting the dimmer brightness to 40% (which was the max) it still looked just as dim, if not more, than the default Galaxy AOD display. I guess I'm the only one with this complaint - I work in a bright environment.
same here.. aod is way too dim. There should be an option to change the brightness of that even if it does use a little more battery.. There seems to be 2 different brightness settings with the aod that automatically adjust between the two but turning off Auto low brightness doesn't seem to make any difference. The point of having aod is so we can use it like a normal watch.. but as it is now it's almost pointless.. hope samsung fixes this in a future update.. but unlikely.. I use watchmaker but can't find the option to adjust the aod.. any ideas???
On my Galaxy Watch 42mm I use AOD Clock, it's an app not a watchface, but stays always on very bright and it seems to be moving slightly (amoled friendly?). But uses a lot of battery.