[Q] tasker with CM10 to illuminate buttons on notification - AT&T, Rogers HTC One X, Telstra One XL

hey guys,
i am trying to get tasker to illuminate the capacitive buttons on my HTC one x when a notification is received. i have a shell script that runs the following with root permission:
echo 1 > /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/button-backlight/currents (found this in forum here, sorry i dont remember the user who posted)
i have the profile set to trigger on notifications, and i left the owner field blank so that it will trigger on any notification. When i test the shell script, it works fine, but the profile does not seem to be triggering at all when a new notification arrives. i tried setting gmail or google talk as the "owner", but still it doesnt trigger.
does tasker not work with cm10?
thanks

suerspud9 said:
hey guys,
i am trying to get tasker to illuminate the capacitive buttons on my HTC one x when a notification is received. i have a shell script that runs the following with root permission:
echo 1 > /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/button-backlight/currents (found this in forum here, sorry i dont remember the user who posted)
i have the profile set to trigger on notifications, and i left the owner field blank so that it will trigger on any notification. When i test the shell script, it works fine, but the profile does not seem to be triggering at all when a new notification arrives. i tried setting gmail or google talk as the "owner", but still it doesnt trigger.
does tasker not work with cm10?
thanks
Click to expand...
Click to collapse
Tasker works. I use it every day (to silence my phone for class and such) so you can probably rule out Tasker/CM10 compatibility issues being the culprit and look to your script.

thanks for the input stnguyen09
the script line itself is working fine. if i just set a timer for like 15 seconds and then run the shell script, i see that it works fine and triggers after 15 seconds
there seems to be a problem with it recognizing notifications or something

suerspud9 said:
thanks for the input stnguyen09
the script line itself is working fine. if i just set a timer for like 15 seconds and then run the shell script, i see that it works fine and triggers after 15 seconds
there seems to be a problem with it recognizing notifications or something
Click to expand...
Click to collapse
Makes sense. Sorry I can't be of more help. Best of luck.

oh snap its working now! i just rebooted the device.. no idea why it wasn't working before
edit:
in case anyone else runs into this
for google talk notifications, you have to change the app package name in the xml to com.google.android.gsf (from here: https://groups.google.com/forum/#!msg/tasker/BxWZseScZoc/l4mDqb-11bgJ)

Please share so this is like bln?
Sent from my One X using xda premium

Wow so is this like the built-in notification in CM7 for missed calls/txt etc? Does it have any limitations? Can you post a brief how to? Not familiar with tasker.
Sent from my HTC One XL using Tapatalk 2

Related

[Q] Notification light

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).

App to keep LED notification going for more than 5 minutes?

