[Z3] [MOD] [5.1] Brighter Flashlight! - Xperia Z3 General

Hello boys and girls!​
Do you think Z3 can't keep up with the brightness other phones have when we use torch?
I made a MOD using this post.
DISCLAIMER.
I am not responsible if you break your LED, I can't assure you it won't cause any problem on the future, I can only tell you it gets hot if you use it for a long time!
REQUIREMENTS​
1. Z3 on Lollipop Firmware.
2. Root
3. A root file explorer.
DOWNLOAD​
BOOSTED Torch,Camera Flash, Notification LED​
Installation guide
1. Download the file
2. Go to /system/etc and replace the file
3. Change permission to rw-r--r--
4. Reboot and enjoy!​

Interesting,
Torch in Z3 sucks hard, I'm pretty sure they tuned it down to prevent damage. Anyone tested it for a longer period?

Led is really hot after less than minute.
OP, how to change brightness, let's say to 30% less than now?

Just navigate to the file's directory using a root explorer, open the original file, edit the LED Torch value anywhere from 1000000 to 1250000, save and reboot. That is the range that offers brightness levels closer to most other phones without making the device over-heat.

mutarito said:
Led is really hot after less than minute.
OP, how to change brightness, let's say to 30% less than now?
Click to expand...
Click to collapse
navigate to the file and edit the following values in something lower:
# Max current for Torch (uA)
# Flash LED_If max current (uA)
# Torch max current for camera 3A (uA)

Very good this mod is the best thanks
Enviado desde mi D6603 mediante Tapatalk

