customizable LEDs? - Nextbit Robin

So, guys, I installed custom rom and everything is ok, but the LEDs on the back are not useful, is it possible to customize them or configure, cuz it will be cool enough??

No. Only in Paranoid Android back lights indicate while device is charging.
This lights not customizable from apps.

AFAIK LOS based ROMS use the lights on the back on boot up (Same with OmniROM) and use it to show charging level while charging (Something like 1 light = 20%, 2 Lights = 50%, 3 = 75% 4 = 100%). The lights aren't controllable though, unfortunately.

Related

Tilt 2 LED - Just network signal?

Hello,
I just got a touch pro2 lastweek and I am beating my head trying to figure out what the deal is with the status notification LEDs
I see one to the LEFT of the earpiece/speaker that flashes green every few seconds and then just stops - all the flashing stops. I'm thinking the bliking stops when the phone goes to sleep. So i press the power to wake the phone - but the flashing doesn't come back. I was thinking this is the network/signal indicator but doesn't seem that way.
I see another that's to the RIGHT of the earpiece/speaker that doesn't go on at all.
So no way to tell if the phone is on wifi network or if bluetooth is on (without obviously waking the phone up and checking on screen). I'm looking for a way to see status without touching the phone - like my old HTC TyTn (rest in peace!)
It turns red when you charge you're phone.
It turns green when you are fully charged (with the charger still in)
It blinks green when you have a new message/e-mail/missed call.
It blinks red when you're batterie is almost empty.
That are the basics
thanks! that's about what i seemed to have gathered too... what about that fake light like thing to the right of speaker? never lights up?
and no bluetooth/wan notification ten, right?
armedmetallica said:
thanks! that's about what i seemed to have gathered too... what about that fake light like thing to the right of speaker? never lights up?
and no bluetooth/wan notification ten, right?
Click to expand...
Click to collapse
thats the light sensor for the screen
adjusts brightness depending on how much light is hitting the phone
Below is a description of the LED lights straight from the manual that came with my Tilt2.
* The Notification LED shows a:
Flashing green light when there are new SMS, MMS or email messages, missed calls, or reminders.
Solid green light when the device is connected to the power adapter or a computer and the battery is fully charged.
Solid amber light when the battery is being charged.
Flashing amber light when the remaining battery level reaches below 10%.
jcterry said:
Below is a description of the LED lights straight from the manual that came with my Tilt2.
* The Notification LED shows a:
Flashing green light when there are new SMS, MMS or email messages, missed calls, or reminders.
Solid green light when the device is connected to the power adapter or a computer and the battery is fully charged.
Solid amber light when the battery is being charged.
Flashing amber light when the remaining battery level reaches below 10%.
Click to expand...
Click to collapse
That's pretty much exactly it. There is a program floating around that allows you to change the light and customize the reason it flashes, but I think it's just fine the way it is .
it also flashed green then the red light really quick when its overheating :O
thanks for the quick replies folks.
I saw that in the manual too - but i never go by the manuals! i can't count how many times my manuals have been wrong about a particular function.
it's a disappointment since the older Tytn was much more friendly about the notifications. but i'll deal with it.
as far as that being a light sensor - i think it makes sense. I'll try trick it to see what I notice. Then I'm guessing it's the proximity sensor that's around the HTC logo? I think I was in the sun when I saw it but there's some sort of sensor around there. I figured that's the light sensor. perhaps not.
Thanks again!

[20.Jul.12][DEV] Lights Library v2 w/ correct LED color & notification while charging

