yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] velis74:
Add "package manager" to excluded apps list.
[Android Apps and Games] timg11:
In Settings / Application Manager / All Apps, there is nothing called "Package Manager".

I also looked in the list under "Apps that can appear on top" and there is nothing called "Package Manager".

Can you point me where I find the list for excluding "Package Manager"?
[Android Apps and Games] jaydee 77:
In Velis auto brightness app > open the menu > settings > excluded apps > tick something called "paket installer" or "paket manager"
[Android Apps and Games] timg11:
In Velis Auto Brightness app > settings > Excluded Apps, it first displays a notice "Android 5.1 and later requires a special system permission..... special system settings page.... grant this permission....." I click Apply.

This takes me to an Android settings page titled "Usage Data Access." It includes a subset of installed apps - about 30% of them. There is nothing like Package or Paket in the list.

Velis Auto Brightness is in the list. I select it and there is one setting for "allow usage tracking"

It was off, and I turned it on, but I don't think that is the same setting you are referring to.
[Android Apps and Games] jaydee 77:
Oh ok sorry. In this first step you granted Velis Auto Brightness the permission to know which app is running in foreground. And now in the second step go to Velis Auto Brightness app > settings > Excluded Apps and choose something like Package or Paket and tick this.
[Android Apps and Games] timg11:
Thanks for the clarification. Now, the Excluded Apps does present a different app list. I see these related to your initial suggestion: "Package Access Helper", "Package Installer", "PacProcessor".

I'll check them all, but if there is any reason why only certain ones are needed, please let me know.
[Android Apps and Games] jaydee 77:
Package Installer is the right one. Let the other two not ticked.

---------- Post added at 08:33 ---------- Previous post was at 08:31 ----------

Package Installer is the right one. Let the other two not ticked.
[Android Apps and Games] :
I'm a pixel 2 xl owner waiting for next big release of VAB :D
[Android Apps and Games] velis74:
An interim message: I (finally) started work on the app again. The library I'm using for vestor graphics & stuff progressed a bit too far from the app during the time of neglect, so I haven't yet been able to iron out all the issues, but here's what I currently have:

1. Notification works again for Oreo & up

2. I added a "update system brightness only" setting which seems to be the best way to handle all the new phones. No overlay needed any more as most of them will simply react to system brightness adjustments.

3. Added support for new MIUI phones that introduced an expanded system brightness range (0 - 4095 instead of official 0-255)

I will have to spend a bit more time to iron out the glitches, but my next order of business is redesigning the graph adjustments UX: I intend to get rid of the red bars in favor of simple touch & drag.
[Android Apps and Games] Neejay:
Any test/alpha versions to test? Lol
[Android Apps and Games] velis74:
https://drive.google.com/open?id=1WLOtygqhXZbDCn_o_PrKBI9jTHoouyer

Sorry, downloads section doesn't work for me here on XDA today.
[Android Apps and Games] KaZo58:
i installed it over the beta from play store, the notification disappeared but it works fine :)
[Android Apps and Games] velis74:
I have seen on my phones that notification disappears because it gets "manually deactivated" automatically. You know: when a notification appears enough times, android will tell you that you always dismiss it and whether you just don't want to show it any more. Well, this particular setting happens to get activated for VAB's notification. Haven't figured out how to un-activate it automatically (better yet: not trigger it in the first place), but you can go to Android notification settings and turn it back on.
[Android Apps and Games] Neejay:
I had to disable it a few days ago. Looks like the overlay was causing me not to be able to tap anything. Power and volume buttons worked though.

After several reboots, I realized I could quickly open the app and disable it before everything loaded.
[Android Apps and Games] bigb2006:
I've been using VAB for months and it works fine. The minor problem is only when I travel in a vehicle and the direct light changes very quickly with the shadows of the buildings. In this situations, the service responds frequently. Perhaps this problem would be solved by adding a new option that the service responds when the brightness change takes longer than X seconds.
[Android Apps and Games] xdarthanonx:
Settings > Settings mode: Advanced > Sensitivity
[Android Apps and Games] bigb2006:
I will describe the problematic situations more precisely. Most of the time the brightness of the ambient light is the same, but for a very short time the brightness increases for a few seconds (about 1-3 seconds) and then returns to the previous values. I tried to solve it using sensitivity settings, but without success.
[Android Apps and Games] xdarthanonx:
Detail what you've tried, but I suspect you'll need to increase your Smoothing override value.
[Android Apps and Games] mostafa asal:
Please continue developing this app, it's a very important solution for the auto brightness.

