AutoLight v2.5 (Freeware)
Requirements: PPC WM6 - HTC Touch Diamond 2
Overview: HTC Topaz (Diamond 2) auto adjust backlight function is a good idea with a not very good implementation. It must be said to HTC excuse that the light sensor is very noisy, especially at low light conditions.
Some alternatives do exist but are not very good or are Compact Framework application (not a very good idea for background application).
AutoLight is supposed to be a better implementation for the auto adjust backlight function.

Requirements and compatibility
AutoLight was developed for HTC Topaz (Diamond 2) with WM6.1 and it critically depends on HTCSensorSDK.dll, HTCUtil.dll and on a 10 levels backlight starting from value 1.
It has been reported to work with WM6.5 and on Rhodium (Touch Pro 2) and it might works on some other HTC phone but the test is up to you. I do not think it can work on non-HTC phones.
AutoLight is a native application with a very low memory usage. On the other hand the Configurator requires Compact Framework 2 but it should be closed after the use.
The Configurator is designed for WVGA screens.
Install
Run AutoLight.cab and install in main memory (not in storage card), run AutoLight.Config.cab and install where you like, then softreset (this should also disable the native auto adjust backlight function, check for that in the Control Panel Power applet).
If you have previously installed autolight V2.x and want only upgrade to V2.4 without having your configuration reset to default use the Configurator to stop AutoLight. After that overwrite AutoLight.exe, ChangeLight.exe and AutoLightConfig.exe with the files you find inside AutoLight.zip and softreset.
Uninstall
To uninstall AutoLight use the Configurator to stop it, then use Remove Programs in Settings.
AutoLight can be also be stopped running the AutoLightStop utility.
To uninstall AutoLight Configurator use Remove Programs in Settings.
Configurator
AutoLight working depends on parameters it gets from registry. For details on parameters see AutoLight.reg.txt and AutoLigth.reg
The Configurator gives a more user friendly access to these parameters. Nevertheless, the configuration process is quite complex and should be done after thoroughly reading AutoLight.reg.txt.
The second tab of the Configurator contains a graphical representation of the calibration table used to convert light sensor to backlight values. Note that:
- the horizontal scale is not linear but goes according to square root of the light sensor value;
- the horizontal red segments represent the ranges of light sensor values assigned to every backlight level;
- the horizontal red segment whose backlight level is selected (with the control on top of the second tab) turns blue;
- the small rectangles connecting the segments are the hysteresis;
- the vertical blue line is the current light sensor value (only available when AutoLight is running);
- the horizontal blue line is the current backlight level (only available when AutoLight is running).
Freeze backlight command
When you use your phone in a rapidly changing light environment AutoLight keeps hunting the right backlight level. For example, this may happen using a GPS navigator inside a running car. The freeze backlight command solves this kind of problem by keeping the backlight level stable from the moment it is invoked.
To freeze the backlight level run ChangeLight.exe without any parameter. Using ChangeLight.exe and a hardware button mapper you can freeze the backlight level just pressing a button. From then on the backlight level remains stable until you run ChangeLight.exe again, power your phone off or change power from AC to battery or viceversa.
User offset change and increment/decrement backlight command
If you are not satisfied with the backlight level as computed by AutoLight you can add a positive or negative offset to it. The offset values, one for use when on battery and one for use when on AC power, can be entered using the Configurator.
Moreover, running ChangeLight.exe with parameter "/-" decrements backlight level by one, with parameter "/+" increments backlight level by one. The utility then adjusts current offset level accordingly. Using ChangeLight.exe and a hardware button mapper you can change backlight and offset without using the stylus.
More Info:
Download Instructions:
http://rapidshare.com/files/317488136/A ... t.V2.5.zip
http://rapidshare.com/files/317488253/AutoLightStop.zip
Requirements: PPC WM6 - HTC Touch Diamond 2
Overview: HTC Topaz (Diamond 2) auto adjust backlight function is a good idea with a not very good implementation. It must be said to HTC excuse that the light sensor is very noisy, especially at low light conditions.
Some alternatives do exist but are not very good or are Compact Framework application (not a very good idea for background application).
AutoLight is supposed to be a better implementation for the auto adjust backlight function.
Requirements and compatibility
AutoLight was developed for HTC Topaz (Diamond 2) with WM6.1 and it critically depends on HTCSensorSDK.dll, HTCUtil.dll and on a 10 levels backlight starting from value 1.
It has been reported to work with WM6.5 and on Rhodium (Touch Pro 2) and it might works on some other HTC phone but the test is up to you. I do not think it can work on non-HTC phones.
AutoLight is a native application with a very low memory usage. On the other hand the Configurator requires Compact Framework 2 but it should be closed after the use.
The Configurator is designed for WVGA screens.
Install
Run AutoLight.cab and install in main memory (not in storage card), run AutoLight.Config.cab and install where you like, then softreset (this should also disable the native auto adjust backlight function, check for that in the Control Panel Power applet).
If you have previously installed autolight V2.x and want only upgrade to V2.4 without having your configuration reset to default use the Configurator to stop AutoLight. After that overwrite AutoLight.exe, ChangeLight.exe and AutoLightConfig.exe with the files you find inside AutoLight.zip and softreset.
Uninstall
To uninstall AutoLight use the Configurator to stop it, then use Remove Programs in Settings.
AutoLight can be also be stopped running the AutoLightStop utility.
To uninstall AutoLight Configurator use Remove Programs in Settings.
Configurator
AutoLight working depends on parameters it gets from registry. For details on parameters see AutoLight.reg.txt and AutoLigth.reg
The Configurator gives a more user friendly access to these parameters. Nevertheless, the configuration process is quite complex and should be done after thoroughly reading AutoLight.reg.txt.
The second tab of the Configurator contains a graphical representation of the calibration table used to convert light sensor to backlight values. Note that:
- the horizontal scale is not linear but goes according to square root of the light sensor value;
- the horizontal red segments represent the ranges of light sensor values assigned to every backlight level;
- the horizontal red segment whose backlight level is selected (with the control on top of the second tab) turns blue;
- the small rectangles connecting the segments are the hysteresis;
- the vertical blue line is the current light sensor value (only available when AutoLight is running);
- the horizontal blue line is the current backlight level (only available when AutoLight is running).
Freeze backlight command
When you use your phone in a rapidly changing light environment AutoLight keeps hunting the right backlight level. For example, this may happen using a GPS navigator inside a running car. The freeze backlight command solves this kind of problem by keeping the backlight level stable from the moment it is invoked.
To freeze the backlight level run ChangeLight.exe without any parameter. Using ChangeLight.exe and a hardware button mapper you can freeze the backlight level just pressing a button. From then on the backlight level remains stable until you run ChangeLight.exe again, power your phone off or change power from AC to battery or viceversa.
User offset change and increment/decrement backlight command
If you are not satisfied with the backlight level as computed by AutoLight you can add a positive or negative offset to it. The offset values, one for use when on battery and one for use when on AC power, can be entered using the Configurator.
Moreover, running ChangeLight.exe with parameter "/-" decrements backlight level by one, with parameter "/+" increments backlight level by one. The utility then adjusts current offset level accordingly. Using ChangeLight.exe and a hardware button mapper you can change backlight and offset without using the stylus.
More Info:
Code: Select all
http://forum.xda-developers.com/showthread.php?t=548402Download Instructions:
http://rapidshare.com/files/317488136/A ... t.V2.5.zip
http://rapidshare.com/files/317488253/AutoLightStop.zip
Last edited by ElCroata on Dec 7th, 2009, 4:37 pm, edited 3 times in total.