[ROOT] Experimenting with the charging LED - Moto X4 Guides, News, & Discussion

Upon opening a terminal app, gaining root access, and typing
Code:
cd /
cd /sys/class/leds/charging
access to the charging LED is obtained. The following parameters are available (see attached screenshot).
Code:
echo 255 > max_brightness
sets the maximum brightness of the LED to the highest possible value. Then, changing x for 0–255 in
Code:
echo x > brightness
gives a solid light of the specified brightness.
Code:
echo 1 > blink
makes the LED blink, and specifying a duration x in ms for
Code:
echo x > ramp_step_ms
changes the speed at which it blinks.
TL;DR the phone has a great, bright LED that can be used for notifications. Would love to see more discussion about this.

As would I. It beats me why Motorola would include an LED and choose not to use it at all ever.

unfnknblvbl said:
As would I. It beats me why Motorola would include an LED and choose not to use it at all ever.
Click to expand...
Click to collapse
they do with all the phones.

munchy_cool said:
they do with all the phones.
Click to expand...
Click to collapse
Having had a Moto X 2014, I'm aware of this. The difference was that it kinda made sense for there to be no LED on that phone because of the fancy situation awareness it had. This phone, not so much.

@erfanoabdi has been reworking the light HAL for the Moto X4 to implement these discoveries, and it’s nothing short of impressive how he’s been doing all this for our device without having an X4 in his hands himself. Thank you so much, man!

Hi,
How can I get help for the other options?
Like trigger

The op has pigued my interest, however im not 100% sure what all that meant since im still a bit of a noob , but interested i am
Edit: time to change that signature..... if i can rrmember how tooo...

Related

[LED][DEV] Moto E LED Custom Controls

