Fix notification led when using custom rom

inunxelex

Senior Member
Mar 15, 2008
341
158
73
Last edited:
  • Like
Reactions: csbsn and kozzz7

inunxelex

Senior Member
Mar 15, 2008
341
158
73
Led Trigger (BLUE)

Donate to me with paid version, it's available on Led Trigger (BLUE)

Fix led notification for Lenovo P1/Turbo when using custom rom. this application tested on AospExtended ROM V5.5/6 Oreo, LineageOS 14.1 Nougat, and many others.
Why blue led ? because only special blue led color can dimming smoothly, that supported from led driver.

Requirements :
- Rooted device
- Allow notification access in special app access settings
- Dont forget to grant root access

Features:
- Better than free version
- No battery drain
- Doze mode/deepsleep supported
- Led dimming smoothly
- Better led charging detection
- No cpu usage when dimming
- Using builtin commands from led driver
- Support android O and later
- Low ram usage
- No UI/Activity for smaller apk size
- No setting needed

Permission Agreements :
- Root, because rom developer set rw-rw-r-- permission, not allowing me to change led configuration from non rooted devices).
- Wakelock, because this app using modules from JobIntentServices libs, it's managed by system
- Notification access, for detecting coming notification then triggering notification led on/off, and i don't read or collect any content from it.

Sources :
- Icon, from default android studio icon templates
- SU, how to su by chainfire
 
  • Like
Reactions: csbsn

adinechin

Senior Member
Sep 19, 2012
629
362
83
Lyon
Hi, I will try your app on my phone, but I'm currently maintaining a LineageOS 14.1 for another Lenovo phone (Vibe K5+) where I have a notification led problem, and I wondered if you can tell me in which files I can look to fix it ?
The problem I have is that when charging battery, the color does not change according to configuration when charged.

Thanks for your help !