yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] gooroo:
Great work Vijay, the lite version is exactly what I wanted!

One thing after initial install it appeared to work fine with button on/button off, then after trying button hold it seems like the button on/button off is now confused! Now if I button on/button off it goes off then comes back on, I can only turn it off by holding button for longer. The hold button for torch still works fine, do you get me??

Also Moghisis101, thanks for the childs play install, one thing, it adds the new key as Flashlight in buttons with Camera as the assignment. As I still have Button 3 as Camera the buttons app refuses to exit complaining that I have two identical assigments on different buttons.

Good work Vijay, and thanks Moghisis101
[Windows Mobile Development and Hacking General] dima_the_chief:
Great thanks for a perfect job to all you guys!

The next step : control the light with the flip closed.

Is that possible? And, BTW, is it possible to to make other buttons (like audio volume) working with the flip closed?

Thank you
[Windows Mobile Development and Hacking General] vijay555:
dima_the_chief: I believe TheBlasphemer is doing some work that should do the job. I'm sure he'll keep us updated :)

gooroo - not quite sure I get you on that one. If you find that for some reason VJCandelaLite is on and won't go away, just tap its mini icon (ontop of the start button). If you've lost the icon, use a task manager to kill it.

V
[Windows Mobile Development and Hacking General] gooroo:
It's okay Vijay, it must have been me, tried uinstalling and reinstalling and it is exactly the same from the beginning. doh :)
[Windows Mobile Development and Hacking General] moghisi101:
hey Gooroo

I don't think there is any way around that. When I tried assigning it to anything else, the flashlight button does not work. For some reason it has to link to the camera button - ask VJ?

in the meantime, you could assign it to something else, and then reinstall the CAB. Sorry I couldn't be of any more help. I am no genius like VJ, buzz, itsme, etc

Cheers
[Windows Mobile Development and Hacking General] vijay555:
Guys, no reason why it should only work on one button. My code should work on any hardware key, as I said, holding and pressing the enter key in programs will show this.

Using button mappers like AEButtonPlus might not work though. If you're using this kind of app, use the -on switch for one click, and -off for two clicks etc. Or just play with it and let me know what you come up with!

V
[Windows Mobile Development and Hacking General] dragon666:
C´mon now.. make it work for Wizard:) !?
[Windows Mobile Development and Hacking General] vijay555:
Does anyone have a Wizard rom dump created by using dumprom?

V
[Windows Mobile Development and Hacking General] ZeBoxx:
I'd create one if I had even the foggiest idea of how - the DumpRom wiki is nice but doesn't tell me how to get the rom in the first place ;)

That said - there's a wizard rom on the FTP.. DumpRom could be run on that?
[Windows Mobile Development and Hacking General] Robb Bates:
Another bell/whistle...

vijay, since you've figured out how to access a normally non-mapped hardware button, how easy would it be to map the camera button on the Apache? It normally is a press and hold to turn on the camera, but the simple press does nothing, and is not mappable.

This seems to be an ideal button for the flashlight.

Robb Bates
[Windows Mobile Development and Hacking General] ianlarner:
Superb app vijay exactly what the universal needed... donation coming your way!

One question though, i have the app assigned to the light button, but should it work when the clam shell is closed as it only seems to work when the screen is open at the moment, have i got a setting wrong?
[Windows Mobile Development and Hacking General] vijay555:
Robb, as much as I'd love to take credit for the hardware key hack, I picked it up from here:

http://xdaforums.com/viewtopic.php?t=34377&highlight=40c8

You will have to play around with the settings for your device, but follow that thread and have a play. I found that it's easiest to take an existing registry entry, export it, edit it and reimport it to make clones of existing entries (unless you registry editor lets you copy and paste branches).

If you get the settings for your device, post details and I'll cab them up (properly this time?).

