yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] kkwy:
Thanks MalVal,

I found the problems are not with your program. HP's BackLight2007.cpl has bugs. First, it increases brightness when it is supposed to turn off screen when ACTimeoutUnchecked.

2. When the registry key AcBacklightOnTap is set to nonzero, brightness will be set to the value stored in registry key ACBrightness after every tap. So tapping the slide bar of your program to change brightness will become useless.

The registry key ACTimeoutUnchecked is: time before Backlight Brightness is turned off. I do not knows what Registry keys AcTimeout, and AcUnchecked are used for?

There are corresponding registry keys for battery, e.g. BatteryBrightness.
[Windows Mobile Development and Hacking General] gsosna:
Imate ultimate 9502

Hi MalVal, I tried really hard to figure out what to use for Imate 9502, but the IDA pro utility crashes when I load the attached file. Are you able to help, please???
[Windows Mobile Development and Hacking General] ruebyi:
Hi!

this program is exactly what I was searching for! But I have no clue how to get it work on my XDA Terra / Herald...

MVBklight doesn't get the right settings automatically :( (WM 2003 instead of WM6)

So I tried to change settings on my own.

regPath is no Problem, but I can't find the DeviceIoControl code!

I tried to search for some backlight.dll in Windows folder, but there is none! I tried to copy a ctpl.dll to PC but Active Sync doesn't want to... Can anyone help me?

ruebyi
[Windows Mobile Development and Hacking General] zeruzzer:
the app i was searching for!

thanks for your great work!

so easy to handle and customize!

one question:

i`m tapping for 100% - backlight is adjusted accurately - but the slider/bar does not reach the 100% mark at the right side, leaving ~1% "empty"

tried to play with config without succes - any idea?

thanks in advance :)

...got an acer n310.
[Windows Mobile Development and Hacking General] FLyJaCk:
The World is yours MalVal!

Hi all,

So many thanks guys and especially MalVal for spending his time on this for us. Works great on my Kaiser. Just edit manually the settings to put WM5/WM6 instead of WM2003 and 0x7 bat, 0x8 power.

Was looking for such app since I've bought my Kaiser... :)

Great job!
[Windows Mobile Development and Hacking General] ruebyi:
Really nobody got it work with XDA Terra / Herald? :(
[Windows Mobile Development and Hacking General] tonio94:
Thanks bro, finally working on my Trinity :-)

It reports WM2003 in auto settings but it works anyway
[Windows Mobile Development and Hacking General] MalVal:
ruebyi.

Try RomExtractor. It can copy files from ROM.
[Windows Mobile Development and Hacking General] jkfoxworth:
Works on Mogul just change language to english and change to manual
[Windows Mobile Development and Hacking General] adomila:
just what im looking for...

great work MalVal. please allow me a couple of constructive suggestions; items in the today increases load up time even thou it is not active. would it be too much to ask, if you could make it work without having it in the today items. the other this is, one of the major problem of our o2 atom device is the battery drain worst. so we are force to set the backlight at the most minimal setting. the problem lies when we are outdoor while the backlight is set to the lowest to conserve battery, we can see anthing. i could map your app then hit the arrow key but it still a 2 step procedure and it is still blindly work-around. it would help if we could map it to the volume keys; up-volume-key increases backlight then down-volume-key decreases backlight. tia and more power :)
[Windows Mobile Development and Hacking General] N'da:
In the Malval folder you have shortcuts to increase and decrease backlight and an other that cycle the backlight, you can assign them with hardware buttons. The cycling function can be adjusted by editing the .lnk (with total commander for example) and you can certainly find an app that can assign to scrolling buttons. If it can help......
[Windows Mobile Development and Hacking General] adomila:
this is great! i miss the already available shortcuts.

thanks N'da, i did look into the shortcuts before but not in total commander, just in windows/explorer. it's kinda weird that it does not show those parameters -, +, m and the 2 5 7 cycle in windows/explorer. i could only see the cmd.exe same for all of the shortcuts, so i thought those shortcuts where not any use. but now that you mentioned it in total commander, i run it and verified the parameters and it works:D i can now map it to any buttons of my liking. this is great. many thanks :) and thank you to MalVal for sharing this great app :)
[Windows Mobile Development and Hacking General] poulch:
Same for me, it is the only programs, all over the net ;-) witch do excatly what i want with my HTC Touch Cruise (Polaris) !!!

My params :

HTC 4350 Herald:

HTC P3300:

HTC 3400 :

Pwr – 0x8, Bat – 0x7

Registry: HKCU\ControlPanel\Backlight, ACBrightness and Brightness

I really thanks to you MalVal !!
[Windows Mobile Development and Hacking General] del4:
Finally!

Been searching for an app with this functionality for a long time, as have many others. With AEBPlus, I've got MVBklPopup mapped to a hardware button, so with this and SetVolume, I've got quick access to both volume and backlight settings on my Mogul. Perfect! Thanks for sharing this great app!
[Windows Mobile Development and Hacking General] del4:
Skins

Looks like the zip file contains three skins ('qvga', 'small_vga' and 'vga') but only the small skin is installed, as 'small'. This works fine for me, but just an FYI in case someone is trying to use one of the other skins...

BTW, if anyone has come up with a cool skin or two, would you mind posting them?
[Windows Mobile Development and Hacking General] adomila:
no luck

i have no luck finding an app that can re-assign the volumes keys :confused: [crying] only apps that maps most of the other keys like soft, right keys, camera, record, etc but not the volume keys. i'm not using the volumes keys that much so i would like to maximize it use by remapping it to the brightness of the backlight.
[Windows Mobile Development and Hacking General] adomila:
possibly a bug, not sure...

hi MalVal, thank you for sharing this great app. pls allow me to raise a concern on a separate reply for organization purposes. i'm using an application called PhoneAlarm, it can change the backlight at a specified period or time. When I use this feature from PhoneAlarm then use your applicaiton, it kinda messes up the current backlight setting. By saying mess up, I mean it does not remember or retain the current backlight settings when i wake up or turn the phone on from an automatic suppend mode. The result is a brightness brighter than expected or what is set from PhoneAlarm. Does your application update the brightness from the registry or something? tia(tnx in advance).
[Windows Mobile Development and Hacking General] adomila:
more brightness granularity?

Hi MalVal/everybody, please do not get me wrong for posting again. I'm posting a separate reply again for organization purposes. also, so that others won't have a hard time if they search this specific info. this is kinda of a request or info request, it is possible to have a more brightness granularity? what i mean is, from the default 10% increments of brightness, would it be possible to have 5%, 3% or custom brightness increments. i'm asking because one of the major issues/problems of our atom device is the battery performance w/c can be greatly improve by lowering the brightness level. thank you in advance and more power or should i say less power for us, hehehe :D
[Windows Mobile Development and Hacking General] MalVal:
Hi adomila.

1st question.

MVBklight gets current bklight value from registry (like a built-in bklight control). If 3rd parity programs change the bklight but doesn't change the correspond registry value, MVBklight and built-in bklight control will show the incorrect value. This is 3rd parity programs mistake. If built-in bklight control shows the correct value but MVBklight incorrect, this is my error and i must research this problem.

2nd.

Unfortunately this program can't add more brightness granularity to your device. Its necessary to write a new bklight driver to do this. For each native device - native driver. As far as i know there are some positive attempts to solve this problem. But i don't now how. May be in future..:)
[Windows Mobile Development and Hacking General] adomila:
Hi MalVal,

I think you're right, my 3rd party app allows configuration by % but after running a few test, ot looks like the 3rd party app, does check the current brightness but actually increments it by %. and once i use your app to correct the brightness everything function as expected. its a good thing i found a way to map it to my volume keys so I could easily adjust the brightness by a single simple step/click. this is great :)

thanks for the infos and pls do keep up the good work :)
[Windows Mobile Development and Hacking General] Aleq:
Hello. Thaks for great application. Recently I've upgraded Asus P750 firmware to Sorg's custom ROM (VGA enabled) and since then, it works only if not connected to the power. I suppose it is the DeviceIOControl code - how do I find the correct value? Is there any diagnostics for that available? Thanks a lot!
[Windows Mobile Development and Hacking General] MalVal:
Aleq,

sorry, this is my mistake.

On Sysytem tab in field between Power DeviceIoControl code and Minimum value (the field without header) you need to write 0x10000 instead of 0x100.
[Windows Mobile Development and Hacking General] Aleq:
You're the man! Thanks a million for a quick and helpful response. Works like a charm now. :)
[Windows Mobile Development and Hacking General] kkwy:
An option to add "turn off screen" to Cycle change of backlight would be great.
[Windows Mobile Development and Hacking General] The Mike:
Herald - Tmobile Wing .. how to make it display correctly

Increments are only in 25% just like in the default windows mobile backlight setup.

BatterydeviceIoControl code: 0x7

DeviceIoControl code: 0x8

You should change the max value for sure with the wing because if you leave it at 10 then it will only go to 40% but as far as brightness goes, it's actually 100% .. and the majority of the slider will be left empty on from 50-100%.

Min value: 0

Max value: 4

Step: 1

It's a bit misleading but 0 will take you to 25 percent lighting... not complete black.

4 is 100% lighting.

If it were accurate you could say your min value is 1 and max value is 4 but then it would throw off the lighting percentages thinking it only had 3 values to cycle through... and your 25% lighting would actually tell u it was 33%. If you actually take the slider to 0 it'll auto-correct you and move it to the 1 position of 25%.

Oh, and the extra icons in the newest zipfile actually make the slider bigger so it's not so tricky to grab the slider so thanks.

I figured this out through experimentation when things weren't working correctly but if you think any of this is wrong.. feel free to correct me. Maybe there's a way to get 10% increments after all but I missed something.
[Windows Mobile Development and Hacking General] Nolfik:
Hi,

do you know anybody code for Diamond ?

BatterydeviceIoControl code

DeviceIoControl code

Thank you

Edit: like Herald

Thx
[Windows Mobile Development and Hacking General] del4:
dpad not working in popup

:confused: Not sure what happened, but when I first installed this, upon bringing up the popup, I could in/decrease the backlight level using the dpad left and right, just like I can when I toggle down and give focus to the MVBklight control on my today screen.

But now, while I can still access the popup and adjust the backlight using my stylus, the dpad no longer has any effect???

I've tried un/re-installing and that did nothing to fix the problem.

Anyone else seen this and perhaps knows a solution?

TIA
[Windows Mobile Development and Hacking General] joko132:
sorry for the bad english...

The programm is not working with my xda diamond 1.93 ger.... plz help
[Windows Mobile Development and Hacking General] Alkemist:
MalVal,

А можно эту прогу сделать для смартфона?
[Windows Mobile Development and Hacking General] ruebyi:
Just wanted to switch the slider and icon... But it didn't work... what do I have to do for skinning my own slider?

ruebyi
[Windows Mobile Development and Hacking General] juju-35:
Unable to make it work on Kaiser (6.1 4.60 ROmeO ROM).

THe plugin displays BUT does not change the backlight as I change the slider position...

Any hint?

JUJU
[Windows Mobile Development and Hacking General] frotna:
Greetings.

Is there any way to disable hardware button controls of MVBacklight Popup program (want to disable hardware buttons up-increase brightness, down-decrease brightness and middle-exit popup).

Thanx...
[Windows Mobile Development and Hacking General] sureloch:
Can this be made to work on the HTC Diamond? Slider does not seem to have any effect.
[Windows Mobile Development and Hacking General] MalVal:
if i'm not mistaken:

Type: WM5/WM6

Reg: HKCU

Branch: ControlPanel\BackLight

Battery name: Brightness

Power name: ACBrightness

Battery DeviceIoControl: 0х7

Power DeviceIoControl: 0х8

Min: 1, Max: 10, Step: 1
[Windows Mobile Development and Hacking General] jlechner:
I also need to turn off the hard-key feature. I can't even use my dpad for anything other than the backlight app. Kind of annoying.
[Windows Mobile Development and Hacking General] sureloch:
Works Great on the diamond. I appreciate your work!
[Windows Mobile Development and Hacking General] MalVal:
Ok. I'l add this feature to th next release.
[Windows Mobile Development and Hacking General] jlechner:
Many thanks. :D
[Windows Mobile Development and Hacking General] Madremiha:
You'll continue the dev?

Your app is great and i launch it with the touchflo (slide down/up) and if you can do something like the screen (wktask plugin)

A pop up with slide down/up control and maybe a better design than my screen and if you can do a sound control.

(or something like set menu)
[Windows Mobile Development and Hacking General] jlechner:
Ok, nevermind. I found out you just have to hit the center d-pad button to end the plugin. Great App!
[Windows Mobile Development and Hacking General] ruebyi:
Has anyone a clue how to skin this application?
[Windows Mobile Development and Hacking General] adventureboy:
Hi,

MVBklight is great, I mange to make it work on my HTC polaris.

But there is a strange behavior, my scoll button (the scoll button including direction buttons) are now controlling the brightness of the screen and cannot use for it basic function with any of other application.

Is is a bug with Polaris? or there is an option to disable it?

thanks
[Windows Mobile Development and Hacking General] karaern:
press enter button and the pop up will dissappear...then u can use the buttons as before
[Windows Mobile Development and Hacking General] amiryu:
new version 1.4.3?

Hmm there seems to be a new version at the website

http://4pda.ru/forum/index.php?showtopic=25964

cant seem to download it.

Can anyone download it and post it here.

I seem to be having a devil of a time trying to download it.
[Windows Mobile Development and Hacking General] amiryu:
updated program

Nevermind got it

for those of you who are looking for it

here is the updated
[Windows Mobile Development and Hacking General] adventureboy:
Great, thank you!
[Windows Mobile Development and Hacking General] Atthead:
MalVal, thank you for the great app, amiryu thanks for the new version! Works fine on Samsung i900, however does not display OS correctly (shows WM2003), and when I set Show soft Buttons to yes in config, the right soft button says something like "Nastroyka" in cyrillic characters on the right softbutton (I am using English language)

All these does not effect the functionality at all, just I thought to add it.

Well, I am not brave enough to click on "Nastroyka" yet, but thats all :)

thank you!
[Windows Mobile Development and Hacking General] polywave:
My Asus P565 doesn't work by this application. I have changed the brightness level but the brightness doesn't change. I check with the setup->Backlight, the value is changed but it doesn't change on real time. Is anyone know the setting of P565?
[Windows Mobile Development and Hacking General] MalVal:
polywave,

ASUS changes a bklight control method from a device to device:).

I need bklight manager from your device to analize it. Usualy it can be found in Windows folder (Brightness.exe or something similar).
[Windows Mobile Development and Hacking General] polywave:
Thanks for your reply. Here is the file find in the window folder. Hope that you can help to find the ID.
[Windows Mobile Development and Hacking General] MalVal:
polywave.

Try these settings:

Settings for: Manual

Device type: Asus P7x

Registry section: HKLM

Registry path: ControlPanel\AsusSettings\Backlight

Battery name: BatteryPower

Power name: ExternalPower

Battery DeviceIoControl code: 0xA201A004

Power DeviceIoControl code: 0xA201A004

Additional power code: 0x10000
[Windows Mobile Development and Hacking General] polywave:
It is working. Thank you very much.
[Windows Mobile Development and Hacking General] htctoucher:
wow.. this app is so simple and so fast and so great!

thanks a lot :D
[Windows Mobile Development and Hacking General] bigough13:
It works great, however in M2D (at least in NSFAN's rom) it runs in the background and text of any sort will not work. I need to go into task manager and kill the popup.exe in order to text again.
[Windows Mobile Development and Hacking General] ufriendxda:
Hi! MaiVal, it's a great tool!

By HP612C, it seems to be difficult to setup.

Could you please help to find out the solution?

Some files from HP612C attached.

THX!
[Windows Mobile Development and Hacking General] MalVal:
ufriendxda,

I already analyzed such file.

Choose 'Manual' in 'Settings for' combobox, restart Cfg.exe and choose IPAQ hx2190 in 'Type' combobox.

This method works on the majority of iPAQs with WM5-6.
[Windows Mobile Development and Hacking General] msyang20:
i have an att tilt and my backlight percentage can only go up to 88%.

help!!
[Windows Mobile Development and Hacking General] starfighter1954:
Hello,

in order to use the backlight with a hotkey I would like to know the command line to change the backlight to a defined percentage.
[Windows Mobile Development and Hacking General] MarkRain:
I found yesterday this little application, this is really useful!!

It's a pity i cannot find right value for my device, is someone that use it with a samsung i780 (or at least i think other samsung like omnia...) can share the used value i'd really appreciate!!

I'm also made a stupid skin for this, (see images) if you like it ( i don't think so :D) just replace the bmp images in attachment in the "small" folder of MVBklight.
[Windows Mobile Development and Hacking General] starfighter1954:
Runs fine for me, but I dont know how to use it as command in order to activate it trough hotkey.
[Windows Mobile Development and Hacking General] MarkRain:
have you got a i780?Could you be so kind to report me the value you can find in the MVBklCfg?

I don't know which value should i change in "system" tab, maybe i can try to use yours...

thanks
[Windows Mobile Development and Hacking General] starfighter1954:
As far as I tested it now, it works not perfect with the default settings for sgh-i780, because the backlight settings are only linear between 4 and8 of the 10 steps, 1-3 are even brighter than 4.

:(
[Windows Mobile Development and Hacking General] MarkRain:
Exactly as in my device... :(

However the app is usable, really useful.

Another thing i'd like to know is if there's a way to reduce the backlight more than the minimum level allowed by WM;

I've seen that G-Light is good for HTC device, who knows any similar program?
[Windows Mobile Development and Hacking General] MarkRain:
A small improvement for samsung's device users:

the 5 level of backlight we have in settings are changed with those registry value: 4, 5, 6, 7, 9.

So in MVBklight we can use, with Step fixed to 1, the minimum value of 4 and the maximum of 9.

This way we have a linear backlight changes from 4 to 7, an "empty" step for the value 8, and then the maximum backlight corresponding to 9.

Still no perfect but that's what i can do
[Windows Mobile Development and Hacking General] karpikpl:
can someone please tell me what are the settings for MIO p360/p650 ?

default settings doesn't work

I have the dll files but don't know how to get values by IDAPro...

is MVBacklight open source?
[Windows Mobile Development and Hacking General] karpikpl:
can sameone please help?
[Windows Mobile Development and Hacking General] MalVal:
Hi, karpikpl

Try these settings:

1. Settings for - Manual, click Ok and reload Cfg.

2. Device type Mitac.

3. Both DeviceIoCode 0x3000014.
[Windows Mobile Development and Hacking General] karpikpl:
thanks! it works!

how do You do that? I've been trying and trying to figure out how to change brightness with systemIOControl...

can you show how to call this method?

changing brightness with your program is ok for single pda, but I'm trying to write a kiosk mode app and need to change brightness from code level c#/c++
[Windows Mobile Development and Hacking General] MalVal:
For Mitacs:

BOOL SetBacklight(DWORD value)
{
HANDLE hDevice = CreateFile(wzBKL1,
GENERIC_READ|GENERIC_WRITE,
FILE_SHARE_READ|FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
NULL);

if (hDevice != INVALID_HANDLE_VALUE) // cannot open the drive
{
DWORD VALS[2] = {0xC, 10 - value};
DWORD dwRet=0;

DeviceIoControl(hDevice, // device to be queried
0x3000014, // operation to perform
&VALS, sizeof(VALS), // input buffer
NULL, 0, // output buffer
&dwRet, // # bytes returned
NULL);

CloseHandle(hDevice);

return TRUE;
}

return FALSE;
}

BOOL GetBacklight(DWORD &dwBright)
{
dwBright = 0L;

HANDLE hDevice = CreateFile(wzBKL1,
GENERIC_READ|GENERIC_WRITE,
FILE_SHARE_READ|FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
0,
NULL);

if (hDevice != INVALID_HANDLE_VALUE) // cannot open the drive
{
DWORD dwRet=0;

DWORD VALS[2] = {0xB, 0};

DeviceIoControl(hDevice, // device to be queried
0x3000014, // operation to perform
&VALS, sizeof(VALS), // input buffer
NULL, 0, // output buffer
&dwRet, // # bytes returned
NULL);

CloseHandle(hDevice);

// Now we need to determine where are our data!
if (VALS[1] <= 10)
{
dwBright = 10 - VALS[1];
}

return TRUE;
}

return FALSE;
}
[Windows Mobile Development and Hacking General] karpikpl:
thanks a million!!!

I've been asking and searching for more than a month now, and no one seemed to know the answer.

thanks again
[Windows Mobile Development and Hacking General] gopinathann:
Thanks for the app and it works good. Even I am writing my own app to change the brightness to max level.

Do you refer CoreDLL to use this one. Can you give me more detailed code to set up the backlight in C#.

Thanks in advance.
[Windows Mobile Development and Hacking General] leyto:
field in mvbklight

Hello MalVal,

Thanks for your work and for this great app, i use this one on a WinCE 4.2 device.

All is good when i use the manual configuration, but the number of character for the field for the AC value (power backlight registry name) is just too.

In the field "power backlight registry name" I want write ACBacklightLuminanceLevel and i can just write ACBacklightLuminanceLeve.

Thanks you for your help.

Leyto
[Windows Mobile Development and Hacking General] MalVal:
gopinathann,

unfortunaly i dont't use С#. You need to use DllImport, like this:

class MainClass
{
[DllImport("user32.dll", CharSet = CharSet.Auto)]
public static extern int MessageBox(int hWnd, String text, String caption, uint type);

[STAThread]
static void Main(string[] args)
{
MessageBox(0, "Hello World", "MyBox", 1);
}
}

leyto,

check this, please.