yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Themes and Apps] erictsai53:
Hi nik3r,

If I enable the original auto adjusting function on my HD2, LUMOS can report correct light sensor value in the title bar.

But if I disable the original auto adjusting function, LUMOS always reports 0.

Do you know what may be the problem?
[Touch Pro, Fuze Themes and Apps] nik3r:
That is weird, is it possible that another application overrides the sensor control (making Lumos unable to read it) and Windows integrated BL control overrides the override if you enable it, actually fixing it (kind of)?

I would look for other 3rd party progs/services that use the sensor and try to kill them temporarily, it might just fix it.
[Touch Pro, Fuze Themes and Apps] erictsai53:
I've tried to install LUMOS right after a ROM update.

So there should no other applications except the original one.

After enabling the original BL control, the BL does change according to ambient light.

It is using the built-in BL control rule instead of LUMOS rule, but LUMOS can read correct value.
[Touch Pro, Fuze Themes and Apps] nik3r:
Testing right after flash/hardreset doesn't mean there's no such app already preinstalled by your chef :)
[Touch Pro, Fuze Themes and Apps] erictsai53:
That's true.

The only thing I can do is make sure there are only "Microsoft .NET CF 3.5" and "Elite Force Lumos" in Start -> Settings -> Application -> Remove Programs.

But if there is other application that blocks the usage of light sensor, how could the built-in BL control still works?

Does LUMOS enable light sensor by calling HTCSensorOpen in HTCSensorSDK.dll?
[Touch Pro, Fuze Themes and Apps] nik3r:
Sure it does.

As for the installed applications, if they're cooked in, you can'T see them in add/remove. Unless you're on a stock ROM, check your startup folder and services with some task manager for possible culprits.
[Touch Pro, Fuze Themes and Apps] erictsai53:
Yes, I'm using HTC official ROM release.

If you could build a debug version, I'm willing to try.

I'll try your other suggestions first, thanks.
[Touch Pro, Fuze Themes and Apps] Marne Jr:
YEAH !!!

I know how to solve this problem !!!

I got LUMOS working in my HD2 and it is amazing !!!

I can get 9% less battery drain by day just using it !!!

You can't make it works until now cause in other device light sense has a range of variation from 0 to 1200, but in HD 2 the range of variation is only from 0 to 728 ... so on the box that says "BL = min below (lumens): 600" you have to change this value of 600 to something like 0 ... cause this option says that below 600 the backlight will go to level 1 and 600 is almost the maximum you can get on HD2.

If it don't works let me know cause I did more changes to get lumos working on my HD2 and I don't know exctaly what of them are really needed to be done ...

I had installed the backlight fix on first post and disabled the dim backlight and turn off backlight if device is not used option ...

Bye.
[Touch Pro, Fuze Themes and Apps] Nightwish2:
Hi

I am impressed by discovering this tool..

I have read through some posts (well not all though) and because of the last posts I was wondering if now it will work on a HD2 with standard ROM..? Or will there possibly be an update verison to fit HD2?

Thanks to do such tools and keeping it going.
[Touch Pro, Fuze Themes and Apps] nik3r:
If you go through the troubleshooting guide in first post, I am sure you can get it to work with any ROM. You need to install .NET CF 3.5 which doesn't come with stock ROMs because of OEM licensing issue. And if Lumos can't control your backllight at all, there is a hotfix driver for that. Any other problems are either incompatibility with another service or program or possible bug.

I see no reason why it wouldn't work on HD2, the only known problem ATM is G-sensor lag on HD2 and I already posted a hotfix for this a couple posts back.
[Touch Pro, Fuze Themes and Apps] ProfEngr:
I just got one of these myself. It looks like there's a sensor in the upper right corner of the glass surface.

That being said, Lumos does not appear to be detecting the sensor. Troubleshooting on pg1 aside, I have no idea what other apps on NRG 3/16 release could be using it. I put a pen-light right on the sensor and the value still read "0"
[Touch Pro, Fuze Themes and Apps] d4v0r:
Great app! I have a simple feature request, if possible. I wish not only absolute, but also relative backlight levels could be set in program exception. In other words, I want to be able to raise or lower brightness by some level when certain app is started (e.g. make backlight 2 levels brighter when Albums app is started).
[Touch Pro, Fuze Themes and Apps] nik3r:
If you look careful enough, this feature is already on my todo list in 2nd post..