Apologies for the storage card thing. Because I'm supplying ready made shortcuts, they're only valid on English OS in default installation folder :(

And again:

I'll try to send out individual thanks to all those making donations, but I want to say here, your donations are all very very much appreciated. Development tools do cost a lot and this and other upcoming hacks wouldn't be possible without them, so it's all going to a good cause I hope.

V
[Windows Mobile Development and Hacking General] Diggia:
GREAT WORK vijay !!!!!! :D :D :D

Just installed and works perfectly with my 9000 !

In my forum I opened a topic about the VJCandela

You're the best !!!!

Thanks a lot !

Wait my donation ! :wink:
[Windows Mobile Development and Hacking General] vijay555:
Guys, on my website I've posted a new cab with VJCandelaLite 0.2 beta.

This contains a new option, -screen

Using this will hopefully toggle the screen while the light is on. No particular reason, but why not?

I've also tried to add Wizard compatibility. I can't test this since I don't have a Wizard, so either send me a wizard or give it a go! Please report ASAP, good or bad.

Remember, If you like this stuff, keep me coding :) Donations towards IDA Pro are coming in here and there, and I'm grateful for every penny. But I'm still quite some way to go.

V
[Windows Mobile Development and Hacking General] ZeBoxx:
no go on the Wizard, I'm afraid.

Confirmed that my shortcuts should be working by using the -about flag in one of them, and the about screen does show 0.2

-screen does work ;)
[Windows Mobile Development and Hacking General] vijay555:
Pooh. Will keep on working on it. Strange, the Magician camera dlls do contain a flash, but the Wizard doesn't seem to :(

V
[Windows Mobile Development and Hacking General] vijay555:
Pooh. Will keep on working on it. It's hard without the hardware!

V
[Windows Mobile Development and Hacking General] ZeBoxx:
How -do- you work on it without having the hardware anyway? :>

Also - maybe a stupid question, but... how do I know that it's actually trying the functions for the Wizard, and not still for the Universal? I suspect there's a device ID you check or something - but what if that fails?

Maybe you could stick the mode it's detecting in the About screen, to make sure that's not the case?
[Windows Mobile Development and Hacking General] vijay555:
ZeBoxx, basically it's failing through right now:

on the Universal we try to open up a device called CIF1:

That doesn't exist on the Wizard (as far as I can see, have a look through your \active\ drivers in your registry).

However, doing a comparison of the equivalent files used in the Universal and the Wizard, I think the Wizard is using CAM1: instead to achieve the same results. So if CIF1: doesn't work, it tries the Wizard route instead. However, it got late yesterday and I'm not sure I've done everything correctly.

As I said, the Magician dlls contain the same functionality as the Universal's - it has a flash control feature, even though the hardware doesn't exist. But as far as I can see, the Wizard does not have the flash control in the same place. I used a little bit of (obviously incorrect) logic to try to figure out why and although it seemed to tie up with what I could see in the code, it clearly didn't work in practice. I'll try again later. But obviously it's more hit and miss without the hardware. But your help was invaluable to even get that far!

V
[Windows Mobile Development and Hacking General] ZeBoxx:
yeah, no CIF1: - only a CAM1:
[Windows Mobile Development and Hacking General] saman-cz:
vijay555: I've tried on my Wizard your DeviceIControl hack with both CAM1: and CAP1: with no luck. Maybe, the IO contol code is different, but hard to reverse engineer without exported Camera_Flash funtions from HTCcamera.dll
[Windows Mobile Development and Hacking General] vijay555:
saman-cz: yup, tell me about it. That's where I used my logic, and failed miserably :) Story of my life.

I'll have another look at it .. if the phone has a flash, it must be hackable.

V
[Windows Mobile Development and Hacking General] ZeBoxx:
vijay - just a heads-up in case this isn't you trying to make a buck from your efforts (as you should!), Handango seems to list VJCandela for $5 (without download option):

http://www.handango.com/PlatformPro...6X798973443379XDAE7BD7B9&platformId=2&N=96806 34&productId=183262&R=183262
[Windows Mobile Development and Hacking General] vijay555:
:) It is me - but unfortunately Handango doesn't let me list a price lower then $4.95. But the app is kinda shareware. Anyone who searches for it will get directed to my website, where obviously it's available free, subject to the "if you want to make a contribution" request.

I'd rather that anyone who does want to make a contribution doesn't buy it through Handango and do it through PayPal, since Handango eat 40%. But it does get the app some exposure until I can get my blog and RSS running.