I have a problem with the alfa version you uploaded at gdrive, it periodically disables itself, i don't know why?!

And there's no notification for the app and the graphic doesn't update in real time.
[Android Apps and Games] Redhawk2000:
In recent days I was having major issues with my phone completing boot successfully. 80% of the time it would just hang and I couldn't open apps. Figured I needed a clean flash and that seemed to fix it. But after reinstalling apps it returned. Thought it might be magisk 19.3 problem so I tried downgrading that and not using modules etc but still no luck. I have 3 main user apps that load for me at boot. A weather app, a battery charge limiting app and then VAB.

After some time and dozens of reboots to test I found that when I froze VAB the booting always completed normally. When I unfroze it the problem returned. When I block it from auto loading at boot and manually open it, it works fine (edit - no it doesn't) so that is what I am currently doing (nope, had to freeze it permanently unless a fix comes) as I love the app WAY better than the wretched auto brightness in Pie.

Not sure what changed ROM side for me but just wanted to report this if it's helpful.

I'm on AICP 9.0. Log attached for one of the "bad" boots if it is helpful.

Cheers

Edit: Just saw post 2101 a handful of posts above. I assume it's the same issue.
[Android Apps and Games] Redhawk2000:
Curious if it might work for you. I have found (I think) that if I prevent (via ROM settings) VAB from starting on boot and if I am patient and wait for the phone to fully boot (several minutes to be safe), I can then open the app causing it to engage and it seems (with only minimal testing) to not cause this issue. Not sure what it is screwing with during the boot process. I never had issues until in the past week or two. I made a tasker funtuon to make it open manually 10 minutes after boot. Not sure that I have to wait that long but the bug is annoying and the app works well.
[Android Apps and Games] xdarthanonx:
I use a small loop in my su.d scripts to wait for boot to complete:

# Wait for boot to complete
until [ "$(getprop sys.boot_completed)" = 1 ]
do
sleep 1
done

Maybe you can use getprop sys.boot_completed with Tasker?
[Android Apps and Games] Redhawk2000:
I'll try. Thanks.

Edit: I used the above as a shell command in Tasker (I guess that's the way to use it) and with ONLY two reboots to test it, it seems to work. I did, though, apply a one minute wait command prior to opening the app. It still seems to open essentially as quick as the other two main apps that load in my status bar. I will report back if this "fails" or if I have to increase the wait time.

Edit 2 : Actually doesn't work consistently. Gonna keep playing.

Thanks again.
[Android Apps and Games] velis74:
Guys,

I'm seriously thinking of EOL-ing the app: it is practically impossible to make is stay alive any more, use base dropped to 13.000 total, and I am having a really hard time finding time to tweak it any more. See the first issue above for explanation on my drop in motivation: the app is just too low-level for Google / phone manufacturers to leave alone.

Over the years I have considered several methods for keeping the app alive, but I seriously doubt anything would work with any degree of reliability because battery life is simply so imperative that the OS doesn't leave anything running for a noticeable period of time. To give it some perspective: I was also considering PUSH messages... Nuts, to say the least.

Anyway, here's the thing: I invested a lot of time into this and would hate for it to go to waste just like that. So this post gets to be a couple of lines longer than it would otherwise have been.

If there's someone serious willing to give it a go, I would be willing to open source the app, help & support the developer(s) & continue publishing the app. If not, I'll edit the OP in a week or so & remove the app from play store.

Edit: sorry, the 400 figure was too low, must have been low on caffeine. It's actually 13.000.

What say you?
[Android Apps and Games] Redhawk2000:
It says alive fine for me. Using AICP Pie. I don't think I set it to turn off battery optimization but I would have to check.

Edit: The issue I do seem to have, if it has anything to do with this app (instead of magisk or some other issue) is that I set up a tasker command to open the app 5 minutes (if I push it earlier it sometimes freezes - I didn't do tests of all time delays) after boot because it seems to cause phone to freeze if I don't. Maybe it's because my phone is opening too many apps? Not sure, but if I wait for everything else to open prior to open this app, it opens fine and functions fine and stays open.
[Android Apps and Games] KapilNagpal01:
Sir someone referred this app in lux thread and just got to know of this app. I tested it just now. It is an excellent app. I am on OnePlus 7 Android Q and undoubtedly it works extremely well. Better than stock. I have white listed it for non optimising by Android. No killing and works all fine.

I would say not to let go so much effort in vain. It is truly phenomenal app. Kindly consider to keep developing it in your free time as hobby. Not regular updates though like nightly but yes updates every few months will be appreciated. Hope you don't give it up in despair.

Wish best of luck in your life and hope we have the spirit to fight until death. Please develop it as hobby if you could. Best wishes and Best Regards
[Android Apps and Games] Neejay:
I agree. At this point, it might as well be open sourced, and eventually (hopefully) someone will give it an honest shot at continuing it.

I'd prefer rare updates to EOL/closed sourced. :svetius::svetius::svetius:
[Android Apps and Games] dawabz94:
Landed here while searching for a better brightness control on my mate 20 (non-pro)

Once excluded from huawei's "app launch" control and prevented from being "optimized", works flawlessly on my mate 20

Excellent control, best of its class

Easy on system ressource, allows a really fine control over brightness; helps me save a significant amount of power

I'm no dev so can't help here but would be a waste if EOL-ed

If opensourced, I do hope it doen't get ruined by some greedy dev ..

Thanks a lot for this genious piece of software

Wish best of luck in your life too
[Android Apps and Games] Redhawk2000:
These problems all went away for me over the last few months. Must have been a rom side issue. This app works without issue.
[Android Apps and Games] kam333:
Haven't had any issues with this app, it works flawlessly, add on the tasker integration and I'm able to get the right brightness day & night.

If you updated the UI and re-released it, I would buy again!Hope you find a solution.

Thanks
[Android Apps and Games] Sukhi:
One of the best apps that I have used offlate. I am just addicted to it now. The development certainly needs to continue and if possible the future updates could add profile export ans restore feature. No need for frequent updates, as it is almost bug free now. Would just wish for Android 10 support.
[Android Apps and Games] velis74:
Yeah, decided to give it anbother go. Not sure when I will find the time, though. Need to fix wizard which took some damage when I was doing support for the new Androids. Hopefully there will be something before THIS new year. :angel:
[Android Apps and Games] bieniu79:
THANK YOU

Wysłane z mojego Redmi 3S przy użyciu Tapatalka
[Android Apps and Games] Phone modifier:
I have a samsung galaxy j7 prime and it has no ambient light sensor on my phone so I use the front facing camera the problem is instead of the screen brightening when it is bright out the screen dims and when it is dark or low light the screen brightens and it inhibits me from using my phone in the day when in outside as I cant see the screen due to the app diming it under bright light this must be fixed bc that's not how auto brightness supposed to work I am in the beta aswell
[Android Apps and Games] singulardev:
I tested that on my HTC U11 and it's working :)
[Android Apps and Games] _mysiak_:
Hi, I used your app for several years and it was really great. I must admit that adaptive auto brightness improved a lot recently, but I find the need for your app again. I have a feature suggestion which might actually bring more users in - AMOLED PWM removal (I would definitely pay extra for this feature). As you may know, almost all AMOLED displays use PWM to control the backglight, which results in invisible flickering causing eye strain and headaches in sensitive people. This fella found a clever way to overcome this issue with his app OLED Saver, however the automatic brightness control is rather basic. If you'd be able to use the same approach for AMOLED brightness control, we could have an ultimate solution for PWM free AMOLED displays. LCD displays and DC dimming AMOLEDS don't need any special care, it's just AMOLEDs with PWM.

Thank you in advance for at least considering this :)

Cheers!
[Android Apps and Games] velis74:
This is called SuperDim in VAB and has been implemented from the beginning. It also has a special mode just for AMOLEDs where VAB only uses SuperDim to adjust screen brightness.
[Android Apps and Games] _mysiak_:
Oh my, I was not aware of this, sorry for my ignorance.

I've just tried it (a bit tricky to configure, not sure if I got it right - settings advanced, superdim threshold set to 100?) and it "almost" works. Screen dims nicely with the overlay, however status bar (pulled down or just the icons) and navbar stay at the maximum brightness. OLED Saver manages to dim everything - probably because it's using a special service. Or did I just miss something again?

Unrelated to the above and not that important - the graph in main menu flickers on my primary phone (Mi A1), while it draws nicely on my wife's Mi A3 - any idea why? Both are running on Android Pie.

Thanks!
[Android Apps and Games] velis74:
Statusbar and NavBar are exempt from overlays. I would love to hear how the guy manages to fix them in his OLED saver. Does the software require root?

As for flickering, not sure what you're referring to, but there are some drawing issues from Pie forward where the red handles sometimes draw incorrectly all over the graph. Is this what you are seeing?
[Android Apps and Games] _mysiak_:
OLED Saver uses accessibility service, so maybe that's where the magic hides. Root is not required. It seems to be possible to decompile the apk successfully, and even if I don't like to do a reverse engineering in general, you might get some ideas from it. Unfortunately I'm not skilled enough to fully understand decompiled source code.

Flickering - whole area with graph just disappears for a fraction of second (goes black) and reappears. Strangely no such issue with A3, which is running basically the very same Android version as A1. But again, not a show stopper, just a thing I noticed. :) I can try to capture it in a video if you're interested.
[Android Apps and Games] _mysiak_:
[MENTION=2424510]velis74[/MENTION] - NachoNotch is able to draw over status bar and navbar as well (even though it breaks automatic switching between light/dark navbar, at least in Android 9). It doesn't work in lockscreen (OLED Saver somehow manages to do so, being said that even in Android 10), but nevertheless, maybe it helps. Source code - https://github.com/zacharee/NachoNotch

Thanks!
[Android Apps and Games] kam333:
Another app that can draw over the status bar and keyboard:

Screen Dimmer

https://play.google.com/store/apps/details?id=com.github.ericytsang.screenfilter.app.android

It uses accessibility service not the overlay service.
[Android Apps and Games] :
Good to hear that VAB developer is still here, I like your app very much since years ago (when LUX used to be your competitor ;) )

