How to enable notification led in DND mode? Dirty hacks possible? - Android Q&A, Help & Troubleshooting

Hi,
I recently flashed OmniRom on my OnePlus 3T but the notification led gets disabled every time I switch to DND mode. There is currently no option in OmniRom to prevent this from happening. Is there any way to reenable it somehow?
I found out you can change the led brightness by changing the value inside the /sys/class/leds/red/brightness file for example. In this folder is another file 'trigger' which - to my understanding - lets you configure when the led should be turned on.
Unfortunately I couldn't find a way to completely enable or disable the led specifically for notifications.
I would like to use tasker to write to some file using root permissions to enable the notification light every time the phone switched to DND.
Could you help me find out how to do this? Maybe there is another way to achieve what I'm trying to do but this is how far I got.

Related

[Q] led bar doesnt work properly on AOKP custom rom

hey guys,
i have this sorta weird issue where my phones light bar is not working properly. i looked all over the thread but couldnt find anyone with this same issue.
i flashed a AOKP custom rom recently, im loving the speed, everythings awesome, but the led bars dont work. the normal theme colour thingie is off, which is understandable, but the illumination bar notification app also doesnt work, and the light bars dont work when i use the walkman that i installed later. but weirdly, u-disco can control the lights, and they also light up along with the notification led for phone notifications like low battery, or battery charging.
i was wondering if anycould suggest a way to get at least some of the functionality back.?
im sure that 3rd party apps can control the light bar cuz u disco pulled it off.
any help would be greatly appreciated
haritha said:
hey guys,
i have this sorta weird issue where my phones light bar is not working properly. i looked all over the thread but couldnt find anyone with this same issue.
i flashed a AOKP custom rom recently, im loving the speed, everythings awesome, but the led bars dont work. the normal theme colour thingie is off, which is understandable, but the illumination bar notification app also doesnt work, and the light bars dont work when i use the walkman that i installed later. but weirdly, u-disco can control the lights, and they also light up along with the notification led for phone notifications like low battery, or battery charging.
i was wondering if anycould suggest a way to get at least some of the functionality back.?
im sure that 3rd party apps can control the light bar cuz u disco pulled it off.
any help would be greatly appreciated
Click to expand...
Click to collapse
What's your phone? If your phone is Xperia U, search for Xperia U illumination files and download and get ADB server because the RunMe.bat should only be work with ADB and place all files in ADB folder. Then run the RunMe.bat twice in order to be sure. If it's done, now you can get illumination with illumination bar notification app.
That's all? No! You would like to set theme in illumination bar notification but it always turning off.
Now you change your display settings. Follow this fix which is not mine.
ILUMINATION BAR FIX FOR UNLOCKED BOOTLADER
i've solved the brightness bug!!!
- settings --> display --> brightness
- set brightness to min level
- settings --> display --> automatic backlight --> light levels --> edit other levels
- set every "screen" and "button" cells to "255" value
- click "save & apply"
- settings --> display --> automatic backlight --> light levels
- check "use custom" box
- settings --> display --> brightness
- set brightness to max level
- check "automatic brightness" box
DONE!!
(to re-activate automatic backlight, simply uncheck "Use custom" in "Automatic backlight" menu)
Sent from my Xperia U using Tapatalk 2

[SOLVED]Disable LED notification on charge

hi,
any solution to disable any LED notification on charge/discharge?
I can't find settings in room, tried Light Flow apk but can't work...
Yolo!
I find the solution with Light Flow - work with Lite too:
No need making any notifications - just if you want automaticaly switch off - just, config same as below in the attachments.
Okay, now plug the charger and choice in Light Flow the Tools menu:
All enabled LEDs test
and switch your screen off.
Tadaam, the current LED notifications is gone!
Dissabling the LED on Charging of Redmi Note 4
tonoslo said:
hi,
any solution to disable any LED notification on charge/discharge?
I can't find settings in room, tried Light Flow apk but can't work...
Click to expand...
Click to collapse
Hi Dear,
Currently I m using Redmi Note 4.
To dissable the LED notification on the charging, we have to go to the
Settings -> Additional Settings -> Light Notification -> Toggle the buttons.
I did installed but didn't manage. Do I need to be root? Thanks!

Change blinking frequency of notification LED

