[i9020a] Problems with BLN - Nexus S Q&A, Help & Troubleshooting

Hi,
I'm running NSCollab 1.0.50 with franco.kernel from Nov. 8 on a I9020a.
I have a script set to enable blinking backlight notification by do this:
echo 1 > /sys/class/misc/backlightnotification/enabled
echo 1 > /sys/class/misc/backlightnotification/in_kernel_blink
My problems are:
1) Sometimes after I've turned the screen off the soft keys are still sensitive to touch and when I touch one they all light up and stay lit up until i turn the screen on and off again. This seems to only happen sometimes. I haven't nailed down when exactly this happens.
2) Sometimes (more like rarely) the screen will be off and I will have a notification but the power button will not turn the screen on. It seems as if the OS is still running though because I can still hear when a text comes in. I don't know if this is the famed Sleep of Death because it seems like just the screen is off but it might be.
3) This is less critical but ties in to point 2). If I use the app SMS Popup, when I get a text the screen will turn on and then go off by itself, the lights will start blinking but then if I get another kind of notification (like an e-mail) I will hear the notification sound but will not be able to wake up the screen with the power button. Again it seems as if the OS is still running to some extent. This is consistent behavior and I've just uninstalled SMS Popup to avoid the problem.
It seems as if all the problems go away if I turn off BLN. I know the problem in 3) definitely went away because the behavior was consistent and I was able to test. I just love BLN so darn much that it's hard to live without.
So, has anyone experienced similar behavior to what is mentioned above? Does anyone know why this is happening? Is there some problem with my setup?
Thanks in advance.

I've had the same issues with some kernels like netarchy. Or matrix. I haven't figured out why it does that. Its weird.
Sent from my Google Nexus S 4G using xda premium

I run CM7.1 and I haven't installed the BLN kernel because for me the soft keys automatically light up and stay on until I turn the screen on. I do also have the problem with soft keys lighting up when screen locked if I bump them but it doesn't happen very often.

Esteway.619 said:
I've had the same issues with some kernels like netarchy. Or matrix. I haven't figured out why it does that. Its weird.
Sent from my Google Nexus S 4G using xda premium
Click to expand...
Click to collapse
Which ROM were you running with those kernels? I'm trying to nail it down to either the kernel or the ROM.

I had the same issue running Gummy with the matr1x kernel. Im trying a full wipe as I installed the kernel just wiping the cache. Might help, might not. Ill post results.

Does anyone know if there have been any solutions to this issue?
I am running the CM9 nightlies on my NS4G and I also find that the soft keys will light up after I turn off my screen. They don't go dark again until I turn the screen on an off again.

Related

<Request> SMS/MMS Alert indictor light

Just putting it out there for a dev to look into it. I am looking for something that would notify for messaging if you miss the initial alert. That is probably the one thing I really liked about the Atrix. Maybe have the bottom soft buttons illuminate and stay lit until its cleared. I know someone had it working on the Dell Streak, but I can't find anything on the market that works in that way.
it was in the works before. BLN but i dont think anybody has worked on it anymore since it wasnt working right.
I really hope someone picks it back up again, or someone can suggest something from the market.
Optimus-Prime said:
it was in the works before. BLN but i dont think anybody has worked on it anymore since it wasnt working right.
Click to expand...
Click to collapse
BLN stands for ???
The lack of any form of notification lights on this phone is one of the few things I don't like about it. That said, I had the same limitation with xdandroid since it didn't support the Tilt2's LEDs for any purpose other than indicating sleep state so I'm kind of used to it.
BLN = backlight notification
It was/is a kernal feature to use 4 capacitive buttons as a notification light.
you can find it in an older Defuse kernal, but I wouldn't recommend it. It was removed due to random bugs.
Install GO SMS. It has an option for repeat alerts for messages. And its free.

Touch key brightness