[20.Jul.12][DEV] Lights Library v2 w/ correct LED color & notification while charging
If you don't know what a lights library is or what it does, then please move on. This topic is not for you.​
Lights library with correct LED color & dual LED support
This lights library is based on the Pyramid lights library (HTC Sensation) by the CyanogenMod Project.
Differences to the normal lights lib we are currently using:
Based on HTC Pyramid lights lib from CyanogenMod Project
Show correct battery state
Add support for alternating LEDs (dual LED support)
Show correct battery state:
By default AOSP-based ROMs already report the devices as fully charged (green LED) even though the device is only at 90% of its battery capacity. This lights library will still show the amber LED until the kernel reports the battery as full.
Add support for flashing LED while charging:
Version 2 contains a changed behavior in comparison to the older version. The description of the older verison can be found below.
In the new version the LED will flash in the same color of your current charge state if you get a notification while charging, i.e.:
Charging & you get a notification --> Amber LED flashing
Fully charged & you get a notification --> Green LED flashing
The old behavior has a main disadvantage that the dual LEDs might not work correctly if the device goes into deep sleep. This is hardware related. The newer version doesn't have such a limitation as it uses the hardware supported modes.
Old behavior:
marc1706 said:
Add support for alternating LEDs:
It is something that has been bugging me for a while now.The scenario is simple:
Your phone is lying on the table and you are getting a short message, mail or maybe miss a call. Once you get back it will normally blink the notification led and you'll know that you missed something. What if you are charging your phone though? The phone will just show the charging LED and there is no way to tell you missed something unless you unlock your phone.
I've been missing a feature that'll show the charging LED while shortly flashing with a different LED color in order to notify you of a missed short message, mail, etc.
While the Leo has support for something similar it is actually somewhat weird:
First the amber LED shortly turns on and then after a small pause the green LED turns on for an instant. Afterwards there is a rather long pause and then it starts over. This is actually more or less an amber colored notification followed by a green colored notification. As the purpose of dual LED support is to show that we have a notification while charging this is not properly met by the native support the Leo has.
Thus I decided to add my own implementation that'll show one LED first (color depends on the charge level) and switch to the other LED color and then after one second back to the original color. This way the LEDs will always be on and thus correctly represent the fact that the device is charging while it's also able to show that there is a notification.
Click to expand...
Click to collapse
Works with:
Ice Cream Sandwich Builds
Take a look here: http://forum.xda-developers.com/showpost.php?p=27607351&postcount=2
You tell me
Source:
https://github.com/marc1706/android_device_htc_leo
Download:
View attachment lights.htcleo_v2.zip
Old version:
View attachment lights.htcleo.zip
Notes:
If you don't know how you can use the attached file then this topic is probably not for you.
Confirmed to be working on the following ROMs:
NexusHD2-ICS-4.0.4-CM9-HWA V2.3
IceCreamTosti v1.1 [AOKP B36 ]
Dorimanx-ROM-HIGH-END 3.1.9
Confirmed to not work on the following ROMs:
Any Gingerbread Sense ROMs
awesome thanks Marc
works perfectly
thanks Marc !
My test result:
after the power over 90% LED lamps do not appear(sense3.5)
Sorry, forgot to add that I only tested it on a ICS Rom. As far as I know it should also work on AOSP-based Gingerbread ROMs without issues.
I haven't had any time to play around on Sense ROMs but it'll probably won't work correctly on Sense ROMs.
What a pity!!!
it doesn't work on GB.
I'm on MIUI. will try on ICS then
Thank you
Try on Tytung's ICS 2.3 rom and it works! Thanks.
Exactly what i felt about missed notifications while on charge. Will test it out tonight and let you know.
Edit: Tried this on the rom I m using now (GB2.3.3 + Sense2.1). All my lights stopped working including display (toggle got disabled also. so couldn't adjust level) which remained full bright and hardware button lights didn't light up at all. So this isn't compatible with my ROM atleast.
Thankx though man. If you have time please consider making this compatible for GB sense. Would be great to see notification light blink while on charge too.
Thank you Marc!!!
Question: is this lib supporting the "auto-brightness custom levels" functions of CM7 and CM9?
Cheers!
Do I have to do something special? I copied it to \system\lib\hw set permissions, cleared Dalvik cache and rebooted. Charging light comes on fine. Called the phone to do a miss call. No blinking?
Using AOKP rom like in sig.
Installation should be as easy as copy/paste and setting the correct permissions (644).
Custom auto-brightness levels work with CM9.
@bipinsen: Did you touch the phone before it went back to sleep after you called?
marc1706 said:
Installation should be as easy as copy/paste and setting the correct permissions (644).
Custom auto-brightness levels work with CM9.
@bipinsen: Did you touch the phone before it went back to sleep after you called?
Click to expand...
Click to collapse
Here is what I do:
- Phone is sleeping; screen off; plugged in; LED light amber
- Call the phone; screen lights up; shows caller ID; LED light amber
- Call goes into voicemail; screen turns off; LED light amber
I'm looking at the phone now with the screen off and charging light *still* amber. I wake up the phone to the lockscreen and I see the missed call icon on the statusbar.
Edit: Full disclosure on the install. I still have the original file sitting in the \hw directory as "lights.htcleo.so.bak." I'm assuming that doesn't harm anything.
Weird. I'll see when I have time to test it on the ROM you are using.
Works very, very well! Exactly what I've been hoping for. Tested it while plugged in, and made a missed call. Lights changed accordingly to green flashes so I no longer have to wake up the screen in bed and kill my night vision to check for notifications. Thanks!
Marc, THANKS THANKS THANKS again!!!!
Just tested on GB ROM (Dorimanx Rom, see my sig) and everything IS working as you described!
Great JOB!!!!
marc1706, thanks for finally fixing lights library
I have one little request: could you please take a look when you have some spare time at this bug?
Thanks.
Marc1706,
As the late great comedian Chris Farley would say..."holy schnikes".
I have been waiting for something like this since the first Froyo roms on SD. Wow. Long ago, I almost had a workaround using LedMeKnow but it had GB issues and high battery drain. LedMeKnow inspired me to create a Tasker Profile that while plugged into the charger, if I missed a call or sms, my BUTTON lights would flash rapidly and dismissed upon screen unlock. I still use this profile and it's a very effective workaround.
SO...What the heck took so long? Not you specifically but I always thought this was a MUST have feature...it bugged me too like it did you. Very pleased to see you have provided this Lib. Thanks so much. Here is a quick report with Dorimanx rom 3.1.2 and Kernel 7.2.
1) 1st Handcent sms test...didn't work past 5 secs (but either did my button lights...weird) But when I turned screen on, it worked again but for only 5secs after the screen turned off.
2) missed call test...worked without stopping this time. Normally I would get RED flashing led...but with this LIB I get solid green for 2sec and red for 1sec or less. Works...but a bit odd. No complaints because the idea is working.
3) 2nd Handcent sms test...works like #2 above.
4) Pulled out of charger while flashing from #3 and I got my normal red led ON/OFF blinking.
5) Rebooted and tested Handcent and worked fine. I might have noticed the odd time when it went from red...to green...then briefly to black.
I get no blinking led while phone is plugged in the charger.
I use clk and latest ics rom from tytung V2.3.
I changed the lights.htcleo.so and changed permissions like it was on the old file. Then restarted the phone.
My phone is plugged on the charger. Phone is fully charged (100%). LED stays green all the time. Then i phoned myself with another phone.
But phone still stays green. No blinking. Screen is off. If i wake up my phone, i can see the missed call in the upper taskbar.
Where is the problem? Did i something wrong? Do i have to set up blinking led somewhere?
EDIT:
Strange behaviour: Now my led is blinking green and red. I did nothing, my phone was still in the charger...
My phone is still charging so I can't comment on the 90% issue but I'll edit my post once it does. Pertaining the missed call notification, mine is doing something weird.
*Edit Charging at 90% works fine.
I called my phone to test the missed call notification while charging and what it does is that it stays on amber for a minute and then its turns green for about a minute and twenty seconds then starts all over doing the same thing. What I noticed though is if I turn my screen on to where I have to put in my pattern lock it works like stated otherwise it does what I mentioned above.
I did as follows:
Moved lights.htcleo.so to \system\lib\hw with root explorer, set 644 as permissions,
(rw-r--r--) wiped dalvik cache, fixed permissions.
*edit: Using NexusHD2 v2.3
By the way, would it be possible for you to change the blinking so it could pulsate like in tytungs nexushd2 v2.2 when there was a missed call it would quickly blink amber and green and 2 secs later it would do the same? Here is the lights.htcleo.so libs that tytung used if need be:
http://code.google.com/p/nexus-hd2/downloads/list?q=label:lights.htcleo.so
All ok !
Confirm ALL worked on EU HD2 with Hiperdroid CM7
90% charge and etc.

