Related
I have problems trying to get Nexus Torch to work. I just rooted my Nexus one, but for some reason when I try to run Nexus Torch the screen just goes black with "su request" at the top. Not sure why.
Just a thought, on the HTC Hero this was fixed:
Menu > Applications > Development > Tick USB Debugging
It didn't work.
did you install the superuser application...?
Jackasaur said:
I have problems trying to get Nexus Torch to work. I just rooted my Nexus one, but for some reason when I try to run Nexus Torch the screen just goes black with "su request" at the top. Not sure why.
Click to expand...
Click to collapse
Does it give you buttons at the bottom, like "always allow"?
Doesn't this belong in the apps section? I know the nexus forum here is HUGE but WOW.
I fixed it :] just rerooted my N1.
For anyone else, I found that fixing apk uid mismatches solved the problem too.
Nexus One Torch
I was wondering if there is anyway to keep nexus one torch running while launching the camera app? The reason being is because i want to be able to record video with the flash on
I just tested it...if you turn on the torch and then hit home, the light stays on, leaving you free to go about your business with any other app with the flash on. When you are done, go back to N1 torch and turn it off.
Mine goes off everytime I hit home, I tried using the hold down home shortcut to get to camera too and it shut off as soon as the app opened. It may be possible to get the dev of the N1 Torch app to add run in background so that you could do this. I didn't even think about using it with the camcorder but that would be cool.
You may want to check if you have the latest version of Nexus One Torch. The guy updates pretty frequently. A separate question: has anyone had trouble with the LED burning out? Ever? After extended use? My fear is it's not suited for use like this.
my old Blackberry Curve's LED burned out after using the built in camera app to leave the LED on a couple of times.
I was thinkin bout that, but i noticed that motorola launched a torch app for the droid so i figured they thought it wouldnt. Which gave me some confidence in ours.
Ok, I did need to update the app and it does run in the background now even with Camera running, it lights things ok, but not too far, I uploaded 2 videos to youtube real quick to show what it looks like, they're still processing so they should work soon, here's the links.
With Torch: http://www.youtube.com/watch?v=TXgKXja486M
Without Torch: http://www.youtube.com/watch?v=diLlQqANUWg
yup that update did the trick. thank you mr. developer
is there any non-root alternative to this, i really dont want to root my 530 dollar phone.
Not yet blueman, but Motorola got one out there for the Droid so I'm sure it's possible for the Nexus also.
Mkay thanks, fingers crossed
N1 Torch Problem
Jackasaur said:
I have problems trying to get Nexus Torch to work. I just rooted my Nexus one, but for some reason when I try to run Nexus Torch the screen just goes black with "su request" at the top. Not sure why.
Click to expand...
Click to collapse
I had a similar problem; rerooted without running the Cyanogen mod. After doing so, the N1 Torch app starts, but a message is displayed at the bottom of the screen stating "Cannot access LED device, sorry!"
Although it appears that the phone is rooted correct, I am guessing there was a problem in the process. Multiple reroots have not solved the problem...
...anyone have any clues.
Jeffro
Guys,
My girlfriend just got the XT720. I don't see ANY lights on this thing - power (when charging) or when a text comes in, nothing "flashes". You have to turn on the screen to see if any messages came through.
I've hunted for information and don't see anything telling me that there is actual visual notification on the phone. I carry a Nexus One and the trackball light flashes to tell you that you've missed something. There are 3 dots on the upper left corner of the XT720 just above the screen, and those "may" be lights, but I have no diagrams or information to tell me. If they are lights, they don't work.
Can anyone give me a quick piece of advice on this?
Cheers,
Mark.
No notification lights on this piece. Lol jus vibrate. Lol
easye420 said:
No notification lights on this piece. Lol jus vibrate. Lol
Click to expand...
Click to collapse
I was a little disappointed to find out that there were no notifications lights. Coming from a Blackberry I'm used to the red blinky light for notifications. In fact, I had everything on silent except incoming calls - the light was enough to tell me (even from across the room) if there was any notifications. I know you can set the 4 touch sensitive buttons at the bottom to blink...but it's infrequent and they tend to stay off if a notification comes in.
Would it be possible to write a script to make use of the 3 media LEDs on the side for notifications (emails, SMS, missed calls, Facebooks, etc)? I have little to no programming knowledge so I certainly can't - nor do I know if it's even possible.
Hey easye420, thanks for the reply...althought it's not what I was hoping for! LOL I find it difficult to believe there's no blinking light of sorts on this thing.
Riley600, she too is coming from a blackberry and that's her gripe about it. I've been trying to get her onto an android for a while and this was the best device her wireless company offered. I like your idea about a script to do this and think many people would love to have it....especially ex-blackberry users! I'm not a programmer though so can't help in the design I'm afraid.
Thanks also for the note on the back buttons flashing. I'll see if there's a good app to make those blink....just some visual notification that you've missed something. I'd think that would be a standard feature of any of today's phones.
Cheers,
Mark.
mslatter said:
Hey easye420, thanks for the reply...althought it's not what I was hoping for! LOL I find it difficult to believe there's no blinking light of sorts on this thing.
Riley600, she too is coming from a blackberry and that's her gripe about it. I've been trying to get her onto an android for a while and this was the best device her wireless company offered. I like your idea about a script to do this and think many people would love to have it....especially ex-blackberry users! I'm not a programmer though so can't help in the design I'm afraid.
Thanks also for the note on the back buttons flashing. I'll see if there's a good app to make those blink....just some visual notification that you've missed something. I'd think that would be a standard feature of any of today's phones.
Cheers,
Mark.
Click to expand...
Click to collapse
No app needed.
Settings --> Sound & Display Settings --> check Visual Notification (and Periodic Notification if you want to get reoccurring notifications).
I forgot bout that. When i had it enabled if i turned to screen on when it was blinkin they would either stay off or stay on and it would piss me off.
...
deleted
easye420 said:
I forgot bout that. When i had it enabled if i turned to screen on when it was blinkin they would either stay off or stay on and it would piss me off.
Click to expand...
Click to collapse
that's a known Motobug. We've reported Moto regarding this issue long ago but till now, no fix is applied.
Thanks for the feedback from everyone. Now I know where this issues stands and what my options are.
Cheers.
I am still curious though, does anyone know if making a script to use the media LED lights for notifications is possible?
Riley600 said:
I am still curious though, does anyone know if making a script to use the media LED lights for notifications is possible?
Click to expand...
Click to collapse
Hey Riley600, sorry mate I don't know the answer to that. I would assume it's possible, but not sure how difficult it would be.... maybe someone else knows?
Yes it is possible.
as you know, the xt720 doesn't have multicolor led (other phones has one, which can basically light in 3 different colors).
Anyway, i was playing some times ago and discovered, that the multimedia leds, corresponds to red, green and blue colors
just find the notes i have made:
Code:
/sys# echo 1 > ./bus/platform/devices/notification-led/leds/blue/brightness
camcorder
/sys# echo 1 > ./bus/platform/devices/notification-led/leds/green/brightness
camera
/sys# echo 1 > ./bus/platform/devices/notification-led/leds/red/brightness
gallery
sys/./devices/platform/button-backlight/leds/button-backlight/brightness
four buttons
/sys# echo 0 >./devices/platform/af-led/leds/af-led/brightness
af led
so instead of possible, it seems to be easy (rooted phone assumed)
i have seen several apps, which can deal with notifications (market)
this can be used for the code to deal when to trigger notification
and i use adjbrightness, which works in similar way.
this can be used for the code to trigger the leds
here is an information link to adj brightness.
http://forum.xda-developers.com/showthread.php?t=731032
edit: actually it can be even easier, but it depends on the /sys entries of a phone with dedicated led. but the idea is the same
peshovec said:
Yes it is possible.
as you know, the xt720 doesn't have multicolor led (other phones has one, which can basically light in 3 different colors).
Anyway, i was playing some times ago and discovered, that the multimedia leds, corresponds to red, green and blue colors
so instead of possible, it seems to be easy (rooted phone assumed)
i have seen several apps, which can deal with notifications (market)
this can be used for the code to deal when to trigger notification
and i use adjbrightness, which works in similar way.
this can be used for the code to trigger the leds
here is an information link to adj brightness.
http://forum.xda-developers.com/showthread.php?t=731032
edit: actually it can be even easier, but it depends on the /sys entries of a phone with dedicated led. but the idea is the same
Click to expand...
Click to collapse
That's great to know that it should be easy. But I'm going to be honest in saying that I'm not an Android expert.
If you would be so kind to give me a set of easy to follow steps (my phone is rooted, I know how to use adb, etc) on how to set something up to blink the media LEDs for notification, your coffees next week will be on me. I don't know how to (or have the ability to) unpack APKs, edit them and repack them. If you can provide a easy to implement solution (some basic editing of an existing program or an APK for me to use), you will not only be my hero - you will also have some more money in your pocket. It sounds like you might be a couple other people's hero in this thread as well.
Thanks!
it is not about money
it is not about coffee (there is just a new espresso machine in the office
it is about time...
so i will go deeper in the very possible and very easy way (i have edited my post above).
i saw some applications on the market , which can do the job (e.g. deal with the led for some events aka notifications ).
the easiest way is to find a phone, when they worked as expected.
then on this phone, to find the corresponding entries in the /sys folder, which deals with the leds, and just try some symbolic links to our leds
in the easiest way it will be as simple as:
ln -s /sys/bus/platform/devices/notification-led/leds/green/brightness /sys/what_ever_path_is_needed
of course there will be some drawback (e.g. not fully customizable), but it will work.
this method will not require nothing else...
anyway more appropriate way (more time consuming) will be to modify some almost do the job application, to do it for our phones. (actually, to submit patches to the developers regarding support of our phones).
this is the right way (in my opinion). the prerequisites:
1. application which do the job for some phone
2. open source
then:
3. spent some time in code
4. test the patch
5. send it to mainstream
i will be glad to do it for fun, will appreciate help regarding step 1 and 2
peshovec said:
it is not about money
it is not about coffee (there is just a new espresso machine in the office
it is about time...
so i will go deeper in the very possible and very easy way (i have edited my post above).
i saw some applications on the market , which can do the job (e.g. deal with the led for some events aka notifications ).
the easiest way is to find a phone, when they worked as expected.
then on this phone, to find the corresponding entries in the /sys folder, which deals with the leds, and just try some symbolic links to our leds
in the easiest way it will be as simple as:
ln -s /sys/bus/platform/devices/notification-led/leds/green/brightness /sys/what_ever_path_is_needed
of course there will be some drawback (e.g. not fully customizable), but it will work.
this method will not require nothing else...
anyway more appropriate way (more time consuming) will be to modify some almost do the job application, to do it for our phones. (actually, to submit patches to the developers regarding support of our phones).
this is the right way (in my opinion). the prerequisites:
1. application which do the job for some phone
2. open source
then:
3. spent some time in code
4. test the patch
5. send it to mainstream
i will be glad to do it for fun, will appreciate help regarding step 1 and 2
Click to expand...
Click to collapse
I'll be happy to help out where I can - but as I said earlier, my knowledge is limited.
in the easiest way it will be as simple as:
ln -s /sys/bus/platform/devices/notification-led/leds/green/brightness /sys/what_ever_path_is_needed
of course there will be some drawback (e.g. not fully customizable), but it will work.
Click to expand...
Click to collapse
I have a basic idea of what you're saying here. I used Root Explorer to navigate to /sys/bus/platform/devices/notification-led. It appears as a empty file, though. I'm not sure if the ln -s is a command or what. Would you be able to elaborate a little?
And this method would obviously not allow for the setting of a custom blinking interval, etc. Being able to set something like that would be awesome - but right now I'll take whatever I can get.
Or would it be possible to change the settings for the key backlight blink to one of the media LEDs? Perhaps by moving or changing one of the system files?
I use "Missed Reminder" for calls, emails and sms. Works fine.
ralfbonne said:
I use "Missed Reminder" for calls, emails and sms. Works fine.
Click to expand...
Click to collapse
This doesn't work for the LEDs, though - does it?
Not the LEDs for camera etc. But for the LEDs of the Home-key ...
Solution: LED me know
mslatter said:
Guys,
My girlfriend just got the XT720. I don't see ANY lights on this thing - power (when charging) or when a text comes in, nothing "flashes". You have to turn on the screen to see if any messages came through.
I've hunted for information and don't see anything telling me that there is actual visual notification on the phone. I carry a Nexus One and the trackball light flashes to tell you that you've missed something. There are 3 dots on the upper left corner of the XT720 just above the screen, and those "may" be lights, but I have no diagrams or information to tell me. If they are lights, they don't work.
Can anyone give me a quick piece of advice on this?
Cheers,
Mark.
Click to expand...
Click to collapse
Solution found!
An app called 'LED me know' by p0w4p0ty (http://forum.xda-developers.com/showthread.php?t=837057) is able to use the 3 media lights to signal notifications. So far I've found it works for Gmail, SMS and missed calls - but I believe it supports other notifications as well. At this moment, it doesn't seem to work for Gtalk notifications. It's highly customizable (you can set each one of the 3 media lights to blink [corresponding to red, green and blue] or you can set them to blink in combinations [2 lights for cyan and 3 lights for white]). I should mention that the phone needs to be rooted in order for this to work with the XT720.
I'm very pleased with it so far and it's free (in fact I'm looking across the room right now and see that I have a SMS).
Hi,
I've modified Martin Börjesson's app to work on our beloved Optimus 3D.
What does it do, you ask?
It makes the LED under touch buttons blink in interval you select on several events - unread Gmail, SMS or missed calls. Even more, it can listen to notifications generated by any other application.
The app:
can make the LEDs under touch buttons blink after there is a notification (new SMS, mail, instant message, etc.)
can keep the LEDs lit while the screen is on (if you like to keep them shining)
can decrease the timeout after keypress (if you don't like the LEDs shining for so long after keypress)
Requirements:
superuser rights (root)
something to install apk
Installation
1) Download APK from link: O3D LEDs v. 1.4
2) Install with your favourite file manager
After installation it will ask you to grant root rights. It is necessary to ALLOW superuser rights.
Known issues:
Timeout after keypress reacts only on the first keypress. If there are any other keypresses during the default system timeout (~3s), the LEDs won't be lit. (can't be fixed)
LEDs fading doesn't work (and probably never will)
Change of brightness doesn't work (and probably never will)
according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."
TODO:
Fading
More complex scenarios for LEDs and vibrations
Changelog:
v1.4
added: support for ICS (SU760 port by xbsall
important: you have to check Settings - Display - Front key light - Turn on front key light.
(there is no need to upgrade from 1.3 if you don't have ICS on P920 or SU760. It won't allow the upgrade anyway, because I screwed up)
v1.3
added: simple widget
v1.2.4
added: you can now set the leds' "after keypress" timeout
v1.2.3
better way to check for superuser (thanks go again to Martin Börjesson)
v1.2.2
fixed: FC on start
v1.2.1
fixed: LEDs sometimes stayed on when the screen turned off
v1.2
added: LEDs can stay on while the screen is on
v1.2beta
fix: battery issue
removed: accelerometer something
removed: fading options
v1.1
added O3D support
Big thanks to Martin Börjesson for making his app open-source.
Thanks, I'll try
thx alot...just what i was looking 4!!
sent from the 3rd dimension with my optimus
Installed, can't for the life of me get it working
the "test" works fine, it has super user privileges etc, just no idea what needs activating and what doesn't, by default nothing works
Well, it should work right after installation for Missed Calls, SMS and GMail... Maybe some task manager kills the app? Maybe you don't have active notifications, or you are using different app for messages - it can be added to notifications ("notifications" - "select monitored activities" and find the app you are using).
Also keep in mind that there is default waiting time 4 seconds before the notifications start (it can be changed in settings).
ztracenyDen said:
Well, it should work right after installation for Missed Calls, SMS and GMail... Maybe some task manager kills the app? Maybe you don't have active notifications, or you are using different app for messages - it can be added to notifications ("notifications" - "select monitored activities" and find the app you are using).
Also keep in mind that there is default waiting time 4 seconds before the notifications start (it can be changed in settings).
Click to expand...
Click to collapse
Hi mate, I use Handcent and Gmail (turned off missed calls)
it doesn't work with them (tried with emails)
However, Google+ works fine even though I never enabled that!?
I don't use task killers
Ok, according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."
If you've activated the Lights notification, then the LED notification will work for every app that wants to notify by LED (maybe your Google+).
ztracenyDen said:
Ok, according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."
If you've activated the Lights notification, then the LED notification will work for every app that wants to notify by LED (maybe your Google+).
Click to expand...
Click to collapse
yeah, just got my first text of the day and it worked, cheers
If LG - hopefully with a forthcoming update - makes writable the LED's file system instead of keeping it as read only, could we use your build without root/superuser rights, isn't it?
Yes, it should work without root then.
Ok, thanks for the confirmation: I try to push a bit the manufacturer regarding the little firmware mod! If anybody else wanna support the same request, maybe...
It doesn´t work for me.Its says"The app detected that its has no read or write access to a required file.This can be fixed but this action requires the device to be rooted(im already root).This has to be done before the app can be used properly.
I have reintaled and rebooted the phone and nothing
PD:I have instaled in my phone lot of apps that need root,rom manager,titanium backup,chainfire 3D...
Mr_Hanneman said:
It doesn´t work for me.Its says"The app detected that its has no read or write access to a required file.This can be fixed but this action requires the device to be rooted(im already root).This has to be done before the app can be used properly.
I have reintaled and rebooted the phone and nothing
PD:I have instaled in my phone lot of apps that need root,rom manager,titanium backup,chainfire 3D...
Click to expand...
Click to collapse
Well, you have to confirm that message and after that you will be asked by superuser app to allow root access. and that's all.
If it doesn't work, check if you have file "/sys/devices/platform/keypad_led/leds/keyboard-backlight/brightness"
ztracenyDen said:
Well, you have to confirm that message and after that you will be asked by superuser app to allow root access. and that's all.
If it doesn't work, check if you have file "/sys/devices/platform/keypad_led/leds/keyboard-backlight/brightness"
Click to expand...
Click to collapse
This is the problem, superuser app ask nothing.
I checked the file /sys/devices/platform/keypad_led/leds/keyboard-backlight/brightness and is ok.
the app looks for the file I've mentioned, if it exists, it checks wheter it is read-only, then it tries the chmod command to make it writeable and that's when it needs root permission. There is nothing more I can do about it, the permissions must be given by superuser app.
You can try to set chmod 766 on the brightness file manually.
Working But!!
I installed and it worked straight off, one issue though that I had is that it is using far too much battery, so I had to uninstall, otherwise it worked flawlessly.
glad my idea was enough to put a dev to work
Barracuda77777 said:
I installed and it worked straight off, one issue though that I had is that it is using far too much battery, so I had to uninstall, otherwise it worked flawlessly.
Click to expand...
Click to collapse
same here, plus they never stopped blinking when I'd read a text or opened email on my computer, had to unlock the phone, pull down the bar and press the app every single time
uninstalled
Barracuda77777 said:
I installed and it worked straight off, one issue though that I had is that it is using far too much battery, so I had to uninstall, otherwise it worked flawlessly.
Click to expand...
Click to collapse
Yea i totally agree with you this apk use too much battery
is it fixable?
i would like to see it fixed...
those led's cant drain so much if they only blink?
For those of you who rely heavily on led notifications like me, I just wanted to confirm that lightflow works 100% with root access. you can choose the standard HTC green orange or red lights. mine displays a solid red led when I have a text for instance. highly recommend getting the paid app though the free one works well.
only issue so far is you have to run the app manually after you reboot for some reason. won't work after a reboot unless you start the app yourself.
eta: also I think you need to have the notifications you want lightflow to display checked OFF in the display options. For instance if you want missed call notifications with lightflow make sure it's NOT checked under led notifications in display options in settings
This is something I was looking for. Thanks for sharing after I root Mt phone tonight after work I'll be installing this
Sent from my HTC One X using xda premium
sucks that its only those 3 colors
come on HTC get with it!
wesc011 said:
only issue so far is you have to run the app manually after you reboot for some reason. won't work after a reboot unless you start the app yourself.
Click to expand...
Click to collapse
Might be related to the "fast boot" setting...?
Hey everyone,
I want to flash the camera LED (Not the notification LED) on incoming call , message , and SMS / MMS .
I have tried just about all the free apps on the market attempting to do so, with no / little luck. Some just don't work at all, and a few will flash on TEST mode but not actually work when ringing. [Edit: Some work great on SMS / text but NOT ringer ... wtf ???]
I found one or two that will flash AFTER the ringer stops, but not consistently and nothing works like it should. Also nothing will actually flash while the phone is ringing. I tried Flashlight Notifier but you have to pay for PRO to use the ringer option, which I am afraid to do since nothing else worked....
I am using ViperOne 3.2.1 on HTC One M8 -- I have also tried the VenomTweaks settings of notification flash and added people and phone but that doesn't work either.
A few apps that I tried have Accessibility on/off service, which I have enabled and still no luck.
Any suggestions ?
Thanks !
BaLLZaCH said:
Hey everyone,
I want to flash the camera LED (Not the notification LED) on incoming call , message , and SMS / MMS .
I have tried just about all the free apps on the market attempting to do so, with no / little luck. Some just don't work at all, and a few will flash on TEST mode but not actually work when ringing. [Edit: Some work great on SMS / text but NOT ringer ... wtf ???]
I found one or two that will flash AFTER the ringer stops, but not consistently and nothing works like it should. Also nothing will actually flash while the phone is ringing. I tried FLASHLIGHT NOTIFIER but you have to pay for PRO to use the ringer option, which I am afraid to do since nothing else worked.... (Flashlight Alerts is purchase also and again, I'm afraid to try since nothing free came even close to working correctly)...
I am using ViperOne 3.2.1 on HTC One M8 -- I have also tried the VenomTweaks settings of notification flash and added people and phone but that doesn't work either.
A few apps that I tried have Accessibility on/off service, which I have enabled and still no luck.
Any suggestions ?
Thanks !
Click to expand...
Click to collapse
Did you check out all the options xposed framework has to offer?
BaLLZaCH said:
Hey everyone,
I want to flash the camera LED (Not the notification LED) on incoming call , message , and SMS / MMS .
I have tried just about all the free apps on the market attempting to do so, with no / little luck. Some just don't work at all, and a few will flash on TEST mode but not actually work when ringing. [Edit: Some work great on SMS / text but NOT ringer ... wtf ???]
I found one or two that will flash AFTER the ringer stops, but not consistently and nothing works like it should. Also nothing will actually flash while the phone is ringing. I tried FLASHLIGHT NOTIFIER but you have to pay for PRO to use the ringer option, which I am afraid to do since nothing else worked.... (Flashlight Alerts is purchase also and again, I'm afraid to try since nothing free came even close to working correctly)...
I am using ViperOne 3.2.1 on HTC One M8 -- I have also tried the VenomTweaks settings of notification flash and added people and phone but that doesn't work either.
A few apps that I tried have Accessibility on/off service, which I have enabled and still no luck.
Any suggestions ?
Thanks !
Click to expand...
Click to collapse
You want it to flash as often as the notification led or just once when the initial notification comes in?
Sent from my HTC6525LVW using Tapatalk 2
dottat said:
Did you check out all the options xposed framework has to offer?
Click to expand...
Click to collapse
I didn't see anything in the XPosed world, any suggestions to search for ?
runandhide05 said:
You want it to flash as often as the notification led or just once when the initial notification comes in?
Sent from my HTC6525LVW using Tapatalk 2
Click to expand...
Click to collapse
Well, just flashing on the original incoming call would be great.
In a perfect world mirroring the notification LED, at incoming call, on voicemail, sms and text all would be nice but all I really want is to flash while the phone is ringing....
BaLLZaCH said:
I didn't see anything in the XPosed world, any suggestions to search for ?
Well, just flashing on the original incoming call would be great.
In a perfect world mirroring the notification LED, at incoming call, on voicemail, sms and text all would be nice but all I really want is to flash while the phone is ringing....
Click to expand...
Click to collapse
I plan on working on some stuff this weekend, I'll add it to my list of things to look into, I know the leds can be controlled via a init like we did on the xoom's charging light.
Sent from my HTC6525LVW using Tapatalk 2
runandhide05 said:
I plan on working on some stuff this weekend, I'll add it to my list of things to look into, I know the leds can be controlled via a init like we did on the xoom's charging light.
Sent from my HTC6525LVW using Tapatalk 2
Click to expand...
Click to collapse
Awesome, that would be cool...
I know zero about Android code, but in my head it's just something like:
----------------------------------------------------------------------------------
On Rintone_Activate call Flashing_Timer
On Ringtine_DeActivate (Halt Flashng_Timer | Camera_Flash_OFF )
Module Flashing_Timer (
:Loop
Camera_Flash ON | Wait 1,1
Camera_Flash OFF | Goto Loop
)
----------------------------------------------------------------------------------
BaLLZaCH said:
Awesome, that would be cool...
I know zero about Android code, but in my head it's just something like:
----------------------------------------------------------------------------------
On Rintone_Activate call Flashing_Timer
On Ringtine_DeActivate (Halt Flashng_Timer | Camera_Flash_OFF )
Module Flashing_Timer (
:Loop
Camera_Flash ON | Wait 1,1
Camera_Flash OFF | Goto Loop
)
----------------------------------------------------------------------------------
Click to expand...
Click to collapse
So... Quite a funny outcome here...
So unless you write an app including permission to access torch, if torch is turned on in anyway (outside of an app with permission) the screen turns off...
So what I did was wrote a nice little script to monitor when /sys/class/leds/green/blink so when it's set to 1 /sys/class/leds/flash_0/brightness is echo > 200 for 500ms (half a second) then echo 0 > /sys/class/leds/flash_0/brightness . However because of what I have found when that does happen the screen goes black for a second while torch is flashing.
Il keep working on it to see if I can get something a little more usable.
Still having an issue monitoring /green led
Sent from my HTC6525LVW using Tapatalk 2
---------- Post added at 08:37 PM ---------- Previous post was at 08:19 PM ----------
ok so this is what ive come up with for the time being, since i see no foreseeable way around the screen flash issue, and there for dont see a point in dedicating more time to this.
download tasker.
create a new profile.
select event
select file
select file modified
type
Code:
/sys/class/leds/green/blink
then back out and create a task.
label it what ever you'd like
press the + and select code
select Run Shell
in the command field type
Code:
echo 200 > /sys/class/leds/flash_0/brightness
the check the box next to Use Root
back out and click the play icon bottom left, this will prompt you to allow su access.
all done, now in the phone settings under sounds and notification select what app light notifications you want to use, and whenever the green light changes from on or off status the torch will flash once.
runandhide05 said:
So... Quite a funny outcome here...
So unless you write an app including permission to access torch, if torch is turned on in anyway (outside of an app with permission) the screen turns off...
So what I did was wrote a nice little script to monitor when /sys/class/leds/green/blink so when it's set to 1 /sys/class/leds/flash_0/brightness is echo > 200 for 500ms (half a second) then echo 0 > /sys/class/leds/flash_0/brightness . However because of what I have found when that does happen the screen goes black for a second while torch is flashing.
Il keep working on it to see if I can get something a little more usable.
Still having an issue monitoring /green led
Sent from my HTC6525LVW using Tapatalk 2
---------- Post added at 08:37 PM ---------- Previous post was at 08:19 PM ----------
ok so this is what ive come up with for the time being, since i see no foreseeable way around the screen flash issue, and there for dont see a point in dedicating more time to this.
download tasker.
create a new profile.
select event
select file
select file modified
type
Code:
/sys/class/leds/green/blink
then back out and create a task.
label it what ever you'd like
press the + and select code
select Run Shell
in the command field type
Code:
echo 200 > /sys/class/leds/flash_0/brightness
the check the box next to Use Root
back out and click the play icon bottom left, this will prompt you to allow su access.
all done, now in the phone settings under sounds and notification select what app light notifications you want to use, and whenever the green light changes from on or off status the torch will flash once.
Click to expand...
Click to collapse
Thanks for taking a stab at it, I will try it out in a few days if I ever get a chance...