Galaxy S2 proximity sensor and SHOStock flashlight mod - AT&T Samsung Galaxy S II SGH-I777

I have a question about the proximity sensor on the galaxy s2, mine is lit all of the time even when I press the power button to shut the screen off. Is this normal? I am running SHOStock 1.9.2 and Slyah 2.6.12 I have reflashed a couple of times and cleared the cache.
One more thing I think I found a possible bug in the flashlight toggle, if you rotate the screen with the flashlight on the toggle shuts off but the light stays on so you have to press the toggle twice to turn the light off.
Sent from my SAMSUNG-SGH-I777 using XDA App

I'm running SHOStock 1.9.2 and have neither of these problems. I even intentionally tried to get the flashlight toggle to break, but it work regardless of the orientation.

I'm not sure how long the sensor has been lit since it is so dim you can only see it in a dark room but I'm pretty sure it wasn't on the stock rom and maybe the first SHOStock rom I loaded which I believe was 1.9.0. The flashlight toggle issue has been there on all three SHOStock roms I have loaded.
Sent from my SAMSUNG-SGH-I777 using XDA App

I can't speak for the previous SHOStock versions as my first was v1.9.2.
I was coming from UCKH7 Stock (w/ Slyah 2.6.12 kernel). I did a full wipe and flashed v1.92.
I've only been running it for 3 days now, but overall i'm pleased. I did notice the following (not really issues, but a little annoying).
1. I had a random reboot within the first 24 hours of flashing.
2. I don't really care for the Auto Brightness changes (Lowered Auto Brightness a little and added 2 levels that make the changes less abrupt). I use Auto Brightness exclusively and it seems to low and a little choppy when changing.
3. I've gotten stuck in screen capture mode (home + power) twice. I know the screen capture is a feature, but I've got it to stick where I only need to press the power key (not the home + power combo). I'm not sure if this is a feature or a bug, or maybe I'm just a noob.

tikcolg said:
I can't speak for the previous SHOStock versions as my first was v1.9.2.
I was coming from UCKH7 Stock (w/ Slyah 2.6.12 kernel). I did a full wipe and flashed v1.92.
I've only been running it for 3 days now, but overall i'm pleased. I did notice the following (not really issues, but a little annoying).
1. I had a random reboot within the first 24 hours of flashing.
2. I don't really care for the Auto Brightness changes (Lowered Auto Brightness a little and added 2 levels that make the changes less abrupt). I use Auto Brightness exclusively and it seems to low and a little choppy when changing.
3. I've gotten stuck in screen capture mode (home + power) twice. I know the screen capture is a feature, but I've got it to stick where I only need to press the power key (not the home + power combo). I'm not sure if this is a feature or a bug, or maybe I'm just a noob.
Click to expand...
Click to collapse
You are not the only person having an issue with screen cap, tho I do believe it is due to the kernel you're running and not the Rom. A quick search should pull up a bunch of info for you
Sent from my SGH-I777

S2monkey,
Thanks for the tip. I'll do a search and see what I can dig up.
Sent from my SAMSUNG-SGH-I777 using XDA App

My phone stopped rotating so I flashed back to 1.9.1 (only version I had on my phone at the time). The orientation problem was fixed and I also noticed the proximity sesor was no longer lit. I flashed 1.9.2 and the sensor is lit again, reverted the kernel back to 2.6.11 with no change then flashed the 1.9.1 ROM and the sensor is still lit. I have no idea what caused it to go out the first time I reverted back to 1.9.1 or how to proceed. Does it really make any difference whether it is lit or not? I would think it would impact the battery life so any thought or ideas would be appreciated.
Sent from my SAMSUNG-SGH-I777 using XDA App

Related

[Q]

Running latest CM7 with JT latest V4 Kernel. While using the Bedside Mode App the bottom lights are constantly on and really light up the room. The bedside mode has a section to turn them off by using an app called LED's Hack, however that doesn't work.
Anybody have any idea how to turn off the bottom led lights when using the phone as a bedside clock?
I'm running the glitch kernel v.12 end I don't know if those issue with bln are still kernel related but i use the clock app that came with cm7 and they turn off for me..although I would try just turning the screen off and back on again...fixes it for me in the rare occurrence of them staying on
Sent from my SCH-I500 using XDA App
Mine stay on all the time when screen is on. Tried the clock app, same results. Which version of V12 are you running, low,medium,or high? May give that a try if can't find a way to manually turn them off.
I have been running medium for the last few days but I get a freeze once in a while that requires a reboot generally heavy camera use so I just installed high leakage today...so far smooth and stable, but your phone will differ depending on what leakage works for you...generally high will work for a broader range people but generates more heat and is not as efficient when compared to low leakage but it all depends in what your phone can take. Either way the stock clock app doesn't light up the buttons for more than a few seconds and if you hold the little dimmer button in the top right corner of the clock app, it totally blackens the background instead of just dimming it.
Sent from my SCH-I500 using XDA App
Thanks for the info.