I'm very busy with offline stuff right now (job, love... you know - the usual stuff) but I'll get to it eventually I promise ;)
[Touch Pro, Fuze Themes and Apps] d4v0r:
Indeed. Thanks for quick reply and enjoy offline life :)
[Touch Pro, Fuze Themes and Apps] Mikulec:
nik3r, lets say I want to have the default HTC auto-adjusting backlight, are there any registry values where I can set the min. and max. valuse that should the sensor use?

Thanks.
[Touch Pro, Fuze Themes and Apps] bastanamnet:
nik3r, your Lumos is great! But in your last hotfix you obviously have made the device to go into standby when the screen is off (I switch the screen off but without putting into standby so that ActiveSync or RunGps or radio player would be running). Now I cannot use the hotfix and therefore cannot play some games without switching Lumos off. Or am I wrong?
[Touch Pro, Fuze Themes and Apps] nik3r:
Nope, you are wrong, all that I did was to prevent Lumos from polling sensors AT ALL during an active exception... Everything else is the same.
[Touch Pro, Fuze Themes and Apps] bastanamnet:
So there is a weird side effect then.. I switched to hotfix and ActiveSync kept disconnecting when screen is off (not standby). I reinstalled Lumos without hotfix and ActiveSync stays conecting allright. I will try hotfix again..

I am on HD2, Artemis 7 + CoOkie hometab + S2U2, btw.

Anyway I will keep using Lumos - there is nothing even close to it :-)
[Touch Pro, Fuze Themes and Apps] bastanamnet:
Sorry for a repetition - I know it is in your ToDO - but having possibility to assing relative brightness like +1 or -1 to some apps while they are not excluded would made HD2 the really dream machine! (Apps like book readers and photo viewers are in bad need to be adjusted - first -1, second +1). Sorry again for repetition, but Please!! :)
[Touch Pro, Fuze Themes and Apps] nik3r:
Unless you have an active exception (ie. program that has exception is in the foreground, or just running if you are checking background apps as well) there should be no change in behavior compared to v10RC2.

It definitely doesn't touch power, Lumos cease all activity at the moment your backlight dims or turns off (regardless of your exceptions), it just skips everything to save battery.

bastanamnet:

Yeah, yeah, let me finish my research on Mobile Booster first :D The data I will gather in this project may once again decrease CPU footprint of Lumos by a fair bit.
[Touch Pro, Fuze Themes and Apps] bastanamnet:
Nik3r, sorry for bothering - no ActiveSync disconnects any longer after I re-copied limos.exe hotfix.. something else..

Let me add just one more comment - if screen brightness is set in steps from 1 to 100 inside your program, will it be possible to remap 1-10 steps to 1-100 the way that the first 3 of 10 steps will not be so greatly different while the last 7-10 are barely perceptible in brightness, I hope you understand.. e.g. change from 1 to 2 really will change in terms of 100 scale from 1 to 6, and so on.. 2-3 -> 6-12; 3-4 -> 12-20; 4-5 -> 20-30; 5-6 -> 30-42; 6-7 -> 42-55; 7-8 -> 55-70; 8-9 -> 70-85; 9-10 -> 85-100;

for example.

This will be all from me and happy OFF-line life :)
[Touch Pro, Fuze Themes and Apps] nik3r:
I see what you mean but that is what custom backlight mode is for ;)

You can do exactly what you want by setting up a manual backlight mode yourself.
[Touch Pro, Fuze Themes and Apps] bastanamnet:
Yes, I am using a custom curve which I have set pretty nicely for my HD2. What I mean are the hard coded levels 1-10.. Brightness changes from 1 to 2 and from 2 to 3 are a bit too big.. but do not mind, it works very good any way :)
[Touch Pro, Fuze Themes and Apps] nik3r:
It is a device limitation, most older devices were lucky to have 4 backlight levels, we have 10 - you should be happy ;)

And it is not hard coded in Lumos, once there's a device capable of 100 levels, Lumos should automatically adapt to the new drivers... if I made it right that is ;)
[Touch Pro, Fuze Themes and Apps] popura:
Bug report

Thanks for the nice app. I've found an issue that looks like a bug.

I first used a torch to make Lumos turn the lights up to max (My max setting was 4), and went to see the system backlight options, it was 4. Then I kept the backlight options window open and put my finger on the light sensor to make Lumos dim the lights(My min setting was 2). After that, I exited backlight options without applying settings.

The backlight was then auto changed to 4 after exiting backlight options and Lumos didn't change the backlight any more.