Hey all, I'm trying to figure out how to get some brightness settings for the touch key brightness to stick. I've used LG 2x Notifications and O2x Touch Key Brightness, and they both work up until the point where i put the phone to sleep by tapping the power button. As soon as I wake it up, the brightness goes straight to zero unless i head back to the app and raise it up again. And if i uninstall the apps, the brightness on my keys stay off until i re-flash or reinstall the app again. Help!
My issue is a little different but similar. It worked fine for me on every basic gingerbread rom, but when I switched to a cm7 based rom the lights change with the brightness of the screen. I turned off all the light notifications but it did not help.
If anyone has any ideas, I'd love to hear them.
What rom?
Sent from my LG-P999 using XDA
redmonke255 said:
What rom?
Sent from my LG-P999 using XDA
Click to expand...
Click to collapse
On SinghUI but it doesn't have built-in LED notifications, if that's what you're getting at.
If the setting from one of those apps doesn't stick, then it's most likely being set by your ROM or Kernel. Have you tried checking if you get the same issue with other ROMs?
@jcbofkc That's a built-in setting that can't really be changed unless you get a custom ROM or Kernel cooked up to remove the link between the brightnesses.
xBIGREDDx said:
If the setting from one of those apps doesn't stick, then it's most likely being set by your ROM or Kernel. Have you tried checking if you get the same issue with other ROMs?
@jcbofkc That's a built-in setting that can't really be changed unless you get a custom ROM or Kernel cooked up to remove the link between the brightnesses.
Click to expand...
Click to collapse
90% sure the ROM doesn't have built in notifications. I'm noticing now that very rarely the settings do stick. Perhaps there is a way to force the app to stay in memory?
rrroach said:
90% sure the ROM doesn't have built in notifications. I'm noticing now that very rarely the settings do stick. Perhaps there is a way to force the app to stay in memory?
Click to expand...
Click to collapse
That wouldn't work. All that those apps do is write a number from 0-20 to the text file:
/sys/devices/platform/star_touch_led/wled
in your root file system.
When you read the file, it shows you the current output to the LEDs (from 0uA to 2000uA).
When you write to the file, it interacts with the Kernel and sets the brightness.
The Touch Key Lights type apps, all they do is when you move the slider they write a value to that file, and that's it. The only reason it wouldn't stick is if your ROM or Kernel is changing the value in the background. For example it will set it to 0 when you turn the screen off, and then it should set it back to wherever it was before when you turn the screen on again.
The closest you could get is to take the source for LG Touch LED Notifications and modify it to set the brightness every few seconds or something, but that probably wouldn't be too good for your battery life.
Based on your symptoms it appears that either your ROM or your phone doesn't really handle the modifying of the brightness very well. It looks like SinghUI does use a kernel from CM7, so I don't think your kernel is the problem. I'd suggest flashing the most recent CM7.2 RC, and seeing if you have the same problem there. CyanogenMod will change your LED brightness based on your screen brightness though.
EDIT: Ignore all that for a moment, try this first. It is a post from January 21st in the SinghUI thread, so it might not work now, but go ahead and try it: http://forum.xda-developers.com/showpost.php?p=21652744&postcount=293
Also I'd suggest posting in the SinghUI thread as everyone there is using your ROM, so they might be able to help better.
xBIGREDDx said:
That wouldn't work. All that those apps do is write a number from 0-20 to the text file:
/sys/devices/platform/star_touch_led/wled
in your root file system.
When you read the file, it shows you the current output to the LEDs (from 0uA to 2000uA).
When you write to the file, it interacts with the Kernel and sets the brightness.
The Touch Key Lights type apps, all they do is when you move the slider they write a value to that file, and that's it. The only reason it wouldn't stick is if your ROM or Kernel is changing the value in the background. For example it will set it to 0 when you turn the screen off, and then it should set it back to wherever it was before when you turn the screen on again.
The closest you could get is to take the source for LG Touch LED Notifications and modify it to set the brightness every few seconds or something, but that probably wouldn't be too good for your battery life.
Based on your symptoms it appears that either your ROM or your phone doesn't really handle the modifying of the brightness very well. It looks like SinghUI does use a kernel from CM7, so I don't think your kernel is the problem. I'd suggest flashing the most recent CM7.2 RC, and seeing if you have the same problem there. CyanogenMod will change your LED brightness based on your screen brightness though.
EDIT: Ignore all that for a moment, try this first. It is a post from January 21st in the SinghUI thread, so it might not work now, but go ahead and try it: http://forum.xda-developers.com/showpost.php?p=21652744&postcount=293
Also I'd suggest posting in the SinghUI thread as everyone there is using your ROM, so they might be able to help better.
Click to expand...
Click to collapse
Thanks for the link. It turns out that the ROM does have led notifications. However, disabling them didn't help the problem. :/ the g2x has just been an awful experience for me! :/

capacitive lights stay on even then screen is locked

