1. Download our Official Android App: Forums for Android!

Root Notification LED colors?

Discussion in 'Android Devices' started by ziggy46, Sep 11, 2011.

  1. ziggy46

    ziggy46 Android Expert
    Thread Starter
    Rank:
     #82
    Points:
    223
    Posts:
    1,688
    Joined:
    Aug 14, 2011

    Aug 14, 2011
    1,688
    612
    223
    Female
    hey is it possible to change the color of the led on the triumph? something like changing the trakball color on the nexus one.....
     

    Advertisement

  2. tickerguy

    tickerguy Android Enthusiast
    Rank:
    None
    Points:
    163
    Posts:
    533
    Joined:
    Aug 15, 2011

    The LED on the triumph is a bi-color (red/green) LED that has hardware support for on, off and blink. No PWM control of brightness.
     
  3. idbl_fanatic

    idbl_fanatic Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    403
    Joined:
    Feb 2, 2011

    Feb 2, 2011
    403
    37
    43
    And you can get orange
     
  4. tickerguy

    tickerguy Android Enthusiast
    Rank:
    None
    Points:
    163
    Posts:
    533
    Joined:
    Aug 15, 2011

    Correct - red and green both on is orange.
     
  5. ziggy46

    ziggy46 Android Expert
    Thread Starter
    Rank:
     #82
    Points:
    223
    Posts:
    1,688
    Joined:
    Aug 14, 2011

    Aug 14, 2011
    1,688
    612
    223
    Female
    so we can only get red, green, and orange right? if so that kinda sucks... i wanted to make my colors cyan and red :D but that wont happen lol
     
  6. tickerguy

    tickerguy Android Enthusiast
    Rank:
    None
    Points:
    163
    Posts:
    533
    Joined:
    Aug 15, 2011

    Yes, and no shades either - there is no PWM control available of the brightness. The "fade" effect appears to be a hardware thing (although it may be in the kernel - whatever it is, it does not appear that brightness capability is exposed at the user level.)
     
  7. ziggy46

    ziggy46 Android Expert
    Thread Starter
    Rank:
     #82
    Points:
    223
    Posts:
    1,688
    Joined:
    Aug 14, 2011

    Aug 14, 2011
    1,688
    612
    223
    Female
    cool... so how can i get it to show orange? like with a app or something.... and can you tell me how to write updater scripts and updater binaries? i only know how to write update scripts for phones like the intercept and the moment... which are alot different than the triumph LOL
     
  8. tickerguy

    tickerguy Android Enthusiast
    Rank:
    None
    Points:
    163
    Posts:
    533
    Joined:
    Aug 15, 2011

    All of that is in the lights.so library if you're talking about event-driven light changes. If you want to write at it directly you can - it's exposed in /sys - but the lights library is going to change it right back the next time it wants to.
     
  9. ziggy46

    ziggy46 Android Expert
    Thread Starter
    Rank:
     #82
    Points:
    223
    Posts:
    1,688
    Joined:
    Aug 14, 2011

    Aug 14, 2011
    1,688
    612
    223
    Female
    thanks man! :p also great work on cm7! i love it... what causes the "sleep of death" problem? thats the only thing that keeps me from using it as a daily rom
     
  10. JollyRoger87

    JollyRoger87 Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    403
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    403
    85
    53
    UPS
    Phoenix, Az
    Turning off the lockscreen will help and disabling wifi before you lock it should pretty much cover that issue
     

Share This Page

Loading...