[LED][DEV] Moto E LED Custom Controls - Moto E Android Development

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

Related

[FIX] For MANY scripts broken due to missing wait_for_fb_sleep/wake files.

I originally found the fix in the SuperCharger Thread when I found that my Flush-O-Matic script wasn't working properly on my Sony Z1.
See original posting here.
zeppelinrox said:
Hey I realized yesterday that Flush O Matic doens't work properly on newer kernels.
Well it works, but it doesn't wait for the screen to go off before flushing.
A little googlie told me that the newer kernels no longer have the /sys/power/wait_for_fb_sleep file.
Normally, FOM will try and read it's contents (but it's unreadable) and it just hangs until the device goes to sleep.
When it goes to sleep, that file can be read and the script gets "unhung" and flushes.
And when the file is missing, well FOM will just spit out errors (check the log) and dump cache without uh... waiting for the fan to be turned on...
BUTT (yeah, thats a big butt!) I fingered out another way for newer kernels... heh.
Check it via PC... with the screen on do this
Code:
adb shell
su
while [ "`cat /sys/class/graphics/fb0/dynamic_fps`" ]; do sleep 1; done; echo " OK Flush Time!"
Who's your daddy!? LOL
While the screen is on it should hang there until you turn off the screen.
When the screen goes off, it will pronounce what "time" it is...
I'll probably do sleep 10 instead of sleep 1 tho to minimize battery suckage.
Click to expand...
Click to collapse
This fix would be applicable to various scripts on xda that will get outdated due to the missing wait_for_fb_sleep/wake files on some device/kernel combinations.
Currently effected hardware, that I'm aware so far: some Sony, Moto and Nexus devices using kernel version 3.3 or above.
These scripts change things or do things depending on whether the screen turns off or turns on.
Examples are cpu governor scripts or other screen state scaling scripts.
As mentioned above, it had effected my FOM script which dumps caches at a user defined interval.
However, when the time is up, it will actually wait until the screen is off if the screen happens to be on at the time.
So if you have a misbehaving script due to the missing /sys/power/wait_for_fb_sleep/wake files, you should have 2 other files that you can use.
1. /sys/class/graphics/fb0/dynamic_fps
2. /sys/class/graphics/fb0/show_blank_event
File contents with screen off:
Code:
[email protected]:/ $ cat /sys/class/graphics/fb0/dynamic_fps
[email protected]:/ $ cat /sys/class/graphics/fb0/show_blank_event
panel_power_on = 0
[email protected]:/ $
File contents with screen on:
Code:
[email protected]:/ $ cat /sys/class/graphics/fb0/dynamic_fps
60
[email protected]:/ $ cat /sys/class/graphics/fb0/show_blank_event
panel_power_on = 1
[email protected]:/ $
So when the screen is off, dynamic_fps is empty but has a value (60 in my case) when the screen is on.
I preferred to take advantage of that file.
However some may like to use the contents of show_blank_event and check whether panel_power_on = 0 (off) or panel_power_on = 1 (on).
Of course, a script will have to check and decide whether to use the wait_for_fb_sleep file or use the new way.
So a fixed script will look something like:
Code:
if [ -f "/sys/power/wait_for_fb_sleep" ]; then
echo "Android is now `cat /sys/power/wait_for_fb_sleep`!"
else while [ "`cat /sys/class/graphics/fb0/dynamic_fps`" ]; do sleep 10; done
echo "Android is now sleeping!"
fi
So if that code is ran when the screen is on, when the screen is off, the output would be Android is now sleeping! and it won't matter if you have the wait_for_fb_sleep file
Alternately, to do something when the screen turns on...
Code:
if [ -f "/sys/power/wait_for_fb_wake" ]; then
echo "Android is now `cat /sys/power/wait_for_fb_wake`!"
else while [ ! "`cat /sys/class/graphics/fb0/dynamic_fps`" ]; do sleep 10; done
echo "Android is now awake!"
fi
Of course, when the screen comes on, the output will be Android is now awake!
I used sleep 10 so that it doesn't do any needless work.
Of course sleep 1 would give an instant reaction but isn't very battery or cpu friendly.
You can decide for yourself how long is a good sleep interval between checks.
Anyhow, hope that helped
Nice! Will try on my VU
sent from my LG-P895 using Tapatalk bajakan
Thank you
I wanted this to implement a small idea of mine ,also scanned through the 11k+ lines from supercharger script but couldn't find screen off thingy
Yeah,finding a small line in FastEngineFlush.sh also was hard
But this post helped!
The reason why your are called a XDA Scripting Genius! :good:
Really useful!
Madaditya said:
I wanted this to implement a small idea of mine ,also scanned through the 11k+ lines from supercharger script but couldn't find screen off thingy
Yeah,finding a small line in FastEngineFlush.sh also was hard
But this post helped!
The reason why your are called a XDA Scripting Genius! :good:
Really useful!
Click to expand...
Click to collapse
Whats your idea?
And yeah, even the flush script is rather complex lol
zeppelinrox said:
Whats your idea?
And yeah, even the flush script is rather complex lol
Click to expand...
Click to collapse
LOL yeah.
Wanted to make a background script that turns your data connection off on screen off + one minute and enables data on screen on.
Something close to Stamina mode in Sony Devices.
Reason,i face considerable battery drain on Custom roms,and a xperia user always misses Stamina mode
Madaditya said:
LOL yeah.
Wanted to make a background script that turns your data connection off on screen off + one minute and enables data on screen on.
Something close to Stamina mode in Sony Devices.
Reason,i face considerable battery drain on Custom roms,and a xperia user always misses Stamina mode
Click to expand...
Click to collapse
Nice idea!
Whats the command to disable data?
zeppelinrox said:
Nice idea!
Whats the command to disable data?
Click to expand...
Click to collapse
svc data enable/disble
for wifi:
svc wifi enable/disable
Madaditya said:
svc data enable/disble
for wifi:
svc wifi enable/disable
Click to expand...
Click to collapse
Oh nice.
You learned me something lol
I couldn't find /sys/class/graphics/fb0/show_blank_event or /sys/class/graphics/fb0/dynamic_fps or /sys/power/wait_for_fb_wake/sleep. Instead i am using this /sys/class/leds/lcd-backlight/brightness. 0 will mean screen is off, any other value for screen on. Thanks You could add this in OP

