Screen Bleed Workarounds - HTC Amaze 4G

I'm really sensitive to the button backlight screen bleed on these phones. Here are two things which have helped me so far:
1. mVideoPlayer https://market.android.com/details?id=afzkl.development.mVideoPlayer&feature=search_result
This is the only video player I have found which disables the button backlight when playing in the dark.
2. Screen Filter https://market.android.com/details?id=com.haxor&feature=search_result
Allows you to disable the button backlight all together!!! Set the filter to 100% if you don't want it to dim your screen and the de-select the check box for soft-key backlight.
Ideally I would prefer to find an app which will timeout the capacitive back lighting but I have not been able to find one.

Dude... you just fixed my phone!
I used the screen filter app and it works perfect!
I mean those buttons are in the same place all the time why do they even need to be lit?
Thanks for sharing~

Turboboxer said:
Dude... you just fixed my phone!
I used the screen filter app and it works perfect!
I mean those buttons are in the same place all the time why do they even need to be lit?
Thanks for sharing~
Click to expand...
Click to collapse
I felt the same way

Thanks a lot that screen bleed is gone. Doesn't bother at all now. Never need the keys at the bottom to light anyways.
Sent from my HTC_Amaze_4G using xda premium

Tasker + Locale Execute Plug-in
OR
Tasker + Secure Settings (Recommended)
Secure Settings -> Market Link
Local Execute Plug-in -> Market Link
Tasker -> Market Link
There is a difference between the Market Version and Off market version -> http://tasker.dinglisch.net/faq-ov.html
Command to turn off softkeys backlight -> echo 0 > /sys/class/leds/button-backlight/brightness
For Locale Execute Plug-in, "@! echo 0 > /sys/class/leds/button-backlight/brightness" without the quotes

heyodee said:
Tasker + Locale Execute Plug-in
OR
Tasker + Secure Settings (Recommended)
Secure Settings -> Market Link
Local Execute Plug-in -> Market Link
Tasker -> Market Link
There is a difference between the Market Version and Off market version -> http://tasker.dinglisch.net/faq-ov.html
Command to turn off softkeys backlight -> echo 0 > /sys/class/leds/button-backlight/brightness
For Locale Execute Plug-in, "@! echo 0 > /sys/class/leds/button-backlight/brightness" without the quotes
Click to expand...
Click to collapse
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?

vw671 said:
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?
Click to expand...
Click to collapse
Tasker is arguably one of the best apps ever developed on android. Its feature extensive. A must have app for all android devices. Then again, that's my setup, tot i share

vw671 said:
Nice, but why spend the money if you only using it for that feature??? Couldn't you just run the echo from a Terminal?
Click to expand...
Click to collapse
Yes it can be tun straight from terminal emulator.
Code:
su
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 0333 /sys/class/leds/button-backlight/brightness
The second line makes the changes permanent until reboot. Otherwise locking the screen and unlocking again, as well as some other things, will turn the backlights back on again.
To undo the permanence, type this:
Code:
su
chmod 0647 /sys/class/leds/button-backlight/brightness

vw671 said:
I felt the same way
Click to expand...
Click to collapse
+1,000,000 and thanks OPoster for this!!!

the screen filter darkens it a lot..

Felinos11 said:
the screen filter darkens it a lot..
Click to expand...
Click to collapse
Set it to 100% to disable the filter.

Thank you!!! Great find! Now there's not a single flaw with my phone .

For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem

lgtsanev said:
For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem
Click to expand...
Click to collapse
have had trouble sideloading apps too
I just reboot when it happens
fixed the last 3 times. Seems to happen every couple of days for whatever reason

Awesome thanks a lot .. works great

lgtsanev said:
For some weird reason, after installing Screen Filter, I was unable to install a third-party application downloaded from the Internet, the Install button froze. Then after uninstalling Screen Filter everything went back to normal...
Just in case someone else bumps into the same problem
Click to expand...
Click to collapse
Just pull down the taskbar and click on the screen filter icon to disable it , and your apps should install like normal .

I have tasker and I just downloaded secure settings. However I am confused by your instructions. How do I set this up? Do I create a profile if so what profile? What type of task do I assign that profile? Sorry to sound like a tasker newbie but I am. I saw your post purchased tasker and tried to set it up but there is no clear cut way.
Sent from my HTC_Amaze_4G using XDA App