Hi guys,
last problem for the night - my capatitaive buttons stay lit up, even when the phone is locked.
It happened randomly - I was on AOKP, then CM9, then SKY, now I used Odin to go back to stock but have the same problem.
any ideas?
Not sure, but wouldn't mind hearing a possible fix. Noticed this happening to me when I get a notification running aokp.
btm fdr said:
Not sure, but wouldn't mind hearing a possible fix. Noticed this happening to me when I get a notification running aokp.
Click to expand...
Click to collapse
Your issue is a feature in AOKP - go to LED options in the settings and check off use buttons as notifications.
my issue is that it stays on with out any notification what so ever, no matter being on stock or not.
MarcMaiden said:
Your issue is a feature in AOKP - go to LED options in the settings and check off use buttons as notifications.
my issue is that it stays on with out any notification what so ever, no matter being on stock or not.
Click to expand...
Click to collapse
Oh hm. In rom control or under display?
Edit: got it, thanks.
its bln "backlight notification" it can be disabled get the bln app from the play store

[Q] Wonky Brightness - Help?

Sorry the title couldn't describe much, but this situation with my VZWGS3 is a special one. I have not been able to find a situation similar to mine by searching this forum or the internet.
My problem, is that when i wake my device with the power button, it automatically ducks my brightness down to minimum. In my brightness settings, I disabled auto brightness and I have the slider at 100%. I have to tickle the brightness slider to get it to come back up to 100% brightness. My first thought is that the lock screen is forcing the screen to dim. It isn't even a smooth transition. When I do enable auto brightness, it still dims the screen on wake, but it only changes when the ambient lighting changes (thus causing auto brightness to kick in) and then it looks normal. The result of this problem is that I cant see my screen when i turn it on outside or in bright rooms. This does not have anything to do with battery, because this happens even when it is plugged in and at 100%
I'm on a deodexed stock pre-rooted touchwiz rom. Baseband version: I535VRBMF1. Android Version: 4.1.2. Kernel: 3.0.31-1152558 [email protected] #1
Android build number: JZO54K.I535VRBMF1
Later on today, I can make a video of this happening to better describe the issue. For now, just let this ponder in your heads.
Also, is it possible to debug which apps cause something to happen to the system? For instance, scan to see which apps & processes are controlling brightness.
jtcressy said:
Also, is it possible to debug which apps cause something to happen to the system? For instance, scan to see which apps & processes are controlling brightness.
Click to expand...
Click to collapse
Oops accidentally thanked you haha. But back on topic, I dont know of a way to debug that type of problem. what i would suggest since you're rooted is to make a backup in Titanium and a Nandroid. Then try doing a factory reset. That is a very strange problem indeed..
Sent from my Galaxy S3
TheKucho said:
Oops accidentally thanked you haha. But back on topic, I dont know of a way to debug that type of problem. what i would suggest since you're rooted is to make a backup in Titanium and a Nandroid. Then try doing a factory reset. That is a very strange problem indeed..
Sent from my Galaxy S3
Click to expand...
Click to collapse
Thanks for your reply. I'll probably try a factory reset. Can't hurt. There's a question I have about TiBu when it restores apps, so i'll ask that in another forum before I begin the process. In the meantime, this thread is still open to ideas.
Ok. This is a bit of a *facepalm* moment. Let it be noted that the main reason my GS3 was having this problem was the app called "Light Flow". I came upon this conclusion by giving the safemode of android a try. The problem immediately disappeared, so I realized it was an app. I thought a bit about what app could be controlling the lights of the phone, and the lightbulb went off. Uninstalled Light Flow and the problem stopped. I guess I kinda miss the custom notification light, which is why I downloaded Light Flow in the first place because I miss some of the notification light customization features on other Cyanogen based roms. Later on I heard from a buddy that Light Flow really screws up some things on the GS3.
jtcressy said:
Ok. This is a bit of a *facepalm* moment. Let it be noted that the main reason my GS3 was having this problem was the app called "Light Flow". I came upon this conclusion by giving the safemode of android a try. The problem immediately disappeared, so I realized it was an app. I thought a bit about what app could be controlling the lights of the phone, and the lightbulb went off. Uninstalled Light Flow and the problem stopped. I guess I kinda miss the custom notification light, which is why I downloaded Light Flow in the first place because I miss some of the notification light customization features on other Cyanogen based roms. Later on I heard from a buddy that Light Flow really screws up some things on the GS3.
Click to expand...
Click to collapse
Yeah, I tried light flow a while back and wound up uninstalling it for weird behavior.
Sent from my SCH-I535 using xda app-developers app