Light Flow Settings (Custom LED Flash Rate)

Hey guys, what's your Light Flow flash rate at? I currently have everything on "Fast" but I want something that is somewhat slower, gets to the brightest point of the LED and stays there for like a second or two and then starts fading again. When I try "slow" or anything it merges the LED's for different notifications together.
On charge I use "fast" - on battery I use "latest."
You need to select 'custom LED flash rate' and then input your own numbers. Mine is set to 230,1070. The first number is how long the light stays on, the second is how long it's off. Keep testing numbers till you get the effect you want.

[Q] No LED on Charge (PA 3.99 on Nexus 4)

Hi, is a 3rd party app required to get my LED light to blink when charging? At the moment, when I'm plugged in the light stays off, both while charging and when fully charged. In CM I could have sworn there was a battery charge option in Settings > Display > Pulse Light Notifications, but there doesn't seem to be anything there on this ROM. Would love to avoid installing something like Light Flow if it's avoidable, thanks!
Billabong81 said:
Hi, is a 3rd party app required to get my LED light to blink when charging? At the moment, when I'm plugged in the light stays off, both while charging and when fully charged. In CM I could have sworn there was a battery charge option in Settings > Display > Pulse Light Notifications, but there doesn't seem to be anything there on this ROM. Would love to avoid installing something like Light Flow if it's avoidable, thanks!
Click to expand...
Click to collapse
No, this option is not available on 3.99
Got it, thanks for the quick reply!

[Q] Notification light

I have tried a couple of custom rom, when i use the old Oppo Firmware my notification light is just rapidly flashing when i get a notification and while charging the light just light up, but the preview of the speed and length works fine.
But if i use the newest Oppo Firmware Notification light works, but then i can't get my devices to Deep Sleep with DS Battery Saver Pro.
So it's like if i want notification light to work properly i need to run COS or have custom rom with horrible battery life, ain't it possible to have custom rom with working notification light?

Categories

Resources