cirrob said:
I have tasker and I just downloaded secure settings. However I am confused by your instructions. How do I set this up? Do I create a profile if so what profile? What type of task do I assign that profile? Sorry to sound like a tasker newbie but I am. I saw your post purchased tasker and tried to set it up but there is no clear cut way.
Sent from my HTC_Amaze_4G using XDA App
Click to expand...
Click to collapse
Create New Profile -> Softkeys Light
First Context -> Event -> Display -> Display ON
**The Task should pop up**
Add New -> Plugin -> Secure Setting -> Run Command ( from dropdown)
Use Root (Checked)
Command Name (backlight) or whateva
Command is
chmod 644 /sys/class/leds/button-backlight/brightness (make file writable for chanages
echo 1 > /sys/class/leds/button-backlight/brightness (turn softkeys backlight on)
sleep 10 (wait 10 seconds)
echo 0 > /sys/class/leds/button-backlight/brightness (turn softkeys backlight off)
chmod 444 /sys/class/leds/button-backlight/brightness (make readonly to prevent changes by system)
Thats it, you can tweak however you like, or tell it to stay off when a particular app is running in Fore Ground stuff like that
***You could add a second context to the first So when you are in a bright environment, it doesn't come on
Second Context -> State -> Sensor -> Light Level --- Range (0-15)

Thanks! I will try this when I get home today. I appreciate your detailed and patient response.
Sent from my HTC_Amaze_4G using XDA App

OK I think I did something wrong. I created the profile just fine and then created the task by cutting and pasting the text of your command in the run command field of secure settings. Hit apply and nothing has changed.
Am I missing a step?
Sent from my HTC_Amaze_4G using XDA App

Related

[Q] x10 mini pro keyboard backlight

I've tried searching in the forums, but no luck..
I've installed CM6-v3.1 on my phone, and now it seems that the backlight on the pull-out-keyboard always is on? (as long as the phone's not at standby) It drains my battery.. Any ways to fix this?
Also, I wonder if it's possible to get the key-setup fixed for the pull-out-keyboard?
It's now in English, and I have an Norwegian phone..
Then I have 3more letters in my alphabet (æ-ø-å), which means I have some extra keys on it.. The keyboard is messed up with the signs, but not the letters and numbers.. f.inst. : my dot button (.) and the '':'' button now shows ''?'' and ''!'' ..
My ''æ'' button shows dot (.) and '':''...
See my point ? I think I just need the Original SE ''pull-out-keyboard'' file to replace the CM file? If, how do I get it?
Please answer my first question first, as that is more important to me
Thanks!
HanMedSverd said:
I've tried searching in the forums, but no luck..
I've installed CM6-v3.1 on my phone, and now it seems that the backlight on the pull-out-keyboard always is on? (as long as the phone's not at standby) It drains my battery.. Any ways to fix this?
Also, I wonder if it's possible to get the key-setup fixed for the pull-out-keyboard?
It's now in English, and I have an Norwegian phone..
Then I have 3more letters in my alphabet (æ-ø-å), which means I have some extra keys on it.. The keyboard is messed up with the signs, but not the letters and numbers.. f.inst. : my dot button (.) and the '':'' button now shows ''?'' and ''!'' ..
My ''æ'' button shows dot (.) and '':''...
See my point ? I think I just need the Original SE ''pull-out-keyboard'' file to replace the CM file? If, how do I get it?
Please answer my first question first, as that is more important to me
Thanks!
Click to expand...
Click to collapse
the keyboard light is a quick dirty fix coz we have bigger bugs to solve now i fixed it that way for now
and don't panic the led almost don't eat battery mike and i will look into it after fixing the bigger bugs
and please reflash make an backup in xRecovery flash se firmware back
then please copy the /syetem/usr folder and sent it to me (pm) and i will fix your keyboard (i thougt it was the same as swedish (try to flash that one first) if it dont work sent me your usr folder)
after you sent it you can place your floyo backup back
Owain
i have the same problem here.. Not just about killing battery owain, but it reduce our own visibility of the keyboard characters itself when we are on the bright room.. Maybe there's a generic fix that we can apply by ourself if that's quite easy for us?
Well anyway if it's easy to fix then i guess you must be already bundling it on the next version Thanks so much for the hard work.
hansip87 said:
i have the same problem here.. Not just about killing battery owain, but it reduce our own visibility of the keyboard characters itself when we are on the bright room.. Maybe there's a generic fix that we can apply by ourself if that's quite easy for us?
Well anyway if it's easy to fix then i guess you must be already bundling it on the next version Thanks so much for the hard work.
Click to expand...
Click to collapse
if you really wanna turn it of do this in root explorer
put a "0" in "/sys/devices/platform/msm_pmic_misc_led.0/brightness" file and save it now your led is off and if you want it on again just put a 1 or any number above 1 in the file it is quite simple lol
im trying to get it nice fixed in the CM settings but that kinda hard so when i fail at that i will try another way bash script i guess
owain94 said:
put a "0" in "/sys/devices/platform/msm_pmic_misc_led.0/brightness" file and save it now your led is off and if you want it on again just put a 1 or any number above 1 in the file it is quite simple lol
Click to expand...
Click to collapse
with Tasker and Locale Execute plugin, you can automate this task so that keyboard led turns on when keyboard is out and it turns off when not out
owain94 said:
Please reflash make an backup in xRecovery flash se firmware back
then please copy the /syetem/usr folder and sent it to me (pm) and i will fix your keyboard (i thougt it was the same as swedish (try to flash that one first) if it dont work sent me your usr folder)
after you sent it you can place your floyo backup back
Owain
Click to expand...
Click to collapse
Ok, I got a little confused in there.. Im really a noob so ;
* Reflash to CM again? And then make backup.
* Then flash to SE fw. and copy ''/syetem/usr'' (< u mean system right?)
* Then flash back to CM again, and w8 4 U fix 4 me?
(About the SWE. Keyb. : Sweden have 3 letters 2, but it's not the same symbol.. :S Then I'll probably get the key-setup right, but it will input the swedish letters?)
Thanks 4 the help! (I dont rlly care about the backlight, just wondered ^^)
P's, I did take backup in xRecovery b4 starting with CM (and thats the 2.1-update1 version..). Is it possible 2 find the file in the backup? or i can send u the backup? Then I wont have 2 reflash..
Also : When im gonna reflash, which program should I use 2 backup my apps ?
My keyboard : http://www.google.com/imgres?imgurl...ndsp=21&ved=1t:429,r:16,s:19&biw=1366&bih=625
drsood said:
with Tasker and Locale Execute plugin, you can automate this task so that keyboard led turns on when keyboard is out and it turns off when not out
Click to expand...
Click to collapse
Really ?
I tried it, but no chance that tasker detect the keyboard out event.
You did it ?
regs
Dominic
Edit :
Sorry, I am stupid, of course it works, I had to enable the task
just flashed the ''danish.zip'' works perfectly" ;D
TESTED and working like a charm...
with Tasker and Locale Execute plugin on the STATE Keyboard Out, executing echo "1" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness and as exit task echo "0" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness
starting from the above minimal procedure, you could customize as you want (else trigging from light intensity) the keyboard led behaviour...
respect
I have that same issue about that special bottom right button "àü" in Belgium, which had to show me a panel of symbols or could push it with another key to have a special letter like these "é è ë ê à ç"
it should normally be the same as the french keyboard (don't know if they have QWERTY or AZERTY keyboards tho)
liquidsk said:
TESTED and working like a charm...
with Tasker and Locale Execute plugin on the STATE Keyboard Out, executing echo "1" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness and as exit task echo "0" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness
starting from the above minimal procedure, you could customize as you want (else trigging from light intensity) the keyboard led behaviour...
respect
Click to expand...
Click to collapse
hello how to change /sys/devices/platform/msm_pmic_misc_led.0/brightness into 1 or 0???
im trying to do with rootexplorer but when i open this file via text editor it shows blank & after i changed the value & exit after saving its not changed means file remains blank..
please help?
liquidsk said:
TESTED and working like a charm...
with Tasker and Locale Execute plugin on the STATE Keyboard Out, executing echo "1" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness and as exit task echo "0" >> /sys/devices/platform/msm_pmic_misc_led.0/brightness
starting from the above minimal procedure, you could customize as you want (else trigging from light intensity) the keyboard led behaviour...
respect
Click to expand...
Click to collapse
Not sure where to input these commands. Mind give me a simplistic step by step where to go to input these commands? thanks in advance!
ctalcant said:
Not sure where to input these commands. Mind give me a simplistic step by step where to go to input these commands? thanks in advance!
Click to expand...
Click to collapse
Make sure u have installed Tasker and Locale Execute plugin (from market)
after that just import the attached profile into tasker...
drsood said:
with Tasker and Locale Execute plugin, you can automate this task so that keyboard led turns on when keyboard is out and it turns off when not out
Click to expand...
Click to collapse
Please help me with this :
I don't want the backlight to be off.. I just want it to be off when the keyboard is in, and if it's out> I want it to turn off when not touched, and turn on as long as I use the buttons..
Think thats how the default in the 2.1-update1 SE fw was..
At least thats how it was on my phone
Working with locale plugin ... just one thing, every time I open or close physical keyboard, a notification appears, echo "x" >> .... on half of my screen, how to remove it ?
D4rKn3sSyS said:
Working with locale plugin ... just one thing, every time I open or close physical keyboard, a notification appears, echo "x" >> .... on half of my screen, how to remove it ?
Click to expand...
Click to collapse
u must have entered the command as "echo..........."
just add @ infront of the command and the notifications (toasts) should disappear e.g. "@ echo...."
drsood said:
u must have entered the command as "echo..........."
just add @ infront of the command and the notifications (toasts) should disappear e.g. "@ echo...."
Click to expand...
Click to collapse
Nice man thanks
keyboard light
Works perfect for me tasker+locale execute= problem solved. thanks.,..
widget
I'll be the first to admit that I'm a noob. But it seems to me that if you can switch it at runtime with a command it would be fairly easy to make a widget for the switching right?
That way you can manually select at any moment whether you want the light to be on or not. (Possibly working together with the solution above to automatically switch it off when the keyboard isn't out.)
In-deep-taskin'
JDRX said:
I'll be the first to admit that I'm a noob. But it seems to me that if you can switch it at runtime with a command it would be fairly easy to make a widget for the switching right?
That way you can manually select at any moment whether you want the light to be on or not. (Possibly working together with the solution above to automatically switch it off when the keyboard isn't out.)
Click to expand...
Click to collapse
In Tasker you have the ability to "link" the keyb-light-on command to the keyb-out state, aswell to "link" the keyb-light-off script to the keyb-in state (or as exit task)...
BUT
you could also make the command on + off on exit task (keyb-in) LINKED to a variable determined by an external condition (external LIGHT intensity):
in simple words:
hi tasker, i would like to have my keyboard backlight on when i slide out my physical qwerty but only ***IF*** the ambient light level is not enough to make me easily identify the buttons, then, please tasker, turn off the light when I close my qwerty if before you have turned it on.
To achieve this behaviour, just check the ***If*** box by editing the execute command in the created task (keyb-light-on when keyb-state=out) to set the If variable. Select as variable **Light level** (%LIGHT) and link it to a math **Condition Operator** like "less than" (<) then put the desired percentage of ambient light below which (in this case) the command keyb-light-on triggered by keyb-out state will get executed. Remember to also create an exit task with the keyb-light-off execute command (obviously without setting the **IF** variable).
Note:
On tasker, the first time you use the %LIGHT (light level variable) you should expose your device first a while in a dark place, then a while in a WELL lightened place. Do that in order to allow tasker to set properly the on-off border working conditions to internally understand light sensor datas
Hope that could help.
Any doubt --> post here
best regards,
respect!

[MOD] Force transparent bar Leds Power-Off

With this mod you can both modify max led light intensity and force power off to save battery.
Root access required.
You need to go, with a file explorer, here: system/etc and open this file hw_config, then search down echo 20000 > $dev/button-backlight/max_current
Modify ir to echo 1 > $dev/button-backlight/max_current and add this other line below echo 0 > $dev/button-backlight/max_brightness
Save, reboot and its done!
If instead of power off you want to set the max just leave echo 20000 > $dev/button-backlight/max_current as originally and set echo X > $dev/button-backlight/max_brightness X = 255 to 0. The default used intensity is 80 so you will notice intensity change from 80 to 0.
thanks mate!
but do you know how to make it stay on with the screen?
thanks... this is exactly what im searching for
Work fine. Thanks mate....!!!! (^.^)
It would be nice if you could have the same thing for non root users.
Do you think this would work on xperia u?...
ankh.red said:
Do you think this would work on xperia u?...
Click to expand...
Click to collapse
There is no such line in hwconfig for Xperia u..
To OP: Any solutions for Xperia u?
Sent from my ST25i using xda premium
I don't have "20000" on my Xperia S, just "2000".
Which device do you have?
chochic10 said:
It would be nice if you could have the same thing for non root users.
Click to expand...
Click to collapse
dont belive that this will be possible, because it needet editing system files. even the app Adjbrightniss from the Play store needs root access to dissable the LED
no amtters 2000, 200000 nor 999999 to the max. the real max is 255 xD
This is awesome work great!!
Thank you
Sent from my LT26i using xda app-developers app
Xperia U users may install an app called Screen Filter to turn off the Transparent Panel.
Just unmark 'Enable soft-key backlight' and enable the app.
I've been using it, and works like a charm
P.S. Do NOT set the filter brightness to 0 %. You won't be able to see a thing, and you'll be forced to reset.
babu.rajiv2007 said:
Xperia U users may install an app called Screen Filter to turn off the Transparent Panel.
Just unmark 'Enable soft-key backlight' and enable the app.
I've been using it, and works like a charm
P.S. Do NOT set the filter brightness to 0 %. You won't be able to see a thing, and you'll be forced to reset.
Click to expand...
Click to collapse
Also you need to disable it when you want to install an app. (not from store).
Sent from my ST25i using xda app-developers app
ankh.red said:
Also you need to disable it when you want to install an app. (not from store).
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Did anyone find out how the screenfilter app disables the default lights on the Xperia U?
Would very much like to access it via shell scripting to do the same for a new upcoming LED control app...
nixx-X1 said:
Did anyone find out how the screenfilter app disables the default lights on the Xperia U?
Would very much like to access it via shell scripting to do the same for a new upcoming LED control app...
Click to expand...
Click to collapse
Screen Filter doesn't really turn off the Illumination Bar. If you open up the music player, or gallery or even if you just change the theme, it lights up.
Screen Filter just turns off the soft key light characteristics, not the entire functions of Illumination Bar
.Sent from my LT26i using xda premium
babu.rajiv2007 said:
Screen Filter doesn't really turn off the Illumination Bar. If you open up the music player, or gallery or even if you just change the theme, it lights up.
Screen Filter just turns off the soft key light characteristics, not the entire functions of Illumination Bar
Click to expand...
Click to collapse
I know, but the way it disables those soft-key-lights is ideal for me to suppress the normal (theme bases, non-application-bounded) light up actions.
Been trying to figure out where it does what, but still haven't found it (and dev. is not so responsive to emails..)
nixx-X1 said:
I know, but the way it disables those soft-key-lights is ideal for me to suppress the normal (theme bases, non-application-bounded) light up actions.
Been trying to figure out where it does what, but still haven't found it (and dev. is not so responsive to emails..)
Click to expand...
Click to collapse
Wish you luck, mate.
Hope you succeed
can anyone say me the original permission for the hw-config.sh?
RW-R--R--
(code 644)
Thank's for your work Yakandu, I've just one regret: we can't use illumination app for sms with this mod.

after each restart my brightness go back to default with auto mark why?

i always turn off the v on the auto brightness cause i love my on the full bright
but every restart i make it turn back to default ?
I too don't like this behavior, particularly because if restarting the phone in poor light conditions the screen is automatically set to a very low brightness.
I'd like to know if this is a bug or it's so by design...
By design. All my mates did this. Don't like either but is what it is.
yup. an issue for me too
This is seriously a Huawei 'feature'? Holy.... :silly:
Possible solution:
Depending on your exact model and restrictions placed on it in your country/territory you should be able to do the following to stop this (VERY!) annoying issue:
1) Turn-off power-saving battery modes if you haven't already
2) Go into 'Settings' then: System -> Developer Options -> there will be an option called "Increase Readability Under Sunlight" -> Toggle this setting to "OFF"
3) Go back to main Settings screen, then "Display" and ensure that "Auto-Adjust" is OFF
This should stop the phone from constantly turning the automatic adjustment back on every time you restart.
NOTE: Some may find that they do not see a "Developer Options" menu within their System settings. If this is you then you MIGHT be able to activate this hidden menu by going into the System section then About Phone, then press/click the "Build Number" part of the screen 7 times in a row.
If this works for you it will pop up with a message such as "you are now an authorised developer"
If you get this kind of message then if you go back to your main System settings screen you should now see the previously hidden 'Developer Options' section
Hope this helps some of you, I had to do this on my new Mate 20 Pro
I really hoped that 146 update solved this problem, but even with all the above settings disabled, after reboot the auto brightness setting always stays ON...
Even more annoying is the dimming within certain apps. When you open Chrome for example, the display dims. And when you close Chrome the display gets brighter (to its original value) again. Haven't found a way to fix this yet. The problem occurs with autobrightness disabled as well as when the autobrightness is enabled. Also with Increase Readability Under Sunlight toggled off.
I'm looking for a fix that stops the dimming when opening certain apps, but let's me be able to keep the autobrightness function on.
I'm not sure if this works, I'm not even sure if the app is called power genie or power genius. But I saw this in a forum.
. non rooted solution will be: adb shell pm uninstall --user 0 com.huawei.powergenie
Try this as for me it is working perfect. Download setting database editor. Install it, after that go to setedit app and find hw_screen_auto_brightness_adj and delete line. Reboot and voila. No more dimming or increase in autobrightness.
buncina said:
Try this as for me it is working perfect. Download setting database editor. Install it, after that go to setedit app and find hw_screen_auto_brightness_adj and delete line. Reboot and voila. No more dimming or increase in autobrightness.
Click to expand...
Click to collapse
This doesn't work I've tried it half dozen times and the line keeps magically appearing again after each reboot
Sent from my HUAWEI LYA-L09 using XDA Labs
Darkat70 said:
This doesn't work I've tried it half dozen times and the line keeps magically appearing again after each reboot
Sent from my HUAWEI LYA-L09 using XDA Labs
Click to expand...
Click to collapse
Same here. Doesn't work for me. [emoji24][emoji24]
Gesendet von meinem LYA-L29 mit Tapatalk
buncina said:
Try this as for me it is working perfect. Download setting database editor. Install it, after that go to setedit app and find hw_screen_auto_brightness_adj and delete line. Reboot and voila. No more dimming or increase in autobrightness.
Click to expand...
Click to collapse
which app do I have to install to delete this line or is it by adb shlell because I do not have root
Yeah I deleted the line and after a restart it just comes back
amonline said:
Depending on your exact model and restrictions placed on it in your country/territory you should be able to do the following to stop this (VERY!) annoying issue:
1) Turn-off power-saving battery modes if you haven't already
2) Go into 'Settings' then: System -> Developer Options -> there will be an option called "Increase Readability Under Sunlight" -> Toggle this setting to "OFF"
3) Go back to main Settings screen, then "Display" and ensure that "Auto-Adjust" is OFF
This should stop the phone from constantly turning the automatic adjustment back on every time you restart.
NOTE: Some may find that they do not see a "Developer Options" menu within their System settings. If this is you then you MIGHT be able to activate this hidden menu by going into the System section then About Phone, then press/click the "Build Number" part of the screen 7 times in a row.
If this works for you it will pop up with a message such as "you are now an authorised developer"
If you get this kind of message then if you go back to your main System settings screen you should now see the previously hidden 'Developer Options' section
Hope this helps some of you, I had to do this on my new Mate 20 Pro
Click to expand...
Click to collapse
No this has been tried several times by several people it doesn't work.
Sent from my HUAWEI LYA-L09 using XDA Labs
---------- Post added at 06:03 PM ---------- Previous post was at 06:01 PM ----------
buncina said:
Try this as for me it is working perfect. Download setting database editor. Install it, after that go to setedit app and find hw_screen_auto_brightness_adj and delete line. Reboot and voila. No more dimming or increase in autobrightness.
Click to expand...
Click to collapse
This doesn't work after a few reboots this line magically reappears.
Sent from my HUAWEI LYA-L09 using XDA Labs
Any solution to this using root? So annoying..
p30pro
amonline said:
Depending on your exact model and restrictions placed on it in your country/territory you should be able to do the following to stop this (VERY!) annoying issue:
1) Turn-off power-saving battery modes if you haven't already
2) Go into 'Settings' then: System -> Developer Options -> there will be an option called "Increase Readability Under Sunlight" -> Toggle this setting to "OFF"
3) Go back to main Settings screen, then "Display" and ensure that "Auto-Adjust" is OFF
This should stop the phone from constantly turning the automatic adjustment back on every time you restart.
NOTE: Some may find that they do not see a "Developer Options" menu within their System settings. If this is you then you MIGHT be able to activate this hidden menu by going into the System section then About Phone, then press/click the "Build Number" part of the screen 7 times in a row.
If this works for you it will pop up with a message such as "you are now an authorised developer"
If you get this kind of message then if you go back to your main System settings screen you should now see the previously hidden 'Developer Options' section
Hope this helps some of you, I had to do this on my new Mate 20 Pro
Click to expand...
Click to collapse
Tried this a couple of times, off/on/off on my p30pro, but makes no difference at all, any other ideas for these phones?
I had the same annoying "issue" with my Mate20Pro.
I have an efficient way to solve this.
Just download MacroDroid app, and you can make a macro with these parameters: after turn on do: set brightness to X% and turn off auto adjust.
gyurcika said:
I had the same annoying "issue" with my Mate20Pro.
I have an efficient way to solve this.
Just download MacroDroid app, and you can make a macro with these parameters: after turn on do: set brightness to X% and turn off auto adjust.
Click to expand...
Click to collapse
Thank you for introducing this very useful app
It'd be brilliant if you could provide the exact instruction to do the parameters ... I couldn't figure it out after trying for several times
Cheers
Just stop rebooting your phone. It doesn't need it. Worst case is that you have to enable it after Android updates.