Yeah I would love if VAB can dim both notif and navbar using Accessibility service as well if possible. Cheers!
[Android Apps and Games] velis74:
Made a quick look at the Accessibility documentation. So far I have seen nothing on screen brightness. Doubt navbar & statusbar are dimmed like that.
[Android Apps and Games] _mysiak_:
Could it be this? https://developer.android.com/refer....LayoutParams.html#TYPE_ACCESSIBILITY_OVERLAY

Idea from:

https://stackoverflow.com/questions/50677833/full-screen-type-accessibility-overlay

https://codelabs.developers.google....d-a11y-service/index.html?index=../../index#3
[Android Apps and Games] _mysiak_:
[MENTION=2424510]velis74[/MENTION] - not sure if it helps, but another app with the full screen accessibility overlay - https://xdaforums.com/galaxy-s9-plus/themes/utility-amoled-pwmfree-application-t3898070

Btw. if you need a tester, please feel free to contact me, I can provide logcat logs if needed etc. (Xiaomi Mi A3 phone with stock Android 9 and hopefully Android 10 soon).
[Android Apps and Games] _mysiak_:
[MENTION=2424510]velis74[/MENTION] - FYI, after a short email discussion with Twilight developer, he was able to utilize suggested accessibility service to have full screen overlay (either to tint the screen, or just dim it), which he released in the latest beta. He struggled with some obstacles, but by his words "you must use type accessibility_overlay view, but this view must be initialized from the accessibility service context. Initialization from other parts won't work." I am not really sure what that means, but you will probably understand. :)
[Android Apps and Games] velis74:
I do. Thanks for the info. Now to find some time to actually do it :p
[Android Apps and Games] _mysiak_:
Well..Twilight dev got it in about a day of coding..can you beat him? :D Just kidding of course, but I'll be more than happy to test new updated VAB build once it's ready :)
[Android Apps and Games] airon11:
Hello...I am also willing to try your new version even beta of available...I also have mi a3 with stock Android pie and I am not satisfied with auto brightness stock...tried your app years ago and I tried it again now...satisfied with the result but Nov and status bar without overlay are preventing me from using it...

