Optimized backlight - Xperia Z1 Q&A, Help & Troubleshooting

Does anybody knows how to switch of the optimized backlight feature which sony removed in the 4.3 update? They just actually kept it always on and removed the option from the display menu. Can anybody here make that option available again? As its very irritating the screen seems to dim and again get bright dependent on the content on the screen.
Sent from my C6902 using Tapatalk

I'm bothered by this thing too...
Really want a solution or a MOD to disable that annoying "feature".

Luhccas-X10 said:
I'm bothered by this thing too...
Really want a solution or a MOD to disable that annoying "feature".
Click to expand...
Click to collapse
Hope someone helps us
Sent from my C6902 using Tapatalk

+1

That is why. Holly Molly. I never saw that option on 4.2.2 but I saw the screen dim when he wants. Good option to have back.

eclyptos said:
That is why. Holly Molly. I never saw that option on 4.2.2 but I saw the screen dim when he wants. Good option to have back.
Click to expand...
Click to collapse
Absolutely. But nobody seems to be intrested in this thread
Sent from my C6902 using Tapatalk

I'll take a look when I find time, life is very busy lately..
Sent from my C6903 using xda app-developers app

krabappel2548 said:
I'll take a look when I find time, life is very busy lately..
Sent from my C6903 using xda app-developers app
Click to expand...
Click to collapse
Thanks i am sure u will do it
Sent from my C6902 using Tapatalk

Any light about this?
This thing makes display looks dull and without contrast...

I just want to disable this feature in lollipop and it's so annoying. I actually flashed 4.2.2 to my phone and disabled optimised backlight on it just to check and it looks perfect. There must be some way to implement it into a kernel or firmware somehow it's such a simple thing, the Z1 is a brilliant phone. That backlight flickering and colours changing on dark colours thing really annoys me and I know I'm not a developer or anything but I'd really love to see some sort of way to disable optimised backlight in lollipop and I'd actually donate to the person that done it if it could happen, that's how much it annoys me.

I know this is an old thread and this was a year ago but I recently got my Z1 back and want to still figure this out for something to do. So far I found out that in .518 and .534 firmware it's called ro.service.cabc.supported=true and persist.service.cabc.enable=1. Setting these to ro.service.cabc.supported=false and persist.service.cabc.enable=0 turns it off just like the setting optimised backlight does. Having the setting on false removes optimised backlight from the options menu while setting enable to 0 disables the feature which is what I want to do. I know I can just unick optimised backlight but the point is to try get it to work on newer firmware.
I tried it on 14.1.G.2.257 and I could get it to show optimised backlight in the options again by setting it to true but toggling it on or off does nothing and also from that firmware onwards setting enable to 0 no longer disables it. I'm assuming pre .257 kernels only had whatever disables it and it was removed after that. I'd like to implement this into a newer kernel and get it to work so I'm just sharing what I've figured out so far if anyone cares that is. I'm still going to keep at it and try figure out more. If anyone does care and knows how it works could it even be possible to get it to work on newer firmware or is it just a waste of time?
EDIT. Also if it doesn't work changing data/property/persist.service.cabc.enable from 1 to 0 with a root explorer enables it on reboot.
EDIT2: Just install white balance before deactivating optimised backlight and you won't get any hang on startup.
EDIT3: OK so it's definitely in the kernel and the only way I can get it to work on newer firmware is to learn how to edit and recompile a kernel.

Related

[Q] disable hardware buttons backlight

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

[MOD][KERNEL] Screen Dimmer