I had another look at the Wizard code. It's confusing why it doesn't expose the flash in the same way - hopefully I'll get an Atom dump soon to compare, but without the hardware to reverse engineer, it's difficult.

I had some success on another app though, a blast from the past. Released hopefully after the weekend.

V
[Windows Mobile Development and Hacking General] ZeBoxx:
Cool :)

Looking forward to the other app - whatever it is ( curse you and your mystery posts :P )
[Windows Mobile Development and Hacking General] themez2004:
Anyone else notice that the flash light goes blue after the main screen backlight goes off/times out? (On the XDA Exec)

Or is it my eyes? :shock:

Euan
[Windows Mobile Development and Hacking General] vijay555:
Guys, I've posted an update to v0.2 on my website forVJCandelaFat.

This centers the dialog on startup and tries to smooth some of the drawing flashing while it's being dragged. There's only so much I can do with that, since the OS wasn't designed for window dragging :wink:

V
[Windows Mobile Development and Hacking General] davidbessler:
Still waiting for this app for Wizard
[Windows Mobile Development and Hacking General] vijay555:
Me to David.

I really need to get my hands on a Wizard. That's not happening too soon. But I'll have another look shortly, I'll be trying to update with Eten and Atom support soon, so it'll give me another excuse.

V
[Windows Mobile Development and Hacking General] dima_the_chief:
I have scorched my Qtek9000

! I have scorched my Qtek9000 ! (part 1)

First of all, please, refer to my previos postings, where I requested to functionality of working side buttons with the calm closed:

http://xdaforums.com/viewtopic.php?t=41642&postdays=0&postorder=asc&start=25

So, I've installed the VJCandela Lite app and played with it. I dont know how, but suddenly, all the HW buttons (camera, voice and light, as well as volume) START WORKING WITH CALM CLOSED ! :idea:

This functionality was not anounced for the app, did it??

I was surprized, I enjoed the volume control working with the calm closed! I could even use the VJCandela itself for the sinle button press with out opening the calm.

Of course, I was worrying about the accidently pressed buttons (especially the Light button which is assigned to VJCandela).

If I could only know ...

-- see the next part ==>
[Windows Mobile Development and Hacking General] dima_the_chief:
! I have scorched my Qtek9000 ! (part 2)

So, I enjoed that volume control working with the calm closed, just a fiew times accidental buttons presses launched camera and voice apps, as well as the VJCandela light up the torch.

But, yesterday, I was at the wallmart, scurrying about the big shopping list, and had awry put my Qtek9000 in to the on-belt case, so the light button accidently had a press-n-hold click and turned the torch on and this state remained for 15 minutes as maximum, before I drew out my Qtek9000 from the case for the next time...

And, guess what???

When I drew out my Qtek9000 of the case, I saw my torch is on, and the light is of a GREEN tint and is VERY WEAK !!!

Ok, I thought it was the battery discharged for a so long period of lighting.

But, the battery was 87% full!!!

Immediatelly after the accident, I noticed that the device was a little warm, but, not much, the led was warmer, but not that much.

So, now, the light of the led is very faint and feeble; and in the full darkness, the back light of the LCD screen gives more light than the LED gives.

In camera app, if you turn on the led and then make a shot (it supposed to shortly switch to more intensive light for a second), the weak light tirns alittle more green for a while but not more bright.

So, BE VERY CAREFULL WHEN PLAYING WITH THE TORCH !!!!!!!

Do not allow it runing it for a long while! If you see it turnes green - switch if off immediatelly - it might start overheating!

You guys should learn by my own mistakes!

And, what did we learned from it?

1. there is a hardware design fault in the HTC product which leads to semiconductor LED to degrade under unconditional voltage after that short while?

2. another hardware design fault in the motherboard of the HTC which leads some circuit elements (resistors, or just m/b conducting path) to the malfunction under the unproper circuit?