Thanks a lot
[Android Apps and Games] Pupet_Master:
[MENTION=2424510]velis74[/MENTION]

Does it create profiles with shortcut? For example i have my brightness in a ideal state, but i don't put it higher or lower as i don't want to mess with the setting when i need it back.

Would your app allow me to create a profile to go back to the perfect brightness?
[Android Apps and Games] velis74:
The profiles as currently implemented only remember brightness curve, not particular settings in the app settings. If this is enough for you, then yes, the app does this.
[Android Apps and Games] Pupet_Master:
What i need is like a button (or even a widget button) to set the brightness of the phone to a determinate setting that i chosen ;)
[Android Apps and Games] velis74:
Understood. No, VAB has no such feature. Use Tasker for that.
[Android Apps and Games] Pupet_Master:
Thanks i'll download VAB anyway as the software seens very good and maybe i wont need what i "need" now
[Android Apps and Games] Protsenkoalexlab:
Hello!

Make please change of profiles according to the schedule.

The best regards, Alexander.
[Android Apps and Games] iyus3457:
Any update for the vab ?

I download the playstore version, but not working poperly in asus zenfone max pro m2, pixel experience android 10 rom.

Thx
[Android Apps and Games] Atharkhan101:
Can't imagine any of my android phones without it. So precise and perfect app. Nothing is perfect but Velis is : )
[Android Apps and Games] qwerty017:
Samsung S10E