Solution: Enable Breathlight Notifications for Third Party Apps

Hi,
i was really annoyed by not having a Status LED on this phone and digged into this. First i tried Setting the Battery level to something below 15 to make the Breathlight come on but as soon as a system Battery update was triggered the Light went off ... Next: Created a App to send a fake SMS to my phone (triggering the SMS_RECEIVED intend) - failed to get it running, needs to be a prviliged system app (priv-app), gave up on this ... looked into the sys interface ... and tadaaa:
Code:
cat /sys/class/breathlightdrv/breathlight/rgb
gave me "this rgb has four parameter R_level G_level B_level mode" ... so lets try this ...
Switching the light full on (steady)
Code:
echo "255 255 255 0" > /sys/class/breathlightdrv/breathlight/rgb
Switching the light full on (pulse)
Code:
echo "255 255 255 1" > /sys/class/breathlightdrv/breathlight/rgb
Switching the light full off (= dark steady)
Code:
echo "0 0 0 0" > /sys/class/breathlightdrv/breathlight/rgb
now with this info and Tasker you can add your Breath Notification to e.g. K9 Mail Events, i have to look into tasker to catch e.g.Whatsapp, Threema etc incoming Messages events to notify with a nice pulsing Breathlight
Here is my working tasker definition, rename to backup.prj.xml enjoy!
don't forget to run the task as root!
dfs_ said:
Hi,
i was really annoyed by not having a Status LED on this phone and digged into this. First i tried Setting the Battery level to something below 15 to make the Breathlight come on but as soon as a system Battery update was triggered the Light went off ... Next: Created a App to send a fake SMS to my phone (triggering the SMS_RECEIVED intend) - failed to get it running, needs to be a prviliged system app (priv-app), gave up on this ... looked into the sys interface ... and tadaaa:
Code:
cat /sys/class/breathlightdrv/breathlight/rgb
gave me "this rgb has four parameter R_level G_level B_level mode" ... so lets try this ...
Switching the light full on (steady)
Code:
echo "255 255 255 0" > /sys/class/breathlightdrv/breathlight/rgb
Switching the light full on (pulse)
Code:
echo "255 255 255 1" > /sys/class/breathlightdrv/breathlight/rgb
Switching the light full off (= dark steady)
Code:
echo "0 0 0 0" > /sys/class/breathlightdrv/breathlight/rgb
now with this info and Tasker you can add your Breath Notification to e.g. K9 Mail Events, i have to look into tasker to catch e.g.Whatsapp, Threema etc incoming Messages events to notify with a nice pulsing Breathlight
Click to expand...
Click to collapse
Can you help me how I can change the notification led on my vowney lite
arpagr said:
Can you help me how I can change the notification led on my vowney lite
Click to expand...
Click to collapse
What do you want to have exactly? Install tasker and use my posted config should be all there is to it
Help
I tried these profile in my lite vowney and does not work it teaches profiles no
active What?, Can you help? Thanks
The profiles don't have to show as active, they are only active when messages are new, does the blink on/blink off actions work when started manually?
dfs_ said:
The profiles don't have to show as active, they are only active when messages are new, does the blink on/blink off actions work when started manually?
Click to expand...
Click to collapse
I did not try it manually
lebrillo said:
I did not try it manually
Click to expand...
Click to collapse
go to tasker / Tasks / Blink On/ press the play button in the lower left corner.
does it blink?
dfs_ said:
go to tasker / Tasks / Blink On/ press the play button in the lower left corner.
does it blink?
Click to expand...
Click to collapse
no, /rgb root: false timeout:-1
now work, is root. Than´s for you work
Thank you so much!
I have zopo zp920, and it works flawlessly.
Do you think that steady light will drain way more battery than pulse one? I am thinking that I will use both (steady and pulse) notifications on different occasions..
Dunlop77 said:
Thank you so much!
I have zopo zp920, and it works flawlessly.
Do you think that steady light will drain way more battery than pulse one? I am thinking that I will use both (steady and pulse) notifications on different occasions..
Click to expand...
Click to collapse
great to hear it works the same on your device; regarding battery life - i have no idea i guess you will have to test if the drain is even noticable
dfs_ said:
Here is my working tasker definition, rename to backup.xml enjoy!
don't forget to run the task as root!
Click to expand...
Click to collapse
If I try to import your tasker definition as tasker profile I get a error message: Error: the imported file contains more than one profile. Any advice to import your profile correctly.
quick google showed this - rename file to backup.prj.xml

[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?

[ROOT] Experimenting with the charging LED

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...

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