[Q] How to adjust the delay of the LED notification? - Nexus 5 Q&A, Help & Troubleshooting

Hi all, I would like to find a way to change the delay of the LED notification from the default 10 seconds to something like 2 or 3 seconds.
I do not want to use Lightflow or any other LED control app. I find Lightflow to be a bit flaky and have not had good results with it. I don't care about changing the colors.
I just want to change this one delay setting, but I don't know where or how to change it.
Can someone point me to the correct system file and the resource in it that contains this delay setting?
From what I can gather, I should [hopefully] then be able to create some sort of mod (zip themer? xposed module?) to alter this setting.
FWIW, I'm currently on stock rooted 4.4.1 running xposed GravityBox.
TIA.

http://forum.xda-developers.com/showpost.php?p=48187706&postcount=9
good day.

chopper the dog said:
http://forum.xda-developers.com/showpost.php?p=48187706&postcount=9
good day.
Click to expand...
Click to collapse
Man, how cool are you??!! :cyclops:

Related

Touch key brightness

Hey all, I'm trying to figure out how to get some brightness settings for the touch key brightness to stick. I've used LG 2x Notifications and O2x Touch Key Brightness, and they both work up until the point where i put the phone to sleep by tapping the power button. As soon as I wake it up, the brightness goes straight to zero unless i head back to the app and raise it up again. And if i uninstall the apps, the brightness on my keys stay off until i re-flash or reinstall the app again. Help!
My issue is a little different but similar. It worked fine for me on every basic gingerbread rom, but when I switched to a cm7 based rom the lights change with the brightness of the screen. I turned off all the light notifications but it did not help.
If anyone has any ideas, I'd love to hear them.
What rom?
Sent from my LG-P999 using XDA
redmonke255 said:
What rom?
Sent from my LG-P999 using XDA
Click to expand...
Click to collapse
On SinghUI but it doesn't have built-in LED notifications, if that's what you're getting at.
If the setting from one of those apps doesn't stick, then it's most likely being set by your ROM or Kernel. Have you tried checking if you get the same issue with other ROMs?
@jcbofkc That's a built-in setting that can't really be changed unless you get a custom ROM or Kernel cooked up to remove the link between the brightnesses.
xBIGREDDx said:
If the setting from one of those apps doesn't stick, then it's most likely being set by your ROM or Kernel. Have you tried checking if you get the same issue with other ROMs?
@jcbofkc That's a built-in setting that can't really be changed unless you get a custom ROM or Kernel cooked up to remove the link between the brightnesses.
Click to expand...
Click to collapse
90% sure the ROM doesn't have built in notifications. I'm noticing now that very rarely the settings do stick. Perhaps there is a way to force the app to stay in memory?
rrroach said:
90% sure the ROM doesn't have built in notifications. I'm noticing now that very rarely the settings do stick. Perhaps there is a way to force the app to stay in memory?
Click to expand...
Click to collapse
That wouldn't work. All that those apps do is write a number from 0-20 to the text file:
/sys/devices/platform/star_touch_led/wled
in your root file system.
When you read the file, it shows you the current output to the LEDs (from 0uA to 2000uA).
When you write to the file, it interacts with the Kernel and sets the brightness.
The Touch Key Lights type apps, all they do is when you move the slider they write a value to that file, and that's it. The only reason it wouldn't stick is if your ROM or Kernel is changing the value in the background. For example it will set it to 0 when you turn the screen off, and then it should set it back to wherever it was before when you turn the screen on again.
The closest you could get is to take the source for LG Touch LED Notifications and modify it to set the brightness every few seconds or something, but that probably wouldn't be too good for your battery life.
Based on your symptoms it appears that either your ROM or your phone doesn't really handle the modifying of the brightness very well. It looks like SinghUI does use a kernel from CM7, so I don't think your kernel is the problem. I'd suggest flashing the most recent CM7.2 RC, and seeing if you have the same problem there. CyanogenMod will change your LED brightness based on your screen brightness though.
EDIT: Ignore all that for a moment, try this first. It is a post from January 21st in the SinghUI thread, so it might not work now, but go ahead and try it: http://forum.xda-developers.com/showpost.php?p=21652744&postcount=293
Also I'd suggest posting in the SinghUI thread as everyone there is using your ROM, so they might be able to help better.
xBIGREDDx said:
That wouldn't work. All that those apps do is write a number from 0-20 to the text file:
/sys/devices/platform/star_touch_led/wled
in your root file system.
When you read the file, it shows you the current output to the LEDs (from 0uA to 2000uA).
When you write to the file, it interacts with the Kernel and sets the brightness.
The Touch Key Lights type apps, all they do is when you move the slider they write a value to that file, and that's it. The only reason it wouldn't stick is if your ROM or Kernel is changing the value in the background. For example it will set it to 0 when you turn the screen off, and then it should set it back to wherever it was before when you turn the screen on again.
The closest you could get is to take the source for LG Touch LED Notifications and modify it to set the brightness every few seconds or something, but that probably wouldn't be too good for your battery life.
Based on your symptoms it appears that either your ROM or your phone doesn't really handle the modifying of the brightness very well. It looks like SinghUI does use a kernel from CM7, so I don't think your kernel is the problem. I'd suggest flashing the most recent CM7.2 RC, and seeing if you have the same problem there. CyanogenMod will change your LED brightness based on your screen brightness though.
EDIT: Ignore all that for a moment, try this first. It is a post from January 21st in the SinghUI thread, so it might not work now, but go ahead and try it: http://forum.xda-developers.com/showpost.php?p=21652744&postcount=293
Also I'd suggest posting in the SinghUI thread as everyone there is using your ROM, so they might be able to help better.
Click to expand...
Click to collapse
Thanks for the link. It turns out that the ROM does have led notifications. However, disabling them didn't help the problem. :/ the g2x has just been an awful experience for me! :/

