App for changing power key action? - Samsung Galaxy Tab S6 Questions & Answers

I have root, lsposed. I want an app/hack to change if possible the power button simple click action (to run a custom app instead of turn off screen). But probably this is very difficult, so any app to change long click action. For double click i already know how.
Thanks, if anyone knows.

I'm using button mapper : https://play.google.com/store/apps/details?id=flar2.homebutton to change the volume keys order when rotating the tab. This app could be, what you looking for.
m.

meduza said:
I'm using button mapper : https://play.google.com/store/apps/details?id=flar2.homebutton to change the volume keys order when rotating the tab. This app could be, what you looking for.
m.
Click to expand...
Click to collapse
Thanks but it doesn't work for power on of button.. For volume buttons all works. Xposed edge also works good, but not for the volume buttons..

... I.c. , that's quite annoying
...
m.

Related

Remapping Buttons?

HI,
Is there a way to remap buttons so that another button besides power can wake or put the phone to sleep? Seem like using one button for this function will fail over time. I tried using widget locker but it didn't seem to work. I read that widgetlocker has some issues with the S2, so I chalked it up to that. By the way, I'm on my corporate Exchange server, so not sure if that plays into this some how.
Thanks
dross333 said:
HI,
Is there a way to remap buttons so that another button besides power can wake or put the phone to sleep? Seem like using one button for this function will fail over time. I tried using widget locker but it didn't seem to work. I read that widgetlocker has some issues with the S2, so I chalked it up to that. By the way, I'm on my corporate Exchange server, so not sure if that plays into this some how.
Thanks
Click to expand...
Click to collapse
Here is a link where you can download a small app and install
it into your phone. It's called "ButtonRemapper" and it can remap
all 4 softkeys as well as the power and volume keys too.
For more information: http://forum.xda-developers.com/showthread.php?t=850464
Here is the ButtonRemapper app itself: http://forum.xda-developers.com/atta...1&d=1295720224
Good Luck!
Misterjunky said:
Here is a link where you can download a small app and install
it into your phone. It's called "ButtonRemapper" and it can remap
all 4 softkeys as well as the power and volume keys too.
For more information: http://forum.xda-developers.com/showthread.php?t=850464
Here is the ButtonRemapper app itself: http://forum.xda-developers.com/atta...1&d=1295720224
Good Luck!
Click to expand...
Click to collapse
Thanks for the info. Appeciate it
Misterjunky said:
Here is a link where you can download a small app and install
it into your phone. It's called "ButtonRemapper" and it can remap
all 4 softkeys as well as the power and volume keys too.
For more information: http://forum.xda-developers.com/showthread.php?t=850464
Here is the ButtonRemapper app itself: http://forum.xda-developers.com/atta...1&d=1295720224
Good Luck!
Click to expand...
Click to collapse
Tried it a little while ago. Only works for the capacitive keys.
What about this app? You can decrease 50% of the power button used
http://forum.xda-developers.com/showthread.php?t=1312949
sweetboy02125 said:
What about this app? You can decrease 50% of the power button used
http://forum.xda-developers.com/showthread.php?t=1312949
Click to expand...
Click to collapse
It's good. I've been using it my Inspire days .

[Q] Home Button to turn on the phone.

Hi,
How to activate the "Home button" to turn on the phone?
With my Xperia Arc, I can turn on the phone with the "Home button".
With my Xperia S, it's impossible to turn on the phone with the "Home button"
I must use the power button on top, this is much less practical...
One idea ?
Very Thanks alot
hadramos said:
Hi,
How to activate the "Home button" to turn on the phone?
With my Xperia Arc, I can turn on the phone with the "Home button".
With my Xperia S, it's impossible to turn on the phone with the "Home button"
I must use the power button on top, this is much less practical...
One idea ?
Very Thanks alot
Click to expand...
Click to collapse
There is NO way to activate it because it is not a physical home button. The home button will be functional when the O.S is loaded. On the other hand The Xperia Arc has a physical button to trigger the power on/off switch on the circuit board.
It's much better this way. Before I had problems with my X10 turning on in my pocket because of the home button being accidentally pushed.
hadramos said:
Hi,
How to activate the "Home button" to turn on the phone?
With my Xperia Arc, I can turn on the phone with the "Home button".
With my Xperia S, it's impossible to turn on the phone with the "Home button"
I must use the power button on top, this is much less practical...
One idea ?
Very Thanks alot
Click to expand...
Click to collapse
Is most agree. I miss my home button wake up too.
Can it realy be true that it can't be software programmed to wake up on home button. Someone create a app that can do it. Or swipe all 3 buttons from left to right could be cool feature to wake it up. Why didn't do that.
Booomber said:
Is most agree. I miss my home button wake up too.
Can it realy be true that it can't be software programmed to wake up on home button. Someone create a app that can do it. Or swipe all 3 buttons from left to right could be cool feature to wake it up. Why didn't do that.
Click to expand...
Click to collapse
very very good idea.. swipe left to right with all boutons!
I can't recommend wiget locker high enough for using the volume buttons or camera button for waking the phone - works perfectly.
thanhdang said:
There is NO way to activate it because it is not a physical home button. The home button will be functional when the O.S is loaded
Click to expand...
Click to collapse
Not necessarily true. The Nexus S home buttons were capacitive just like the Xperia but CM9 had an option to wake the device on with them.
It may well be just as possible on the Xperia, just needs someone to make it work like the CyanogenMod team did with the Nexus S
Wouldn't that be an additional drain on the battery to keep those buttons active during standby? Wake by volume keys would be far more useful, and do-able.
Spewy1 said:
I can't recommend wiget locker high enough for using the volume buttons or camera button for waking the phone - works perfectly.
Click to expand...
Click to collapse
Power button - camera button - volume buttons... meh... it's still not the same as home button
It's more natural to press home button and then unlock the phone...
Booomber said:
Power button - camera button - volume buttons... meh... it's still not the same as home button
It's more natural to press home button and then unlock the phone...
Click to expand...
Click to collapse
I agree and that was the bottom of my subject
If is done with the Nexus S, we must be able to do for our Xperia S...
Spewy1 said:
I can't recommend wiget locker high enough for using the volume buttons or camera button for waking the phone - works perfectly.
Click to expand...
Click to collapse
I like using volume button because I can wake the phone up by one hand. With my small hand now press the power button by one hand is not comfortable.
Double click on volume button would be good too.
Can you try using another launcher ro check if volume buttons are responding when screen is locked...
sent from xperia aRc !!

remapping hardware touch buttons

Ok, so I've read about how you don't get the ICS quick change/recently used apps button on the new SIii.
Questions 1 is there a way to remap the Menu button so that is does the quick change feature?
2 is there a way to then, the double tap home button feature to get GOOGLE Voice Search/Actions?
3 is there a way that I can add on screen ICS buttons like on the Galaxy Nexus? And then make the hardware home button do something else?
Do I need apps? Rooting?
Thanks!
You need to root. You can turn on software keys with the AOKP rom but you cannot disable the hard keys.
Sent from my GT-I9300 using Tapatalk 2
You can disable the capacitive buttons, but you cannot re map them from what I have found
Sent from my GT-I9300 using Xparent Blue Tapatalk 2
Do you know how to disable the hardware keys?
Sent from my GT-I9300 using Tapatalk 2
i would rather have the task manager open when you hold and press on the back button. the menu button when u hold give u the google search, but on the back button when u hold nothing happens. it would be only logical to apply the task manager to this button when pressed down and held for a a few seconds
Hey I have heard that NOVA launcher pro allows you to customize some of the these short cuts on the phone.
Sent from my Incredible.
Aw yeah.
I do not have the phone yet, but I believe holding the home button will bring up the recent apps. This is how it's been for previous android versions before they made a dedicated button for the galnex
that's how it works for my Dinc, on gingerbread and ics
funkpod said:
2 is there a way to then, the double tap home button feature to get GOOGLE Voice Search/Actions?
Click to expand...
Click to collapse
Long pressing Menu button actually go to google search
ronak47 said:
Do you know how to disable the hardware keys?
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
1. open /system/usr/keylayout/gpio-keys.kl
2. add # to the beginning of the line of the key you want to disable
3. reboot
in the same file you can remap power key to home key for example
remember to make backup before editinf the file
Sent from my GT-I9300 using Tapatalk 2
bordikun said:
Long pressing Menu button actually go to google search
Click to expand...
Click to collapse
thanks!
google search, or the voice to text?
funkpod said:
thanks!
google search, or the voice to text?
Click to expand...
Click to collapse
both the voice and text search. push the microphone on the searchbarto activate voice search
Sent from my GT-I9300 using Tapatalk 2
Thanks, nice !
Maybe this phone won't be so bad after all ...
Sent from my Incredible.
Aw yeah.
labbe- said:
1. open /system/usr/keylayout/gpio-keys.kl
2. add # to the beginning of the line of the key you want to disable
3. reboot
in the same file you can remap power key to home key for example
remember to make backup before editinf the file
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Hi mate,
I've now managed to disable to capacitive buttons.... anyway to disable the light for them as the light still comes on even though they are not enabled and not working
Thanks in advance.
OK so I've managed to get my set up... if anyone wants my set up as per my screenshot then drop me a pm and I shall help you out.
Sent from my GT-I9300 using Tapatalk 2
ronak47 said:
Hi mate,
I've now managed to disable to capacitive buttons.... anyway to disable the light for them as the light still comes on even though they are not enabled and not working
Thanks in advance.
Click to expand...
Click to collapse
Go to Settings/Display under general you will see Touch Key light duration. Options include 1.5 Seconds, 6 seconds, Always off, and always on!
labbe- said:
1. open /system/usr/keylayout/gpio-keys.kl
2. add # to the beginning of the line of the key you want to disable
3. reboot
in the same file you can remap power key to home key for example
remember to make backup before editinf the file
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
is there a way to stop the home button from waking the device also? (so only the power button wake the device up)
I wonder if you guys can enlighten me. My goal is to have the Home key under the screen function as the power button, and have the normal power button (on the right side of the phone) function as Home (without waking the device). I want this because I'm always unintentionally hitting the power button when I pick up the phone.
I was able to get the Home button to function as power by changing key 116 to 172 in sec_powerkey.kl. However, now the normal power button doesn't do anything. I tried swapping POWER with HOME in sec_keys.kl, but that doesn't seem to do anything.
Any tips on how to give my power button a function now?
timp123 said:
I wonder if you guys can enlighten me. My goal is to have the Home key under the screen function as the power button, and have the normal power button (on the right side of the phone) function as Home (without waking the device). I want this because I'm always unintentionally hitting the power button when I pick up the phone.
I was able to get the Home button to function as power by changing key 116 to 172 in sec_powerkey.kl. However, now the normal power button doesn't do anything. I tried swapping POWER with HOME in sec_keys.kl, but that doesn't seem to do anything.
Any tips on how to give my power button a function now?
Click to expand...
Click to collapse
Check this out bro:
http://forum.xda-developers.com/showthread.php?t=2022024
Let us know if it helped...