I had to wait for the system until it auto sleeps (Manually sleep the system does nothing) and then woke it up manually, the backlight amount was still 4, but after a few seconds Lumos continued working.
[Touch Pro, Fuze Themes and Apps] Martikn:
Hi :) . Today I made nice experience with backlight, lumos and IGO ;) ... Suddenly I noticed, that after every 2 sec inactivity, went off backlight. It was realy unpleasant. I try several settings, nothing work, reinstal Lumos, but problem persist even if Lumos was uninstaled. In that time i don't know that cultprit is IGO. I had suspect, that problem was in Lumos. Then i noticed, that after untick/tick in power advanced setings 'Turn off backlight if device is not used for" began backlight work well. I set then from 10 to 30 sec and continue experiencing what is wrong. Problem was back after run IGO (i try give IGO to exception list). After few experiments I found this: If is in IGO settings set backlight managed by IGO: then IGO rewrote system settings for "backlight off" to 10 sec (it shows this number, but I think, that real value is 2 sec). This made chaos with backlight management. After change IGO power settings ('use system settings') and move IGO to Lumos exception list all work well.

I hope this help some people.

UPDATE :) : If IGO uses backlight system settings then uses also all power settings :-( (It mean, that backlight and device switch off dependant system settings) . See this thread, post 7. With change IGO sys.txt You can switch IGO backlight to his internal settings and after ending IGO, works Lumos backlight well.
[Touch Pro, Fuze Themes and Apps] ozkaya:
I tried this software on HD2 and it works like a dream. One thing I would really like would be to prevent standby (i.e. keeping backlight ON) for certain apps like Adobe Reader or HTC Reader Tab. Is this possible?
[Touch Pro, Fuze Themes and Apps] heavyhms:
Good idea... For Htc ebook reader would be a must
[Touch Pro, Fuze Themes and Apps] Zahurtex:
Annoying bright screen in dark room...

On a second thought I should write my query here as its a very common problem and I am sure whoever installed lumos have had the same problem before he choose to this application.... Yeah same thing minlevel is set to 3 and in completely dark room it is bright it should be dimmer as when the back light goes to dim before sleep.... how to achieve this.

My warm congratulations to nik3r for making such a usefull piece of software.
[Touch Pro, Fuze Themes and Apps] nik3r:
Well I currently use this setup:

Min BL 2

Max BL 8

Sensor 0-1448 (by calibration)

Default 1250ms polling

BL = min below 1 lumen (deals with complete darkness, bed browsing etc.)

On AC Power - off (I use static level 6 on AC power with 5 minutes dim and 30minutes off)

Everything else on default.

But you can alternatively do the same thing by creating your own manual mode using whole range.

It may seem a bit dark but that's only psychological, I can read everything clearly - always. And my battery rewards me with more online time :D
[Touch Pro, Fuze Themes and Apps] Zahurtex:
since your device is Touch Pro and mine is tp2 I think the problem lies in the sensor reading sensitivity i.e lower side is no problem it is 0 here but higher side yours is 1448 and mine is 2048 by calibration. Your min is set to 2 where as I have to set min 3 b/c back light min.2 is hard to see screen in lights or shades or indoors but it is very comfortable for bed browsing. So, I have to set to min. 3.

I want it to drop to dim level 2 in darks and remain min at level 3. at indoors lights or shades etc.
[Touch Pro, Fuze Themes and Apps] nik3r:
just use

min backlight 2

max backlight whatever high (I think that the difference between 8 and 9/10 is really small and not worth the battery overhead)

then go to Mode tab, switch to custom mode and do anything you want ;)

Remember if you tap the blue line below graph, you can set the lumens per each level numerically. Just set level 2 to 1 lumen and draw the rest roughly like the Root mode, you should be fine.
[Touch Pro, Fuze Themes and Apps] Zahurtex:
When min is set to 2 it drops the backlight to dim then even if you go into a lit room it does not brightens the screen upto atleast level 3 and remains at lev.2 state which is hard for me to read or surf until you go out in daylight then it brightens the display. Custom graph is also not making any difference as well.
[Touch Pro, Fuze Themes and Apps] nik3r:
Dump this to \Program files\Lumos, overwrite and softreset - it's set for your sensor range (2048 max).
[Touch Pro, Fuze Themes and Apps] Zahurtex:
OK, will test and report back... meanwhile I hve set foll. to test:

Min BL 2

Max BL 7

Sensor 0-1148 (by calibration)

Default 1250ms polling

BL = min below 1 lumen (deals with complete darkness, bed browsing etc.)