3. I'm just unlucky ( the belt at the cashier's desk has just sucked in my credit card that day :( :( :( )

And, also, we got questions:

- The HTC device wasn't designed to, let's say, shoot a 30 minutes video with the camera.exe with light on?

- camera.exe might have any time out on the ligth on, to prevent the LED overheat?

- HTC haven't even tested it's device in the mode like i run it - we all can imagine, how many other surprises are waiting! Such a raw product!!! :x

- vijay555 - you and others, you guys should foresee some protection against this situation in your app - like, set up a time out on continious light, sound alarm, and finally, if possible - find a solution to control the ability of buttons to work with the calm closed.

PS. I have disabled buttons associations, but my buttons still work with the calm closed (Volume Ctrl).

PSS. Will think of replacement of my Qtek9000 but in our country its not that easy as earn some money to buy another one.

Thank you all, guys, who have read it, and for your valuable help.

dima_the_chief
[Windows Mobile Development and Hacking General] vijay555:
dima_the_chief: you're not the only one who's burnt the torch. I do put at indication on my website that of course, it's unwise to push your hardware beyond it's "designed" specifications. However, it is odd, LEDs should be rated for thousands of hours, so it sounds like they've wired it in a poor way to cause it to "die". I've never heard of a LED burn out like that with correct resistors etc.

But, of course, it's bad news, and you're all warned on this. I did volunteer to put in a timeout, but it wasn't a highly requested feature. Might be wise I think. I'll consider it.

I don't remember putting in a feature to enable the external keys. I've got a couple of solutions, but I don't think I've released them so far. Would be curious to see how that managed itself!

V
[Windows Mobile Development and Hacking General] BeyondtheTech:
I know it's probably a bad time to suggest a feature,

But the on-screen tapping feature makes it easy to do morse code with the LED. Can someone write a program to accept keyboard input of a message and have it send it out via morse code with the light?

What would even be cooler is that the recipient Pocket PC use his camera to capture the receiving light from the morse code sender and translate it back into text!

Would be nice for when Wi-Fi, BT, and SMS is not available to use between HTC devices.

Thanks, vijay555, this program works great on my XV6700.
[Windows Mobile Development and Hacking General] ZeBoxx:
it's not really faulty hardware design - remember, it's a flash/illuminator. As an illuminator it's running at the specs for the LED. You can toss approximately sqrt(2.0)*Vr on there for bried periods of time, typically a 'flash' (0ms - 500ms) and the LED will be fine. Run it any longer, and...

So I guess the question is.. does the app drive it to illumination mode, or to flash mode?
[Windows Mobile Development and Hacking General] vijay555:
ZeBoxx - Illumination mode. It can go brighter, but I don't use that.

BeyondtheTech - I'd originally proposed the Morse feature myself, but was urged to release it in basic form first. I'll certainly consider it in a future update. I'm seriously thinking about putting a time out in, But will consider a more substantial update later... I notice you're moving phones quite often. I'll be looking to upgrade soon, so drop me a line if you've got any good recommendations (UK or import I guess). You're comparison table was very useful BTW.

V
[Windows Mobile Development and Hacking General] bigbawlayesyawla:
Would someone post the HTCCamera1.dll from a Universal or Apache (or any other phone) with a working VJCandela installation?
[Windows Mobile Development and Hacking General] vijay555:
Here you go - what phone do you have?

V
[Windows Mobile Development and Hacking General] bigbawlayesyawla:
Thanks for posting the dll, vijay555!

VJCandela works like a dream on the Apache/ppc-6700, however...a nasty waist-high drop left me with a broken screen. While the Apache is being repaired/replaced, I am using my old Harrier/ppc-6600. I'm using your VJCandela v0.2 version; I've also tried the other programs that folks have posted in this thread, but the closest I get with the Harrier is an error: "Can't find appropriate functions in HTCCamera1.dll." I thought that I would try extracting the dll from the broken Apache to try it on the Harrier under WM2003, but was not having any luck. Unfortunately, your dll doesn't seem to work on my Harrier. I do appreciate your quick response with the dll, and awesome work on the VJCandela application...I just wish that it would work on my Harrier while the Apache is being fixed or replaced by my carrier. Any ideas would be wonderful.

Thanks again!
[Windows Mobile Development and Hacking General] vijay555:
bigbawlayesyawla: I don't know much about the hardware other then Magician and Universal. Presumably the Harrier has a flash?! If you can point me towards an active rom, or get ideally get me a live rom dump using this app

http://buzzdev.net/component/option,com_remository/Itemid,100/func,fileinfo/id,83/

Dump the live rom, compress it and email it over :)

V
[Windows Mobile Development and Hacking General] bigbawlayesyawla:
yes, the harrier does have a flash, however the phone is running Windows mobile 2003 SE. I understand that VJCandela was designed for the Universal...since it was working on my Apache (WM5), I wanted to try it on the harrier while the apache is being repaired. Since it's running 2003, I can't seem to run the program you linked to for a rom dump. I can use grab_it to make a rom dump if that will work; it would not be a live dump, but if you think it will work, I can send it to you. It's fine if it looks like it may not work for the harrier, VJCandela is such a neat program, I figured it was worth a shot.

thanks!
[Windows Mobile Development and Hacking General] vijay555:
bigbawlayesyawla: if you can point me towards a rom update etc on the ftp, or anywhere else, I'll see what I can do with it. It's not important that it's WM5/WM2003, just that it has a flash and I can take the drivers apart :)

V
[Windows Mobile Development and Hacking General] bigbawlayesyawla:
vijay555, I'm sorry it took so long to reply with a link...my job is keeping me entirely too busy lately.

It's just an nbf rom image, I hope that's okay.

ftp://xda-developers.com/Uploads/Harrier/13600___SPCS__6600___nk.nbf.zip

Thank you for looking into this and for creating such a great app for the light.

-bbyy
[Windows Mobile Development and Hacking General] vijay555:
bigbawlayesyawla: Rom looks interesting, but similar to the Wizard. May not be entirely easy. I'm away this weekend on a training course, but will try to knock together a test version ASAP.

V
[Windows Mobile Development and Hacking General] paulrockliffe:
This looks like an awesome application, but it doesn't work on my Wizard :-( The morse-code idea above would be pretty cool too. Hopefully both wizard support and morse-code will be added in the near future.
[Windows Mobile Development and Hacking General] vijay555:
It's going to be difficult until I get the hardware in front of me - I only have access to a universal, so hence, only universal support so far. The software is implemented differently on the other phones. If anyone is in the mood to lend me one for a day, I'll try to get it done. I'm in London if you're passing through :)