[MOD] Blinking Button Notification for ROM 354, 360, and GS2.4b3

BLINKING BUTTON NOTIFICATION for 354, 360, and GS2.4b3 Dell Streak ROMs
UPDATE (2011/10/20) v0.999
Uploaded blinking button notification patch version 0.999, for ROM 354, 360, and GingerStreak 2.4 beta 3. Drop support for ODEX-ed ROMs as it seems impossible to update with ODEX-ed framework on ROM 354.
Download the correct version for your ROM below:
Update.zip v0.999 for DEODEX-ed ROM 354 and 360
Update.zip v0.999a for GingerStreak 2.4 beta 3
UPDATE: Confirmed working as tested by zero410
Changelog (0.999)
- Fixed screen turned on during LED blinking. Screen will never turn on neither lit when blinking the notification!
- The 3 capacitive buttons cannot be used to stop notification anymore. The phone needs to be unlocked with power button to do so.
- Prevent button LED blinking on proximity sensor activation during phone calls.
PS: The most ideal, elegant, and power-friendly solution for enabling backlight buttons for use on notificaiton LEDs are, still, loadable kernel modules. The patch will never reaches version 1.0, unless it is implemented as kernel module, in the future.
UPDATE (2011/10/16) v0.91
Uploaded blinking button notification patch version 0.91, for GingerStreak 2.4 beta 3.
Changelog (0.91)
- Fixed blinking to disable when USB is connected between 8:00 PM to 4:00 AM.
The feature wasn't working before.
ORIGINAL POST v0.9
What is it?
I would like to have a notification LEDs like the ones found on BBs. Unfortunately, Streak didn't came with any (hardware) notification light. I've tried several notification solutions but still not satisfied. Heck, I'm not even satisfied on how Froyo handles notification LEDs! Hence breaking in the Android framework, and the resulting update.zip
This update will patch your Streak so it will now blinks the button(s) backlights whenever an application puts *any* notification icon on the status bar. That's right, the patch won't care whether notification asks for light or not. It'll just blink it! The update also (of course, priority requirements!) notifies and blinks missed calls.
How to use
0) Always do nandroid backups! You can just restore the system image if anything goes wrong.
1) You'll need to know whether your ROM version 360 is deodexed or not. If you don't, then most often it's the odexed stock ones. Grab the correct update patch in the attachments.
2) My Streak is rooted. But there is no requirements for root privileges on the updates. So I think it should work on non-rooted phone. Hopefully.
3) Clear /data/dalvik-cache contents before flashing. Sometimes it needs clearing, but sometimes it don't
4) Boot into StreakMod and flash the proper Update.zip package.
5) Restart. As usual, on deodexed systems, replacing files will cause some longer boot time as the update is odex-ed during the boot process. Be patience.
6) Lock the screen, let the screen timeout, or whatever.
7) Get notified on any notification icons and missed calls
8) Congrats! You can now busy playing with your (better) other phones and keep Streak laying on the desk without even touching it!
Features
+ Blinking keypad backlight notification for any applications that provides notifications with icon when the screen is turned off.
+ Missed call notifications, too.
+ One-press power button to clear blinks. You can use any of the three capacitive button, also. Cool!
+ Blinking is disabled when ringer is in vibrate mode. Useful when Streak is in your pocket and blinking it would be useless.
+ Automatically disables blinking when charger is plugged in, after 8:00 PM and before 4:00 AM. Useful when you wanted to hibernate, together with your phone, you phone!
It should be able to be re-enabled manually through notification icon, but unfortunately the feature isn't working (yet!)
TODOs and glitches
- LCD blinks before the first blink, and keeps awake -- albeit with zero brightness -- while blinking. Cannot solve without custom kernel (or custom drivers?)
- Tapping the notification for "Button blinking disabled" does not clears the notification nor re-enable blinking.
Somehow I can't capture the Intent sent from NotificationManagerService itself. Oh well, probably will be important for people who works midnight and slept in the afternoon!
- Inconsistent behaviour on clearing missed calls notification and other notification types.
If you did not answer call while LCD screen is on, next lock screen will cause missed calls notifications blinking. The notification on the status bar had to be cleared before locking the screen.
- It is not known how much battery drain does leaving the phone blinking all the time costs!
- Can't imagine doing all over again on this on Galaxy Note. Maybe I'll just skip that!
Happy blinking!
Just wondering how to do this for gingerbread or any other version
as i have GingerBread by djsteve. i would love to have that on GB
can u please sir let know how to do that or can do for GB by djsteve on Modaco
jitin02 said:
Just wondering how to do this for gingerbread or any other version
as i have GingerBread by djsteve. i would love to have that on GB
can u please sir let know how to do that or can do for GB by djsteve on Modaco
Click to expand...
Click to collapse
Hi,
Will be trying Fards' and DJ_Steve's latest GingerStreak 2.4 later tonight. There seems to be very positive response on the system stability on the release.
I wouldn't mind having my own Gingerbread build for that kernel including the feature. If so, I would plan to extend with additonal Settings for Gingerbread that gives you more control on the blinks
I am also thinking of another possibility to run Gingerbread on Streak, but will check their latest release to see whether it's stable enough for production uses.
Will check them after trying GingerStreak 2.4
Cheers
UPDATE: Flashed GingerStreak 2.4 and it is indeed very promising. There might be something on the pipeline though, as stated on the wallpaper
Or u can just download streakled from the market or blackmart
Sent from my Dell Streak using xda premium
greekunit690 said:
Or u can just download streakled from the market or blackmart
Sent from my Dell Streak using xda premium
Click to expand...
Click to collapse
Well there are some reasons why I'm not keen to use the StreakLED:
1) I don't like to have a service hanging around wasting my RAM for something that should've (and is, actually) been built into the system.
2) The modification for Blinking Button notification works of framework level and hijacks all notifications. Any app that attempts to show notification on the status bar will be blinked
But I've just re-read StreakLED's entire thread and thinking. Probably it would be good to have a LED that stays lit instead of blinking to get better power saving, after blinking for sometimes, say 1 hours.
The unresolved problem seems to be the way to just "wakeup" the backlight buttons instead of the entire LCD screen. If anyone knows how to wakeup just the backlight buttons, then power problems should be solved. Haven't got luck with writing "power:blablabla:wakeup" on /sys/leds/button-backlight/power/wakeup.
Looking forward to see the beta on GB
Sent from my Dell Streak using XDA App
greekunit690 said:
Or u can just download streakled from the market or blackmart
Sent from my Dell Streak using xda premium
Click to expand...
Click to collapse
Instead of getting through Blackmart illegally, why not just download it for free from the forums?
Sent from my Dell Streak using xda premium
def going to try this right now! do you know of any way to make the led lights STAY on all the time?(while screen is on). if you can help me with this i will donate to you
grasshoxda said:
def going to try this right now! do you know of any way to make the led lights STAY on all the time?(while screen is on). if you can help me with this i will donate to you
Click to expand...
Click to collapse
Yes I know (I did accidentally during testing it. It seems like a harmless bug in the backlight driver), but it's for keeping the button backlight lit during screen off.
But why would you want led on all the time with screen on? We are going to let backlight stay lit after an hour to preserve lcd power?
Sent from my Dell Streak using Tapatalk
ive always though its wrong to have touch buttons like that that dont stay lit up. if its dark at all its a little hard to press them first try. it looks so much cooler with them lit. ive been trying to find a way to do this forever with no luck, even got djsteve to message me back but hes said no. please help, ill send you some money or something. been dying to have the damn lights stay on! im on simple streak 1.3 beta. thinking about trying the 2.4 rom
Uploaded version 0.91 for GingerStreak 2.4 beta 3. Checkout the first post
grasshoxda said:
ive always though its wrong to have touch buttons like that that dont stay lit up. if its dark at all its a little hard to press them first try. it looks so much cooler with them lit. ive been trying to find a way to do this forever with no luck, even got djsteve to message me back but hes said no. please help, ill send you some money or something. been dying to have the damn lights stay on! im on simple streak 1.3 beta. thinking about trying the 2.4 rom
Click to expand...
Click to collapse
I agreed with you. It's not very distracting though, but it's a good idea, though it had to come with settings in which you can enable/disable. Will post back once I findout how to modify the behaviour.
Great job! Works great on StreakDroid GingerStreak 2.4 Beta t-mobile aws
Very useful, thank you very much...
On 2.4 gingerbread my screen stays on all the time. Are there any options available for this?
Thank you.
dacho said:
On 2.4 gingerbread my screen stays on all the time. Are there any options available for this?
Thank you.
Click to expand...
Click to collapse
I agree. It would be great if there was an option to disable the screen from turning on. The L.E.D. Notification is great but if you had an option to keep the screen off this mod would be perfect.
partie said:
I agree. It would be great if there was an option to disable the screen from turning on. The L.E.D. Notification is great but if you had an option to keep the screen off this mod would be perfect.
Click to expand...
Click to collapse
Obviously what's preventing the mod to become 1.0
Sent from my Dell Streak using Tapatalk
if it could light the buttons up for a notification and not the screen, and have a side option to keep the buttons lit all the time while the screen is unlocked that would be awesome
It has potential but as of now I went back to streak led. On my device it seems that screen stays on for ever. Also when you make a call the screen would turn on and stay on regardless of proximity sensor because there is a notification in the notification bar while talking. Just letting you know. Thanks for your involvement in development.
dacho said:
It has potential but as of now I went back to streak led. On my device it seems that screen stays on for ever. Also when you make a call the screen would turn on and stay on regardless of proximity sensor because there is a notification in the notification bar while talking. Just letting you know. Thanks for your involvement in development.
Click to expand...
Click to collapse
Ah right, the trigger doesn't detects whether the phone state is in call or not. Fixed on next release.
partie said:
I agree. It would be great if there was an option to disable the screen from turning on. The L.E.D. Notification is great but if you had an option to keep the screen off this mod would be perfect.
Click to expand...
Click to collapse
Fixed on v0.999, please check first post
dacho said:
It has potential but as of now I went back to streak led. On my device it seems that screen stays on for ever. Also when you make a call the screen would turn on and stay on regardless of proximity sensor because there is a notification in the notification bar while talking. Just letting you know. Thanks for your involvement in development.
Click to expand...
Click to collapse
Fixed on v0.999 as well

[Q] Capacitive buttons don't light up

I flashed fluxi kernel on CM9, then installed a newer CM9 build which replaced the kernel, and now the capacitive buttons don't light up when I touch them or the screen.
Any solution?
Under Settings>Advanced>Sensors "Enable keys backlight" is enabled?
Bye
itaijac said:
I flashed fluxi kernel on CM9, then installed a newer CM9 build which replaced the kernel, and now the capacitive buttons don't light up when I touch them or the screen.
Any solution?
Click to expand...
Click to collapse
Hold menu button for a few seconds and then let go.
Thanks. It is enabled and holding the menu button does nothing.
Sent from my GT-I9100 using XDA
Did you leave the phone on charger overnight? I did.
Now, most of the times, my capactiive keys do not respond. Sometimes they do.
When they are not working, they do not light up either no matter how many times they are touched. However, if i touch the screen area at that time, they light up according to duration (like 1.5 seconds). But still, touching them does not make them work.
I have tried the screen code *#2660# to update the fw of capacitive soft keys. Made no difference.
I've always been charging it overnight, the lights stopped working after flashing CM9 over CM9+fluxi kernel.
Also, the buttons work, the light behind them doesn't.
Well imo, you should flash stock kernel and start over i.e. root, then flash CM7 latest nightly. Stay with it for a few days.
I suppose full wipe should fix it, I was hoping for something else, like messing with the liblights file
Try siyah kernel. Using ext tweaks you can set a timeout for the capacitive button. It lights up when you touch the screen or the button not like the other kernels where you need to touch the button so that it would light up.
Edit: In case you try siyah kernel, make sure you download the one for sgs2 not sgs3.
Sent from my GT-I9100 using xda premium
Thanks but I might as well flash fluxi kernel. The problem started because I wanted to return to CM9 kernel (hence flashing CM9 over CM9+fluxi). I'm looking for a solution that will allow me to stay 100% CM9, without full wiping my phone.
itaijac said:
Thanks but I might as well flash fluxi kernel. The problem started because I wanted to return to CM9 kernel (hence flashing CM9 over CM9+fluxi). I'm looking for a solution that will allow me to stay 100% CM9, without full wiping my phone.
Click to expand...
Click to collapse
I think with cm9 kernel (for now maybe) you don't have the option to have a time out for the capacitive buttons or similar to what i have explained earlier (the one where when you touch the screen the capacitive button lights up blah blah). Either it is permanently on or it is permanently off (using the 2nd poster's advice).
Sent from my GT-I9100 using xda premium
"Enable keys backlight" is ticked. When I untick and then tick it again, the lights work only as long as I don't turn off the screen. If the screen is turned off and on again, no lights as usual, though the box remains ticked.
itaijac said:
"Enable keys backlight" is ticked. When I untick and then tick it again, the lights work only as long as I don't turn off the screen. If the screen is turned off and on again, no lights as usual, though the box remains ticked.
Click to expand...
Click to collapse
It's been a long time since i tried stock cm9 kernel. During that time the button lights are always on. I think i tried it one time and you're right. Well, siyah is working for great for me.
Sent from my GT-I9100 using xda premium
Update: problem solved by flashing build cm-9-20120709-EXPERIMENTAL-galaxys2-VOLUMEDROPFIX-LUXRANGE.zip

Capacitive buttons light always on

Hey guys
I just recently noticed that my Amaze capacitive buttons light has been staying on all the time. Even when I press the power button once and the screen turns off. Sometimes while the screen is off, the lights in the button seem to flicker. When I power off the phone completely, it turns off but the button lights stay on. Only when I take out the battery do the lights turn off. I tried using the screen filter app that can turn off the backlight for these buttons but it didn't help. This started happening after I flashed the CM10 nightly. When I switched to Speed Rom 8.0, the problem still continued. I installed Android Revolution Rom recently and the problem hasn't gone away. Any one know how I can solve this problem?
On speed rom 8.0 u have a tweak to turn them off completely or download kernel tuner and turn the capacitive light to 0%
I think there is also a modification you can make to turn them off in the build.prop I think. One of those scripts I can't remember which.
Sent from my Amaze 4G using xda app-developers app
lamortcroix said:
I think there is also a modification you can make to turn them off in the build.prop I think. One of those scripts I can't remember which.
Sent from my Amaze 4G using xda app-developers app
Click to expand...
Click to collapse
Already tried the mod and didn't work. Lights remain on. Even did the tweak that Speed Rom has and that didn't do anything either.
OK on speed rom 8.0 here is what you have to do click on energy tweaks, misc, capacitive light, always off, then click on reboot on top right corner check out the pics I made for u...
Sent from my HTC Ruby
ted619 said:
OK on speed rom 8.0 here is what you have to do click on energy tweaks, misc, capacitive light, always off, then click on reboot on top right corner check out the pics I made for u...
Sent from my HTC Ruby
Click to expand...
Click to collapse
appreciate you going through all that work to get the screenshots, but I did exactly that in speed rom and it didn't do anything to the lights. I am running Android Revolution Rom now though.
if you still have the issue try this https://play.google.com/store/apps/details?id=com.deskangel.kblight&hl=es
i use it for remove screen bleeding from capacitive buttons specially in the night or dark places e_e

[Q] Help Brightness Flicker & No Control

Hey,
Updated from 4.2 to 4.3 hoping it was a glitch with 4.2 but my screen brightness flickers up and down what appears to be about 5 levels consistently (very fast, resembles a flickering) whenever the display is on. The brightness control also doesn't work, it has no effect on the brightness levels, you can slide it from one side to the other with no actual change.
This has an ill affect of draining the battery about 1% a minute when the display is on.
Anyone have a similar problem or know how to fix this?
I have the auto brightness unchecked and when enabled there is no change either.
xclaw said:
Hey,
Updated from 4.2 to 4.3 hoping it was a glitch with 4.2 but my screen brightness flickers up and down what appears to be about 5 levels consistently (very fast, resembles a flickering) whenever the display is on. The brightness control also doesn't work, it has no effect on the brightness levels, you can slide it from one side to the other with no actual change.
This has an ill affect of draining the battery about 1% a minute when the display is on.
Anyone have a similar problem or know how to fix this?
I have the auto brightness unchecked and when enabled there is no change either.
Click to expand...
Click to collapse
When you flashed to 4.3 did you do a wipe? Have you tried a reset at any time? If you just updated without wipe it would have retained any previous settings or conflicts that may cause this.
Sent from my C6833 using XDA Premium 4 mobile app
I'll do a quick backup and then try a wipe to see if that clears it up. Thanks for the suggestion.
maybe you has to sent to service central but before just update again ,hope will fine
Did all the wipes and no go, called up Bell and have her going in for a RMA check. Can't wait to see what they say.
xclaw said:
Did all the wipes and no go, called up Bell and have her going in for a RMA check. Can't wait to see what they say.
Click to expand...
Click to collapse
Are you sure you flashed the device correctly and followed the procedures in LordManhattan's guide or [NUT]/blueether's posts?

Categories

Resources