Hi,
Is there an app (working with the Sensation) that can make the LED notification light flash continually until you actually open the new message or am I stuck having to bring the phone out of sleep incessantly to check if anything new has come in?
Surely such an app would just eat battery up for no reason.
Sent from my Desire HD using XDA App
I've been having a look at this myself,
(i am a noob when it comes to devolping apps)
but i was one first to get desire and there
was a command that you can run (without root)
to get the led to flash different colours length etc..
Tried this on the sensation and just get a file cannot be found.
(if you want to now the command then pm me or
il post it up not that it be much help)
so basically this means all existing apps with run on this old
command, so a new one will be needed when somebody figures
out the file name for the sensation led - then you can
just push a number to it using the echo command and itl work.
put into a java script and your done
wait so the notification light only lasts for 5 minutes? wtf?
xnifex said:
wait so the notification light only lasts for 5 minutes? wtf?
Click to expand...
Click to collapse
What?? Is this true???
You know, I never noticed that since it's my second line. Interesting. Maybe part the reason the standby time is so good on this phone. (really reaching)
I did leave my phone alone for a few hours and no flashing led for my peep mentions.
Sent from my HTC Sensation 4G using XDA Premium App
any update on this?
I just got the phone and the lack of a notification sound or light is a big negative for me.
I would love to see the app NoLED work for the Sen4G which would be a perfect fix for this issue
The HTC Sensation does have notification by sound, LED and Vibration, look closer at your settings check out the settings in HTC Hub
ariochenigma said:
I would love to see the app NoLED work for the Sen4G which would be a perfect fix for this issue
Click to expand...
Click to collapse
It does work for Sensation 4g. I use it.
Docmjldds said:
It does work for Sensation 4g. I use it.
Click to expand...
Click to collapse
The problem I'm having with NoLED is that I also use Handcent SMS and when you clear the NoLED notification screen it also closes the sms popup window. It's kind of annoying. A fix around that issue is the problem I'm having.
Just installed SMS Popup & it seems to have an option to repeat your reminder & can set an interval. It even turns on the screen which I missed!!!
Testing now.
https://market.android.com/details?id=net.everythingandroid.smspopup
Edit: yep, works perfectly. Only downside is you lose the awesome lockscreen feature of showing the envelope & text
Any update or workaround?
Paul22000 said:
Any update or workaround?
Click to expand...
Click to collapse
look at my post right above yours
xnifex said:
look at my post right above yours
Click to expand...
Click to collapse
That's only for SMS, which I literally never use. (I use Google Voice for 100% of my texting.)
Paul22000 said:
That's only for SMS, which I literally never use. (I use Google Voice for 100% of my texting.)
Click to expand...
Click to collapse
you and my buddy Mike would get along great. He refuses to get SMS & only uses Google Talk
xnifex said:
you and my buddy Mike would get along great. He refuses to get SMS & only uses Google Talk
Click to expand...
Click to collapse
Haha yes! And I've successfully converted a few others as well. I mainly use it because I can text via my work PC or my home PC. Texting with a full keyboard = a thousand times better
Plus saving on text messaging costs, and ease of porting number over yadda yadda
Anyway, I've been testing out NoLED today and it's a nice app but I don't like that it turns the entire screen on. Massive battery loss there.
Is there a better way?
from what I've read NoLED was made with an AMOLED screen in mind where black doesn't drain the battery because those LEDs are actually off
I've been using NoLED with Handcent. There is an option in NoLED that is Handcent specific that seems to keep the sms popup under the NoLED notification. Just unlock NoLED with the volume rocker and the popup window will remain open. Only downside is when the phone is on vibrate you will be constantly taking the phone out of vibrate mode to unlock NoLED to view sms popups. At that point you'd have to use the home or back key to unluck NoLED but it will dismiss the sms popup. So NoLED is ALMOST a nice fix. Gonna use it for now until something better comes along.
Paul22000 said:
Anyway, I've been testing out NoLED today and it's a nice app but I don't like that it turns the entire screen on. Massive battery loss there.
Is there a better way?
Click to expand...
Click to collapse
After going through all the app's options and menus extensively, I now have it set to disable the screen via the proximity sensor (ie if in my pocket etc).
Now I'm trying to use the Blink feature so if my phone is on a table or somewhere exposed, the screen isn't 100% on. Rather, it turns off/on periodically.
However, it seems the Blink feature doesn't work on the Sensation? When I get a notification, the screen never turns on.
If I disable blink, it works again right away (but then the screen is on 100% of the time when not in my pocket).
Anyone else experienced this?

[APP] Optimus 3D touch LED notifications

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?

Is there any way to flash / blink the camera LED on call / ring / sms ?

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...

Push notifications