Playing With Notification LED
​Original source (for MotoG) <<< make sure you read the blog article before commenting ....
dedicated Blog article for MotoE
It's always cool to know at a glance that your device is charging without the need of lighting the screen, here is how:
Requirements :
Moto E (tested on XT1022)
Rooted
SU rights granted
adb if you want to monitor all this from a computer
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, BURNT LEDs,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
in /sys/class/leds/charging/trigger we have these triggers available :
Code:
[none] bkl-trigger usb-online mmc0 mmc1 battery-charging-or-full battery-charging battery-full battery-charging-blink-full-solid bms-online
easy to change them using :
Code:
echo battery-charging >/sys/class/leds/charging/trigger
needs to set any value !=0 for brightness (LED is either ON or OFF on MotoE):
Code:
echo 1 >/sys/class/leds/charging/trigger
Moto E (is quite different than Moto G MotoG has two LEDs too, they are simply impossible to see):
If you pay attention, you can se that Moto E has Two little white LEDs soldered under the LED hole, the first one (left) is ruled by /sys/class/leds/charging and the second one (less bright, ont the right) is ruled by the /sys/class/leds/white.
/sys/class/leds/white/trigger, and /sys/class/leds/white/brightness configure the right LED and these settings are overridden has soon as a notification comes.
/sys/class/leds/charging/trigger and /sys/class/charging/brightness configure the left LED (the brighter one) and these settings are not overridden by notifications AND both can work toghether:
You can see the left one kept ON while charging (using battery-charging trigger) and the right one Blinking with an incoming notification.
It is time for the community to help, and we will find out a way to correctly dim the LEDs if possible.
For now, the best way is to set left LED (/sys/class/leds/charging/) for charging using dedicated trigger and keeping the right one to none and get both working together this way.
______________________________​
Set at boot:
WARNING : if you fail this, you may screw up your device ... (keep a backup somewhere)
Create a blank file and name it like 99charging_LED-blink
paste the following in that file :
Code:
#!/system/bin/sh
# enabling charging LED blinking while charging
echo "battery-charging-blink-full-solid" >/sys/class/leds/charging/trigger
echo "1" >/sys/class/leds/charging/brightness
mount /etc/init.d as RW
Paste 99charging_LED-blink there
set permissions as -RWXR-XR-X
Open terminal emulator, and type :
Code:
su
sh /etc/init.d/99charging_LED-blink
Plug it to charger, it should start blinking ... if not, make sure everything is correctly set
Reboot
Enjoy!
______________________________​
For whose who asked, here is the proof of the 2 LEDs and their White-color :
http://forum.xda-developers.com/showpost.php?p=57039807&postcount=7
Feel free to test further and report your discoveries!
The above has been tested on stock rooted ROM, and reported to work on CM11-m12, both on XT1022.
Here is the LED related Thread for MotoG
XDA:DevDB Information
[LED][DEV] Moto E LED Custom Controls, Tool/Utility for the Moto E
Contributors
matmutant
Version Information
Status: Testing
Created 2014-11-24
Last Updated 2014-12-15
reserved
reserved
@matmutant Epic discovery sir.. :good:
tried this in trickster mod led control... but since the left one is so bright it overrides the indication of the right..i.e the change in the blinking intensity is not visible until observed closely...
AshuGite said:
tried this in trickster mod led control... but since the left one is so bright it overrides the indication of the right..i.e the change in the blinking intensity is not visible until observed closely...
Click to expand...
Click to collapse
In fact, you should use the following :
Code:
echo battery-charging-blink-full-solid >/sys/class/leds/charging/trigger
This way the brighter will blink during charge, so the notification LED will be visible too (that's not the same blink pattern so it gives an irregular blink feeling)
Of course, i have no idea why there are 2 LEDs, and if lighting the brighter one will burn it or not : i'm going to add a disclaimer to OP since this mod has potential consequences on Hardware.
Thank you for your report, may i ask you your device and ROM?
matmutant said:
In fact, you should use the following :
Code:
echo battery-charging-blink-full-solid >/sys/class/leds/charging/trigger
This way the brighter will blink during charge, so the notification LED will be visible too (that's not the same blink pattern so it gives an irregular blink feeling)
Of course, i have no idea why there are 2 LEDs, and if lighting the brighter one will burn it or not : i'm going to add a disclaimer to OP since this mod has potential consequences on Hardware.
Thank you for your report, may i ask you your device and ROM?
Click to expand...
Click to collapse
same results on cm11 m12 and stock 4.4.4 in XT1022
For whose who asked :
I was able to show that our MotoE has 2 LEDs (until now it was only a high suspicion) and that they are really White and not mis-configured RGB.
Here is the in-depth proof.
If only we could change their color.
Sent from my GT-I9070
Is this working?
Because i have planned to make app for this.
svprm said:
Is this working?
Because i have planned to make app for this.
Click to expand...
Click to collapse
Sure it works
Two steps are needed to set up each LEDs :
The Brighter One:
Code:
echo battery-charging-blink-full-solid >/sys/class/leds/charging/trigger
Code:
echo 1 >/sys/class/leds/charging/brightness
The 'notification' One (better keep it to trigger=none, so it will keep its role of notification LED), but if you wanna play with it:
Code:
echo battery-charging-blink-full-solid >/sys/class/leds/white/trigger
Code:
echo 1 >/sys/class/leds/white/brightness
Contrary to MotoG, i couldn't dim this LED by setting 0~255 for brightness
There might be a way to trigger flash LED when getting notification, but this is not for Moto E either
if you make an app for this we could share this thread as co-contributors and in-depth study these new possibilities
If we can change colour, it will be too good
Sent from my XT1022 using xda premium
nisu4717 said:
If we can change colour, it will be too good
Sent from my XT1022 using xda premium
Click to expand...
Click to collapse
didn't you read this? : http://forum.xda-developers.com/showpost.php?p=57039807&postcount=7
btw here is the latest discovery :
Using "bkl-trigger" as */charging/trigger allows you to get the LED on as long as the screen ("bkl" stands for backlight)
Code:
echo bkl-trigger >/sys/class/leds/charging/trigger
Just because having this feature working at boot is soooo cool xD
Set at boot:
WARNING : if you fail this, you may screw up your device ... (keep a backup somewhere)
Create a blank file and name it like 99charging_LED-blink
paste the following in that file :
Code:
#!/system/bin/sh
# enabling charging LED blinking while charging
echo battery-charging-blink-full-solid >/sys/class/leds/charging/trigger
echo 1 >/sys/class/leds/charging/brightness
mount /etc/init.d as RW
Paste 99charging_LED-blink there
set permissions as -RWXR-XR-X
Open terminal emulator, and type :
Code:
su
sh /etc/init.d/99charging_LED-blink
Plug it to charger, it should start blinking ... if not, make sure everything is correctly set
Reboot
Enjoy!
matmutant said:
Set at boot:
WARNING : if you fail this, you may screw up your device ... (keep a backup somewhere)
Create a blank file and name it like 99charging_LED-blink
paste the following in that file :
Code:
#!/system/bin/sh
# enabling charging LED blinking while charging
echo battery-charging-blink-full-solid >/sys/class/leds/charging/trigger
echo 1 >/sys/class/leds/charging/brightness
mount /etc/init.d as RW
Paste 99charging_LED-blink there
set permissions as -RWXR-XR-X
Open terminal emulator, and type :
Code:
su
sh /etc/init.d/99charging_LED-blink
Plug it to charger, it should start blinking ... if not, make sure everything is correctly set
Reboot
Enjoy!
Click to expand...
Click to collapse
i already created a script for myself but unable to figure out how to control blinking pulse...
AshuGite said:
i already created a script for myself but unable to figure out how to control blinking pulse...
Click to expand...
Click to collapse
The blinking pulse is Hardcoded, that means end-user cannot modify it, though some work in the light Hal should both give hability to dim the LED and control its pulse frequency (no idea if it will really be userspace configurable or not then)
@dhacker29 had done something related for MotoX a while ago :
http://review.cyanogenmod.org/#/c/57550/
However, that's not part of my skill range :cyclops:
matmutant said:
The blinking pulse is Hardcoded, that means end-user cannot modify it, though some work in the light Hal should both give hability to dim the LED and control its pulse frequency (no idea if it will really be userspace configurable or not then)
@dhacker29 had done something related for MotoX a while ago :
http://review.cyanogenmod.org/#/c/57550/
However, that's not part of my skill range :cyclops:
Click to expand...
Click to collapse
in cm11 we have the option to control the pulse frequency..
AshuGite said:
in cm11 we have the option to control the pulse frequency..
Click to expand...
Click to collapse
Exactly, buy only for the notification LED (the one we can dim, under the rule of /sys/class/leds/white), not for the charging LED (/sys/class/leds/charging)
Any video tutorial?
bsaikartheek said:
Any video tutorial?
Click to expand...
Click to collapse
As i told you on G+, feel free to make one and i'll share it here
Can someone tell me how to do it please m not able to do it
Sent from my XT1022 using XDA Free mobile app

Pathetic flashlight performance on e6683

My college dorm had a blackout, bored waiting for the light to return we eventually had a competition to see whom have the brightest phone flashlight. I noticed, the flashlight for the Z5 e6683 is warm and pathetically dim compared to cheaper mid to low tier specs phone such as Galaxy J5, IPhone 6, and an Asus zenphone.
paying a premium price of RM 2700 (it's my country currency) for the phone, this is an utter disappointment
KIMI_ said:
My college dorm had a blackout, bored waiting for the light to return we eventually had a competition to see whom have the brightest phone flashlight. I noticed, the flashlight for the Z5 e6683 is warm and pathetically dim compared to cheaper mid to low tier specs phone such as Galaxy J5, IPhone 6, and an Asus zenphone.
paying a premium price of RM 2700 (it's my country currency) for the phone, this is an utter disappointment
Click to expand...
Click to collapse
First could u pls send pic...
Did u use built-in flashlight app or another app? (which app)
also u can test flashlight with this app >> Turn on as Torch
https://play.google.com/store/apps/details?id=com.geekstools.cameraW
:good:
Yes the torch is very dim on the z5, mine is the E6653 but it is almost too dim to be useful outdoors at night.
Sent from my E6653 using Tapatalk
Noticed the same thing, it's very dim compared to my old iPhone 4S, Galaxy S3, Note 3 (the brightest I've seen) and OnePlus One. I don't know how it affects the pictures quality, but it sure isn't very good when you want to use it as a flashlight
Built-in flashlight from the notification pane, did tried a few apps which supposedly makes your Flash performance "better than ever" but to no avail. I get the same results, even worse on some
Presumably as camera technology has progressed and sensors become more advanced we no longer have the need for such powerful flashes. Hence the torch isn't as powerful, as it's only really a by product of the camera.
@moonbutt74 Could you share your results with the torch ?
or just simply the changes to /sys ? (echoing values)
It's pretty bright, no ?
That should give another incentive to use CM-13.0 and custom ROMs
Thanks
zacharias.maladroit said:
@moonbutt74 Could you share your results with the torch ?
or just simply the changes to /sys ? (echoing values)
It's pretty bright, no ?
That should give another incentive to use CM-13.0 and custom ROMs
Thanks
Click to expand...
Click to collapse
Currently [see what i did there? xD ] 80 seems a fair value as max, i tested as high as 160, but that seems silly, my interest is a decent torch without heavy chewing on battery life so i set my own build @ 60.
Haven't been able ti fond the class in stock so i don't know the stock value off-hand.
m
moonbutt74 said:
Currently [see what i did there? xD ] 80 seems a fair value as max, i tested as high as 160, but that seems silly, my interest is a decent torch without heavy chewing on battery life so i set my own build @ 60.
Haven't been able ti fond the class in stock so i don't know the stock value off-hand.
m
Click to expand...
Click to collapse
Thanks moon
Hm, okay so 60 or 80 is a good starting value,
The folks want it bright - they can get it bright (up to 160)
https://github.com/Sony-Kitakami/an...mmit/cf210c0b29296527210a4451d0214eb82b19eca7
https://github.com/Sony-Kitakami/an...mmit/bab201087aba033c4fef9efb60c75bf52a3e2032
Code:
echo 80 > /sys/class/leds/torch-light1/brightness
@KIMI_
if your phone is rooted you can write a small script and launch it & play around a bit to see how bright the LED can get,
all modifications or changes on your own responsibility though
Argh - all thanks used up again ...
Enjoy
Hi guys, I don't know if you still care, but I figured out how to fix that annoyance. The downside though: root is required.
in "root/system/etc", there's a file named "flashed_calc_parameters.cfg". That's the file you'll want to edit (and please, don't forget to do a backup before editing it).
It contains many different values allowing you to control the brightness of every LEDs (including the notification LED), but the 2 most important values for what we want to accomplish are:
if_torch_vr=
That one changes the Torch brightness (flashlight, when you record a video, etc.)
max_if_flash=
That one changes the camera Flash brightness (when you snap a picture)
If I'm not mistaken, the default value is 80000, and the maximum allowed is 500000 (I wouldn't use that value for an extended period of time though because of overheating concerns). At the moment, I'm using 250000 for both (Torch and Flash), and trust me it makes a BIG difference (and probably is the best battery life/heat/brightness compromise)
zacharias.maladroit said:
Thanks moon
Hm, okay so 60 or 80 is a good starting value,
The folks want it bright - they can get it bright (up to 160)
https://github.com/Sony-Kitakami/an...mmit/cf210c0b29296527210a4451d0214eb82b19eca7
https://github.com/Sony-Kitakami/an...mmit/bab201087aba033c4fef9efb60c75bf52a3e2032
Code:
echo 80 > /sys/class/leds/torch-light1/brightness
Enjoy
Click to expand...
Click to collapse
Is it possble to edit torch-light power on the go, without rebooting?
Do i need modded kernel (from moonbutt)? The command you posted involves /sys/class/leds/torch-light1/brightness, which seems not available on stock roms with stock kernels.
Thanks
ninestarkoko said:
Is it possble to edit torch-light power on the go, without rebooting?
Do i need modded kernel (from moonbutt)? The command you posted involves /sys/class/leds/torch-light1/brightness, which seems not available on stock roms with stock kernels.
Thanks
Click to expand...
Click to collapse
Hi,
I haven't looked into the interface for the stock kernel,
also haven't been on Stock for a long time - you could however grep for torch or flash if there is some kind of value that can be edited related to it
e.g.
Code:
find /sys | grep -i torch
Code:
find /sys | grep -i flash
Thanks
Phazonclash said:
Hi guys, I don't know if you still care, but I figured out how to fix that annoyance. The downside though: root is required.
in "root/system/etc", there's a file named "flashed_calc_parameters.cfg". That's the file you'll want to edit (and please, don't forget to do a backup before editing it).
It contains many different values allowing you to control the brightness of every LEDs (including the notification LED), but the 2 most important values for what we want to accomplish are:
if_torch_vr=
That one changes the Torch brightness (flashlight, when you record a video, etc.)
max_if_flash=
That one changes the camera Flash brightness (when you snap a picture)
If I'm not mistaken, the default value is 80000, and the maximum allowed is 500000 (I wouldn't use that value for an extended period of time though because of overheating concerns). At the moment, I'm using 250000 for both (Torch and Flash), and trust me it makes a BIG difference (and probably is the best battery life/heat/brightness compromise)
Click to expand...
Click to collapse
That worked like a charm! Thanks a lot man!
Although I noticed that max_if_flash was set to 1500000 uA.... And that's way higher than the value you specified... So.. I left this setting untouched
Sent from my E6683 using XDA-Developers mobile app
Phazonclash said:
If I'm not mistaken, the default value is 80000, and the maximum allowed is 500000 (I wouldn't use that value for an extended period of time though because of overheating concerns). At the moment, I'm using 250000 for both (Torch and Flash), and trust me it makes a BIG difference (and probably is the best battery life/heat/brightness compromise)
Click to expand...
Click to collapse
On Z5 compact default torch value is
LED If setting for Torch or video recording (uA). if_torch_vr = 25000
I noticed that i can increase it up to about 260000 (more or less the stock value for camera flash) but if i go over it, like 300000, after less than 20 seconds the phone switches off saying "Shutting down your device due to high temperature". But the phone isn't even warm....I don't know which sensor is triggered (maybe camera sensor) but this proves that the thermal engine of the Z5 line is VERY efficient in its work.
However, setting it to 250000 really boosts torch light but for me it's not enough: i'd like to get the flash power of my 4 years old Samsung Galaxy s2 which simply outclasses the Z5c flash light.
Maybe playing with thermal-config would help in this matter, if i have time and get the right knowledge to do it, taking my risks i could try.
zacharias.maladroit said:
Hi,
I haven't looked into the interface for the stock kernel,
also haven't been on Stock for a long time - you could however grep for torch or flash if there is some kind of value that can be edited related to it
e.g.
Code:
find /sys | grep -i torch
Code:
find /sys | grep -i flash
Thanks
Click to expand...
Click to collapse
Unfortunately there seems not to be any useful entry related to flash light power.
Phazonclash said:
Hi guys, I don't know if you still care, but I figured out how to fix that annoyance. The downside though: root is required.
in "root/system/etc", there's a file named "flashed_calc_parameters.cfg". That's the file you'll want to edit (and please, don't forget to do a backup before editing it).
It contains many different values allowing you to control the brightness of every LEDs (including the notification LED), but the 2 most important values for what we want to accomplish are:
if_torch_vr=
That one changes the Torch brightness (flashlight, when you record a video, etc.)
max_if_flash=
That one changes the camera Flash brightness (when you snap a picture)
If I'm not mistaken, the default value is 80000, and the maximum allowed is 500000 (I wouldn't use that value for an extended period of time though because of overheating concerns). At the moment, I'm using 250000 for both (Torch and Flash), and trust me it makes a BIG difference (and probably is the best battery life/heat/brightness compromise)
Click to expand...
Click to collapse
Well...,tried to edit but phone can't save the settings.Any idea why this happens?
EDIT:My bad,Root Explorer was mounted as R/O.Now that I managed to change the values I can't see any difference...
EDIT 2:All OK.Forgot to change permissions of the modified file...