Question Simple LED Blinker for the rooted Motorola Edge 20 Lite(Fusion)

I have made "Moto_LED_Blinker.prj.xml" file. See attached file.
This is a simple LED Blinker for the rooted Motorola Edge 20 Lite(Fusion)
"Moto_LED_Blinker.prj.xml" is a project file of "Tasker" for the blinking LED notification.
It is require "Tasker" for the running it.
The LED starts to blink by:
a phone calling.
a message of some messenger applications(Eg, WhatsApp, Signal, Telegram and so on).
a charging battery.
And the LED stops to blink when open an anpplicable application.
Moto_LED_Blinker.prj.xml is not a perfect.
However, it is so nice.
Please customize it for your device.
Regards!
this sounds great!
i've never used tasker before, can it be exported as a stand alone app so people without tasker can use it?
trevtdogg said:
this sounds great!
i've never used tasker before, can it be exported as a stand alone app so people without tasker can use it?
Click to expand...
Click to collapse
Techinical Iinformation:
Moto_LED_Blinker.prj.xml makes LED on and off by writting data to /sys/class/leds/charging/brightness.
This writing operation require the ROOT permission.
It is possible to export as a standalone application and people can execute the application without Tasker.
In this case, the standalone application have to be ran with the ROOT permission.
We need ROOTED device for the running the standalone application.
I have no plan to export the standalone application.
Because:
(1) There is no easy way to verify that the standalone application is secure by another person. This is a great chance to mix malicious code into the standalone application.
(2) The standalone application can not change a triggering application for the LED blinking.
(3) After all, the standalone application needs ROOT permission.
Regards,
TakaSZK said:
Techinical Iinformation:
Moto_LED_Blinker.prj.xml makes LED on and off by writting data to /sys/class/leds/charging/brightness.
This writing operation require the ROOT permission.
It is possible to export as a standalone application and people can execute the application without Tasker.
In this case, the standalone application have to be ran with the ROOT permission.
We need ROOTED device for the running the standalone application.
I have no plan to export the standalone application.
Because:
(1) There is no easy way to verify that the standalone application is secure by another person. This is a great chance to mix malicious code into the standalone application.
(2) The standalone application can not change a triggering application for the LED blinking.
(3) After all, the standalone application needs ROOT permission.
Regards,
Click to expand...
Click to collapse
Nice work
This reminds me.. I need to fix the flashlight toggle on pbrp.
Do you know which dir is for flash / torch?
I assume it'll be one of these 3.. Not had a chance to test
Code:
/sys/class/flashlight/mt-flash-led1
/sys/class/flashlight/mt-flash-led2
/sys/class/flashlight_core/flashlight
CFKod said:
Nice work
This reminds me.. I need to fix the flashlight toggle on pbrp.
Do you know which dir is for flash / torch?
I assume it'll be one of these 3.. Not had a chance to test
Code:
/sys/class/flashlight/mt-flash-led1
/sys/class/flashlight/mt-flash-led2
/sys/class/flashlight_core/flashlight
Click to expand...
Click to collapse
@CFKod
Hi,
I had confirmed in my Edge 20 Fusion.
I think that the torch is depend in /sys/class/flashlight/mt-flash-led1/ directory.
Because:
When the torch is OFF then follwing results.
:/ #
:/ # cat /sys/class/flashlight/mt-flash-led1/torch_brightness
12
:/ # cat /sys/class/flashlight/mt-flash-led1/mode
Off
:/ # cat /sys/class/flashlight/mt-flash-led2/torch_brightness
0
:/ # cat /sys/class/flashlight/mt-flash-led2/mode
Off
:/ #
When the torch is ON then follwing results.
the mode file of mt-flash-led1 says "Torch".
:/ #
:/ # cat /sys/class/flashlight/mt-flash-led1/torch_brightness
12
:/ # cat /sys/class/flashlight/mt-flash-led1/mode
Torch
:/ # cat /sys/class/flashlight/mt-flash-led2/torch_brightness
0
:/ # cat /sys/class/flashlight/mt-flash-led2/mode
Off
:/ #
I had tried to write "Off" and "Torch" into mode file.
It was failed. It so regrettable.
:/ #
:/ # echo Off > /sys/class/flashlight/mt-flash-led1/mode
: can't create /sys/class/flashlight/mt-flash-led1/mode: Permission denied
1|:/ #
1|:/ # echo Torch > /sys/class/flashlight/mt-flash-led1/mode
: can't create /sys/class/flashlight/mt-flash-led1/mode: Permission denied
1|:/ #
1|:/ #
Regards,
Does this mod use the white led over the top of the screen that lights up on the boot sequence?
xvivo said:
Does this mod use the white led over the top of the screen that lights up on the boot sequence?
Click to expand...
Click to collapse
Let's try below if you have rooted Edge 20 fusion. You can find which LED going ON ;-)
# echo 1 > /sys/class/leds/charging/brightness
# echo 0 > /sys/class/leds/charging/brightness
For anyone still wondering, it indeed uses the Led near the top grill.
It works well. Thanks.
I found my way around and customized it for my applications using the original application slots.
How to add more such slots?
Second question is that some apps pop up a temporary notification when they are checking for new messages (for example gmail, whatsapp). This notification triggers the script, but since it goes away, I check the phone and there is nothing there. I thought it was a bug until I found out what is happening from the "monitoring" option in tasker. Any way to stop these false alarms?
To answer my second question, I just added that it will trigger the led only if the display is off.
I also changed most off triggers to happen when the notification is cleared instead of needing to open the app.
In my case, I find a false alarm(false notifaction) in the history of notification and disable the false alarm.
> How to add more such slots?
I am very sorry. I have no answer because I don't know slot.
Good morning. Where can I find the procedure to import the file on tasker in my Edge 30 fusion? Thank you