V
[Windows Mobile Development and Hacking General] paulrockliffe:
I would lend you mine, but I'm nowhere near I'm afraid. Why don't you buy one from a shop, play around with it, then take it back, tellt hem it's not for you and get a refund?
[Windows Mobile Development and Hacking General] neevedr:
vijay555 would you give the source (files/project) of this (looking cool) application free so other developers can try to make it working on other (say wizard) devices? I would like to give it a try?
[Windows Mobile Development and Hacking General] vijay555:
neevedr: I've already posted the source. It's been up since I released the app. I'm working on an Atom release, but can't help on the Wizard until I get the phone in my hands really...

V
[Windows Mobile Development and Hacking General] krismc:
guys top app!

i was just thinking how useful this wud be the other night!
[Windows Mobile Development and Hacking General] vijay555:
krismc: please don't leave it running for too long. I don't know what too long is, but a few guys tried to sunbathe with it, and the led burnt out before they did.

And don't forget:

(and a donation is always appreciated :))

V
[Windows Mobile Development and Hacking General] krismc:
i dont have paypal or anything but im very tempted to make a donation what other methods are there?

also is there a way to make the app work with the xecs lid in the closed position? ie only works for me in pda or laptop mode???
[Windows Mobile Development and Hacking General] vijay555:
krismc: regarding the pda mode/clam closed mode. Sigh, it's a very long standing problem with the device itself. I have a solutionhave but have been reluctant to release it for various technical reasons. But, I think I'll try to beta release something soon.

Regarding the donation: hmm. I advise getting paypal, it's useful when you're laundering money etc :wink: But if you're in the UK, well, you're welcome to use your imagination - envelopes full of bodily secretions etc are always welcome. PM or email me.

V