[Q] [MOD] Replace menu button with recents

Since Android 4.0, Google has declared war on the menu button and all devices come out with Recents - Home - Back buttons.
Samsung for some reason decided to move forward with the menu button.
Would it be easy to remap the left capacitive button and make it show the recents instead of the menu action?
Does it really bother you that much to keep the hardware-button pressed down for like 1 second to display the 'Recent' list?
d4fseeker said:
Does it really bother you that much to keep the hardware-button pressed down for like 1 second to display the 'Recent' list?
Click to expand...
Click to collapse
It bothers me, that much
It bother me that much as well - it's just slow.
I think I'd prefer the mod to be double-click home button though, since I rarely use S Voice and it's no hassle to find and click the icon for it whenever I want to use it.
This bothers me too
Would be nice to have it on the menu button. Even an app/shortcut on the homescreen for it would be nice.
I wonder also if there is a way to limit the recent lists as well, if I don't check it sometimes the list can be massive - would be nice to limit this to like 5 items or something.
Olywa
Anyone who used the CM10 on screen nav buttons, knows how much better it is to have the recents key available on a beast like the sgs3.
I wish we could change it but I am afraid this will never be possible on a samsung rom
jastonas said:
Anyone who used the CM10 on screen nav buttons, knows how much better it is to have the recents key available on a beast like the sgs3.
I wish we could change it but I am afraid this will never be possible on a samsung rom
Click to expand...
Click to collapse
open up Generic.kl in /system/usr/keylayout
change
key 139 MENU
to
key 139 APP_SWITCH
that should work
graffixnyc said:
open up Generic.kl in /system/usr/keylayout
change
key 139 MENU
to
key 139 APP_SWITCH
that should work
Click to expand...
Click to collapse
That's half working. It does work as APP_SWITCH but Android doesn't recognize the lack of the MENU button so it's doesn't show the settings buttons that are needed in most applications.
cm10 has implemented the button remap feature. now you can easily change the menu button long press to recent apps in cm10
jastonas said:
That's half working. It does work as APP_SWITCH but Android doesn't recognize the lack of the MENU button so it's doesn't show the settings buttons that are needed in most applications.
Click to expand...
Click to collapse
Yeah, how do we let android recognize lack of menu button?
Sent from my GT-I9300 using Tapatalk 2
wednesday13 said:
Yeah, how do we let android recognize lack of menu button?
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
If you disable the hardware buttons, it just does.
jastonas said:
If you disable the hardware buttons, it just does.
Click to expand...
Click to collapse
Damn, I guess I have to sacrifice without menu button
Sent from my GT-I9300 using Tapatalk 2

[SM-G935] How do I remap my power button?

I want to remap the power button so it toggles NFC when I long press it (only when the screen is on). So far every app I've found is unable to do anything with the power button. I'm using a rooted Lineage OS 18.1.
task_manager said:
I want to remap the power button so it toggles NFC when I long press it (only when the screen is on). So far every app I've found is unable to do anything with the power button. I'm using a rooted Lineage OS 18.1.
Click to expand...
Click to collapse
Try this
Button Mapper: Remap your keys - Apps on Google Play
Remap hardware buttons to launch any app, shortcut or action
play.google.com
Keno_I said:
Try this
Button Mapper: Remap your keys - Apps on Google Play
Remap hardware buttons to launch any app, shortcut or action
play.google.com
Click to expand...
Click to collapse
Thanks, but that app doesn't work either. It says it can't modify the power button on the splash screen.
Would you want any other buttons, power button turns off the display so im not sure about NFC activating?
Keno_I said:
Would you want any other buttons, power button turns off the display so im not sure about NFC activating?
Click to expand...
Click to collapse
Lol, I know it sounds silly, but hear me out.
When you hold the power button the phone shows you a menu with the Power menu and, most importantly, card payment. As I don't want to keep NFC on all the time to avoid battery drain, I had an idea to turn on NFC every time I opened my Google Pay card payment menu (power button hold).
Ahh then you try finding an Xposed module?
You’ll find more chances of success in that way

Categories

Resources