yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] velis74:
It is. You just have to stretch it to at least 2 spaces (more if you want to see the graph as well).
[Android Apps and Games] velis74:
I got a review about FCs during Wizard and during graph editing. I tried to replicate, but can't.

Anyone else having such issues?
[Android Apps and Games] Christiancs1969:
No all fine. ;)

Sent from my GT-I9100 using Xparent Cyan Tapatalk 2
[Android Apps and Games] xanthrax:
has been a while since i stopped using it but , 2 min ago just install it , no FCs during wizard nor graph editing .

might be related to the brightness presets , i chosen Amoled for sg s3

i still keep on watching your app/thread :good:

thanx !

-=-=-

and yes ! much better now , more responsive , i`ll test it in the day light tomorrow
[Android Apps and Games] Wizballs:
Hi Velis,

Thankyou for this great app, my favourite auto brightness for android. I have just one suggestion if you would be so kind to consider:

An option to adjust the curve of the graph.

I like to set min and max brightness levels linked with a lux value, and let your auto brightness do everything in between. But if there was a way to adjust the curve based on maybe presets or a slider, then you could, for example, make the brightness ramp up faster at the start by flattening the curve somewhat. Or vise versa, increase the curve for the brightness to ramp up slower initially. I know you can do this somewhat manually by entering in lots of points. But i was just thinking this could be a faster and more seamless way of setting brightness.

Cheers :)
[Android Apps and Games] kantjer:
You can just drag the curve from day one, manual editing was only added recently.
[Android Apps and Games] Wizballs:
Thanks Kantjer, I know you can adjust the graph by dragging but I think it adds points in, and doesn't adjust the overall curve of the graph:

View attachment 1638477

I found an image, which highlights what I mean a bit better by curve adjustment (please ignore all graph labels - its different curve examples I'm trying to show). This photo has 3 different curves, which all start and finish at the same brightness and lux values.

View attachment 1638479

If brightness was based on a squared function of lux (I know its probably a log function, but just for example here, and I'd have to get out my maths books), you could adjust the curve with the formula:

brightness = lux^A

where 'A' could be any value between 1.0 and 2.0. A value of 2.0 would have a shape similar to the 'wealth' curve above, and a value of 1.0 would product a flat 'curve'/line. The values in between would produce curves that fall within these two first examples.

I know this whole idea would change the architecture of Velis auto brightness a bit, bit it could remove the need for points. You could just set min and max values for brightness and lux, and then adjust the curve to whatever suits.

Anyway, its only a thought. I still use Velis Auto brightness on my android phone and tablet regardless, and thankyou very much again for this app.
[Android Apps and Games] velis74:
But this assumes that the curve is always one parabolic curve. Not everyone wants that. If you look a few pages back, the manual editing was added to support some pretty high angle curves, rectangular in fact.

I realize current operation won't allow to set the curve all in one go and it also adds a new point into the graph, but the desired effect can pretty much be accomplished by only a few drags and the added points don't have much of an impact on performance / battery usage.

I am thinking about adding a setting for influence range while setting the curve. That would allow for some finer (or coarser) control while dragging the handles. It wouldn't introduce the desired operation though: if you dragged at graph edges, it would move the final point(s)
[Android Apps and Games] Wizballs:
Hi Velis, I was thinking that even if you had multiple points, that any curve adjustments could still be used inbetween those points. Thanks for reading and replying though. At the moment I use an excel spreadsheet with a few variables to give me points to manually edit into your app. Gives a nice smooth curve, and it does perform how i want by doing this anyway.

I used to use another auto brightness from the market, until i realised it was lagging my tegra 3 tablet, a toshiba excite 7.7. So i switched to yours, and stayed because of the better performance and simpler/better ui. Cheers.
[Android Apps and Games] velis74:
2.31.82 (12.1.2013)

Much faster brightness graph rendering (less CPU usage on main screen)

Fixed smoothing "hiccups". Graph is now buttery smooth

Only use samples after screen-on

Add an s-curve graph to the presets

Updated translations: slovak, slovene

Uploaded to market and OP.
[Android Apps and Games] velis74:
So the implementation wouldn't be with two points and a "gamma", but with potentially multiple points, each successive pair with "gamma"?

I guess this would be doable, but I must admit I utterly suck at maths. Most of the fixes today are because I analyzed the formulas and found that I was calculating stuff wrongly :P Adding a "gamma" parameter would present quite a challenge for me to compute stuff. Even now I do this stuff quite sub-optimally, I'm sure. There are functions and reverse functions all over the place just because the graph is logarithmic :(

I'm exaggerating, of course, but the above isn't far from the truth. Fortunately I'm a lot better programmer than a mathematitian so the optimizations are all there :D
[Android Apps and Games] MDE_86:
I'm getting FCs after updating to the latest version. Have cleared app data but does not help. Any one else?

Tapatalk / SGS2 / Cyanogenmod 10.1 Nightly / DorimanX Kernel.
[Android Apps and Games] Computoncio:
Try removing velis, reboot and then install velis again to see it it stops.

I'm using it about 3 hours and no fcs :p

What phone and rom are you using?

Next time give some info, phone, rom, kernel, mod if you use any, this way we got all info in one post. :thumbup:;)

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v7.38

1st ROM : RR JB v3.1.3 (Online)

2nd ROM : Empty

MODEM: Modem+RIL - XXLPS

ROOT APP: SuperSu v0.99

MODS: My mods, ASUL v4.2 and JusTunBeam v6.1.3
[Android Apps and Games] AdiSimpson:
The Line in the Graph disappeared on my Phone with this Version, but everything is working.

Gesendet vom LG Optimus X4 HD mit TapaTalk
[Android Apps and Games] velis74:
:( can you report such a FC to the market or send me a logcat? That would be much appreciated.

You have one or more of the curve values set above 255. I need to figure out how to convince path to render despite that. Perhaps just limiting the values would do the trick.
[Android Apps and Games] velis74:
Stupid Lint: gave me a grief about how I should use $ instead of . for submodules then the entire app FC because it naturally can't find a module with a $ in its path :( Stupid me: forgot to test that one...

Store working again.

Graph should render even if the points go out of it now.

Uploaded to market and OP.
[Android Apps and Games] WibblyW:
Same here on both N4 and N7. It was there to start. Seems to be some kind of refresh issue
[Android Apps and Games] velis74:
On .83? This should be fixed.
[Android Apps and Games] MDE_86:
Yip all working :) thanks a lot.

Tapatalk / SGS2 / Cyanogenmod 10.1 Nightly / DorimanX Kernel.

---------- Post added at 12:49 PM ---------- Previous post was at 12:48 PM ----------

Its in my post? At the bottom. Can you not see it ? :confused:

Tapatalk / SGS2 / Cyanogenmod 10.1 Nightly / DorimanX Kernel.
[Android Apps and Games] WibblyW:
On .83. Not fixed for me. Can restore it temporarily by Manual graph edit then ok. Can kill it by rotating the screen and rotating it back, though it's often not there when I just start the app.
[Android Apps and Games] velis74:
Confirmed, same on my phone. Will get to work immediately.
[Android Apps and Games] velis74:
Uploaded .84 to OP and Play store.

I hope that's the end of it :D. If there's another report about curve not rendering, I'm dumping Path and going back to drawLines() :silly:
[Android Apps and Games] kantjer:
Sorry still not working for me
[Android Apps and Games] velis74:
It doesn't render at all or there's a way to make it fail? Also: you're sure you are running 2.31.84?
[Android Apps and Games] kantjer:
Yes I'm sure that I'm running 2.31.84 just checked. It only renders once if I change profile. After I close the app and reopen the graph is gone.
[Android Apps and Games] rapttorx:
@velis74

Here is the Romanian language for this app. You may want to consider adding a setting to change language too, else i dont't rly see the point :P.
[Android Apps and Games] AdiSimpson:
Confirmed

Gesendet vom LG Optimus X4 HD mit TapaTalk
[Android Apps and Games] Christiancs1969:
Yep +1

Sent from my GT-I9100 using Xparent Cyan Tapatalk 2
[Android Apps and Games] velis74:
Just uploaded another fix (.85) for this occurrence. The graph should now render when app is started / stopped / started.

Are there any unlucky ones who don't ever see the graph rendered or that have other rendering issues with it?

I'd really like to keep using Path because it's very handy and because it saves me a ton of CPU and RAM. But I won't hesitate to kill it if the issues persist.
[Android Apps and Games] AdiSimpson:
Looks like its working now

Gesendet vom LG Optimus X4 HD mit TapaTalk
[Android Apps and Games] kantjer:
It's working now, thanks
[Android Apps and Games] Christiancs1969:
Yep:D

Sent from my GT-I9100 using Xparent Cyan Tapatalk 2
[Android Apps and Games] velis74:
The strings are included in the latest patch from sunday. I don't understand why you wouldn't see the point though: the language is used immediately for users that have romanian selected as their language of choice.
[Android Apps and Games] rapttorx:
For example i like my android to be in english and some of the apps in romanian...i dont think it's really a big deal to add a language selector in Settings. Just my opinion , wouldn't hurt to do it :silly:
[Android Apps and Games] velis74:
Ah, I see your point. And you're right: it's not that hard to add a language selector though I must admit I haven't seen many apps that have custom choice of language.

I have added this to TODO.
[Android Apps and Games] MrMastodon:
I will try to find the time to update norwegian string this week :D
[Android Apps and Games] rapttorx:
Nice! Btw, some examples (often used apps imo): Titanium Backup, Poweramp (music player), Apex launcher - they all have a language select option inside their menu.
[Android Apps and Games] velis74:
I have just uploaded 2.40.86 to OP only.

It contains screen filter for deeper blacks.

Warning

Warning

Warning

Everybody with extremely low brightness settings beware: this really kicks the s**te out of your display, you won't see a thing!!! App data reset may be necessary!

I have set the app so that the filter kicks in @15% brightness and filters more and more down to (almost)0. This was done so that those with backlit screens wouldn't be affected too much (backlight @full tilt, but the filter kills the light). For OLED owners it really doesn't make much difference, double filtering just makes the brightness curve quadratic instead of linear.

If anyone has the time, I'd appreciate an answer to two questions:

1. Does everything still work (like installing .apks, touch remains normal - app doesn't interfere with your phone touch controls)

2. Would a setting for level at which this kicks in make any sense? I need a proper justification, otherwise it's just a setting more...
[Android Apps and Games] velis74:
Darn, I'm using all of these!!! :D :D :D
[Android Apps and Games] WibblyW:
With a backlit display, the filter saves no power, right? I think my N4 goes down to 10% on the led back light. My old HTC was 12% as I recall. I wouldn't want the filter to ever compromise battery life by kicking in before brightness reduction could be achieved along with reducing backlight power.

My main use of brightness controls is to save power :)
[Android Apps and Games] kantjer:
LOL, I indeed had to change the low brightness setting, the screen was almost unreadable.

I can't install apps any more, everything goes fine until I hit the install button, than nothing happens. strangely enough the cancel button still worked.

temporarily freezing Velis, solved that.
[Android Apps and Games] velis74:
OK, now I can replicate this issue. I don't know why yesterday it worked for me :(

Need to search. I have no idea why the filter would only affect APK install button, but absolutely nothing else. The same display region is perfectly responsive in launcher or any other app.

Will start looking for info on why this happens.
[Android Apps and Games] Computoncio:
That happens to me too, only on affects the install area on installing an apk, nothing else till now.

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v7.40

1st ROM : RR JB v3.1.3 (Online)

2nd ROM : Empty

MODEM: Modem+RIL - XXLPS

ROOT APP: SuperSu v0.99

MODS: My mods, ASUL v4.2 and JusTunBeam v6.1.3
[Android Apps and Games] velis74:
Yes, initial search shows that this is a known and common problem with screen filters. Need to find a workaround other than using a custom APK installer.

Edit: I seem to have a solution. At the same time I'll also be able to complete the TODO for app exclusion list. seems there's no way but disabling the filter when the installer runs.
[Android Apps and Games] Computoncio:
For me that's a good workaround, just don't forget to put that in op in big font or people will report that issue over and over :D

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v7.40

1st ROM : RR JB v3.1.3 (Online)

2nd ROM : Empty

MODEM: Modem+RIL - XXLPS

ROOT APP: SuperSu v0.99

MODS: My mods, ASUL v4.2 and JusTunBeam v6.1.3
[Android Apps and Games] kantjer:
Sounds like a good solution :good:
[Android Apps and Games] WibblyW:
so... in answer to (2), setting the level it kicks in at (or being able to disable it) are required for my use case I think :)
[Android Apps and Games] velis74:
Hence the thanks under your post. I'm implementing the threshold.

Plus I realized there's a completely different need for the threshold: there are many people not reading this thread. Installing the app with filter would just blank the screens of everyone with low brightness graphs without explanation (lots of people don't read :P)

So implementation will be with filter disabled by default.
[Android Apps and Games] velis74:
I have just uploaded new strings for translation. They contain text to be implemented in the next version. I went for "settings items" this time: filter, app language, downward smoothing time and excluded apps.

I'm making good progress on language and excluded apps so far so I'm hoping for a release shortly.
[Android Apps and Games] velis74:
Finally I managed to complete the functionality mentioned in the previous post.

I have updated OP only, need to test some more before uploading this to market + feedback appreciated as always :)

2.80.90 (2.2.2013)

Custom app language selection

Excluded apps (will disable VAB when an excluded app is on top)

Super dimming: in addition to backlight also add a screen filter for deeper blacks

Separate setting for smoothing time when dimming

Launcher widget 4 slots wide by default

An additional permission is requred:

GET_TASKS: Needed to detect current top activity for app exclusion list and proper screen filter operation

I'm also not sure if I implemented excluded apps support in the most efficient manner in the settings. I have noticed several hiccups with settings because of background thread I open to get the list of installed packages + their icons. The only hiccups happen during the first 2 seconds it takes for the thread to do its work, of course. I'm thinking about changing that to only start loading apps when the user actually clicks the excluded apps setting.

The other featues should (roughly) work, but as I said above, feedback would be greatly appreciated.

Edit: Manual not updated yet. Will do that in the evening. Hopefully the new settings are understandable even without additional explanation.
[Android Apps and Games] gianton:
Re: [APP][2.1+] Velis auto brightness 2.40.86

Latest build working great on my N4, thanks for your hard work.

View attachment 1708319 View attachment 1708320 View attachment 1708321 View attachment 1708322

Sent from my Nexus 4
[Android Apps and Games] velis74:
2.81.92 (9.2.2013)

Fix excluded apps dialog (loads apps smoother)

Add superdim activation brightness check

Updated translations: persian, slovene

This is updated in the OP and on Google Play (in an hour or so).

Hope everything works. I'm especially unsure about the superdimming since it's too dim for me to use :P

Edit: Manual finally updated as well.
[Android Apps and Games] DisruptiveMind:
Hi Velis long time user. HTC One S rooted running ICS.

On the super dimming setting it is not possible to enter a decimal place (full stop) so is it a case of whole numbers only to be used?
[Android Apps and Games] velis74:
Yes, it is a percentage of full brightness below which the superdimming should activate.

On the side note: the OP has a new version. I managed to make the 2.1 emulator work again and discovered I had a couple of FCs in there.

In addition I found one FC in the settings (excluded apps) that affects all platforms as well.

That (.83) has not been uploaded to market yet. I don't want to oversaturate it like last time.
[Android Apps and Games] timothyung:
I am using GSM Galaxy Nexus, PA 3.0, AK Dummy 637 Kernel.

The latest version is causing noticeable drop in frame rate on my phone. After I force close the app, it is way smoother.

For instance, while using Nova Launcher, I could notice framerate drop while moving between homescreens. After force closing the app, it is smooth as butter.

It is really a pity since I love the superdim function:( At 4.1 I could go way down below 10 brightness, while in 4.2 itsed to be limited to 10.

I was really impressed after setting superdim threshold to 3%:) It simulates brightness under that very well. Great Job!

However, please do try to find out what is causing the serious lag, since it didn't happen before:(

Luckily I got the older version (2.31.85) backed up, running it without a problem.

Lastly, I have a feature request:

Bypassing brightness hysteresis after X amount of time. That way, it will be possible set "X% brightness before service reacts" to a relatively high number to prevent flickering, while allowing the phone to react to a slightly changed, yet constant environment.

By the way, you should take a look at another free app called "Custom Auto Brightness", which contains load of features that may provide some ideas for you.:good:
[Android Apps and Games] velis74:
Anyone else having this issue? None of my tests show any performance issues.

@timothyung: any particular (new) setting turned on?
[Android Apps and Games] Chevyguy85:
after having figured out I have to restart my phone to see any changes I do to the graph this app works great and does exactly what I needed.
[Android Apps and Games] timothyung:
Nope, the lag kicks in directly after I updated.

While it could be caused partly by my frequency/governor settings, it seems to suggest the new version is somehow using up more CPU/GPU power. In case you want to know, here are my settings for the app:

Manual Graph edit:

Pt: 0 3

Pt: 4 3

Pt: 10 6

Pt: 100 9

Pt: 520 15

Pt: 1200 33

Pt: 3000 75

Pt: 5000 108

Pt: 8000 150

Pt: 15500 240

Pt: 16000 240

System brightness update DISABLED

Proximity DISABLED

No extra brightness while charging

2% light difference before service reacts

No smoothing time/override
[Android Apps and Games] velis74:
Does clearing app data help?
[Android Apps and Games] Kameeeleon:
Re: [APP][2.1+] Velis auto brightness 2.81.92

Great app! Really want to use it to exclude Navigation as I can never see when I'm driving with really low brightness. Excluded Apps menu FCs every time though! Will report it now as I didn't realise that actually went to you :o

Sent from my HTC Sensation
[Android Apps and Games] timothyung:
Unfortunately, it doesn't:(
[Android Apps and Games] Marx2:
Odp: [APP][2.1+] Velis auto brightness 2.81.92

Hello

I use sgs2 an even amoled dark is too bright for me in complete darkness. Trying manually lower lines on graph doesn't impact this level. What can I do?
[Android Apps and Games] Chevyguy85:
Re: [APP][2.1+] Velis auto brightness 2.81.92

Try adjusting the graph and then restarting your phone, for me if I don't restart the changes don't go into effect.

Sent from HTC's "too hard to implement ICS" Inspire 4G running JB
[Android Apps and Games] velis74:
This FC is fixed in the APK available in the OP.

Can I then ask you to install the APK n the OP. Then go to excluded apps and uncheck everything (by default APK installer is checked). Then see if the issue is resolved. This is the only thing that I added in this version which could affect CPU usage. Perhaps your PA being a super-new and experimental version (the rest of us are still on 2.99 :) ) has some extensive debugging in that section of code.

Enable superdimming.
[Android Apps and Games] Kameeeleon:
Re: [APP][2.1+] Velis auto brightness 2.81.92

Now the excluded apps list doesn't crash but the feature doesn't actually work. The list isn't in alphabetical order and sometimes contains more than one entry for each app. I scanned up and down the list for Navigation but couldn't find it, so I thought maybe Maps would work but it doesn't even work in standard Maps. Tried some random other apps and Package Installer and brightness stays auto.

Sent from my HTC Sensation
[Android Apps and Games] apex84:
Even when all apps are unchecked it's still causing lag on my Nexus 7. I've tried killing the app and reloading it but it makes no difference.

EDIT: I don't notice any lag on my HTC Sensation though. Makes no difference if apps are selected or not. Both devices have identical settings.

PS. I only notice lag when flipping between home screens. Scrolling in system settings menus for example doesn't seem to be affected. This is with Apex Launcher Pro 1.4.3 on both devices.
[Android Apps and Games] Chevyguy85:
As a quick fix until the app is fixed how about making a preset just for navigation? Use that when you're driving around then go back to your other preset for when you're not.
[Android Apps and Games] gutzzz:
I can't press "install" button when installing apk from sdcard after installing your app... I have to disable your app before installing any apks :(

Any solution?
[Android Apps and Games] Kameeeleon:
Re: [APP][2.1+] Velis auto brightness 2.81.92

Should be automatically disabled through the "Excluded Apps" option but it didn't work, at least for me.

Sent from my HTC Sensation
[Android Apps and Games] gutzzz:
VAB FC'd when I click exclude apps option

Btw my phone is Xperia Ray with CM10 rom
[Android Apps and Games] Pkt_Lnt:
Did you download the newest, only in the OP, not the Play Store?
[Android Apps and Games] gutzzz:
Ok... installed the one from OP now I can choose app to exclude then I excluded "es file explorer", "package installer" and "package helper" but still cant press install button
[Android Apps and Games] Kameeeleon:
Re: [APP][2.1+] Velis auto brightness 2.81.92

Yeah it doesn't work for me either on any app. Are you on cm10.1? Could be something to do with 4.2.1 as that's what I'm running too.

Sent from my HTC Sensation
[Android Apps and Games] gutzzz:
No. My phone is on CM10 (4.1.2)
[Android Apps and Games] timothyung:
Tried everything you suggested, but in vain.

Well, I will keep using the older version for now. It is really strange that only the latest versions cause slight lag.

What could the reason be?:confused: