(req) Led flashlight brightness. - Xperia Z Q&A, Help & Troubleshooting

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

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

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

[Q] HP Touchpad minimal brightness level

Hi,
How to change the minimal brightness level? If i wrote '4' to /sys/class/leds/lcd-backlight/brightness, it's seems darker than the minimal level in the settings. If i try to write 'ro.lcd_min_brightness=4' to /system/build.prop, but the minimal level remains at 20.
I'm using the jcsullins CM10 20130418 rom.
You could mess with your build prop but I prefer the app Root Dim, search play store for it. Be warned it allows setting the brightness below what the touchpad screen can display, so gradually adjust it down. Also allows you to set different presets, useful for night time reading.
Sent from my Nexus 4 using Tapatalk 2
I use an app called night mode. Love it!
Sent from my EVO using Tapatalk 2
For me, Root Dim seems to do the trick. I have a widget that enables Night3 when I click on it. I manually configured Night3 to be as dark as I could possibly get it.

Optimized backlight

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.

[Q] Change ambient light sensor sensitivity?

Referring to this thread, the only settings found in hw_config.sh of Xperia Z is only for the proximity sensor. Does anyone know where I can find the settings for the ambient light sensor for our phone?
I've been looking for hours in the /system/etc files but couldn't find it.
Thanks in advance,
Nizam
bump
anyone?
bump
May I ask what you're trying to achieve? Our device can already automatically adjust the display brightness based on the ambient light conditions.
Sent from my C6603 using Tapatalk
kingvortex said:
May I ask what you're trying to achieve? Our device can already automatically adjust the display brightness based on the ambient light conditions.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
My device's ambient light sensor is a little faulty and is not sensitive enough. It doesn't get bright enough in a well lit room. So I'm guessing I can tweak the config the same way I tweak the proximity sensor when I use a thick tempered glass.
But I can't seem to find the config for the light sensor.
Moving the brightness slider when automatic is set adjusts the values.
Apart from that, I'm not sure where the configuration files are, sorry. You'll have to hope a dev that does know sees your post.
Sent from my C6603 using Tapatalk
kingvortex said:
Moving the brightness slider when automatic is set adjusts the values.
Apart from that, I'm not sure where the configuration files are, sorry. You'll have to hope a dev that does know sees your post.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
It only adjusts the minimum and maximum brightness of the phone.
In my case, it always stays at the minimum brightness.
My ambient light sensor works, but the values are a bit low in a brightly lit room.
Thank you for your reply

Categories

Resources