This is the line you want to modify in file system/etc/flashled_calc_parameters
#LED If setting for Torch or video recording (uA).
if_torch_vr = 25000 (#could be any value, changed to 500000 in this mod)
Stock value is 25000. Very low. I think 500000 (this mod) is overkill. I used 100000. Before changing, my torch was much dimmer than an iphone6. Now, at 100000 it is slightly brighter. I'm happy with the result. Thanks to OP to bringing this up or I would have never though to mess around with my torch.

In CPU-Z Thermal section you will find pm8941_tz and emmc_therm. These are the closest thermal sensor to the led. I have some SMT leds at home. Overheat can pop off the silicone top of the led or even melt the solder paste under it. I've set mine to 400000. I think its safe to use the torch with this amperage for 10-15 minutes, but I've seen an iPhone with yellow torch because it was left on while in pocket. SMT leds can turn to blue too if something goes wrong, so I always watch the colour, when using it

Related

How to decrease backlight while keeping auto adjust?

Hi!
I wonder if there is a way to lower the backlight levels on auto adjust (or increase for those who think its still not bright enough). Point is I think having the backlight on generally lower levels will naturally increase battery life. I know I can change the the brightness to a fixed level that suits me - but that would just be right for the current situation. I still want it to adjust to different lighting situations. Ideas?
It would be nice if it was possible to change how dim the backlight gets on total darkness and how bright it gets on your average sunny day.
I've been messing around with the reg to see if I could find max and min values but I can only change manual settings, not auto mode using the light sensor.
One note though: The sensor itself uses battery to measure ambient light. That being said, if you spend most of the day under a constant light source (say an office) manually dimming the device should consume less energy since the sensor is not doing much good for you anyway.
I guess it's not your case. I had this app on my Cruise to change backlight intensity. never used until now. it works on leo (running 1.48 but that should not matter) and changes backlight in 25% increments. You can copy a shortcut to the startmenu and add a quick link to your home tab or map it to a hard or soft button somehow.
I wold really like to know how to change max and min levels on auto backlight.
Try Lumos - it's a backlight replacement that allows you to customise how you want your auto backlight to work, ie. what the minimum/maximum brightness is, how fast the backlight changes, etc.
http://forum.xda-developers.com/showthread.php?t=450318
Seems to work fine. Still some tunning to do. Thanks!
I'm using Lumos now and it works great! Simple to set up and easy to customize. Thanks for the hint!
lumos is great but I found it was draining the battery quite fast on the leo.
Admittedly I was using it with the wm6.5 Check for active programme only setting. I never tested it to see if it worked without checking that box.
As far as I can tell by now the batterylife appears to be rather better than before. I haven't put in any application exceptions and didn't check the one checkbox in the settings tab. I also use a custom curve where the backlight stays at 30% until the sensor hits about 400 (30% is plenty in my opinion and still brighter than my friend's iphone in normal light condition inside).
you should try AutoLight http://forum.xda-developers.com/showthread.php?t=548402
it works fine on Leo

Is there a mod to lower the auto brightness levels?

I really like the auto brightness feature, but it's consistently too bright for my taste.
Is there a mod or tweak out there that will allow me to lower/adjust my automatic brightness levels to save some battery life?
(Currently running Blackhole 3.0 / DL09, will go to Blackhole 4.0 once it's out tomorrow)
anybody have any ideas
Unless you know how to modify the kernel source (which I believe is written in C, correct me if I'm wrong devs) or modify some file that is the delegate for the ambient light sensor, you're SOL buddy.
Its probably hardwired into the kernel, would be my guess.
Hmmm, I thought automatic meant automatic. My bad. J/K
Sent from my SCH-I500 using XDA App
Yes, automatically too bright in most situations. Yet not bright enough in sunlight.
I almost need to cover the light sensor some to fool it.
This is where Samsung fumbles. Their software is poor. Whomever is writing the code, set the light sensor to brightness conversion wrong. At least on DL30 they fixed one mess up. On the original rom, when you plugged in external power, the brightness would go to a fixxed level. If you were outside in a car and plug in power, it would dim the display. Indoors at night, plug in power, and it would BRIGHTEN the display. What's up with that.
worwig said:
Yes, automatically too bright in most situations. Yet not bright enough in sunlight.
I almost need to cover the light sensor some to fool it.
This is where Samsung fumbles. Their software is poor. Whomever is writing the code, set the light sensor to brightness conversion wrong. At least on DL30 they fixed one mess up. On the original rom, when you plugged in external power, the brightness would go to a fixxed level. If you were outside in a car and plug in power, it would dim the display. Indoors at night, plug in power, and it would BRIGHTEN the display. What's up with that.
Click to expand...
Click to collapse
Whats wrong with manually changing it? It doesnt even take 5 seconds to change the level.
Kaze105 said:
Whats wrong with manually changing it? It doesnt even take 5 seconds to change the level.
Click to expand...
Click to collapse
Exactly. Why would you expect your phone to automatically make your life easier or function at an optimum level?
Kaze105 said:
Whats wrong with manually changing it? It doesnt even take 5 seconds to change the level.
Click to expand...
Click to collapse
What's the purpose of having a light sensor if it never works?
Often when I pop my phone open to do a specific task, '5 seconds' is about as long as it would have taken to do that whole task. And it's just annoying to unlock the screen, begin to attempt doing something, and then notice 'oh hey, the screen is basically unseeable!' and have to interrupt whatever you're doing. Or, even worse, when you're going from place to place and go through areas that are lighter and darker, forcing you to keep interrupting your work.
worwig said:
Yes, automatically too bright in most situations. Yet not bright enough in sunlight.
Click to expand...
Click to collapse
KitsuneKnight said:
What's the purpose of having a light sensor if it never works?
Often when I pop my phone open to do a specific task, '5 seconds' is about as long as it would have taken to do that whole task.
Click to expand...
Click to collapse
You guys nailed it. The screen is far brighter than I need while indoors at the office, but step outside and it just doesn't keep up with the bright Colorado sun (I can adjust it manually to a level that can be seen in sunlight just fine).
I could spend 5 secs adjusting the backlight each time the light environment changes, but why not spend 30 min optimizing the auto brightness levels and then never have to worry about it...
I know with my Moto Droid, someone had made a code that altered a particular file to change the lowest brightness level, but I have yet to see that for the Fascinate. It's a shame since the Fascinate's screen is so much nicer, but not set up optimally.
I know some dev's had also integrated the ability to change the auto brightness levels within custom ROMs for the Moto Droid. That'd be a great feature on the Fascinate!
KitsuneKnight said:
What's the purpose of having a light sensor if it never works?
Often when I pop my phone open to do a specific task, '5 seconds' is about as long as it would have taken to do that whole task. And it's just annoying to unlock the screen, begin to attempt doing something, and then notice 'oh hey, the screen is basically unseeable!' and have to interrupt whatever you're doing. Or, even worse, when you're going from place to place and go through areas that are lighter and darker, forcing you to keep interrupting your work.
Click to expand...
Click to collapse
That is to peoples own preference. I use auto most of the time and its fine. Doesn't work would indicate it doesn't change the brightness at all.
You can't expect it to auto sense it to every persons liking. Also does power control change it so you can see the screen, cause that doesn't take '5 seconds'
Sent from my SCH-I500 using XDA App
spenceuiuc said:
I really like the auto brightness feature, but it's consistently too bright for my taste.
Is there a mod or tweak out there that will allow me to lower/adjust my automatic brightness levels to save some battery life?
Click to expand...
Click to collapse
Try Screen Filter - its in the app store. With screen filter applied I keep my phone set to auto and screen filter reduces that more - in my case 50% more.
Well in the DL30 rom you don't have to go to the settings menu to change the brightness, just press and hold on the notification bar and then slide left and right to change the brightness.
Zong00 said:
Try Screen Filter - its in the app store. With screen filter applied I keep my phone set to auto and screen filter reduces that more - in my case 50% more.
Click to expand...
Click to collapse
Ill check that out. Thanks!

Automatic brightness not working

Since I flashed the leedroid rom, automatic brightness doesn't work too well. The display is always very dark...even if I go in the sun, the brightness doesn't go maximum. If I manually set it to maximum, then I can tell the difference with the automatic brightness level which is much darker (around 40% brightness level).
No matter what rom I use (I flashed today ultimate droid, revolution HD, miui)....with everyrom the same thing. The sensor is not dirty, I thought maybe it doesn't get too much light so the phone doesn't recognize how bright is the environment but yeah...it doesn't really look right to me.
Before every rom I always to a full wipe through clockwork recovery....what can I check ?
Use app "sensor list" or the the lux (brightness) on "gps status" to check if your sensor is actually working. The values should change between:
10-40-90-160-225-320-640-1280-2600-10240
They may skip some values going through the range, and maybe take a few seconds for the values to change or register on your display.
Use a torch to gradually shine over the sensor, so you can see the autobrightness change along with the lux reading.
Sent from my Desire HD using XDA App

[Q] Lower the minimal brightness to be even less bright.

Is there any config file or system file where we can set minimal brightness? cause default 8-11% is to bright for me. I mean it's ok for the eyes i just worried about battery.
PLEASE don't suggest me those stupid apps for dumb people. Apps can do nothing, all apps is just replicas of stuff that is already in system.
In CM7 ROM i see custom values for brightness but those seems like don't work cause nothing changes
So is there any way to get minimal brightness to be even more minimal?
'Tasker' has an option to set brightness as any number value. It also has a warning message that says to avoid setting it to zero because it will make the device useless.
Enc0der said:
'Tasker' has an option to set brightness as any number value. It also has a warning message that says to avoid setting it to zero because it will make the device useless.
Click to expand...
Click to collapse
AFAIK it doesn't actually reduce the backlight, just makes the screen darker. So its same amount of battery usage, It only decreases battery usage on a AMOLED screen.
SAD... cause brighness is good, but at night when you're in the dark it may be even more less bright and save some battery.. strange..maybe it's limited by Android API. I used CM7 options there is very nice module where you can set your own values in automatic adjustment of light but even if i set 5 it does not reduce light.
Maybe it's the lowest possible value for hardware..

Mi 9T Ambient Display brightness issues

Hi all, i own two Xiaomi mi 9T and i'm seeing that ambient display on two mi 9t behaves in two distinct and separate ways. Both smartphones have Android 9 miui 11.0.3 no root, both have the automatic display brightness disabled but the ambient display in the first smartphone, with a glass film applied on the display, greatly lowers the brightness of the ambient display (to the point that you do not they see the notifications) and then raise it in case of very strong light. On the other smartphone, however, where there is no glass film applied on the display, the brightness of the ambient display is always at the maximum (I also tried in the dark, same result). Can you please give me some pointers on how to fix it? Thanks so much.
Brightness slider working?
What values are in *#*#6484#*#* > "light sensor"?
sirliam said:
Hi all, i own two Xiaomi mi 9T and i'm seeing that ambient display on two mi 9t behaves in two distinct and separate ways. Both smartphones have Android 9 miui 11.0.3 no root, both have the automatic display brightness disabled but the ambient display in the first smartphone, with a glass film applied on the display, greatly lowers the brightness of the ambient display (to the point that you do not they see the notifications) and then raise it in case of very strong light. On the other smartphone, however, where there is no glass film applied on the display, the brightness of the ambient display is always at the maximum (I also tried in the dark, same result). Can you please give me some pointers on how to fix it? Thanks so much.
Click to expand...
Click to collapse
Take a look here:
https://forum.xda-developers.com/mi-9t/themes/adaptive-brightness-bug-solution-t4043847
I had the same problem and I solved it but you need to modify a file in /persist folder.
This can be done only with a custom recovery or with a file manager with root access.
If you don't want to root your phone you can unlock bootloader (data will be lost), boot official TWRP, go to file manager, copy that file to PC, edit it and put it back to the original location. After this you can relock bootloader if you want to.
SzczufFun said:
Brightness slider working?
What values are in *#*#6484#*#* > "light sensor"?
Click to expand...
Click to collapse
Hi, the first result is of the smartphone with the glass film is: backlight 105 - DAC 157,327271 luxes.
the second is of the one without the film: backlight 470 - DAC 267,922717 luxes
data captured at the same time, same room and same light (artificial)
Could you help me?
sipollo said:
Take a look here:
https://forum.xda-developers.com/mi-9t/themes/adaptive-brightness-bug-solution-t4043847
I had the same problem and I solved it but you need to modify a file in /persist folder.
This can be done only with a custom recovery or with a file manager with root access.
If you don't want to root your phone you can unlock bootloader (data will be lost), boot official TWRP, go to file manager, copy that file to PC, edit it and put it back to the original location. After this you can relock bootloader if you want to.
Click to expand...
Click to collapse
Hi, thanks a lot but they are two new smartphone, less than 2 weeks life, at the moment I don't want to unlock the bootloader ... anyway thanks!
Your sensor readings are correct then, so it's not a problem with it.
.
The best way to fix this in your case will be Factory Reset or Fresh ROM Flash via MiSuite .
SzczufFun said:
Your sensor readings are correct then, so it's not a problem with it.
.
The best way to fix this in your case will be Factory Reset or Fresh ROM Flash via MiSuite .
Click to expand...
Click to collapse
So it's normal to have two such different results at the same time?
If screen film may cause some anomalies to the sensors, why not?
The most acurate results you will get if you rip off screen film, and mesure light intensity without any extra screen protectors.

Categories

Resources