[Q] Control touch key backlight effectively?

Hi all It might not sound wise but I just got myself an second hand Infuse 4G for a nice price, and like every device I've owned, got CM running on it in hours. However, there's something that bugs me for a bit, and that is the touch key backlight.
On other devices I have, CM's Settings-Buttons part controls touch key backlight well, leaving it on for whatever duration or turning it off. But on all ROMs I've tried till now (CM10, CM10.2, CM11), either this option is absent (CM10's Infuse Settings is incomplete), or the option doesn't work properly:
1) When I set the keys to light up, they don't light up automatically when I wake the phone up from sleep, I'll have to press the keys to activate them.
2) When I turn the light off, the light indeed goes off immediately, but when I press any of the keys, they come back to life again and simply stay on, ignoring the settings.
I remembered that on many HTC phones there was a way to manually control button backlight behavior by altering values of a certain file in /sys/class/..., so after some work, I found the file: /sys/devices/virtual/misc/melfas_touchkey/brightness, and indeed, setting it to 0 will make the light go off. The thing that doesn't work out is that it won't persist - pressing any of the keys still make the light come back. I've set the permission to 0444 and even made a init.d script for that, and I can guarantee that the script itself is working properly, but still it can't keep the light under control... And now I'm stuck.
1) Is there a way to make the option in Infuse Settings or Settings-Buttons work as they should?
2) Any separate app that could also do this?
3) Why won't my manual adjustment persist?
Answering any of these questions would be of help, thank you in advance!
AndyYan said:
Hi all It might not sound wise but I just got myself an second hand Infuse 4G for a nice price, and like every device I've owned, got CM running on it in hours. However, there's something that bugs me for a bit, and that is the touch key backlight.
On other devices I have, CM's Settings-Buttons part controls touch key backlight well, leaving it on for whatever duration or turning it off. But on all ROMs I've tried till now (CM10, CM10.2, CM11), either this option is absent (CM10's Infuse Settings is incomplete), or the option doesn't work properly:
1) When I set the keys to light up, they don't light up automatically when I wake the phone up from sleep, I'll have to press the keys to activate them.
2) When I turn the light off, the light indeed goes off immediately, but when I press any of the keys, they come back to life again and simply stay on, ignoring the settings.
I remembered that on many HTC phones there was a way to manually control button backlight behavior by altering values of a certain file in /sys/class/..., so after some work, I found the file: /sys/devices/virtual/misc/melfas_touchkey/brightness, and indeed, setting it to 0 will make the light go off. The thing that doesn't work out is that it won't persist - pressing any of the keys still make the light come back. I've set the permission to 0444 and even made a init.d script for that, and I can guarantee that the script itself is working properly, but still it can't keep the light under control... And now I'm stuck.
1) Is there a way to make the option in Infuse Settings or Settings-Buttons work as they should?
2) Any separate app that could also do this?
3) Why won't my manual adjustment persist?
Answering any of these questions would be of help, thank you in advance!
Click to expand...
Click to collapse
As far as I know, the Infuse hasn't had effective backlight control since Gingerbread. If you wanna go back to that, it should work fine. Otherwise, all of the newer ROMs are using an outdated kernel that doesn't support backlight control. I highly doubt we will see it working again since very few people are still using the Infuse.
niral7 said:
As far as I know, the Infuse hasn't had effective backlight control since Gingerbread. If you wanna go back to that, it should work fine. Otherwise, all of the newer ROMs are using an outdated kernel that doesn't support backlight control. I highly doubt we will see it working again since very few people are still using the Infuse.
Click to expand...
Click to collapse
I can bear returning to GB and I did, but I've tried both stock UCLB3 and CM7, and neither contains any settings about button backlight...
Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
AndyYan said:
I can bear returning to GB and I did, but I've tried both stock UCLB3 and CM7, and neither contains any settings about button backlight...
Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
Click to expand...
Click to collapse
The Infuse supports backlight control in gingerbread. In order to use it, you'll have to download a third party app in the play store. I don't think CM7 will support it either.
niral7 said:
The Infuse supports backlight control in gingerbread. In order to use it, you'll have to download a third party app in the play store. I don't think CM7 will support it either.
Click to expand...
Click to collapse
Not even CM7? No dice then, I guess... Thanks for the tip anyway.
Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]

Categories

Resources