Because the default Adaptive Backlight is broken, this is the only way it's possible to use the phone in any kind of changing light.

Thanks for making this.
[Android Apps and Games] Kryspus:
Do you have any alternatives for this app? I have one big issue with is app. There is an option that update your brightness immediately after few fast touching screen and this option can not be deactivated. In result when I play my arcade game I have my screen always blinking because of changing rate of brightness all the time. The lux sensor is very gentle and is changing his value all the time.

I really like the possibility to manual set the graph (write the values), but I don't know any other app that offer it. Do you know that one please?

Btw. Current auto brightness app is not updated from few years now.
[Android Apps and Games] kam333:
I've tried a few others and this app is still the best available, as for your issue, you can set up a Tasker profile to auto disable Velis when you launch certain apps then re-enable when you close those apps, I do this for my media player apps like YouTube Vanced & MX player.
[Android Apps and Games] Kryspus:
Thank you kam33 for your reply and suggestion.

I will try to setup right.
[Android Apps and Games] Davy49:
Hi,

I'm a new user for this app, I'm still learning how to use it. I paid for the tasker add on, but so far I haven't figured out how to use it. I surely agree with some of the other users who said that it was the best app of it's kind that's available.

David
[Android Apps and Games] velis74:
Hi. I'm assuming you also contacted me via mail. As I said there, look for "Calculated screen brightness", "current light reading", "current proximity reading", "screen on" in conditions and "Automatic brightness", "Brightness change sensitivity", etc. in settings.
[Android Apps and Games] Davy49:
Hi,

To be honest, this app has so many options that it's rather mind boggling. I never did see the 'Calculated Screen Brightness' option that you spoke of. Just like with anything else that's new, it just takes a little time to learn about it. I figure if I can be a windows 10 insider build evaluator, I can surely learn how to use your app.

Thanks,

David Wright
[Android Apps and Games] velis74:
No, look for that one in Tasker, not VAB. In VAB, it's on main screen :D
[Android Apps and Games] _mysiak_:
I know it's rude to ask for the ETA, but did you by any chance got to implementing this feature please? Maybe a private build which I could try as a tester..? :)
[Android Apps and Games] velis74:
Unfortunately, I still haven't. I guess it doesn't help much to whine about my work overload so I'll just say that it's on my mind constantly. Burning, by now, actually :p
[Android Apps and Games] noone100:
Handle brightness after startup

My tablet's screen is set up to stay on from the startup (boot) of the device. I would auto brightness to handle the brightness of the screen right after the app starts (as a background service). I didn't succeed so far. I always have to turn off and on the screen, before the spp starts to work properly. Is there a configuration that I'm missing?