Set Up Your MediaTek Device with Comprehensive Beginner’s Guide

As can be seen with the use of MediaTek chips in Android One devices … more

Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

LED Flashlight,

OP Phil750123

20th April 2010, 11:56 PM   |  #1  
Phil750123's Avatar
OP Senior Member
Flag Birmingham, UK
Thanks Meter: 63
 
520 posts
Join Date:Joined: Apr 2010
More
Just a thought guys, if this isnt already out there which i cant seem to find.


Could anyone make a app that turns the flash light to on so it can
be used as a light?
Seen it done on other phones would just be a nice feature.
21st April 2010, 12:05 AM   |  #2  
Senior Member
Thanks Meter: 137
 
222 posts
Join Date:Joined: Jul 2009
We need root for this.

Wait for root to go public, then this will probably follow (I doubt you need write access to /system for it).
21st April 2010, 08:11 AM   |  #3  
Senior Member
Flag UK-KSA-S.E.Asia
Thanks Meter: 88
 
1,245 posts
Join Date:Joined: Apr 2010
More
Re: LED Flashlight,
Quote:

Just a thought guys, if this isnt already out there which i cant seem to find.

Could anyone make a app that turns the flash light to on so it can

be used as a light?

Personally I doubt it will be feasible. Too many symbian phones we messed around with for years trying to make it happen, unsuccessfully (in some way or another). Would've been excellent if it was accomplished though. Even just a method to blink the flash on a press would be excellent.


Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
21st April 2010, 10:38 AM   |  #4  
Bart1981's Avatar
Senior Member
Flag Utrecht
Thanks Meter: 55
 
746 posts
Join Date:Joined: Dec 2006
More
With root it's possible for the Nexus so why not for the Desire. But we still have to wait for the Root acces. Damn waiting takes so long!
26th April 2010, 11:40 AM   |  #5  
Senior Member
Thanks Meter: 6
 
130 posts
Join Date:Joined: Mar 2009
More
This function is built into the Quick Settings app you can get for free in the market isn't it?
26th April 2010, 05:13 PM   |  #6  
Senior Member
Thanks Meter: 0
 
127 posts
Join Date:Joined: Apr 2010
Quote:
Originally Posted by bakedecake

This function is built into the Quick Settings app you can get for free in the market isn't it?

Its currently not supported. Just tried it.
26th April 2010, 05:18 PM   |  #7  
Senior Member
Flag UK-KSA-S.E.Asia
Thanks Meter: 88
 
1,245 posts
Join Date:Joined: Apr 2010
More
Re: LED Flashlight,
Yeah, that option just enables a bright white screen for now.


Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
26th April 2010, 05:38 PM   |  #8  
Junior Member
Thanks Meter: 1
 
29 posts
Join Date:Joined: Apr 2010
well it seems to be possible without root access, while I can active the flashlight led with a

echo 125 > /sys/devices/platform/flashlight.0/leds/flashlight/brightness

If I have time, I will make a little widget that will do it
Last edited by Damunix; 26th April 2010 at 05:42 PM. Reason: 255 is a little big
26th April 2010, 05:44 PM   |  #9  
Senior Member
Thanks Meter: 14
 
104 posts
Join Date:Joined: Oct 2008
Quote:
Originally Posted by Damunix

well it seems to be possible without root access, while I can active the flashlight led with a

echo 125 > /sys/devices/platform/flashlight.0/leds/flashlight/brightness

If I have time, I will make a little widget that will do it

That would be awesome if it's possible, it's pretty much the only feature that I think is missing from the Desire as far as I'm concerned.
26th April 2010, 07:09 PM   |  #10  
Junior Member
Thanks Meter: 1
 
29 posts
Join Date:Joined: Apr 2010
Ok I made some tests, it will not be a problem to develop a simple application (would be better than a widget ?) with a variable light power
Last edited by Damunix; 26th April 2010 at 07:13 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes