Hi guys. Now, when we have root for 2.1, is there any chances for disable light sensor?
hugerth said:
Hi guys. Now, when we have root for 2.1, is there any chances for disable light sensor?
Click to expand...
Click to collapse
Good point. That or ..
Original Eclair dialer would make this phone much better..
Would be great to disable this damn light sensor. I don't understand why can't we disable it to the hell out??
The light sensor seams to be OAM apk, so maybe removing them would disable light sensor... I didn't try yet, so if someone try, let us know if it works.
Where is it?
I did a misstake : it's not OAM but OMA.
And i think to remember that there were 2 OMA apk in system/app folder
i have install "quick settings" and there is an option to turn on/off light sensor
I installed it but I don't manage to find the option
Maze_fr said:
I installed it but I don't manage to find the option
Click to expand...
Click to collapse
click to open the application
click menu button - settings
click on brightness (icon key)
sorry, i have my phone other language and i don´t know the exact words in english
Sure but auto brightness still works no matter how u turn it off. Its a bit annoying.
::SEx8+root+xRecovery+JiT+app2SD::
Yes ! great ! it worked ! thanks.
Doesn't work for me...
Sent from my E15i using Tapatalk
Disable Light Sensor
I made it. now here the instruction:
1- download attach
2 - unpack it
3 - copy to the phone /etc/
4 - chmod 777
5 - reboot the phone
Thats all, you don't see work of this sensor.
Ok, it works at 100%. But... Ekhm... brightness is just crazy now xd I think I prefered old settings ;p. I'll try it tommorow.
Thanks.
Sent from my E15i using Tapatalk
dviktor said:
I made it. now here the instruction:
1- download attach
2 - unpack it
3 - copy to the phone /etc/
4 - chmod 777
5 - reboot the phone
Thats all, you don't see work of this sensor.
Click to expand...
Click to collapse
This doesn't work for me... I have 2.1-update1, latest pre-rooted Chinese firmware...
When I try to run it from adb it says something about /sys/... directory - "directory nonexistent", that it couldn't be created...
It's working now, I did it from xRecovery
Thanks, it's great... and just like hugerth says, brightness is CRAZY!!!
new version of Light Sensor Disable
i made a new version. it's got a normal bright and decrease a power consumption (i hope)
Can you write a small description on those changes, what does what ?
i write it in my post
Hi, all.
Could someone enlighten me a bit, what exactly do the light sensor do, and what would be the advantage (and disadvantage) of turning it off?
Cheers.
The light sensor is what detects ambient light around the phone and automatically adjusts screen brightness to torch your eyes out.
Related
why every build claims to have light sensor works while it doesn't. I tried every build that says light sensor works. Well, that works only If I open an app call "Android Sensor Data", then I can see the light lux changes as well as the screen brightness, once close the app, the system just wont update the light sensor......
can anyone confirmed that it's actually working? like put the phone under a lamp and the screen will have full brightness?
No, it doesn't work properly... WiFi, data, G-sensor, battery, camera aren't good also. Bad luck...
Sent from my HTC Desire using XDA App
why every chef says it's working then? Really confused, I tried at least 4 builds tonight, frustrating.....
it does work, but not properly. U need to enable "Automatically Blacklight Adjustment" under WinMo before boot into Android. Light Sensor works on fresh reboot, but after using android for awhile, and light sensor not working anymore. To get Light Sensor works again, u need to fresh reboot android again
thanks, will try. I am using chucky droidrom and can't find auto brightness option.
Lets just be thankful that we got android running on our phone...if you must have auto light, use winmo...
waichai said:
it does work, but not properly. U need to enable "Automatically Blacklight Adjustment" under WinMo before boot into Android. Light Sensor works on fresh reboot, but after using android for awhile, and light sensor not working anymore. To get Light Sensor works again, u need to fresh reboot android again
Click to expand...
Click to collapse
Thank u so much. I finally managed to find the registry key that controls auto brightness in chuckydroidrom, and now auto brightness in android works (for now)
BTW, I am thankful to the developers, however, thought they should clear things out instead of just saying "it works" and omit the part "how".
I googled all night, read carefully every 1st post in every build, couldnot find anything related, that's why I asked
Thanks again to every contributor
macoy said:
Thank u so much. I finally managed to find the registry key that controls auto brightness in chuckydroidrom, and now auto brightness in android works (for now)
BTW, I am thankful to the developers, however, thought they should clear things out instead of just saying "it works" and omit the part "how".
I googled all night, read carefully every 1st post in every build, couldnot find anything related, that's why I asked
Thanks again to every contributor
Click to expand...
Click to collapse
Hi macoy,
Do you mind to post here how to set it in the registry?
Coz I also using chuckydroidrom.
funky81 said:
Hi macoy,
Do you mind to post here how to set it in the registry?
Coz I also using chuckydroidrom.
Click to expand...
Click to collapse
I open phm registry editor in winmo(included in "tools"), search "backlight" in the current user section, u will find "backlight" under "control panel", there are several keys in it. change "lightDetectOn" to 1 and the screen brightness will change immediately according to ambient light.
launch android
PS. after some time, auto backlight stops working..... and I think the sensors still works coz when I open android sensor data, it reads normally, the system just ignore it after a while.
Thanks for the enlightment. How about in the Android,do you change any settings?
didn't change anything, just enable auto brightness.
I use wolf rom v3.8 and auto brightness function don't work. I checked other roms and it was the same. How can I turn it on?
u cant turn it on i think u need to try with power widget ..that has the auto brightness option ..works for me though, should for u too !!
Thank me if it worked !!
I used a lot of different power widgets and they show auto brightness icon, but nothing changes. Android Assistant widget has list of sensors available in phone and under Light Sensor I have: not support? wtf?
with power widget
bsilvino said:
with power widget
Click to expand...
Click to collapse
As I said I used it and it didn't work.
Lesmian said:
As I said I used it and it didn't work.
Click to expand...
Click to collapse
Lesmian, why don't you try ewjet rom? So far is the best rom out there.. smoother and faster and works flawlessly, including auto brightness feature.
Is auto brightness not working at all or you just cant find the option for it? Mine works fine but no option to enable or disable.
Im on zmod cm7
Sent from my X10 using XDA App
autobrightness always was VERY subtle on my x10i, it even works "better" on my ZTE Blade, so you may just not see it, the only time i really noticed it was when i was reading on the train and drove through a tunnel.
peter.neilmann said:
Lesmian, why don't you try ewjet rom? So far is the best rom out there.. smoother and faster and works flawlessly, including auto brightness feature.
Click to expand...
Click to collapse
I tryed it. Good rom, but auto brightness didn't work for me ;o
kindred7 said:
Is auto brightness not working at all or you just cant find the option for it? Mine works fine but no option to enable or disable.
Im on zmod cm7
Sent from my X10 using XDA App
Click to expand...
Click to collapse
I found option to enable/disable it, but in my opinion it doesn't work.
SeZ87 said:
autobrightness always was VERY subtle on my x10i, it even works "better" on my ZTE Blade, so you may just not see it, the only time i really noticed it was when i was reading on the train and drove through a tunnel.
Click to expand...
Click to collapse
Hmm. Maybe its true that just not see it. But I did a couple of tests. I lower my brightness and then I put phone under lamp. Nothing changes. Then I increased brightness and cover sensor with my finger, still nothing changes. ;/
Did you read the FAQ section? LOL
Prodigy said:
Did you read the FAQ section? LOL
Click to expand...
Click to collapse
If you mean wolf rom FAQ section I read it. And it says that auto brightness works with power control widget. I used it and it doesn't work with my phone. Btw I don't know why you LOL? I did something wrong?
Auto Brightness
I may be able to add some insight into our auto brightness problem. I know it was disabled in 2.1 apparently. First question does anyone know if it was enabled in 2.3.3?
I am currently running a generic X10i with Virgin WB 4.0.4 ROM and DooM Kernel v04b. I use Juice Ultimate Beta v3.6.6. There is a brightness control in JD and I have noticed that on my phone it says brightness sensor unavailable.
The other thought I have is that maybe it is available in x10a's and not x10i's. This may explain the wide variations in people who have it working and people who don't. I have also tried the second step (e.g. larger cirle icon) of the brightness widget in WB's rom which is mentioned in the ROM thread that didn't enable auto brightness. My phone came with 2.1 installed and I have never had auto brightness. This may also be another reason.
I might try and flash 1.6 if I can find it and see what happens. Can anyone think of a reason why I shouldn't try this. I assume I would need to flash a 1.6 basband first.
Any more thoughts would be appreciated.
Anyone come accross how to do this yet?
Brightness is set to maximum but dims when in low light.
Thanks.
As of the moment no way to set the auto brightness to off. Maybe some software update oughta to do it, or some genius gets pissed off and develop one.
I also noticed that when you force off the capacitive button lights (useful when dark) via software, the keyboard light will not turn on also (not useful when dark).
The x10 mini has locked auto-brightness too and it can be disabled this way:
http://forum.xda-developers.com/showthread.php?t=1036544&highlight=brightness
Maybe it works on the mini/active as well?
Hyper_Sonic said:
Edit /etc/hw_config.sh using RootExplorer
1. change the line: i2c_pwm_als with i2c_pwm
2. set permissions to rwxr--r-- (744) if they are changed! VERY IMPORTANT!
3. reboot and enjoy the missing sensor
Click to expand...
Click to collapse
Nice find schmolch. Will try and update this thread.
jtdc said:
I also noticed that when you force off the capacitive button lights (useful when dark) via software, the keyboard light will not turn on also (not useful when dark).
Click to expand...
Click to collapse
how and where do you do this? is this a setting somewhere? (cant find it)
or do you use 3rd party software? (if so, whats it called?)
^ Its an app on the market called "Screen Filter". I use that to further dim the screen (at nights), thereby save battery as well. And its free, as in really free, no ads at all unlike many "free" but has ad pushing. You can turn off the capacitive button lights when you prefer to setup a widget for it.
jtdc said:
Nice find schmolch. Will try and update this thread.
Click to expand...
Click to collapse
Looks like the format has changed in this file.
But this one looks interesting:
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
I guess it can be tested "live" by doing:
echo 0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
I'm on a non-rooted build so I can't test myself :-(
jtdc said:
^ Its an app on the market called "Screen Filter". I use that to further dim the screen (at nights), thereby save battery as well. And its free, as in really free, no ads at all unlike many "free" but has ad pushing. You can turn off the capacitive button lights when you prefer to setup a widget for it.
Click to expand...
Click to collapse
thanks a bunch!
edit: exactly what i was looking for actually!
jtdc said:
^ Its an app on the market called "Screen Filter". I use that to further dim the screen (at nights), thereby save battery as well. And its free, as in really free, no ads at all unlike many "free" but has ad pushing. You can turn off the capacitive button lights when you prefer to setup a widget for it.
Click to expand...
Click to collapse
I found another app, which may actually be better, as it turns off the backlight of the capacitive buttons, but leaves the keyboard backlight active when opened!
it's called "Keyboard backlight controller".
funny enough, this is supposed to disable keyboard backlight, but on the Xperia Mini Pro it disables only the backlights of the soft-keys!
edit: forgot to mention, this app needs root, so may not be for everyone.
Whoa nice find, I'll try that when I can
Sent from my GT-P1000 using Tapatalk
Anyone also notice the screen flickers when dimmed?
Karlos G said:
Anyone also notice the screen flickers when dimmed?
Click to expand...
Click to collapse
yes, this is caused by the auto brightness, which can't be turned off in the user interface.
I've played around with hw_config.sh file, trying to get it disabled, but to no avail.
Anyone else more luck?
I've found an application that works, it's called "Disable Auto Brightness".
It was made for another Xperia type phone, but also works on the mini pro (and I assume mini as well).
It works, but its somewhat unhandy: it'll disable the auto brightness sensor, but only after unlocking. so while using the stock lock screen, it works almost perfectly, but when using something like widgetlocker, it'll only work if you leave the system keyguard enabled (under advanced settings) which I don't really like too much.
so for anyone having these flicker issues, this is a fairly good solution.
but I'd like to have the sensor completely turned off.
soooo, anyone any luck with that?
Heimiko said:
yes, this is caused by the auto brightness, which can't be turned off in the user interface.
I've played around with hw_config.sh file, trying to get it disabled, but to no avail.
Anyone else more luck?
I've found an application that works, it's called "Disable Auto Brightness".
It was made for another Xperia type phone, but also works on the mini pro (and I assume mini as well).
It works, but its somewhat unhandy: it'll disable the auto brightness sensor, but only after unlocking. so while using the stock lock screen, it works almost perfectly, but when using something like widgetlocker, it'll only work if you leave the system keyguard enabled (under advanced settings) which I don't really like too much.
so for anyone having these flicker issues, this is a fairly good solution.
but I'd like to have the sensor completely turned off.
soooo, anyone any luck with that?
Click to expand...
Click to collapse
I guess that means the echo 0 to lcd-backlight/als/enable thing I posted a few days ago didn't work?
Smiley76 said:
I guess that means the echo 0 to lcd-backlight/als/enable thing I posted a few days ago didn't work?
Click to expand...
Click to collapse
correct. including another few different settings I tried.
they do have effect on the brightness of the LEDs though, but sadly no turning off the auto brightness of the screen.
Smiley76 said:
Looks like the format has changed in this file.
But this one looks interesting:
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
I guess it can be tested "live" by doing:
echo 0 > /sys/devices/i2c-0/0-0040/leds/lcd-backlight/als/enable
I'm on a non-rooted build so I can't test myself :-(
Click to expand...
Click to collapse
This works on my SK17i (Xperia mini pro). See here for more info.
Hey thnx!! It proved to be help full for me!!
FXP045 released, http://forum.xda-developers.com/showpost.php?p=16822404&postcount=4
Current Issues (FXP045) and unofficial fixes
Hardware keyboard layout scrambled - Old keyboard file is no longer in this ROM but appearently just pasting the old stock file (attached) to /system/usr/keychars/ fixes the layout. The included keyboard changer app force closes.
LEDs under soft keys Return and Menu - Replace /system/etc/hw_config.sh with the attached file.
Screen flicker upon turning on - New issue in fxp045.
can this work on Ray?
the flash does not work either
and the keyboard light does not work when use (when charging, it works)
and the max brightness is not very bright
xutienan9520 said:
can this work on Ray?
the flash does not work either
and the keyboard light does not work when use (when charging, it works)
and the max brightness is not very bright
Click to expand...
Click to collapse
I believe these fixes will work on Ray but you should find the stock values from Ray ROM because there probably are some differences.
Basically, only one issue you're having can potentially be fixed using SK17i fixes and that is max brightness by applying the fix for screen flicker. If you can't get a hold of Ray's stock values, try SK17's stock ones, but do a backup in recovery just in case.
thanks~
i changed the light.semc.so in system\lib\hw from stock 2.3.3, now i have the max brightness, but the keyboard light is on for ever! i can't close it!!!!the colour is always pink!
i think i can edit the file, i am in Mac, so is there a way to edit it without linux?
xutienan9520 said:
thanks~
i changed the light.semc.so in system\lib\hw from stock 2.3.3, now i have the max brightness, but the keyboard light is on for ever! i can't close it!!!!the colour is always pink!
i think i can edit the file, i am in Mac, so is there a way to edit it without linux?
Click to expand...
Click to collapse
i'm editting these files on the phone. copy the file to sdcard to edit it, with any kind of text editor. i use edit function of Total Commander. then i copy over the original file in system with Root Explorer. backup original file to sdcard just in case.
dont know about Mac much, sorry.
root explorer is a paid app but i think ES file explorer has the required functionality
LEDs under soft keys Return and Menu on maximum brightness - distractingly bright, in almost all environments. SOLUTION posted here: http://forum.xda-developers.com/show...&postcount=178
can't open it,need help
xutienan9520 said:
LEDs under soft keys Return and Menu on maximum brightness - distractingly bright, in almost all environments. SOLUTION posted here: http://forum.xda-developers.com/show...&postcount=178
can't open it,need help
Click to expand...
Click to collapse
oh, i messed up the links. will be fixed in a moment =)
Per someones suggestion I've added modified files and instructions on how to replace the original CM ones.
yepsky!!
I found the background ligths for the keyboard
Code:
echo 100 > /sys/devices/i2c-0/0-0040/leds/keyboard-backlight/brightness
I tested 100 and found it adequate.
We just can add it to the config file in /system/etc/hw_config.sh
I do not know if it stays lit when slided back, but it works as a first atempt
PoedelPCS said:
yepsky!!
I found the background ligths for the keyboard
Code:
echo 100 > /sys/devices/i2c-
0/0-0040/leds/keyboard-backlight/brightness
I tested 100 and found it adequate.
We just can add it to the config file in /system/etc/hw_config.sh
I do not know if it stays lit when slided back, but it works as a first atempt
Click to expand...
Click to collapse
Thank you good Sir! Testing it later!
PoedelPCS said:
yepsky!!
I found the background ligths for the keyboard
Code:
echo 100 > /sys/devices/i2c-
0/0-0040/leds/keyboard-backlight/brightness
I tested 100 and found it adequate.
We just can add it to the config file in /system/etc/hw_config.sh
I do not know if it stays lit when slided back, but it works as a first atempt
Click to expand...
Click to collapse
Amazing job! I'm gonna test it out now in a super dark place to see if i can check whether it stays on when closed. =)
I'll be updating original post with results and updated files in a bit.
Edit: Unfortunately keyboard lighting stays on and not only when keyboard is closed but even when phone is locked. Which means, its lit at all times. Won't be updating the files yet, because I don't know how much of a battery drain it is, but i'll put in information about it, so people can decide for themselves.
Nice to see process.
Now i need to find the button light for RAY
sulkie said:
Unfortunately keyboard lighting stays on and not only when keyboard is closed but even when phone is locked. Which means, its lit at all times. Won't be updating the files yet, because I don't know how much of a battery drain it is, but i'll put in information about it, so people can decide for themselves.
Click to expand...
Click to collapse
I thought that
Okay, there is a binary called slidercounter that or something similar sets a system var. If you take your dev Tools app and look unter Configuration there it is mentioned:
hardKeyboardHidden=2 <- if closed
hardKeyboardHidden=1 <- if opened
We now just have to find out where it occurs and if not we make a background script that ech0 x (100) or 0 into the node depending on the state.
But there must be a system process watching this we could use.
Don't hide, I'll find you anyway
---------- Post added at 06:16 AM ---------- Previous post was at 06:14 AM ----------
xutienan9520 said:
Nice to see process.
Now i need to find the button light for RAY
Click to expand...
Click to collapse
did you look, if in ray the nodes under /sys are similar to the pro mini?
you can test using adb shell or terminal app cat'ing the node to see what's in it and echo'ing a number to see what happens.
You meant progress, didn't you
as I am using Scriptmanager anyway I made 2 oneliners besides the shebang that echo either 0 or 100 into the node called
liteon.sh
and
liteoff.sh
put the scripts into root of sdcard, start scriptmanager, choose liteon.sh and check run as root and save
Do this either way with liteoff.sh
Go to your Mangos Homescreen, add a widget, choose Script Manager and choose liteon.sh and in the next step liteoff.sh
You´ll have to Widgets, one puts light on, on off.
This is of course a workaround an will be implemented into lights module. Fxp knows about the fact already.
PoedelPCS said:
as I am using Scriptmanager anyway I made 2 oneliners besides the shebang that echo either 0 or 100 into the node called
liteon.sh
and
liteoff.sh
put the scripts into root of sdcard, start scriptmanager, choose liteon.sh and check run as root and save
Do this either way with liteoff.sh
Go to your Mangos Homescreen, add a widget, choose Script Manager and choose liteon.sh and in the next step liteoff.sh
You´ll have to Widgets, one puts light on, on off.
This is of course a workaround an will be implemented into lights module. Fxp knows about the fact already.
Click to expand...
Click to collapse
not the most elegant solution but it'll do until the fix is in =)
good job though
If I had more time I would have searched where the system keeps the var keyboardHiddenState or how it was called and build a condition of if it's open and not bright enough to switch in on/off
But how I understood fxp the fact about the light seems to be enough to get this working ..I hope so
new issue:
km launcher disturbes camera module.
I use the KM Launcher to determine which keyboard to use in which state.
Portrait: swype
Landscape: thumb keyboard
Keyboard open: hardware keyboard
This is a very cool application that worked perfectly on my rooted stock. If it is active the cam works in the cam app, but not in many other apps that use the cam, e.g. barcoo barcode scanner. I have to disable KM Launcher before using these apps. Hope it'll be fixed automatically in the next release.
I just cannot guess why that happens.
Hey guys I still have the problem with the over sensitive lcd backlight, whenever I'm in a brightly lit room the backlight starts going crazy and sometimes goes so dark I can't see the screen, it then goes super bright.
It repeats this several times a day
I've tries the fix in this thread but it doesn't work
Could someone attach the fix to this thread? As I've tried the the fix using terminal emulator
Thanks
EDIT: it started doing this while I was writing this
Sulkie did append the script to the first post of the thread. Did you test it?
send from a fruit called mango using xda app.
I did it before but it didn't work, I found the reason it didn't work was because I didnr change the permissions.
Sorry I got confused
---------- Post added at 12:51 PM ---------- Previous post was at 12:43 PM ----------
Its still going crazy, I followed the instructions properly though,
When I get home ill upload a video of it happening
Check this video ... hope developers will fix this ASAP ...
Note : You need an extra camera to see the Proximity light. Remember, you can't see this with open eyes ! Just like Infrared sensor.
greatricky said:
Check this video ... hope developers will fix this ASAP ...
Note : You need an extra camera to see the Proximity light. Remember, you can't see this with open eyes ! Just like Infrared sensor.
Click to expand...
Click to collapse
sorry but you can't see anything, I cannot read any of those blurred text lines.
the best solution for this is either to stop using it temporarily or switch to aosp4.3/cm10.2. all those sensors that samsung added only drain more battery.
broodplank1337 said:
sorry but you can't see anything, I cannot read any of those blurred text lines.
the best solution for this is either to stop using it temporarily or switch to aosp4.3/cm10.2. all those sensors that samsung added only drain more battery.
Click to expand...
Click to collapse
nevermind, just keep your eyes on the proximity sensor . It doesn't disappear after an incoming phone call !
anyway , how to stop that sensor permanently ?? it turned it off from > settings > call > turn off proximity sensor ! but still the light is visible ... it disappears after phone reboot !
ive noticed this as well
That's probably an air gestures thing.
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
That's probably an air gestures thing.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Hmmm mine is always shutdown i guess....that purple color is new to me (from the vid)
If you display turns off when coming close to the sensor with your hand during a call, the sensor is active, you just can't see.
Some cameras can see the light, some don't. You can check with an it remote control from your TV!
David
have noticed how this is on. i was gonna go through each individual service running by the system and shut it down and see if it turns off. Its gotta be an APK or jar file doing it. Unless the kernel itself is for some weird reason.
elesbb said:
have noticed how this is on. i was gonna go through each individual service running by the system and shut it down and see if it turns off. Its gotta be an APK or jar file doing it. Unless the kernel itself is for some weird reason.
Click to expand...
Click to collapse
I already turned off all sensors and installed several firmwares (omega ,arrow, wanam) and kernels ... but still ... it's so annoying
The proximity sensor requires 0,350mAh power. That's < 1% usage since we have 2600mAh battery I *think*....
greatricky said:
I already turned off all sensors and installed several firmwares (omega ,arrow, wanam) and kernels ... but still ... it's so annoying
Click to expand...
Click to collapse
Do you know if its still there on CM or Google Edition ROMs?
how to turn it off????
nik511 said:
The proximity sensor requires 0,350mAh power. That's < 1% usage since we have 2600mAh battery I *think*....
Click to expand...
Click to collapse
So I guess you mean it takes 0.35mA.
So if you have a runtime of 15 hours, it takes 5.25mAh... really not that much.
David.
davidbaumann said:
So I guess you mean it takes 0.35mA.
So if you have a runtime of 15 hours, it takes 5.25mAh... really not that much.
David.
Click to expand...
Click to collapse
Yeah
omg on all world doesnt exist app which works on rooted phone and can kill proximity and gesture sensor???
The app Elixir say 0,75mah for my Samsung S4, but also 0,75mah for an original battery of 2600mah is few energy, 2600/0,75= 3467 hours.