Is it possible to change default notification LED behavior

Hi all,
I was just wondering if following would be possible;
as you all know Nexus 5 has nice notification LED at the bottom.
By default it works with (most) applications (gmail, whatsapp and so on).
However, by default it blinks once in 10 seconds.
I know there are at least 3 apps in Play store to modify behavior of LED blink / color / speed and so on.
Now, I am wondering would it be possible to (somehow?) change only the blinking speed without having to install additional applications?
Call me crazy, but I wanna keep my (new) phone as stock as possible without bloating it with (unnecessary) apps.
I am web developer so have very little / none knowledge and / or experience with Android (tho' I am quite handy with Linux / CLI).
Am I thinking 'too simple' that this 10 seconds would be some XML / config setting which could be changed?
Thanks in advance!
Regards,
smiliebg said:
Hi all,
I was just wondering if following would be possible;
as you all know Nexus 5 has nice notification LED at the bottom.
By default it works with (most) applications (gmail, whatsapp and so on).
However, by default it blinks once in 10 seconds.
I know there are at least 3 apps in Play store to modify behavior of LED blink / color / speed and so on.
Now, I am wondering would it be possible to (somehow?) change only the blinking speed without having to install additional applications?
Call me crazy, but I wanna keep my (new) phone as stock as possible without bloating it with (unnecessary) apps.
I am web developer so have very little / none knowledge and / or experience with Android (tho' I am quite handy with Linux / CLI).
Am I thinking 'too simple' that this 10 seconds would be some XML / config setting which could be changed?
Thanks in advance!
Regards,
Click to expand...
Click to collapse
You`ll need root for changing system settings, Lightflow works very well and uses very little power in my experience.
gee2012 said:
You`ll need root for changing system settings, Lightflow works very well and uses very little power in my experience.
Click to expand...
Click to collapse
Hi gee2012,
Thanks for your reply.
Rooting the phone is a possibility. Could you point me to which system settings would need to be changed to accomplish this?
smiliebg said:
Hi gee2012,
Thanks for your reply.
Rooting the phone is a possibility. Could you point me to which system settings would need to be changed to accomplish this?
Click to expand...
Click to collapse
I have never done it manualy tbh, i use Lightflow for years now. Sorry can`t help you there. Try Google for more info
gee2012 said:
I have never done it manualy tbh, i used Lightflow for years now. Sorry can`t help you there. Try Google for more info
Click to expand...
Click to collapse
No problem Thanks anyway!
Google has unfortunatelly not provided any concrete solution so far. Will keep trying tho'!
Is this only my third post!? Man, can't believe I have never posted here... :S
http://forum.xda-developers.com/showpost.php?p=48187706&postcount=9
good day.

Some Screenshots of the new Lollipop release

I am loving the looks, I mean the Whitish themes everywhere, that's what I wanted for so long. Just some screenshots in case one want to look how some sections look, for fun, that's all. I am stating some of my views on it too, please share yours too.
However not everything is great, I don't like how they have ruled out the scaling on the options, you might encounter one or two mi****s every now and then. I mean when you tap on option of some app, the OK, Discard etc. options have no box outlining those options, so you don't know where the scaling finishes. They shouldn't have done that. Tapping with fingers (which is and will be mostly done) can't always be precise. I have already miss tapped in some places!
I also don't like how they changed the notification clock font size, the AM/PM font is bigger than the clock itself, weird. The lockscreen clock has also been redone, it now has a slimmer font that KitKat, which I am not a fan of.
And I don't know whether this is a placebo effect or not, but am I the only one who is feeling that the in call loudness (volume) is a little softer than KitKat? Don't know, can't be sure.
The Dialler app now goes full screen, I mean edge to edge, simple change yet looks much much better
The Multi-Window mode doesn't have any small U shaped notification any more when enabled at the side of the screen, you just long press the back button to enable or disable it.
The lock screen notifications are directly tap-able and expandable, instead of dragging down and then tapping it to expand it from KitKat.
I guess you guys can use this topic to report bugs, whichever you have found. If this topic seems like a duplicate then remove it immediately.
Have fun.
PS: One more thing, I flashed the Polish version of the ROM on my Arab N9005, 32 GB. I tried to flash the German ROM first, because it had multi CSC but it failed to flash, so keep that in mind, I mean I think the German ROM is meant for 16 GB variants only.
@devilsdouble can we make the white background black?
Sent from my SM-N9005 using Tapatalk
?awesome
devilsdouble said:
I am loving the looks, I mean the Whitish themes everywhere, that's what I wanted for so long.
Click to expand...
Click to collapse
I'm glad you like it. I bloody hate it. The white hurts, quite literally.
I also don't like how they changed the notification clock font size, the AM/PM font is bigger than the clock itself, weird. The lockscreen clock has also been redone, it now has a slimmer font that KitKat, which I am not a fan of.
Click to expand...
Click to collapse
Really? I never noticed... Oh right, I only use 24h clocks.
PS: One more thing, I flashed the Polish version of the ROM on my Arab N9005, 32 GB. I tried to flash the German ROM first, because it had multi CSC but it failed to flash, so keep that in mind, I mean I think the German ROM is meant for 16 GB variants only.
Click to expand...
Click to collapse
There is no 16GB Note 3 variant outside Asia... I recall there being an issue with the German rom when flashing over to another back when 4.4 came out. You needed the PIT file to sucessfully flash from the German rom to another. This could be related.
thahim said:
@devilsdouble can we make the white background black?
Click to expand...
Click to collapse
This! PLEASE! I suffer from migraines, any white screen causes needle spikes in my head! Imagine it for a second, every time you open a menu, it feels like someone drives a needle into your skull.
ShadowLea said:
I'm glad you like it. I bloody hate it. The white hurts, quite literally.
Really? I never noticed... Oh right, I only use 24h clocks.
There is no 16GB Note 3 variant outside Asia... I recall there being an issue with the German rom when flashing over to another back when 4.4 came out. You needed the PIT file to sucessfully flash from the German rom to another. This could be related.
This! PLEASE! I suffer from migraines, any white screen causes needle spikes in my head! Imagine it for a second, every time you open a menu, it feels like someone drives a needle into your skull.
Click to expand...
Click to collapse
From Developer menu you can invert colors, but that's ... all colors. At least you get rid of white.
I noticed a bug: turning the screen on isn't smooth, it looks like a two step process light up.
A missing "feature": hovering your finger over the lockscreen no longer produces an effect.
ShadowLea said:
I'm glad you like it. I bloody hate it. The white hurts, quite literally.
...
This! PLEASE! I suffer from migraines, any white screen causes needle spikes in my head! Imagine it for a second, every time you open a menu, it feels like someone drives a needle into your skull.
Click to expand...
Click to collapse
And this is why I don't plan on upgrading before at least xposed works perfectly and there is a way to force a black theme onto everything.
Okay after playing with the release for couple of hours I am really not liking it any more (except the colour part). I mean as usual with Samsung, they hurried up and released an unfinished ROM IMHO.
First and the most annoying thing I am noticing that the WiFi password (WPA) is reset every time when I toggle Flight mode back and forth. This is extremely annoying and I am sure there's a way around it, or am I wrong?
- Never mind, it's solved now.
Secondly, where is the Mute/Silent option? I mean it's either Ringer mode or Vibrate mode, but there's no Silent/Mute mode!
Thirdly, the upcoming alarm time doesn't show up on Lock Screen! What the heck?
If someone can tell me how to get rid of the above please tell me, I am mainly annoyed by the first problem though, the WiFi password reset problem.
I've not heard the password issue before. Are you sure it's not just a bug?
The silent mode is split.
You have one toggle that decides how you are notified. (the old sound toggle) Sets to either sound or vibrate.
And another toggle that decides what you're notified about. (Looks like an entry forbidden sign). All, Priority or None. This is where you set Silent mode.
If you set this to priority, you can decide which apps notify you. (settings > sound and notification) Call, text, etc.
If you set it to None, you're not notified with sound or vibration. The notification still shows up on the screen.
Be careful, as this will also silence alarms!
I would suggest priority mode and simply disabling everything in its settings except alarms.
The alarm on the lockscreen, nope. They removed it. Fortunately we can always use GO locker.
Sent From My Samsung Galaxy Note 3 N9005 Using Tapatalk
I believe the WiFi passwords not saving issue can be solved by editing build.prop (that is how I fixed it on the leaked version, haven't updated myself yet)
Look for ro.securestorage.support and change it from true to false. I tripped the KNOX flag long time ago (doesn't change my warranty) and I haven't noticed any misbehaviours.
ShadowLea said:
I've not heard the password issue before. Are you sure it's not just a bug?
Click to expand...
Click to collapse
Yes, it was a bug, I mean it was a problem because my bootloader wasn't updated. Reflashed the ROM, all is okay now.
ShadowLea said:
The silent mode is split.
You have one toggle that decides how you are notified. (the old sound toggle) Sets to either sound or vibrate.
And another toggle that decides what you're notified about. (Looks like an entry forbidden sign). All, Priority or None. This is where you set Silent mode.
If you set this to priority, you can decide which apps notify you. (settings > sound and notification) Call, text, etc.
If you set it to None, you're not notified with sound or vibration. The notification still shows up on the screen.
Be careful, as this will also silence alarms!
I would suggest priority mode and simply disabling everything in its settings except alarms.
The alarm on the lockscreen, nope. They removed it. Fortunately we can always use GO locker.
Sent From My Samsung Galaxy Note 3 N9005 Using Tapatalk
Click to expand...
Click to collapse
Yes, was playing with that Interruptions option and figured that, but still that's a weird way. Don't know why Google decided to ditch the Silent mode, well at least Samsung could have kept that.
Go Locker? Well I tried a lot of third party lockers last week, didn't like any of them. I guess I will have to find a different alarm clock app which could give me an option to show the upcoming alarm time on lock screen, it's such a nifty feature to have. There's a module in Xposed which shows the actual alarm time in status bar (instead of that damn alarm icon) but well Xposed is not yet ready for TouchWiz ROMs, but when it becomes okay I will simply install that module. In the meantime I will have to look for a alarm app, that's all.
^xposed alpha 1 already released have not yet used it though. Still playing around with stock unrooted rom.
cryostasis25 said:
^xposed alpha 1 already released have not yet used it though. Still playing around with stock unrooted rom.
Click to expand...
Click to collapse
Yep mate, just saw that. Is it working okay with TW Lollipop now, I mean no more boot loop? Don't really want to try, in case bootloop happens I will have to redo all those formats and all, which I simply hate.
The only Xposed module I badly need is MinMin Gurad, can't stand ads, and AdAway is, well, complicated.

[Q] Newbie help with sound issue

Hi everyone, and thanks in advance if you can help. I need my phone to be silent during daytime meetings and at night. I've installed an app which should take care of this. However I still get sound notifications. I'm assuming it's the "interruptions" feature over riding the app as I see the star icon displayed. Is there anything I can do to stop this? It's really annoying me. Thank you so much for your assistance.
iabw12 said:
Hi everyone, and thanks in advance if you can help. I need my phone to be silent during daytime meetings and at night. I've installed an app which should take care of this. However I still get sound notifications. I'm assuming it's the "interruptions" feature over riding the app as I see the star icon displayed. Is there anything I can do to stop this? It's really annoying me. Thank you so much for your assistance.
Click to expand...
Click to collapse
Hit the volume button one so the sounds mode dialogue pops up onto your screen. You'll see three options, All, Priority, and None. Select None.
Heisenberg said:
Hit the volume button one so the sounds mode dialogue pops up onto your screen. You'll see three options, All, Priority, and None. Select None.
Click to expand...
Click to collapse
Hello Heisenberg and thank you for getting back to me. I've seen the option you describe, but I wanted something that would work with my calendar and automatically mute during events - plus at night time and then revert back to normal. Every time the app I'm using modifies the sound profiles, the star icon appears and lets notifications through. I think I'd prefer to disable "interruptions" and use the app full time as it's far more efficient and versatile. Do you know if it's possible? Sadly, I can't find a way to make the phone work in the way I want it to - do you have any other thoughts please?
iabw12 said:
Hello Heisenberg and thank you for getting back to me. I've seen the option you describe, but I wanted something that would work with my calendar and automatically mute during events - plus at night time and then revert back to normal. Every time the app I'm using modifies the sound profiles, the star icon appears and lets notifications through. I think I'd prefer to disable "interruptions" and use the app full time as it's far more efficient and versatile. Do you know if it's possible? Sadly, I can't find a way to make the phone work in the way I want it to - do you have any other thoughts please?
Click to expand...
Click to collapse
I don't understand why you need an app. I just use profiles and adjust the sound mode manually, it's easy enough.
Heisenberg said:
I don't understand why you need an app. I just use profiles and adjust the sound mode manually, it's easy enough.
Click to expand...
Click to collapse
Ah - I tried that and couldn't find a way to make it happen using my location, an app will do it all automatically during the day based on my calendar and also at night. Am I missing something here?? Forgive me if I sound dim but I'm getting very fed up having to constantly mess around with the phone settings because it seems to override the app settings. What happened to "quiet hours"??

Question Separate Ring and Notification volume?

Anyone know how to achieve this? Gravity box used to allow this. I'm have xposed/magisk installed so I'm open to anything.
The notification sounds are too loud but the ring sound is too quiet.
If it was like past versions of Android (8?) and phones, Google made a change to link them as one level. The App that I found that allows for seperate volume and notification control is 'Volume Butler'. It's simple and works well. There may be other Apps that can do this, but, at the time I needed it, it was the only one.
tonyo123 said:
If it was like past versions of Android and Phones, Google made a chnage to link them. The App tyat I use that allows for seperate volume control is 'Volume Butler'. It's simple and works well. There may he other Apps that can do this but at the time I needed it, it was the only one.
Click to expand...
Click to collapse
Yeah I searched all over the forums and those seems to be only apps that might work. Not sure how power hungry those apps are constantly monitoring app activity.
I was hoping something smaller that works on magisk or xposed.
Agenesis said:
Anyone know how to achieve this? Gravity box used to allow this. I'm have xposed/magisk installed so I'm open to anything.
The notification sounds are too loud but the ring sound is too quiet.
Click to expand...
Click to collapse
This is the app I use to do that. Works great. No extra battery drain with it either.

Categories

Resources