and set the custom graph to 2=0 and 3=5 and then it drops down.... I have just made the loumos to brightens up to lev. 3 even if its 1 lumos fifference in the graph... I think so, and it seems to be working I am still testing and will test your settings as well.
[Touch Pro, Fuze Themes and Apps] nik3r:
Understand - the sensor minimum and maximum are specific for your device, if you use too high or too low, Lumos performance will be erratic at best. Even if you use someone else's config, always set your own sensor values of YOUR device and make sure you use the strongest light you have to determine them.

If it's off by 100, it won't be a big deal but more than like 20% difference between the max sensor value you set and the real physical maximum value will have negative effect. Lumos can't get the math right and the backlight dynamic range will be compressed.

Just a reminder ;)
[Touch Pro, Fuze Themes and Apps] lbhocky19:
so i found out today that game issues ive had with boingles and resco snake having stuttering was actually the fault of lumos somehow. when i disable it they work fine.

i added them to exceptions and ran lumos again but they still have issues. any help?
[Touch Pro, Fuze Themes and Apps] nik3r:
There's already a hotfix for that, I posted it to the first post for everyone to find more easily. For all of you who have lags when playing g-sensor games, just copy over the patch and create an exception for the game.
[Touch Pro, Fuze Themes and Apps] Zahurtex:
I have a question.. since you are also using energy rom I am also on energy's he include a little application in his rom called Backlight does this play any part in keeping the lumos to apply its settings.
[Touch Pro, Fuze Themes and Apps] nik3r:
Nope, it's just a touch friendly alternative to system->power. And you can also bind it to a key if you're not using any auto-backlight.
[Touch Pro, Fuze Themes and Apps] Zahurtex:
Ok, I have installed your posted settings and its working fine now actually it is behaving the way I want it to be... tho I haven't checked it at night but I think it will work as working in litup areas and in shadows dims the screen the way I want it.:D

One thing I have noticed with this settings or with my settings lumos does not apply the change as quick if you change places from dark to litup places.... it takes good 5 to 8 secs. to change and sometimes doesn't change until you click wm menu from the Sense home screen.
[Touch Pro, Fuze Themes and Apps] lbhocky19:
thank youu sorry for not seeing it in the first post.
[Touch Pro, Fuze Themes and Apps] nik3r:
Well you can always decrease the polling interval to like 1000ms, but beware the smaller number, the more CPU time Lumos uses when the display is on.

I personally find 1250ms best, it always reacts within 3 seconds if the environmental change is big enough.

Keep on mind that Lumos doesn't use any CPU cycles when the backlight is dimmed or display is off, so lower values are no big deal as long as you know what you're doing :)

Also the actual change can be set to multiplier of polling interval, so you can experiment with like:

polling 750ms

change rate 2x (1500ms)

- that might get you the results you want because Lumos is averaging last 4 sensor values to smooth out spikes.

In worst case scenario (really small change in light level) the reaction time would be 750*4 = 3 seconds

The default is:

polling 1250ms

change rate 1x 1250ms

- that allows faster change in extreme light differences, like you coming from shade to bright light, the display would pump up the backlight in at most 1250ms

but of course the smaller teh change the slower reaction 1250*4 = 5s in worst case scenario

Something like

polling 300ms

change rate 4x (1200ms)

would give you completely smooth transitions with worst case delay of 1,2s but watch the CPU usage if you experiment with this, you might be unpleasantly surprised :)

Also keep on mind that the BACKLIGHT CHANGE event eats much more CPU time than polling alone, that is why I favored multipliers of polling rate rather than using two independent clocks.
[Touch Pro, Fuze Themes and Apps] Zahurtex:
:eek:maan this is Science... :eek:

I will play with diff. poling intervals and see how it goes. Thanks
[Touch Pro, Fuze Themes and Apps] corfou:
Many thanks for your job

Now I know there is a working sensor on my jade
[Touch Pro, Fuze Themes and Apps] the7thson:
Amazing job nik3r, I'm a long time user. Started using on my Diamond quite a long time ago. Got an HD2 now and I can't believe I ran it for a few weeks on the stock light management program.. Lumos is FAR superior. Keep up the great work :)
[Touch Pro, Fuze Themes and Apps] stm555:
nik3r,

can you add command line support please?

lumos.exe a = backlight controlled by lumos

lumos.exe 2 = set backlight to 20% (and exit to disable auto)

lumos.exe - = decrease backlight by 10 (and exit) +=inc

lumos.exe a258 = switch between auto, 20%, 50% and 80%
[Touch Pro, Fuze Themes and Apps] nik3r:
that's not a problem but I don't get this one, can you explain what is this supposed to do?