The phone stopped getting push notifications until after the app is opened (groupme). Any way to fix that?
No one else had experienced this? It's really bad. No notifications from group messaging apps
yebbey2 said:
The phone stopped getting push notifications until after the app is opened (groupme). Any way to fix that?
Click to expand...
Click to collapse
Go to settings, battery, battery optimization and ensure your concerned app is showing you "don't optimize".
Try this and lemme know
I did that already. I searched and saw that that was supposed to be the solution.....but not working for me
In the same settings there is an advanced optimise (top right ... Button)
Make sure that's not ON
harigavara said:
Go to settings, battery, battery optimization and ensure your concerned app is showing you "don't optimize".
Try this and lemme know
Click to expand...
Click to collapse
Thanks. I have this problem too with some apps. I will try this solution
DaveHTC200 said:
In the same settings there is an advanced optimise (top right ... Button)
Make sure that's not ON
Click to expand...
Click to collapse
Did that too....it's a mystery.
Getting delayed notifications too. Particularly with WhatsApp. Can't work it out.
hallo dare said:
Getting delayed notifications too. Particularly with WhatsApp. Can't work it out.
Click to expand...
Click to collapse
this device faces network drops, often not recognized if an app wouldn't show an alert like FB messenger.
these drops are mostly responsible for missed pus messages because the device is not ready at the moment the push happens and it will not be repeated every few seconds (delay)
even worse if one is using several devices, of which one is i.e. at home and the other on the road. while a the working device will receive the push notification the OP6 would not ( you can check for network drops where it shows the IP number, it happens on wifi as well as data and both wifi frequencies BTW.)
so in the last case the message will never arrive because it's delivered, (to the working device at home) and hence no more push attempt will happen until next message arrives.
i and others posted this in OP support, as mentioned above, open you network settings and watch the IP number, it will disappar and re-appear.
also you can use FB messenger where you will frequently see an orange bar saying "connectin" intermittently with a green bar saying "connected"
of course i dunno if that happens on EVERY device but at least it happens on MANY including mine.
since i'm always having 2 phones on man i'm receiving all mails and messages on at least on of the two which also illustrates quite well how often a push will reach one of my various other devices but miss the OP6.
Go to OP support and report the issue if you face it, that way they get aware of the full scale of the issue.
Yep, notifications are patchy for me. Sometimes they arrive on time, other times they arrive but silently without triggering the alert sound. Other times they only arrive after waking the phone up.
And yes, I've set to not optimise these apps and turned off advanced optimisation. It's a bug I reckon, hopefully fixed in 5.1.6
Well, somehow it's working...for now. I did a few things. I updated the Groupme app. I think I changed the notifications from urgent to high. Something worked
yebbey2 said:
Well, somehow it's working...for now. I did a few things. I updated the Groupme app. I think I changed the notifications from urgent to high. Something worked
Click to expand...
Click to collapse
Yeah I've mine set to urgent also, but no real difference. Simple things at this stage for a company like Oneplus, that should not be an issue
I've been having the same issue. Some apps work fine and some don't give me notifications until I actually open the app and refresh it. One is Power Facebook and the other is my visual voicemail app. It's highly annoying as I use the phone for business too. Disabling then in battery optimizations does nothing.
If you have advanced optimization turned on in Battery settings, it will prevent a lot of apps that need to do things in the background from working. It will definitely affect push notifications. I have it on but I've exempted a bunch of apps I want running.
Oops, n/m, see this was discussed already.
I'm not sure if it was switching the notification from urgent to high that did it but it was the last thing I did before it started working....it did go back to urgent by itself afterwards though...notifications still working now
..guys any other facing this issue? Even after update to pie stable recently.. I get this problem, notifications arrive to every other device except op6. When i unlock the phone only then notification arrives...all battery optimizations are off..
any solutions?
I got the same issue with Threema. None of the mentioned settings worked for me.
Any ideas?
Same problem for me. Super annoying. Is this an oxygen os or android problem? Would installing a custom ROM help?
It's the DOZE feature in android that is causing the delay in receiving notifications. Setting an app to "Don't Optimize" does not help; this used to work on nougat when I was using HTC U11 but this does not work in Oneplus 6 PIE.
Run the command below in ADB to completely disable DOZE.
adb shell dumpsys deviceidle disable
The down side is that it will reset to "enable" after reboot so you will need to run the command, again, after rebooting. To get around this, I use Automagic to execute command "dumpsys deviceidle disable" after reboot. You can use Tasker for this, too.
After disabling DOZE, push notifications are received almost immediately. I often see notification for the same message on both my PC and phone.
ausaras said:
It's the DOZE feature in android that is causing the delay in receiving notifications. Setting an app to "Don't Optimize" does not help; this used to work on nougat when I was using HTC U11 but this does not work in Oneplus 6 PIE.
Run the command below in ADB to completely disable DOZE.
adb shell dumpsys deviceidle disable
The down side is that it will reset to "enable" after reboot so you will need to run the command, again, after rebooting. To get around this, I use Automagic to execute command "dumpsys deviceidle disable" after reboot. You can use Tasker for this, too.
After disabling DOZE, push notifications are received almost immediately. I often see notification for the same message on both my PC and phone.
Click to expand...
Click to collapse
Even using this i still do not get notifications i disabled every battery saving function.. I think it is time for a factory reset

Categories

Resources