So I am thinking about ordering this phone, and i don't like capacitive buttons' backlight, so, can you turn it off??
zwanzig20 said:
So I am thinking about ordering this phone, and i don't like capacitive buttons' backlight, so, can you turn it off??
Click to expand...
Click to collapse
Nope
Sent from my Mi A1 using Tapatalk
Try looking at this guide.
https://forum.xda-developers.com/redmi-3/how-to/guide-disable-capacitive-button-t3518182/page2
LiamAtkins90 said:
Try looking at this guide.
https://forum.xda-developers.com/redmi-3/how-to/guide-disable-capacitive-button-t3518182/page2
Click to expand...
Click to collapse
That'll disable the capacitive button. Not the backlight
Ahhhhh gotcha, sorry bro
so far therz no way I guess this is really annoying !!! I wonder why Xiaomi did that. therz absolutely no modification provided for backlight keys :crying::crying: they shdnt ve provided HW keys in first place though...its an A1 device damn it !!! it shd come with on screen keys like pixels !!!
Any news? It's the only point that stops me to buy this phone (I hate soft touch buttons, in this way they will be invisible).
abeeshek said:
so far therz no way I guess this is really annoying !!! I wonder why Xiaomi did that. therz absolutely no modification provided for backlight keys :crying::crying: they shdnt ve provided HW keys in first place though...its an A1 device damn it !!! it shd come with on screen keys like pixels !!!
Click to expand...
Click to collapse
It's not Xiaomi fault, the stock android rom doesn't have that feature.
NITRO_100 said:
It's not Xiaomi fault, the stock android rom doesn't have that feature.
Click to expand...
Click to collapse
I guess that came out wrong.....I know that stock android do not allow that light modification setting(coz none of the Google phone use hw buttons). what I meant there is stock navbar shd ve been provided by xiaomi there just like pixel or most of the other old A1 devices. I hv managed to switch off those button lights though by changing the backlight brightness value to - 0 but then again cant activate navbar by good old trick 'qemu.hw.mainkeys' coz thats not working on stock 7.1.2 !!! :laugh::laugh::laugh:
check this trhead https://forum.xda-developers.com/mi-a1/themes/mod-disabling-button-light-recents-home-t3681685
Google Inc said:
add a script to your init.d that you can turn off it
echo 0 >/sys/class/leds/button-backlight/leds/button-backlight/max_brightness
echo 0 >/sys/class/leds/button-backlight/leds/button-backlight/brightness
Click to expand...
Click to collapse
How to activate the init.d folder? I put my script in there but it doesn't run automatically on every reboot
Can anybody explain in details how to TURN OFF backlight of sensor buttons?
Google Inc said:
add a script to your init.d that you can turn off it
echo 0 >/sys/class/leds/button-backlight/leds/button-backlight/max_brightness
echo 0 >/sys/class/leds/button-backlight/leds/button-backlight/brightness
Click to expand...
Click to collapse
Hi,
How you enable init.d? I sees init folder but not init.d (unless I create it). init have .rc files in it and maybe it'll auto run.
Refer this thread - https://forum.xda-developers.com/mi-a1/how-to/guide-how-to-off-cappactive-buttons-t3730093
It helped me too
Related
Hi!
Does someone know a way/app to enable the backlight of the hardwarebuttons on the bottom of the device all the time when the display is on, or even better, in cooperation with the brightness-sensor?
Allready searched but couldn't find anything. Im on Typhoon CM7 (2.3.7)
Hello, search for AdjBrightness or Keyboard backlight controller in the Market.
katalin_2003 said:
Hello, search for AdjBrightness or Keyboard backlight controller in the Market.
Click to expand...
Click to collapse
Thanks. Tried both apps, and both are able to turn them on, but just for some seconds.
Maybe I'll find another solution, but this apps don't work.
gubshi said:
Thanks. Tried both apps, and both are able to turn them on, but just for some seconds.
Maybe I'll find another solution, but this apps don't work.
Click to expand...
Click to collapse
At first you need a ROM with CyanogenMod.
Look at the link. Do what there stand. But change the value for "Buttons" in each line to 255 . Look at attached pic. If you have questions pm me.
http://forum.xda-developers.com/showpost.php?p=15609473&postcount=3 ->thx dorimanx for this description.
cu jp
johann2204 said:
At first you need a ROM with CyanogenMod.
Look at the link. Do what there stand. But change the value for "Buttons" in each line to 255 . Look at attached pic. If you have questions pm me.
http://forum.xda-developers.com/showpost.php?p=15609473&postcount=3 ->thx dorimanx for this description.
cu jp
Click to expand...
Click to collapse
allready tried that. works for the display, but not for the buttons. they still go off after some seconds.
gubshi said:
allready tried that. works for the display, but not for the buttons. they still go off after some seconds.
Click to expand...
Click to collapse
OK then try this. Istall this app: screebl and use the settings from cyanogen for the displaybrightness and use automatic display brighttness.
I use my hardware buttons only to wake up and shut down my hd2. I use the tablett tweaks from cm. try this its perfekt.
cu jp
I am currently running AOKP on my Tmobile version and enabled the onscreen navigation bar. Id like to know if we have a script that disables the capacitive buttons yet on this device, and if not, a request for a dev to make one. Thank you.
I haven't been able to disable them, but if you just want to have the capacitive buttons not light up snag "Screen Filter" as it lets you turn off the button lights (set it to 100% if you don't want to dim your screen). I also used "Auto Start (no root)" to have it start at boot.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Dandude159 said:
I am currently running AOKP on my Tmobile version and enabled the onscreen navigation bar. Id like to know if we have a script that disables the capacitive buttons yet on this device, and if not, a request for a dev to make one. Thank you.
Click to expand...
Click to collapse
What do you mean disable those buttons? Disable actions when pressing them?
So you have a huge useless bezel at the bottom of your screen?
Simple Line changes in the key map.
Sent from my SPH-L710 using Tapatalk 2
nabbed said:
What do you mean disable those buttons? Disable actions when pressing them?
So you have a huge useless bezel at the bottom of your screen?
Click to expand...
Click to collapse
Well mostly disable the light. I want to use the on screen navigation keys in AOKP as a substitute.
Dandude159 said:
Well mostly disable the light. I want to use the on screen navigation keys in AOKP as a substitute.
Click to expand...
Click to collapse
Are you for real?
I don't mean to be a **** but come on!
Settings/Display/Touch Key Light Duration/Always Off.
LOL i bet a lot of people didn't know that (including me).... i mean i've been to that setting before to see how long the lights could be "on" for. but never noticed there was a "always off" option
nabbed said:
Are you for real?
I don't mean to be a **** but come on!
Settings/Display/Touch Key Light Duration/Always Off.
Click to expand...
Click to collapse
Please don't be rude, especially because you are wrong. This option is only available in the stock touchwiz based rom. I am on AOKP.
Dandude159 said:
Please don't be rude, especially because you are wrong. This option is only available in the stock touchwiz based rom. I am on AOKP.
Click to expand...
Click to collapse
Sry. Reading comprehension was subpar on my part.
This is actually a very useful tool if available. On my Asus Transformer Prime, there is a lock setting that disables the capacitive buttons while you watch a movie or play a game. I know the OP wants to disable the capacitive buttons for the purpose of replacing it with the AOKP onscreen buttons, but I would like to have that ability just to disable it so that I don't accidentally press on those buttons while playing game or watching video. Like a quick setting from the notification bar to lock it would be perfect!
Ill be subscribing to this thread for when we get a daily driver AOSP rom on Verizon. I too would like to disable the capacitive buttons and have on-screen navigation buttons instead. I find the capacitive buttons are too hard to press when I want to and too easy to accidentally press when I don't want to.
Sent from my SCH-I535 using xda premium
So, I don't know how to actually disable the button function (I'm running task's AOKP rom) and I didn't like using that Screen Filter app to keep the backlight off since it keeps it in the notification bar.
However, it is pretty easy to keep just the backlight off. Go into Settings>Display>Custom Backlight Settings. Check the "Use custom" option and go into "Edit other levels...".
Change the value for all the different levels from 1 to 0. Reboot and enjoy!
clark44 said:
Simple Line changes in the key map.
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Do you happen to know what or where this line of code is so that we may modify it...?
Thanks,
Topic says it all
Thanks in advance!
I solved it... renamed /system/lib/hw/lights.msm8974.so
When this file is missing for the system the button lights are all off.
Problem is the screen brightness control doesnt work anymore and screenlight is fixed to the max.
But a screen control app like lux autobrightness helps and dims the screen as it should work.
Hurray!
ceno666 said:
Topic says it all
Thanks in advance!
Click to expand...
Click to collapse
Didn't mean to thank you, but I think temaseks cm 12 has controls for the capacitive lights. Actually, I'm positive it does
I'm currently thinking of a remapping app (remapping as in changing a physical button's output) , but I do not own a oneplus two. Can somebody tell me what the alert slider's keycodes are?
If any of you is willing to help but do not know how to find such info, I attached an apk (that I built from an open source code) to this post. Please install and open the app then change the alert slider state, screenshot the output then send them to me. Also, please state what ROM version you are running.
When the app is finally released to an xda thread, I'll list all the testers there of course.
P.S: The Alert Slider is that new hardware slider that changes sound profiles, in case you didn't already know
Here is the screenshot, hope it helps, makes sense to have the silent mode in the down position.
Swatto86 said:
Here is the screenshot, hope it helps, makes sense to have the silent mode in the down position.
Click to expand...
Click to collapse
Swapping the "none" profile and "all" profile was exactly what I was thinking.
Can you please tell me what the output of the other states of the slider was?
EDIT:What you actually sent me was the mapping of the back button
is it possible to map it so loud, vibrate and silent
merewood bebox said:
is it possible to map it so loud, vibrate and silent
Click to expand...
Click to collapse
That is what I am trying to achieve. If you own a One Plus Two, please download and install the apk and send me the screenshots after you toggle each alert slider state
The app does not do anything when toggling alert slider unfortunately.
Swatto86 said:
The app does not do anything when toggling alert slider unfortunately.
Click to expand...
Click to collapse
Wow, that is a very unexpected result ._. I'll have to look into the source code then.
Thanks a lot everyone
This would be genius !
I'm ready to be your beta-tester
OPT with OxygenOS 2.0.2 with Xposed here.
Would be great if we could reverse the mappings, so instead of all notifications with the slider being all the way down it would be all the way up for all notifications.
Slider up: All notifications
Slider middle: Priority
Slider down: Silent
Strange idea, but what if for each slide matched a battery profile, like battery saver, balanced, performance?
morback said:
This would be genius !
I'm ready to be your beta-tester
OPT with OxygenOS 2.0.2 with Xposed here.
Click to expand...
Click to collapse
yakuzlin said:
Would be great if we could reverse the mappings, so instead of all notifications with the slider being all the way down it would be all the way up for all notifications.
Slider up: All notifications
Slider middle: Priority
Slider down: Silent
Click to expand...
Click to collapse
Kito92 said:
Strange idea, but what if for each slide matched a battery profile, like battery saver, balanced, performance?
Click to expand...
Click to collapse
I thought about having multiple layout options : battery modes;CPU governors; rotation change etc..
However I still haven't found the alert slider mapping file :/ This is becoming quite frustrating
Will have my OPT soon and will do anything I can to help out with this. Think the All/Priority/None options are not useful at all.
its taking a lot of time ...attached img is for priority ..ie key in d middle..
RulerAk said:
its taking a lot of time ...attached img is for priority ..ie key in d middle..
Click to expand...
Click to collapse
Wow, thanks! How about the two other states? none and all ?
For all its f8(not 100% sure) .... It's takin a looot of time n not recording for d other one..... May b cause m not rooted yet
Sent from my ONE A2003 using XDA Free mobile app
I really hope this works. Good luck on this
The one plus two slider doesnt work with keycode's
toonvanstrijp said:
The one plus two slider doesnt work with keycode's
Click to expand...
Click to collapse
Would you happen to know how it behaves?
thetechnologician said:
Would you happen to know how it behaves?
Click to expand...
Click to collapse
Any updates on this ? Very interested
merewood bebox said:
is it possible to map it so loud, vibrate and silent
Click to expand...
Click to collapse
I made an app for it. Try play.google.com/store/apps/details?id=com.nqk.vibratemode (sorry, I need to post 10 posts in order to embed the link
You just need to follow the instruction and enjoy the vibration.
Has anyone figured out how to turn on on-screen buttons instead of using the capacitive/physical buttons? In the control center, there's option to turn on "virtual button" and it allows you to disable the capacitive/physical buttons, but nothing shows up on the screen.
It's under accessibility
LeEco Pro3
toanau said:
It's under accessibility
LeEco Pro3
Click to expand...
Click to collapse
That only allows you to disable the hard buttons though, doesn't enable soft ones (on screen nav buttons). There's a way to enable them by default editing the build.prop but people were saying it didn't work on emui for some reason. One guy said it works fine, so I don't know. Requires root too though. No root in sight for US variants so far.
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
4K2K said:
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
Click to expand...
Click to collapse
Are you rooted? Do you have the US model?
Sent from my SM-P600 using XDA-Developers mobile app
toanau said:
Are you rooted? Do you have the US model?
Sent from my SM-P600 using XDA-Developers mobile app
Click to expand...
Click to collapse
I can answer for him lol. Yes, hes rooted, otherwise it wouldnt be possible, and no, because us model cant be rooted atm
4K2K said:
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
Click to expand...
Click to collapse
Please remember, I'd like to extend the button backlight time
Klara Kaiser said:
Please remember, I'd like to extend the button backlight time
Click to expand...
Click to collapse
If I understood that correctly, then you don't need to use softkeys. After the latest update, if you go to accessibility, there is an option for enabling the button backlight as long as the phone screen is on. I attached a picture clearly showing the option if it might help.
p_pal2000 said:
If I understood that correctly, then you don't need to use softkeys. After the latest update, if you go to accessibility, there is an option for enabling the button backlight as long as the phone screen is on. I attached a picture clearly showing the option if it might help.
Click to expand...
Click to collapse
Was exactly what I'm looking for, but I haven't this setting option. Are you at 5.8.0.19S? I'm still on 18S.
So I have to wait
Yep I'm on 19S. I thought all US models had gotten the update, but I forgot that this phone came out in other countries previously ( -_- ). So I suppose you just have to wait a few more days/weeks and hopefully you get the update.
4K2K said:
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
Click to expand...
Click to collapse
DANG...WORK FOR ME, US VERSION CONVERTED TO CHINESE AND whammmmm.:good:
THANKS A LOT.
johnkchiu said:
Has anyone figured out how to turn on on-screen buttons instead of using the capacitive/physical buttons? In the control center, there's option to turn on "virtual button" and it allows you to disable the capacitive/physical buttons, but nothing shows up on the screen.
Click to expand...
Click to collapse
Like this?
Install SimpleControl
OR you can Flash CM13 rom they have option for on screen navigation key and disable the hardware one, or you can keep the hardware as stock rom.
This rom I was using it I found it best CM13 rom by far: CM13 LEX720 by Team Superluminal
Nova Launcher also can show the software buttons
Tonnex said:
Nova Launcher also can show the software buttons
Click to expand...
Click to collapse
Where is the option in Nova Launcher? I can't find it.
4K2K said:
I got it working by adding qemu.hw.mainkeys=0 on build.prop.
From there, I got physical buttons to not work by modifying synaptics_dsx.kl file in /System/USR/KEYLAYOUT.
You simply put # in front of all the listed entries (e.g., # key 158 BACK VIRTUAL.)
From there, I also disabled button back light by modifying an another system file. I forgot which file it is.
After those three steps, it is as if it came with soft keys without physical buttons.
Click to expand...
Click to collapse
so far this worked, did you remember what file the backlight keys are controlled by?
Klara Kaiser said:
Please remember, I'd like to extend the button backlight time
Click to expand...
Click to collapse
There isn't a file. He said "he cant remember" because he is lying
The backlight controls are driven by two files in /sys/class/leds/button-backlight. Files in the /sys folder are pseudo files created at runtime from the kernal. You would need to mod the kernal to permanently turn the lights off.