How do i disable the Notification LED at night? - Galaxy S III Q&A, (US Carriers)

Thing is like a runway light at an airport. Tasker doesn't seem to be able to do it in stock form. No idea if secure settings could do it. Anyone have any ideas?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

I don't know, but +1 I was thinking the same thing.

This would have to be manual every night but it would work. Settings>led>check boxes.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Sammy Galaxy S3 using Tapatalk 2

Yeah that isn't gonna fly. I have tasker automating a night mode. I guess its a feature the tasked devs will need to add in. Right now I just a it it face down on my nightstand. Not a huge deal to leave it facedown.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

Maybe you could at least make it one touch off and one touch on by using a NFC tag and NFC Task Launcher and Tasker...maybe

I figured out how to do it using tasker, but you need root. I also need to do some more testing, but this should work in most cases.
Some background: when a notification comes in, the system sets the file led_pattern in /sys/devices/virtual/sec/led to something non-zero. 3 is a slow blinking blue light, 1 is solid red, I forget what the others are now. When the screen is turned on, this is reset to zero, and when the screen is turned off, if the notification bar hasn't been opened (and the program with the notification hasn't been opened) the value is reset to something non-zero. So, I created a simple task to change the value back to zero:
Create a new task, then select Script>Shell. Enter the following command:
echo 0 > /sys/devices/virtual/sec/led/led_pattern
Check the 'Use Root' box
Then your task is done. I'd try it once to make sure you have accepted whatever superuser popups (you'll need to always allow this for it to work on its own).
Now create a profile, and for the context select Event>UI>Notification. You may need to check tasker on the accessibility menu if you haven't already (it will prompt you if necessary). Add whatever other contexts you want (I have a variable that's set when I turn on my nighttime menu that I check for so the light will blink during the day but not at night). If you don't add other contexts this will always block your light, so make sure you've done some check to block it only at night.
Disclaimer: I haven't extensively tested this. There are a few quirks I've found so far:
1) If you receive a google voice text, the light instantly turns purplish normally. On my phone it will come on for a split second before tasker can kill it.
2) If you receive a notification which is blocked with this profile/task, and then turn on the screen but don't do anything to clear the notification the light will turn on when the screen is turned off again. This is also true if the notification comes in when you have the screen on and you turn it off before clearing it. You might be able to fix this by adding some variables to the profile/checking for screen on/off, but I mostly just want it to automatically turn off the light when I'm asleep so I'm happy with this so far.
3) I haven't tested this overnight, I guess it's possible that the phone will run a check and turn the notification back on at some point. I'll test it tonight and see if anything weird come up.
4) I've only tested this blocking gmail and google voice. It's possible that some other notification would toggle one of the other led variables and this won't help.
If you have any issues with this please let me know and I'll see what I can figure out. If this has helped you please click thanks; I'm new here and could use some street cred.
EDIT: You can solve problem 2 by creating a new Profile with context State>Display>Display State set to Off, and adding in the other secondary (ie night time) contexts. Call the same task you called for the first profile.
EDIT: Oops, forgot to mention, this is on a Verizon Galaxy S3, I assume it's the same for the other carriers, but I have no way of testing it.

Related

[Workaround] Bring S-View back (xposed, dashclock)

