Moto Hell - The Motorola Modding Community

Motorola Phone Models => Motorola A780/A1200/E2/E6/E680/V8/Z6 => Topic started by: Jenson on February 14, 2009, 09:03:20 pm



Title: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: Jenson on February 14, 2009, 09:03:20 pm
anybody notice that our e2 did not hav flash light while video mode can any one make it??or can we hav a torch light like e398 using the flash light not only the screen light??


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: AV3LaR on February 14, 2009, 09:07:19 pm
This has been threated way too many times, is not possible, the flash light will get burn if it keep on a little too much  :-[


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: Jenson on February 14, 2009, 09:36:12 pm
why e398 can do it??e2 can't??


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: Joka X on February 14, 2009, 11:29:29 pm
I think its because E2 use different type of light...... try using the camera and do multi shot with the flash, do it a few times and place your hand on the light, it is really hot.....


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: BlinK_ on February 15, 2009, 05:36:59 pm
This has been threated way too many times, is not possible, the flash light will get burn if it keep on a little too much  :-[

Not true. I have left it on for an hour or two the other day, it is still in good condition.


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: Polar_BearXL on February 16, 2009, 01:30:33 am
i think, as long as the light intensity could be reduced greatly, then it could be turned on longer, it use an LED for the light source, and i think the reason why it could only light up momentary is that the light intensity is to great.


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: Joka X on February 16, 2009, 03:55:35 am
This has been threated way too many times, is not possible, the flash light will get burn if it keep on a little too much  :-[

Not true. I have left it on for an hour or two the other day, it is still in good condition.

so you have made a torchlight app??


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: BlinK_ on February 16, 2009, 04:11:24 am
I was messing arround with the devices on the terminal, and somehow the flash light tured on. It was on for an hour when I noticed it. I needed to reboot my phone to turn it off.

Unfortunately, I did not manage to replicate what I did to turn the flashlight on. |:


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: keaglez on February 16, 2009, 08:15:14 am
I was messing arround with the devices on the terminal, and somehow the flash light tured on. It was on for an hour when I noticed it. I needed to reboot my phone to turn it off.

Unfortunately, I did not manage to replicate what I did to turn the flashlight on. |:
telnet? maybe you can see the bash history files? :)


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: BlinK_ on February 16, 2009, 08:58:49 am
Yup. This was the first idea whcih popped into my mind when I saw flashlight on. I found the telnet history files and saved them. I was able to reproduce it only once, and I think only by accidence.

As I said, I was playing with devices. "cat /dev/somedevice" and input something in. Telnet history doesn't hold any keypresses you do when you are in some program, so thats why I could not reproduce it.


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: keaglez on February 16, 2009, 09:31:38 am
Hmm... unfortunately... :(


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: BlinK_ on February 16, 2009, 11:31:19 am
Inspired by that sad keaglez face I tried one more time. And I succeeded. The flashlight turned on again.

[youtube]http://www.youtube.com/watch?v=r1KmZf5EZKY[/youtube]
[youtube]http://www.youtube.com/watch?v=HWINWMVDtWs[/youtube]

WARNING, THIS MAY DAMAGE YOUR PHONE. or not... I dont know really. (:
Here are the commands I typed into telnet one after another and at some time flashlight just light up.
Quote
cat modemppp
cat tty
cat modemppp
cat tty8
cat keypad0
cat kmem
cat light_sensor
dir
cat ttyS2
echo at >> ttyS2
cat ttyS0
cat ttyS1
cat ttyS2
cat ttyS3
cat ttyS3
echo at > ttyS3
ls
cat fmradio
cat ttyUSB0
cat vibrator
cat vibrator a
echo 2 > vibrator
cat urandom
cd /dev
ls
cat modemppp
cat ppp
cat sideband
cat wtm
cat zero
cat video1
cat video0
cd /dev/
ls
cat ezx_ts
cat ezxlog_p
cat full
cat roflash
cd /dev/
ls
cat keylight
echo asd > keylight
cat light_sensor

Some of these commands ar even not proper bash commands, but I did not strip anything out just to make sure I leave the "mighty" command.

Some commands may hang or quit terminal. If that occurs, I restart telnet and carry on from where I left. Other commands may require some input from me. In this case I just put some random keystrokes hit ENTER couple of times and quit by pressing CTRL + C. Then I execute next command.

It is also possible that only one command turns the flashlight on. However it is also possible that some pattern is required of several commands to accomplish the same. We can try to figure that out.

P.S. I use MAXX III.
P.S. Some interesting things happen when I "cat /dev/light_sensor". Maybe this info could be useful for some application.


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: keaglez on February 16, 2009, 11:57:17 am
Thanks, I'll try... For the /dev/light_sensor, you can see that its already used in sensor application, here http://www.e2mod.com/content/view/44/28/ :)

UPDATE:
Tried... The flash light blinking in /dev/video0 while random typing, I got it twice... But when I repeat, it just don't work... Not sure where, but somewhere near video0... However, I'm unable to keep the flash light on like BlinK_ did, but at least, its there...! :)


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: BlinK_ on February 16, 2009, 03:42:08 pm
Cool. Thanks for the effort.


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: Jenson on February 17, 2009, 12:37:08 am
yeah!i think with this new knowledge you guys can make torch with the flashlight....i think you guys also can make some funlight with flashlight like e398....good luck to you wait for your good news...


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: AV3LaR on February 17, 2009, 08:16:02 pm
So Blink_, your flash is still OK?
Not burned up?


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: BlinK_ on February 17, 2009, 10:43:36 pm
Nope. As you can see, the flashlight is not consistent in the video. It is flasing somewhat randomly. I left it on two times for about an hour and it is still good. Tried to do some pictures with the flaslight yeaterday and everything worked fine.


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: ahmed on February 20, 2009, 10:42:10 am
Blink
could u send this application as mpkg program? thanks


Title: Re: about the flash light >>>>>>>>>>>><<<<<<<<<
Post by: ecmperalta on April 04, 2009, 04:06:28 pm
can you do a mpkg?

it's cool