This tweak is no longer supported, use Touch Wake instead!
For notebook/netbook computers switching off the screen after a certain timeout is a simple yet effective way of saving battery life and such a feature is integrated into every OS. Android also has a screen timeout feature, however this suspend function also disables the touchscreen controls (and touchkey buttons) and you have to press the power button to re-enable the screen (plus, if you did not disable the lockscreen, you also have to unlock it again).
Since this is kinda annoying I tried to find an app which could disable the screen after a timeout and re-enable it on touch, however I could not find one. After some digging I found out that there is no way with the current Android API to disable the screen without simultaneously disabling the touchscreen controls.
So I took a look at the kernel source and after some trial and error it seems I have found a stable way to implement such a screen off feature.
To enable (disable) the screen dimmer pass 1 (0) to 'enabled' in /sys/class/misc/screendimmer. Pass the delay in ms (this is milliseconds; 1000ms = 1s) to 'delay'. The default state is disabled and a delay of 15000 = 15s.
Changes to the source (based on kernel with BLD 3; apply patches in exactly this order):
http://www.pastie.org/2408247
http://www.pastie.org/2408254
http://www.pastie.org/2408257
http://www.pastie.org/2408259
http://www.pastie.org/2408260
BUGFIX:
I already have the first bug fix for you. The kernel was not compiling anymore without the screen dimmer activated in the .config. Besides that nothing has changed, so if you already have a compiled kernel with the screen dimmer running this will not change anything.
Bug fix: http://www.pastie.org/2408688
BUGFIX #2:
Fixed the auto brightness not working anymore.
Bug fix: http://www.pastie.org/2418667
BUGFIX #3:
The user space access to the framebuffer is closed down before the screen is dimmed which makes sense and took care of one oddity I did notice. Also it should save some more battery.
Bug fix: http://www.pastie.org/2420744
BUG FIX #4:
Patch to avoid race conditions.
Bug fix: http://www.pastie.org/2441551
Get Jonathon Grigg's 'Spark Mod Manager' GUI for controlling Screen Dimmer: http://forum.xda-developers.com/showthread.php?p=17291034
I do not accept donations and since I reached my 50GB limit of free space on SpiderOak, thanks to all of you kind people who got an account using my referral link, I could not ask for more.
Instead if you really want to donate your hard earned money to someone who deserves and needs it, consider donating to the Free Software Foundation at fsf.org: These guys are at the frontline when it comes to keeping Linux free and fighting these greedy bastards who think they are entitled to collect royalties and other fees from Linux users due to some silly patents - and if Linux falls, Android will be next.
This tweak is no longer supported, use Touch Wake instead!
good...thanks!!
You are the GOD ...
Amazing... can't wait one of the kernel dev have this on their kernel. So I can easly flash it.
I already have the first bug fix for you. The kernel was not compiling anymore without the screen dimmer activated in the .config. Besides that nothing has changed, so if you already have a compiled kernel with the screen dimmer running this will not change anything.
Bug fix: http://www.pastie.org/2408688
Nice job, looks like a cool mod.
I'll release it under a experimental version of my kernel enabled by default to see how people like it.
One question, does the screen go off while I'm watching a video such as YouTube?
Sent from my Nexus S using XDA Premium App
Highly Appreciated.
reddv1 said:
Nice job, looks like a cool mod.
I'll release it under a experimental version of my kernel enabled by default to see how people like it.
One question, does the screen go off while I'm watching a video such as YouTube?
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Yes, unfortunately the screen always gets dimmed even if the app has the FLAG_KEEP_SCREEN_ON set. I took a look at the kernel source and it seems this flag is not passed on to the kernel and handled only by the Android OS; so the kernel does not know whether currently an app is open which has this flag set. Maybe I can think of something, but most likely this is a limitation which I cannot remove.
This will be amazing.
I have always wanted a way to wake up the phone without reaching over to the power button. I remapped my power button to the soft search key just so I didn't have to reach over to push the power button but it obviously didn't work to wake the phone. This is something I've dreamed of, to just touch the screen or the touch keys and it would wake.
Couple questions:
1) Is it possible that only touching the 4 soft keys will wake the screen (instead of the screen)?
2) How does this affect battery? Is a wake lock held? Does the phone sleep correctly to go into power saving? I'm assuming if the screen is touchable that the phone isn't sleeping and as such, this will be a battery drainer.
Enhanced said:
This will be amazing.
I have always wanted a way to wake up the phone without reaching over to the power button. I remapped my power button to the soft search key just so I didn't have to reach over to push the power button but it obviously didn't work to wake the phone. This is something I've dreamed of, to just touch the screen or the touch keys and it would wake.
Couple questions:
1) Is it possible that only touching the 4 soft keys will wake the screen (instead of the screen)?
2) How does this affect battery? Is a wake lock held? Does the phone sleep correctly to go into power saving? I'm assuming if the screen is touchable that the phone isn't sleeping and as such, this will be a battery drainer.
Click to expand...
Click to collapse
1) Currently the screen is re-enabled both when touching the screen and the touchkeys. I think that makes the most sense. However, one could easily modify the code to limit this to the touchkeys.
2) The phone is not put to sleep, only the screen is disabled. So compared to the normal screen lock this will drain the battery much quicker. This tweak is not intended as a replacement for the stock screen lock, but as an addition. You can set the screen lock to a value like one or two minutes, so it will properly lock the phone for example if put it in your pocket, while having the screen dimmer set to a lower timeout like 15sec, so the screen will be disabled and some battery saved if you just pause for some time for example because you wait for a download to finish or talk to somebody. So, if you use it right, you should save some amount of battery.
I found a bug after running this mod for about a couple hours. The screen would not turn on after leaving the phone for about half an hour. The touchkeys would light up and the when I clicked the volume keys I could hear the volume settings changing.
Sent from my Nexus S using XDA Premium App
Ezekeel said:
1) Currently the screen is re-enabled both when touching the screen and the touchkeys. I think that makes the most sense. However, one could easily modify the code to limit this to the touchkeys.
2) The phone is not put to sleep, only the screen is disabled. So compared to the normal screen lock this will drain the battery much quicker. This tweak is not intended as a replacement for the stock screen lock, but as an addition. You can set the screen lock to a value like one or two minutes, so it will properly lock the phone for example if put it in your pocket, while having the screen dimmer set to a lower timeout like 15sec, so the screen will be disabled and some battery saved if you just pause for some time for example because you wait for a download to finish or talk to somebody. So, if you use it right, you should save some amount of battery.
Click to expand...
Click to collapse
This is exactly what I'm lookin for. i will set 1 minute for screen dimmer and 2 minute for screen lock.
Ezekeel said:
For notebook/netbook computers switching off the screen after a certain timeout is a simple yet effective way of saving battery life and such a feature is integrated into every OS. Android also has a screen timeout feature, however this suspend function also disables the touchscreen controls (and touchkey buttons) and you have to press the power button to re-enable the screen (plus, if you did not disable the lockscreen, you also have to unlock it again).
Since this is kinda annoying I tried to find an app which could disable the screen after a timeout and re-enable it on touch, however I could not find one. After some digging I found out that there is no way with the current Android API to disable the screen without simultaneously disabling the touchscreen controls.
So I took a look at the kernel source and after some trial and error it seems I have found a stable way to implement such a screen off feature.
To enable (disable) the screen dimmer pass 1 (0) to 'enabled' in /sys/class/misc/screendimmer. Pass the delay in ms (this is milliseconds; 1000ms = 1s) to 'delay'. The default state is disabled and a delay of 15000 = 15s.
Changes to the source (based on kernel with BLD 3; apply patches in exactly this order):
http://www.pastie.org/2408247
http://www.pastie.org/2408254
http://www.pastie.org/2408257
http://www.pastie.org/2408259
http://www.pastie.org/2408260
BUGFIX:
I already have the first bug fix for you. The kernel was not compiling anymore without the screen dimmer activated in the .config. Besides that nothing has changed, so if you already have a compiled kernel with the screen dimmer running this will not change anything.
Bug fix: http://www.pastie.org/2408688
wor
I have send Netarchy, reddv1 and mathkid a notice (could not reach morfic) about this update, so they aware of this change. As soon as the new version is implemented I will update the list below. Be patient.
Kernels including these modifications:
none yet
Click to expand...
Click to collapse
it works great in trinity with the cm7 nightlies.. thank you.
I don't understand the instruction. what I have to do?
reddv1 said:
I found a bug after running this mod for about a couple hours. The screen would not turn on after leaving the phone for about half an hour. The touchkeys would light up and the when I clicked the volume keys I could hear the volume settings changing.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Hmm. Yeah, that sounds like a bug. Did any error messages appear in the log? Could you reproduce the error?
simms22 said:
it works great in trinity with the cm7 nightlies.. thank you.
Click to expand...
Click to collapse
Great. If you run into any problems please let me know. I am glad we have such a thorough tester on board.
tonno16 said:
I don't understand the instruction. what I have to do?
Click to expand...
Click to collapse
Wait for the kernel devs to implement this tweak. Then follow their instructions to activate the dimmer; they probably will supply you with some init.d scripts for convenience.
simms22 said:
it works great in trinity with the cm7 nightlies.. thank you.
Click to expand...
Click to collapse
Can I have your kernel please.
Can't hardly wait till u released it for public. I will realy appreciate it.
If I could give a try for your kernel, would please send me by email at [email protected]
Many thx before.
rejanmanis said:
Can I have your kernel please.
Can't hardly wait till u released it for public. I will realy appreciate it.
If I could give a try for your kernel, would please send me by email at [email protected]
Many thx before.
Click to expand...
Click to collapse
Here lucid blue kernel with the screen dimmer: http://goo.gl/nBHir
The screen dimmer is enabled and set at 30 seconds. Post any issue you have here.
Sent from my Nexus S using XDA Premium App
rejanmanis said:
Can I have your kernel please.
Can't hardly wait till u released it for public. I will realy appreciate it.
If I could give a try for your kernel, would please send me by email at [email protected]
Many thx before.
Click to expand...
Click to collapse
it should be out soon, maybe today or tomorrow. you dont want the one im using, its really a raw test kernel.
Found another bug, the auto brightness doesn't work anymore.
Sent from my Nexus S using XDA Premium App
reddv1 said:
Found another bug, the auto brightness doesn't work anymore.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
i can confirm it
reddv1 said:
Here lucid blue kernel with the screen dimmer: http://goo.gl/nBHir
The screen dimmer is enabled and set at 30 seconds. Post any issue you have here.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
grate thx men. i love u
it should be out soon, maybe today or tomorrow. you dont want the one im using, its really a raw test kernel.
Click to expand...
Click to collapse
okay mr simms. i can wait.

Notification LED - brighness

Hello,
i would like to know if it is possible to change the brightness of the notification led.
It is very hard to notice if it is on or not, i need to pick up my xperia t to see it.
Even if it lays on the table you won't notice the led.
Am i the only one who thinks it should be brighter?
Is it possible let it be brighter?
yee i have the same problem here..its sad that you cant change colors/bright or frequency in android..
yes i know..theres some programs in market but theyre sux to be honest :<<
I agree. The led is probably the worst feature of this great phone, totally useless.
There's an app to flash the camera led when there are notifications, but if the phone is laying on the table you won't see it either.
I don't know if we can open the messenger app and change it in the code. That would be cool. I should start programming android.
Sent from my LT29i using xda app-developers app
Missed message flasher
Try this, it's brilliant
http://forum.xda-developers.com/showthread.php?t=2113800

(req) Led flashlight brightness.

Is there any way to alter how bright the led on the back of the phone is? I'm after a seriously powerful torch basically. There must be a way, in BuildProp, to alter it somehow. Any ideas? Searching torch, led and flash brings up no matches or close ones.
Sent from my C6603 using Tapatalk 4
Come on people. It can't. Be too hard. I just want the flash brighter.
Sent from my C6603 on Three
I don't think it's as simple as an edit of build.prop. I did a quick search in /system and it appears that /system/etc/flashled_calc_parameters.cfg contains some values that configure the flash led brightness.
Like this -
Code:
# LED If setting for Torch or video recording (uA).
if_torch_vr = 62500
I'm not going to alter any of them though, as
1. I don't even know if it's the correct file to begin with.
2. I don't know the safety thresholds for our devices LED and
3.I don't feel like having to recover my device from a bootloop on a Sunday afternoon if something goes wrong.
Maybe somebody that knows more about these things will come along and help.
Sent from my C6603 using Tapatalk 2
Thanks for that kingvortex, I'm on Tapatalk 4 so can't thank you. But none the less, it's food for further thoughts.
Sent from my C6603 on Three

Brightness slider, auto with +/- option?

So I can select "auto" brightness by the slider on the notification panel. When I move the slider, auto is unchecked. BUT, I know since I've had the S5 over the past few weeks, I've had the slider show a +/- option that allowed auto to remained checked while you could move the slider between like +3 and -3 for the relative level of auto you want.
I know this type of option can be achieved through various 3rd party apps, but is there any way to enable it from stock? I'm just confused because I know I've had this option, but I haven't used any type of brightness app, and now the option is gone. I did have wanam Xposed installed before...does that add the option?
Hmm, looks like this is an option in wanam Xposed and probably a default option so I was seeing it when I had that installed... Wanam says:
Use Auto-Brightness Detail*- Enables a +/- 5 slider for auto-brightness
was the auto brightness fine adjustment ever working for you? i havw wanam on my s4 and my s5, auto brightness adjustment doesn't work on either. maybe im doing something wrong
I believe it was working when I had wanam installed, but I honestly didn't really test it out...and I took off Xposed framework for the time being.
netter123 said:
I believe it was working when I had wanam installed, but I honestly didn't really test it out...and I took off Xposed framework for the time being.
Click to expand...
Click to collapse
man. i really wish i knew why mine doesnt work on 2 different devices. i spent hours searching and reading forum posts and found no answers. i know it works on TW because i had some TW rom that had it and it worked great, but i ditched the rom casue there were things it was missing and some things i didnt like.
I did see that Lux Auto Brightness and Velix Auto Brightness might provide good 3rd party solutions to better personalized brightness control fwiw.
Ive tried lux and some others. They either worked great and killed my battery. Or didnt work woth. ****
Good to know those are battery killers, I hadn't tried them our yet myself.
Lux user here, paying user actually, works great for me, no significant drop in battery unless im in an area where the screen is staying super bright.
Sent from my SM-G900A using Tapatalk
Good to know this as well, was thinking of trying lux or velix one of these days. Have you tried velix?
netter123 said:
Good to know this as well, was thinking of trying lux or velix one of these days. Have you tried velix?
Click to expand...
Click to collapse
Ive tried lux and twilight, i used twilight for a while cause i wanted somethjng like redshift/f.lux, but i found lux which had auto brightness and screen temp adjustment so i stu k with that. You could also try cf.lumen, personally i havent even heard of velix though.
Sent from my SM-G900A using Tapatalk

Categories

Resources