remap the power button - JAMin, XDA Neo, S200 ROM Development

Does anyone know if there are any registration changes or little programs that will allow me to remap the power button to a program?
Thanks, im working on my own little security program, and this has stumped me at the second hurdle

that a big nope then? darn.

Sideburnt said:
that a big nope then? darn.
Click to expand...
Click to collapse
I dunno if it allows to remap the power button but aebplus is the most thorough app i've seen in button mapping...

I had a little play with that program in the morning, its very good but unfortunatly doesn allow th epower button to remap.
Close but no biscuit.

I'm affraid you'll have to cook a new rom to remap the power button
as I remember in Aserg's AKU 3.3 (WM5) holding power button for 3 seconds launched psShutXP application

Related

jog button problem

I have the xda developers 1.2 SE rom with jog button on both buttons. Its a very good program but for some reason, now and again when I release the button on my required application it just carries on scrolling through them, and I have to press the button again to stop it. its not a hardware prob (eg Sticking button) cos it does it on both buttons. has any1 had this problem and can it be fixed, or is it me being stupid.
No, it's a bug. Just keep it pressed a little longer, or press it again if you see it sticks...

[Q] Remap power key to launch CRT shutdown app

Need help remapping power key. Someone made awesome app called screen off & lock that does crt shutdown. It would be epic if we could remap power key to launch app.
whoa awesome i just downloaded it. the power button remapping would be awesome, but the long press search button isn't half bad. that's what i'm doing now.
ravigodhwani said:
but the long press search button isn't half bad. that's what i'm doing now.
Click to expand...
Click to collapse
I use voice search all the time. I would think the coding couldn't be to hard but I don't know where to look. It would be awesome if anybody could get this to work.
yeah i'm sure a lot of people use the search button, for some reason i never really need it.
with the camera hack that allows photos to be taken with the power button, and while watching videos, the power button locks the screen while keeping it on, so i know there's gotta be a way to get it to launch this activity. i just don't have any experience with this kind of stuff.
edit -
saw an app called galaxy tuner that apparently remaps buttons, but i am unable to mess with my phone while at work. give it a shot maybe?

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

Broke Capacitive Buttons Changing Glass. Looking For Software Solution

Hi Guys
I broke the capacitive buttons on my S3. Looking for the best software solution. Ideally a button remapper where I can assign the back button to the power button for back.Long press for power. Or even use the middle button long and short presses etc.
Many Thanks
gersrt said:
Hi Guys
I broke the capacitive buttons on my S3. Looking for the best software solution. Ideally a button remapper where I can assign the back button to the power button for back.Long press for power. Or even use the middle button long and short presses etc.
Many Thanks
Click to expand...
Click to collapse
You'll need root to remap I would expect.
You could also enable the NavBar:
http://forum.xda-developers.com/showthread.php?t=1982000
A simpler solution could be lmt launcher...which needs root access...or pie control from the play store...both apps use on screen buttons rather than capacitive
navbar is the best solution
Thanks Guys, Was really hopping for a button remap option but thanks any way. Il try those options.
Cheers

[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