[root] Any (notification) LED function "programming"

Recently I have been digging all about my LED in Moto X Force (for those who do not know, Motorola did install a LED on the front panel, but didn't enable it for anything usable - some people state that it's on when battery is very low, and then phone does not start, but I have never seen it). This very strange decision of Motorola encouraged me to look how to use it anyways. I have found a few apps that supposedly were in control of it, but none seemed to be nor well written nor even working. So I decided not to use those. But one app did occur to be usable. And only option I liked there was LED blinking every time any IO operation on the SD Card occured. Yet, the app is in two versions. One (free) disallows to "start at boot" so everytime i reboot the phone, I have to manually run it to "blink again".
As I'm a dev, I did little digging and found out that it's really simple to make such functionality by just one command as root (it's basically telling the linux kernel when to trigger the LED - thanks kernel.org people ):
echo mmc0 > /sys/class/leds/charging/trigger
Just one command.
As this applies to ANY device, it's for everybody to see.
Moreover, if you type:
cat /sys/class/leds/charging/trigger
You will see the response like this:
none fg_adc-online MOTOSH-ANTCAP-PSY-DRIVER-online usb-online flash0_trigger torch0_trigger usb-parallel-online wireless-online bms-online battery-charging-or-full battery-charging battery-full battery-charging-blink-full-solid dc-online rfkill0 mmc0 [mmc1] backlight default-on bcl-online rfkill13
You can guess that for example:
- battery-full will light your LED when battery is full
- wireless-online will light when WiFi is on (and possibly have the internet connection - just guessing, test by yourself, it's not the point of this post)
- and so on
The one in square brackets is "active" trigger (in this case mmc1 - external sd card)
If you type:
ls -1 /sys/class/leds/
(or even: ls -1r /sys/class/leds/ for more details)
You will see all the LEDs you can use.
When you use /sys/class/leds/*/trigger the kernel will do all the job for you. If you want to do the job yourself from within your app, you may use /sys/class/leds/*/brightness
To be honest, I really regret I have rooted my phone so late (after warranty) .
Have fun guys
PS. If you are not a dev, you still can use above in tools like Automate or Tasker.
PS2. WARNING: for Moto X Force fiddling with lcd-backlight "LED" can cause reboots (if done at boot, bootloops). Only two "trigger happy" working LEDs are charging and torch-light0 for my phone. Still, lcd-backlight possibly can be done "manually" (brightness)
Hey, this is already years old. But how to undo the changes?

[TUT] Enable system level night mode/night shift/blue light filter, no root required.

I just got a Fire HD 10 9th gen, and I can't root it, so unfortunately I could not install f.lux. I did some googling and it turns out you can turn on androids built in night mode instead with an ABD shell command, I have no idea why Amazon makes you use their crappy blue light filter, which is really just an overlay. So anyways,
1. Plug your Fire HD into your computer
2. Start an ABD shell (I use Fire Toolbox to do this easily)
3. Paste these two commands, one at a time:
"settings put secure night_display_activated 1"
"settings put secure night_display_auto_mode 1"
4. Open settings on your Fire HD, it should say night mode is enabled at the top, click this to change the schedule to sunset to sunrise or to any time range you want.
5. Use your Fire HD at night without being blinded or washing out your screen with amazon's crappy filter.
Thanks, the default night mode is so much better than the Blue shade filter crap they put in.
Oh NightLight does NOT show up on Screenshots!
But yes. it is indeed VERRY much better.
Thanks a lot.
So, the "night mode" in settings isn't shown after reboot? Do we have to run the adb commands every time we want to make changes?
If you leave it on "Automatic" it will show up again at night!
jcp2 said:
So, the "night mode" in settings isn't shown after reboot? Do we have to run the adb commands every time we want to make changes?
Click to expand...
Click to collapse
There isn't a "night mode" setting enabled there. But if you go to settings after pushing those adb commands and go in to settings, there will be a drop down from the top that says something like night mode is enabled. You can click that and set the time to activate it.
any way to make to stick it permanently even when rebooted and messed with? is there way to write these as init when I boot the FireHD?
If you're using Nova Launcher you can simply add a Widget -> Nova Activity.
Go to Settings and select .Settings$NightDisplaySuggestionActivity and you have a shortcut to the settings on the Main screen.
123nate said:
I just got a Fire HD 10 9th gen, and I can't root it, so unfortunately I could not install f.lux. I did some googling and it turns out you can turn on androids built in night mode instead with an ABD shell command, I have no idea why Amazon makes you use their crappy blue light filter, which is really just an overlay. So anyways,
1. Plug your Fire HD into your computer
2. Start an ABD shell (I use Fire Toolbox to do this easily)
3. Paste these two commands, one at a time:
"settings put secure night_display_activated 1"
"settings put secure night_display_auto_mode 1"
4. Open settings on your Fire HD, it should say night mode is enabled at the top, click this to change the schedule to sunset to sunrise or to any time range you want.
5. Use your Fire HD at night without being blinded or washing out your screen with amazon's crappy filter.
Click to expand...
Click to collapse
I tried this on a Samsung Galaxy Tab S8 running Android 12. The display went dark, and luckily I quickly set the first command to 0 instead of 1
When I did the 2nd command, it did nothing, but I'm worried the screen will stop showing anything later tonight if it's based off of automatically turning on at sunset.
I'm wondering if you know a way to do this now, for example maybe adjusting the Night Light settings?
The built in version on Samsung's tablet, which has an LCD display, is awful. No such problem with OLED or AMOLED displays.
https://www.reddit.com/r/GalaxyTab/comments/mu8m5a
That is a link explaining my problem in detail
I am thinking I am halfway there because running
settings put secure night_display_activated 1
Makes the display go dark and changing it to 0 or any other number like 2 or 3 switches it back to working.
I also tested both commands on my Pixel 6 Pro running Android 12 and they work perfectly.
running the second command as 2 or 3 picks either set times to automatically turn on or from sunset to sunrise.
I just need to try modifying the Night Light to be anything other than black
When I run the command, it changes the filter to black, because the screen stays on, and I can tell it's still on because the LCD shows light through a black screen
Yeah, the "eye care" mode is such stupid naive implementation of Samsung LCD tablets. And they also don't let you change the color temperature in the display settings like on Samsung AMOLED devices.
You can change to vivid or natural but no color temperature.
All the thridparty apps use this stupid trick with the color overlay because a app is not able to change the display calibration settings.
BUT Samsung should know better and change the screen color calibration to get the low blue light effect.
They are root users and should have the know how for their devices.
Because vivid and natural also changes the screens color calibration, they should be able to so instead of this stupid orange overlay.
With the extra dim mode I could not find out if they also simply put on a gray overlay or reduce correctly the led backlight to a minimum. But according to their stupid design choices and thinking the customer is dumb and will not notice, this is maybe also a gray overlay.
People are complaining for 2 years now, starting with the Tab S7!
If somebody also thinks that this is a dumb implementation please report this issue to Samsung: e.g. https://www.samsung.com/us/support/contact/

Looking for a "Low flashlight brightness fix" (torch light, not photo flash)

Hi!
I would like something like this https://forum.xda-developers.com/t/...ness-fix-torch-light-not-photo-flash.3872858/ for my Xperia 5 II.
Or if there is a setting for it. I have read on some webpages that maybe you could boost it in settings. This site https://smartandroid.fr/en/comment-allumer-la-lampe-torche-de-son-sony-xperia-5-2/ is about "Xperia 5" (not "Xperia 5 II") and say:
Slide the notification bar down
Go to the settings shortcut page on which your » Lamp »
Rather than clicking on the logo to light it, click on the text: » Lamp ", In this way you will access the torch settings of your Sony Xperia 5
You can now move the slider to manage the intensity of your flash. Namely that the device will save the setting and that it will have this intensity during the next ignition
I cant find that setting on my Xperia 5 II.
I have also tried this:
I go to Settings
There, at the top, I search for "Flash"
Now I see the setting "Flashlight", but nothing happens what I try to choose it.
Is there any magic out there to turn up the light?
Hi raffe,
I'm glad you posted this as I was looking to ask this question myself. The flashlight is really dim compared to my old phone so it would be great to turn up the brightness (lumens).
I also have no response when I look at settings and search torch. And no way to find other options for this feature. I even looked on Developer Tools.
Hopefully someone can help....?
Maybe the problem is, there is only one led diode..
Agree the "torch" is incredibly woeful, worst I've seen to be honest.
if you make a photo then you see that the led can be pretty bright even brighter than everyother phone I've had. Problem is that sony sets it low to allow it to go on for couple of hours winthout overheating.
I'm looking into it myself, if I find anything then I'll let you guys know
So it's me again. I have a solution but it requires root
Release v1.4.6 · BRoy98/GodlyTorch
Merge pull request #2 from TheDorkKnightRises/patch Fix LED file path for OnePlus One (bacon), proper device names for OP Merge pull request #3 from TheDorkKnightRises/patch Fix default double-...
github.com
Download this app and select device google pixel 2 it allows you to control the torch brightness
But be careful and don't burn your finger by setting it to 100% max bright like me hah. The 10% is normal brightness 20% is brighter than every other device and 30% is enough for myself
Qbus2002 said:
So it's me again. I have a solution but it requires root
Release v1.4.6 · BRoy98/GodlyTorch
Merge pull request #2 from TheDorkKnightRises/patch Fix LED file path for OnePlus One (bacon), proper device names for OP Merge pull request #3 from TheDorkKnightRises/patch Fix default double-...
github.com
Download this app and select device google pixel 2 it allows you to control the torch brightness
But be careful and don't burn your finger by setting it to 100% max bright like me hah. The 10% is normal brightness 20% is brighter than every other device and 30% is enough for myself
Click to expand...
Click to collapse
Thanks! That worked well
Wish there was a solution without root.
Qbus2002 said:
So it's me again. I have a solution but it requires root
Release v1.4.6 · BRoy98/GodlyTorch
Merge pull request #2 from TheDorkKnightRises/patch Fix LED file path for OnePlus One (bacon), proper device names for OP Merge pull request #3 from TheDorkKnightRises/patch Fix default double-...
github.com
Download this app and select device google pixel 2 it allows you to control the torch brightness
But be careful and don't burn your finger by setting it to 100% max bright like me hah. The 10% is normal brightness 20% is brighter than every other device and 30% is enough for myself
Click to expand...
Click to collapse
Good find! I only wish there were an easier way to toggle flashlight on/off to a preset intensity. The app doesn't provide a shortcut.
CazeW said:
Wish there was a solution without root.
Click to expand...
Click to collapse
The brightness setting may be hidden. On my Samsung simply long pressing the flashlight icon toggle takes you to the brightness control.
It was purely by accident that I discovered it as that's the only way to access it.
I agree that root shouldn't be required for such a simple thing.
Crap it
homerlovesbeer said:
I agree that root shouldn't be required for such a simple thing.
Crap it
Click to expand...
Click to collapse
It's probably buried in the settings or a 3rd party flashlight app can be used to access the brightness controls.
I would use the former rather than the latter...
blackhawk said:
It's probably buried in the settings or a 3rd party flashlight app can be used to access the brightness controls.
I would use the former rather than the latter...
Click to expand...
Click to collapse
If it's buried then it's buried so deep that it doesn't exist.
CazeW said:
If it's buried then it's buried so deep that it doesn't exist.
Click to expand...
Click to collapse
With Samsung there's no rythm or reason; double tapping or long pressing to access unindicted drop down menus. They are far and few in between so finding one tends to be a shock.
Another reason I seldom upgrade the firmware.
Maybe Sony is more sane but don't count on it.
Play with it...
I had to un-root the phone. When I rooted, the one app that could change the light intensity worked, but three other apps (financial and banking) said they would not start on a rooted phone and I never could get past that. Back to square 1 ;-(
Does anyone know the current version of an app like this? The application works well enough. But the problem is that two flash leds don't work at the same time. It lights up white or yellow alone, but both do not work at the same time. I have a Xiaomi Mi 9 device and I find the flash led running in the developer test interface of the device and the flash led running from the normal interface does not find a difference in lighting twice or three times.
raffe said:
Hi!
I would like something like this https://forum.xda-developers.com/t/...ness-fix-torch-light-not-photo-flash.3872858/ for my Xperia 5 II.
Or if there is a setting for it. I have read on some webpages that maybe you could boost it in settings. This site https://smartandroid.fr/en/comment-allumer-la-lampe-torche-de-son-sony-xperia-5-2/ is about "Xperia 5" (not "Xperia 5 II") and say:
Slide the notification bar down
Go to the settings shortcut page on which your » Lamp »
Rather than clicking on the logo to light it, click on the text: » Lamp ", In this way you will access the torch settings of your Sony Xperia 5
You can now move the slider to manage the intensity of your flash. Namely that the device will save the setting and that it will have this intensity during the next ignition
I cant find that setting on my Xperia 5 II.
I have also tried this:
I go to Settings
There, at the top, I search for "Flash"
Now I see the setting "Flashlight", but nothing happens what I try to choose it.
Is there any magic out there to turn up the light?
Click to expand...
Click to collapse
any help for galaxy a8 2018 ?? i have a problem Torchlight Intensity Control

Categories

Resources