First of all, video:
https://www.youtube.com/watch?v=9axQHQ8ZXLU
Solution is not from android programmer, rather geek
Hi there... so, i was pretty dissapointed with lack of S-View functionality on CM13, S4 Mini. It was great feature, that was doing really good job with magnetic cover.
If you tried to do something with it, you probably experienced some problems with magnetic sensor (or you were smarter than me). It prevented to turn on screen with power button on any custom lockscreen from market, that was better than cm's stock one. In terms of 'better' i have in mind a lockscreen... that has f*** clock in right spot for case's window I was trying to bring it back with various results, but finally i achieved (i think) the best possible solution, turning lockscreen into S-View screen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What it does right: showing time and basic info about battery, calls, msgs, next alarm, notifications (from gmail, fb messeger - that part is actually very customizable).
What it doesn't do at all: doesn't let you pick up calls, turn off your alarm via window and do any stuff that requiers touching via window. Magnetic sensor basicaly turns off that feature when case is closed. Showing info about playing track is not worth activating (because of space).
So, we need xposed installed and then download module: http://repo.xposed.info/module/com.ssrdroide.lockscreenwidgets
And the widget we are gonna use is dashclock: https://play.google.com/store/apps/details?id=net.nurik.roman.dashclock (or you can use more advanced alternative: https://play.google.com/store/apps/details?id=com.kk.widget)
Step 1. First thing you wanna do is to configure widget the way you want - download some extensions for it (like battery info). I highly recommend to use DashNotifer to get notifications from custom apps like fb messenger (https://play.google.com/store/apps/details?id=com.umang.dashnotifier It's already there in KK Widgets). Test it on your homescreen for now and find configuration that suits you.
Step 2. will be add widget to lockscreen via xposed module. This configuration (http://i.imgur.com/iiJMK7w.png) will keep your widget in case's window, when owner info will be out of it on same time. There is also something to mention - if you will not turn off notifications on lockscreen they will move your widget little higher (depending on number of notifications).
So... 1. If you wanna keep your notifications on lockscreen, set container 'y' translation to something around -150. Widget will stay in window regardless number of notifications.
2. If you wanna remove notifications for that cause, set container 'y' translation to -175. Widget will be in perfect spot for the whole time.
That works for standard DPI.
And that's it. It works perfectly with magnetic sensor.
For better effect you can change your wallpaper to black (worth it). That's however will change when you will listen to music, you can turn this option off or use this xposed module to paint it black for good: http://repo.xposed.info/module/com.generalbrus.brightlockscreen
Another thing is alarm. It happens that Timely has clock in perfect spot when activated and can be controlled with physical buttons
I'm super happy with result. It's not exactly what you could achieve with real S-View, but it does good job
If you have better solutions share it in thread!

V30 - Suppress navigation during a telephone conversation

When I am traveling with Google Maps enabled, my phone is connected to a bluetooth speakerphone - and if someone calls me - instead of a map, I see who is calling, and then during the conversation, the phone goes blank instead of pointing the road further.
Does anyone know how to remedy this problem? Once I passed the motorway exit and had to make up for over 50 km ...
Can not the information about the caller appear only as a notification and the phone will continue to navigate?
figer said:
When I am traveling with Google Maps enabled, my phone is connected to a bluetooth speakerphone - and if someone calls me - instead of a map, I see who is calling, and then during the conversation, the phone goes blank instead of pointing the road further.
Does anyone know how to remedy this problem? Once I passed the motorway exit and had to make up for over 50 km ...
Can not the information about the caller appear only as a notification and the phone will continue to navigate?
Click to expand...
Click to collapse
If you wanted to download the Google Phone APK (there are a few different modified versions posted on XDA) you can set that dialer to appear as a bubble notification and disable the stock LG dialer, which should keep it from taking over your screen.
I understand this isnt a solution for fixing the LG dialer, but its still a solution overall so I figured I would reply. Not sure how to get the LG one to only show as a notification but i think its possible. Have you tried going into the LG Dialer Application Settings and Remove or Enable its "Draw Over Other Apps" permissions ? You may just need to give it access (or take it away, depending on which its already set to) in order to keep it from taking over the screen.
JonnyTrulove said:
If you wanted to download the Google Phone APK (there are a few different modified versions posted on XDA) you can set that dialer to appear as a bubble notification and disable the stock LG dialer, which should keep it from taking over your screen.
I understand this isnt a solution for fixing the LG dialer, but its still a solution overall so I figured I would reply. Not sure how to get the LG one to only show as a notification but i think its possible. Have you tried going into the LG Dialer Application Settings and Remove or Enable its "Draw Over Other Apps" permissions ? You may just need to give it access (or take it away, depending on which its already set to) in order to keep it from taking over the screen.
Click to expand...
Click to collapse
I did as you suggested and turned off the ability to draw on other applications for the "call service".
Unfortunately, it does not give anything, because the problem is somewhere else.
In the moment when navigation works and someone calls me - a notification window pops up - and that's OK.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
But when I press the "answer" the screen switches completely to the telephone conversation - where every hand approximation to the proximity sensor (accidentally - when you try back to navigation while you driving the car ) will blank the screen, and "always display on" will not work - and the screen will go blank - because the screensaver started working.
Is it impossible to do so that after receiving the call - selected applications will still be displayed and the conversation will be in the background? - So that you do not need to eject the taskbar and manually switch to the navigation, which is dangerous while driving!
Now I'm understanding. I had thought you were trying to avoid the focus switching while the device was ringing.
I think there may be an easy fix for you though. See attached photo. Do you have PIP set to "Yes"?

Simpler access to Do Not Disturb?

I recently upgraded from a G3 to a G5. I've done pretty well at adjusting it to my needs, or adjusting to its ways of doing things. But the Do Not DIsturb being buried solely in the Settings menu is really driving me nuts. On the G3, when you hit any volume button, and it opens the volume panel, the Do Not Disturb was accessible there. You could turn it on, set it to Silent or Priority and set a time duration, all from that panel. Now I can turn Do Not Disturb on from the main drop-down on the phone, but I have to open up the settings, from the Settings menu, in order to put in what type of Do Not Disturb I want, and for how long. I have a lot of doctors appointments and I'm starting classes in a few weeks. I would really prefer to have a faster and easier way to access DnD, similar to what was on the G3.
Does anyone know if there's a setting, shortcut, widget, or anything along those lines, that can simplify turn on DnD, with access to its settings at the time you activate it? Thanks in advance for any suggestions.
Maybe this is not what you're looking for, but a "do not disturb" button can be added to the notification screen. Short press to turn it on/off, long press will take you into settings.
This screenshot is from my G6, but my wife's G5 works the same way. "Do no disturb" is second from right.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LGUS997 using Tapatalk
barotropic said:
Maybe this is not what you're looking for, but a "do not disturb" button can be added to the notification screen. Short press to turn it on/off, long press will take you into settings.
This screenshot is from my G6, but my wife's G5 works the same way. "Do no disturb" is second from right.View attachment 4567645
Sent from my LGUS997 using Tapatalk
Click to expand...
Click to collapse
It doesn't fully give me what I'd like - which is the ability to turn on DnD and set the parameters of it all at once, on the home screen, as I could with the G3. But it does save me several steps in the process, in several processes actually, knowing that if I hold down on those items in the notification screen it will open straight to their settings. I did not know that. And it's going to simplify a lot of things for me. Just knowing I can easily open Wifi networks, Bluetooth devices, and the like, from that screen, is extremely helpful. Thanks!

Umidigi One Pro wont go back to "sleep"

Hey Guys,
I have just gotten a fresh Umidigi One Pro like 8 hours ago. Yay, at last, a brand new Phone.. Looks awesome and all BUT
Whenever it gets a Message via Email, Message or anything else that shortly lits up the screen, it will NOT go back to sleep, unless I open the Phone and turn it off again.
I had checked the settings and put Android inactivity thing to 30 Seconds where no inputs where made.
I have just now deactivated the messages on lockscreen completely and I am waiting for a information that I have received a new message (sent one for testing purpose).. and the screen STILL lit up again, even though not showing a message!
Any Ideas why Android isn't goint to sleep automatically? Because when it does not turn off, itgets more and more hot. I just had it only realized that i got DAAAAAMN hot, cuz it slid under the pillow.
I am completely puzzled about this, as my old MIUI usually turned off just after a few seconds (like 5-10 Secs latest) ...
It just now happened to happen AGAIN, my Email must have arrived, it does NOT show on the lockscreen, all in all i see like nothing beside Network+Wifi Signal, Battery, Time and Mic, Avatar and Camera Icon in the bottom.
It kind of pisses me off, as this would mess up Batterytime badly. I would love to keep the Phone, as it really looks awesome to me. Thats kind of a flaw, or maybe even damaged Phone?
I would love to hear from you that I just miss a feature and how to fix it.....
Thanks!
Mhm, the only way I found that would stop to lit up the Screen and not turning off again, is to turn off the processes in the background completely using DuraSpeed ... damn ... useless.
caylean said:
Mhm, the only way I found that would stop to lit up the Screen and not turning off again, is to turn off the processes in the background completely using DuraSpeed ... damn ... useless.
Click to expand...
Click to collapse
I must confirm this issue. After notification phone display is constantly on. Really annoying.
This is a problem... Potentially deal breaker. What's crazy is if you search for ambient display in settings it shows to be under the battery menu however, it's not there when I look for it.
I found an adb command that supposed to turn off wake screen on notification but I can't try it out right now for lack of computer.
If anyone wants you try, it's
adb shell settings put secure doze_enabled
Please let us know if it works.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Question Apps being aggressively closed following June update!

Hi folks,
I'm wondering if anyone has a solution to this: Immediately following applying the June update, I noticed certain apps (crucially, Angry Birds2) were being closed in the background as soon as I switch to other apps. Previously, I could have AB2 open, go do other things on the phone, come back half an hour, and AB2 would still be open. Now, even brief switches to other apps results in it being closed.
Figuring it had been switched to a higher level of battery optimization, I checked the AB2 app and made sure it was still Unrestricted (it is).
Battery Saver is off.
Adaptive Battery is on, but it was before the update too.
What other settings do I need to monkey with to fix this?
Thanks in advance!
Developer options>standby apps, check bucket state of app. It should be active.
If that's the case disable all global power management. If disabled all buckets show as active and their state can't be altered.
Google global power management never worked right. Turn all that junk off.
Deal with power hogs on a case by case basis instead. In settings individual apps can be set to not run in background without invoking global power management.
blackhawk said:
Developer options>standby apps, check bucket state of app. It should be active.
If that's the case disable all global power management. If disabled all buckets show as active and their state can't be altered.
Google global power management never worked right. Turn all that junk off.
Deal with power hogs on a case by case basis instead. In settings individual apps can be set to not run in background without invoking global power management.
Click to expand...
Click to collapse
For AB2 it shows "exempted" and is grayed out. What does that mean? Meanwhile I'm turning off Adaptive power. Anything else I need to turn off, while I'm at it?
Frankenscript said:
For AB2 it shows "exempted" and is grayed out. What does that mean? Meanwhile I'm turning off Adaptive power. Anything else I need to turn off, while I'm at it?
Click to expand...
Click to collapse
Exempted? More like KIA Erratic behavior is typically what it causes on my Samsung's.
In power management the only thing I enable would be fast charging if you want that.
Not familiar with Pixel settings but they are similar as it's a Google Android based subsystem.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sadly all similar settings are now turned off and the phone has been rebooted. AB2 still closes nearly instantly when I switch to another app. Sigh.
Frankenscript said:
Sadly all similar settings are now turned off and the phone has been rebooted. AB2 still closes nearly instantly when I switch to another app. Sigh.
Click to expand...
Click to collapse
Try clearing app cache.
More drastically delete data or reinstall it.
It may be the app itself is no longer compatible now and needs an update.
On a Samsung my first choice would be to clear the system cache found on the boot menu. I've been told Pixel's don't have this option.
Personally I avoid all OTA updates as they can and do break things. Pie and above are fairly secure if you don't do stupid things.

Categories

Resources