Related
hi
is there any way to disable the led of the hardware buttons. i know where the buttons are. i dont need a light to find them. and it looks ugly when they light up. after i used them i always wait to touch the screen until they are off.
I think neldar knows the most about this since he has done the backlight notifications mod. It would be super to have an option in the recovery to disable backlight in the buttons. They are annoying at night when using Screen filter to dim the screen, buttons are very bright in contrast to the screen.
Agreed. I would love to be able to switch them off.
Yes this is true and really anoying!
At night they are much to bright. Would love a "disable" option, too.
Is it maybe possible to dimm the buttons, too?? This would really be awesome
ok, i'm not the only one who wants that leds switched off. but isn't there anyone who has an idea how to do that
Anyone figured this out yet?
i found an app in the market called“ leds hack“. it supports samsung vibrant, but it dont works on my phone. isnt it the us-name for the sgs? maybe the rom is the problem. i'm on darkys 9.3
i tryed to find the script that controls the backlight. here: stackoverflow.com/questions/4152053/android-turn-off-key-lights i found this info:
A: The keyboard backlight can be controlled via /sys/class/leds/ keyboard-backlight/brightness. It appears that it's a simple on-off control (echoing '0' turns it off, echoing '1' or higher turns it on). For some reason, the default system backlight control stuff seems to set this to "83", but I don't know why. I can't seem to see any difference between 83 and any other number. The file is readable by anyone, but only writable by root, so you'll need root access to the phone to manipulate it this way.
can anyone tell me where i can find the file on my phone...
Has anyone found the answer?
This is honestly something that I would even pay for if a dev wanted to create a little app or mod that could do this quickly and easily for those that are not confident to make these changes on their own.
No one? :/
magooo said:
/sys/class/leds/ keyboard-backlight/brightness
Click to expand...
Click to collapse
this doesnt exist on our android.
There is is /sys/devices/virtual/misc/melfas_touchkey/brightness
you can do
echo '1' > /sys/devices/virtual/misc/melfas_touchkey/brightness
to turn it on, but i have not found a way to turn it off permanently
Can some one bind this to light sensor? So that we can have it disabled during day and have it enabled at night??
how can i edit this files? i cant find an editor or something like that. i'd like to play around with this script?
joseph.carty said:
This is honestly something that I would even pay for if a dev wanted to create a little app or mod that could do this quickly and easily for those that are not confident to make these changes on their own.
Click to expand...
Click to collapse
I'd pay too
Please, It have to be so easy
magooo said:
A: The keyboard backlight can be controlled via /sys/class/leds/ keyboard-backlight/brightness
Click to expand...
Click to collapse
I don't have the folder /leds. What version of android do you have?
I found this. As a new user, I can't send links to the forum, I paste the important part:
Samsung GT-I9000
s3c-keypad
- scancode = 26 (confirmed with keylayout/s3c-keypad.kl)
/sys/class/backlight/s5p_bl/brightness
drivers/input/keyboard/s3c-keypad.c
drivers/video/backlight/backlight.c
- brightness and actual_brightness 's get/set method. (actual_brightness is read only)
drivers/video/samsung/s3cfb_tl2796.c
- Samsung's implementation. MIN_BL = 30. Lower than this == black out.
Could it be useful?
Thanks
Hello everyone,
writing from Italy, where this smartphone should arrive in these days. I already pre-ordered it, but I'd like to know if there is any kind of notification led on board (like the one that Nokia 5800 XM has - sorry for this link but it's my phone at the moment and I find the notification light very comfortable) or if perhaps there is a way to access the softkey buttons so that I can command them to light on if any notification is available.
Thanks in advance and have a good evening
In a nutshell, no notification light and no application for the button lights yet.
Thanks well, do anyone know the object I shall refere to access those lights? I really hope they are objects and not just "part of the screen"...
If I recall correctly, someone did actually mod the softkey buttons on the Galaxy S for notification purposes. If it was done there, why not on the 2X?
Edit:
There it was: http://forum.xda-developers.com/showthread.php?t=772672
Now all we need is CWM and a custom kernel with this thing implemented.
What I can say from inspecting the service manual so far is some bad news sadly:
All leds connect to the same source.
This means, the LEDs cannot be illuminated individually, only together.
I'll dig into it some more. Maybe I can find out something more.
Edit: Alright, here's some more.
The power source for the LEDs is realized by the LXW and/or FBW outputs of the MAX8907C which seems to be a power IC for the platform (it provides possibly all major voltage flavors inside the assembly)
The device is controlled via one of the I²C buses of the AP20 chip (PWR_I2C_SDA and PWR_I2C_SCL) but sadly, I couldn't get a hold of any datasheet for this chip, so further progress is work for those who can dig deep enough into the OS and kernel to control the appropriate outputs.
What if we inspect the source of the software coded for the Nexus S so that we can actually change the parameters and make it work on the 2x?
Well, since the "Hidden Menu" has an option for dimming the light on those buttons, shouldn't it be posible to use the same functionality to make notification light out of it?
This "Hidden Menu" must be some apk or something?
tiwiz said:
What if we inspect the source of the software coded for the Nexus S so that we can actually change the parameters and make it work on the 2x?
Click to expand...
Click to collapse
Nexus S is a completely different platform. I think starting from scratch would be just as hard than tweaking the Nexus S code.
Searching the APK of the Hidden Menu could be more promising.
I'll start digging as soon as I get my phone... it's taking ages to arrive here in Italy ::facepalm::
http://www.planete-android.com/2011/03/22/led-de-notification-pour-le-nexus-s/
USE OF CAPACITIVE BUTONS
Okay I know everyone knows that their Droid 3 has a LED notification light, but if anyone can answer this question, help me out. Does the modification of the LED flash speed and when the light is on (meaning its on while the screen is on) require some type of custom kernel, or just a custom ROM. I've tried multiple LED notifcation apps, and none of them can change the flash rate (even though I set it to different values). I would like to get to the point of adjusting the flash rate, and make it so more important notifications light up all the time (like the 10% battery notification) but I have no idea how to change this. Thanks to anyone that can help me out or at least lead me in the right direction.
ChaoticWeaponry said:
Okay I know everyone knows that their Droid 3 has a LED notification light, but if anyone can answer this question, help me out. Does the modification of the LED flash speed and when the light is on (meaning its on while the screen is on) require some type of custom kernel, or just a custom ROM. I've tried multiple LED notifcation apps, and none of them can change the flash rate (even though I set it to different values). I would like to get to the point of adjusting the flash rate, and make it so more important notifications light up all the time (like the 10% battery notification) but I have no idea how to change this. Thanks to anyone that can help me out or at least lead me in the right direction.
Click to expand...
Click to collapse
I would assume that they're just not compatible. When I get a mention with Tweetdeck I get a yellow light, and a blue one with Plume so I would think if a color could be changed, so could the blink rate.
I have this app called "Light flow - LED control". It basically lets you change the colour of the notification LED for each individual app, as well as setting the blink duration (not blink rate, unfortuately). It does, however, require root. Try the lite version to see if it is what you are looking for.
There is another app that allow you to set blink rate, which is called "Blink - Flash LED in your way". It didn't work as expected for me but I didn't play about with it much.
Hope that helps.
qasman said:
I have this app called "Light flow - LED control". It basically lets you change the colour of the notification LED for each individual app, as well as setting the blink duration (not blink rate, unfortuately). It does, however, require root. Try the lite version to see if it is what you are looking for.
There is another app that allow you to set blink rate, which is called "Blink - Flash LED in your way". It didn't work as expected for me but I didn't play about with it much.
Hope that helps.
Click to expand...
Click to collapse
i dont think it requires root. i had it on my phone before i was rooted for the same reasons but i couldn't get it to work with gosms (i would have to disable gosms from blocking other notification apps and that messed up the sms timestamp for some reason) but it's a good app in general. our phones get most of the colors though i could never get the light to stay on for low battery.
all in all i think its a cool app but won't provide what you're looking for.
I have used light flow before, and the color support is fine. You can 'change' the flash rate on light flow, but it doesn't actually change the rate, im guessing there's some kind of software, or possibly a hardware restriction.. I've been looking around all of my system files and can't find anything related to the LED. Let me know if you find anything guys.
It is a software problem. CM7 did work better v
Sent from my DROID3 using XDA App
Hi,
I had installed Android N Developer Preview and Lightflow. I am rooted, everything else is stock and before it was working fine. LED was properly lighting up for different notifications.
Yesterday I installed DP3 and rooted it. However, now, Lightflow can't seem to control led anymore. When I enable direct mode in lightflow, all colors on notifications are disabled and only black color is available. Also, after selecting mixer and direct app control option, I don't see the screen which should show me all the options to change color.
vrateshpinge said:
Hi,
I had installed Android N Developer Preview and Lightflow. I am rooted, everything else is stock and before it was working fine. LED was properly lighting up for different notifications.
Yesterday I installed DP3 and rooted it. However, now, Lightflow can't seem to control led anymore. When I enable direct mode in lightflow, all colors on notifications are disabled and only black color is available. Also, after selecting mixer and direct app control option, I don't see the screen which should show me all the options to change color.
Click to expand...
Click to collapse
And the logcat is where?
Dont be surprised if many things that worked all the way up to p2 no longer work. They will have to be updated.
Hi, I am a noob. Can you please tell me how do I capture logcat for lightflow? I can enable logcat through adb it seems, however, do I need to add some filters or something?
hello,
i'm using light flow legacy on my OP3T with OOS 3.5.4, franco kernel and root but my notification led is not working properly. the root option in light flow is activated but sometimes it does not what it should.
especially when the battery is below 15% the systems low battery light starts flashing even if it is not activated in light flow. other notifications do not flash in this case.
i don't want to use the OOS notification control because i don't like charging lights. how are you handling the notification led per app? if anyone has really working light flow or another app, could you please post your settings?
thanks!
I have the same problem with notification LED if battery below 15% because now the red pulsing LED have top priority so if i get a whatsapp message the notification LED don't turning to pulsing green. this is very bad because i don't see if i get a message.
I use my GravityBox module exactly for this purpose as It has an option for disabling battery charging light.
So if you use xposed, this is one of the ways how to get rid of charging LED.
thanks, I'll try it!
I assume a custom kernel with "notification led control" is essential to get apps like Lightflow working or does anyone have success using Lightflow with the stock kernel?
reayard said:
I assume a custom kernel with "notification led control" is essential to get apps like Lightflow working or does anyone have success using Lightflow with the stock kernel?
Click to expand...
Click to collapse
Don't know whether lightflow needs any changes at kernel side but it doesn't make sense to me why it should. I'm using my own led control implementation that's built-in in GravityBox and led control works fine with stock kernel and ROM (well, colors work but custom blink intervals not as they seem not to be supported by led driver). It's a premium feature though.
C3C076 said:
Don't know whether lightflow needs any changes at kernel side but it doesn't make sense to me why it should.
Click to expand...
Click to collapse
The reason I am asking is because for me Lightflow is not working with the stock kernel. It seems that even with root Lightflow does not have enough access to the leds to overwrite the behavior of OxygenOS. And I wonder what this "notification led control" means and if it improves the situation.
reayard said:
The reason I am asking is because for me Lightflow is not working with the stock kernel. It seems that even with root Lightflow does not have enough access to the leds to overwrite the behavior of OxygenOS. And I wonder what this "notification led control" means and if it improves the situation.
Click to expand...
Click to collapse
I wonder that too.
reayard said:
The reason I am asking is because for me Lightflow is not working with the stock kernel. It seems that even with root Lightflow does not have enough access to the leds to overwrite the behavior of OxygenOS. And I wonder what this "notification led control" means and if it improves the situation.
Click to expand...
Click to collapse
GravityBox has "Ultimate notification control" feature which is a comprehensive solution to notification control. It's utilizing Xposed framework so allows some specialties that are not possible using standard LED apps. Attached are some screenshots of all the settings which can be controlled on per-app basis.
GravityBox itself is my open-source xposed module project I've been working on for over 4 years. It provides plethora of features that can be seen on custom-roms and basically brings custom ROM-like experience to stock ROM preserving things like stock stability and other stock functionality (e.g. camera experience) which is a win-win situation. Ultimate notification control (UNC) together with possibility to backup/restore settings are the one and only features among many that are premium. UNC has trial mode so you can freely test whether it meets your requirements. Link is in my signature.
C3C076 said:
GravityBox itself is my open-source xposed module project I've been working on for over 4 years.
Click to expand...
Click to collapse
Oh hi! I used your module some years ago and would definitely give it a try again as soon as Xposed is released for Nougat. From the screenshots it seems to support everything that I want i.e. per app settings for color and on/off duration.
I always wondered if the huge amount of features of GravityBox will not result in some additional instability. That's why I tried to get my Xposed stuff done with several smaller modules instead of your "One for everything" module.
C3C076 said:
I use my GravityBox module exactly for this purpose as It has an option for disabling battery charging light.
So if you use xposed, this is one of the ways how to get rid of charging LED.
Click to expand...
Click to collapse
i tried to disable the low battery light in gravity box and the light stopped flashing. but light flow does not work on low battery.
i think i have to give your notification control a try. regarding the custom blink intervall i hope a dev will implement something in his kernel.