Question Is it possible to detect fold/unfold using tasker?

Is it possible to detect fold/unfold using tasker? And then execute some tasks as a result?
lombrozo said:
Is it possible to detect fold/unfold using tasker? And then execute some tasks as a result?
Click to expand...
Click to collapse
Apparently it is by looking at the log; kaledh44 has worked it out.
see this thread;
Nova Launcher lock rotation brave toggle desktop-mode (Using Tasker)
Using Tasker to change the default launcher for OPPO FIND N, by canceling Oppo's method to enforce their launcher. -- Requirements 1- Tasker (paid ~3$). --- Autoinput (2$), for Brave desktop/phone mode auto switiching. 2- Launcher of your...
forum.xda-developers.com
In Tasker create a new profile choose Event and search for logcat entry.
>>>Fold
Component
OplusFoldingAngleManager
Filter
notifyFaceHallEventChanged status:3
>>>Unfold
Component
OplusFoldingAngleManager
Filter
notifyFaceHallEventChanged status:0
And create a task for it
Done
kaledh44 said:
In Tasker create a new profile choose Event and search for logcat entry.
>>>Fold
Component
OplusFoldingAngleManager
Filter
notifyFaceHallEventChanged status:3
>>>Unfold
Component
OplusFoldingAngleManager
Filter
notifyFaceHallEventChanged status:0
And create a task for it
Done
Click to expand...
Click to collapse
Amazing! Thanks!
@kaledh44 do you know if is possible to have Gmail and GMaps in phone mode also in the internal display?
Thank you
danilos2k said:
@kaledh44 do you know if is possible to have Gmail and GMaps in phone mode also in the internal display?
Thank you
Click to expand...
Click to collapse
by using shell command
(adb shell wm density 300)
The only problem that we dont have root access which is needed to run this command in tasker
This appears to have been changed since.
The above solutions no longer worked for me consistently on Galaxy Fold 4.
I managed to get it working with this: ( Tested only on Galaxy Fold 4 )
Folded / Closed: Logcat Entry
Component: DeviceStateProviderImpl
Filter: notifyDeviceStateChangedIfNeeded, newState=0
Unfolded / Opened: Logcat Entry
Component: DeviceStateProviderImpl
Filter: notifyDeviceStateChangedIfNeeded, newState=1
These events are executed once, as/when the inside screen turns on/off.

Categories

Resources