After update to Marshmallow seems that problem with notification LED still exist. Unfortunately blinking of led on every 6-8 sec is prerequisite for missing of many mail/chat/call notifications. I try almost every app inside Google play but none of them can't change blink frequency of notification LED.
If there is a possibilities somebody to develop such app or module, that will enable changing frequency of notification LED? Now my phone is with Marshmallow and is rooted (thanks to @PiSpecialist), l am ready to test everything.
Such app will be very helpful for every Xperia M4 user.
If there is a way to change blinking frequency permanently - via changing of configuration file somewhere? Any help will be appreciated.
I wanna change..

Brightness not adjustable with Tasker or any other tool

Hi there,
I´m running in a problem with my Android 8 car stereo and the provider is not able to fix it...
This issue came first up with Oreo, I didn´t face this issue with any older Android version.
I asked in the Tasker Google group for a solution but I have still the same issue and it seems that the provider of the system does not use the Android API as it used to be.
Let´s get a bit deeper into the issue:
If I have a look at the trace files I always find an error message each time at changing the backlight (with or without Tasker)
05-07 13:45:54.415 292 292 E Lights Hal: write_int failed to open /sys/class/backlight/rk28_bl/brightness
The reason for this is, that the folder rk28_bl does not exist on my unit. The file "brightness" is stored in folder:
/sys/class/backlight/backlight/brightness
If I change the brightness manually out of the taskbar, the file /sys/class/backlight/backlight/brightness is changed and the brightness is changed.
To use the brightness with Tasker and Twilight to raise/reduce the brightness dependant on the daylight, me and of course other OREO car stereo user need a workaround to get this working.
Do you guys are able to find a workaround for that? Any hints? Ideas?
Ah edit: These units do not have any brightnes sensors, or Auto brightnes settings as we do have in any phone.
Regards

[APP]AMOLED Notification Light "NotifyBuddy"

Original Thread : https://forum.xda-developers.com/oneplus-6t/themes/app-amoled-notification-light-t3943715
So I was annoyed not having an LED notification light on oneplus 6t so I tried to make one of my own.
As OP6T has amoled display whenever a desired notification comes the app brings in a black screen with notification LED looking animation.
Though this is tested on OP6T, it should be working for most Android Oreo and later phones.
To use it:
Install App.
Disable Ambient Display and any battery optimisation for the app.
Give notification access permission.
Select apps you want notifications for, by choosing a color (Only apps you set a color to enables LEDs).
Note: 1. On successfully selecting a color for an app the text in which the App name is written should change to that color
2. Don't enable the LED for the "Phone App" as it will interfere when an incoming call is coming! Will fix this in next build
Thats it.
Note: To turn off the LED and to unlock phone double tap anywhere on the screen.
Also on pressing power button once the LED stops and on pressing it again it will bring you to lock screen.
App now available on Play Store, please rate and share if you liked the app.
Play Store Link: https://play.google.com/store/apps/details?id=com.xander.android.notifybuddy
Working Video: https://youtu.be/vFKiHS_ZD-k
If the app is not working check whether the Notification Service is running under Developer Option > Running Services, this service is required for the app to work as intended.
If it is not running after various troubleshoot measures, maybe send the logs.
Changelog:
Implemented burn in protection
Fixed proximity sensor bug
Switch enables LED with default color
Added search functionality
Now App list is sorted in alphabetical order
Fixed power button
Added settings for changing time interval and stop timer
Major bug fixes
Added System Apps
Added a switch to turn on/off notification LED
Give your feedback!!
Hi. I'm going to try it my question is if this would not burn the screen?
Can you explain how the stop timer works?
Cryte-k said:
Hi. I'm going to try it my question is if this would not burn the screen?
Can you explain how the stop timer works?
Click to expand...
Click to collapse
Nope it won't burn the screen as LED is shifting towards right every time.
Stop timer is the time after which the "LED" will stop after receiving notification.
please mention digits(seconds/minutes) in slider of led time interval & stop timer. working fine with S10.thanks
I couldn't make it work...
Great !!
Very simple & the first one that perfectly works with the screen off.
Next step a circle around the camera ?
Thanks for the work
It does use a bit of battery....
Great app. But the approximately Sensor doesn't responding. Does anybody confirm this?
If „don’t disturb“ is enable no notification light appears.
Is there any way of getting premium features without play services? I would love to use the unlock with fingerprint option

Categories

Resources