I can also add a switch to temporarily change modes between custom and the others BUT I'm not sure the +/- controls will respond fast enough if you think about binding them to a key.
[Touch Pro, Fuze Themes and Apps] stm555:
switching to next mode in case of current

if 0,1 then 2

if 2,3,4 then 5

if 5,6,7 then 8

if 8,9,10 then a

I need this for AlReader. It supports external links for start, exit and for tap-zones, so i could set 20% on start, auto on exit, and just one tap-zone to adjust backlight to other settings
[Touch Pro, Fuze Themes and Apps] marcioqrz:
Translation:

Hi man. I've translatted Lumos to portuguese. Here it goes:

http://www.4shared.com/file/48RQwIHH/Portuguese.html
[Touch Pro, Fuze Themes and Apps] abovyan:
Dear nik3r!. You did great job. Your app is excellent. I just want to let you know about one issue I`ve found. I tried the new "Groovy Jump" game on my HD2, and it seems that Lumos periodicaly at points when it polls sensor (or sets backlight maybe) freezes this game . These freezes are very short, but nevertheless annoying. Maybe this is not because of Lumos but because of this game code...

Just wanted to let you know:)

Regards
[Touch Pro, Fuze Themes and Apps] nik3r:
Upcoming RC3 in development

This bug was already dealt with, download GSensor_LagFix.zip from the first post, overwrite Lumos.exe and create an exception for the application that's lagging.

Some of you might have noticed I resumed work on this project and features currently being implemented are marked by an * in the second post :)

The exceptions handling system will receive a huge overhaul to accomodate new ideas and I also focus on extending compatibility and improve self-diagnostic routines in case something vital is missing on your device.

Also in case Lumos doesn't work on your *HTC* device and it should (built-in auto backlight works / similar progs work). And you tried the troubleshooting guide in first post and nothing helped, drop me a line via PM and we can try to fix it.
[Touch Pro, Fuze Themes and Apps] the7thson:
Awesome!! Keep up the good work :)
[Touch Pro, Fuze Themes and Apps] Zahurtex:
Sorry, I have cut short your above post but my problem was not solved by that and I have to rely on my profiler to handle different back light settings according to the time of day and location.

There is nothing wrong with the lumos but I think it is the TP2 sensor which is the culprit:eek: and does not seems to recognize between electric bulb lighted place where I want backlight at level3 and in total darkness at level2.

Good to hear that development is going on... just hope will get better for the tp2 devices as well.:)
[Touch Pro, Fuze Themes and Apps] abovyan:
Thank you. I`ll try this. But the name confises me a bit:)) What has Lumos to do with G-Sensor?

And another thing, it would be great to have an option to set FULL backlight on resume from standby( maybe for just a second-two). I`ll explain - when I took my phone from leather case just to see what time it is now, I don`t need to completely get it out from case, just a bit from bottom side. So the light sensor is in complete darkness and I can`t see nothing on screen in bright environment. So I have to get phone out of case completely... And this is obviously not practical:))))

Thanks for great job!!
[Touch Pro, Fuze Themes and Apps] nik3r:
It is difficult to support devices that me or someone I'm in touch with don't have. It's like shooting with a blindfold and hoping that the target is as big as on my device :-D But I do my best.

Well I have to blame HTC for not separating the sensor driver logic. What I think basically happens is - only one sensor can be locked and polled at any given time. When I poll for light, the G portion of the driver waits for the result and lags, maybe it even has to reinitialize the G portion of the driver. I'm not sure but it is logical :)

Now THIS is a good idea, but of course I don't want it to go all the way to 10, it would rip my eyes out at night :D But option to select the initial BL level or 0 for auto, that would be really nice.
[Touch Pro, Fuze Themes and Apps] aussiebum:
Nice! I've been happily using Lumos from Xperia => TOuch HD and now the HD2, never had any major problems (except for annoying apps that Garmin that screw up the backlight :p)... if you need testing lemme know :)
[Touch Pro, Fuze Themes and Apps] stan23:
Hi nik3r,

is there need for HD2 beta testers? :D
[Touch Pro, Fuze Themes and Apps] peshkoff:
Take my vote for this feature =)
[Touch Pro, Fuze Themes and Apps] dkd:
Hi nik3r!

Very smart utility, it works very well with my HD2, thank you!!! However it would be nice to add a power saving option, I mean when the battery at low level, let's say - 15% or 10%, LUMOS shouldn't be allowed to change the blacklight to high level settings.

Sorry for my English!