[SOLVED] Make the physical home button only wake the device not go home? - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

So I'm making it so I can only use the software buttons that I've enabled and so far I've got the capacative buttons disabled but what I want is so that the home button can wake the device but that's it. I don't want it to take the device home, I've been changing values in both sec_key.kl and gpio-keys.kl and so far i've either got it completely disabled, acting as a power button or making it work normally (goes home as well as wake). Any ideas? I'm running SuperNexus ROM.
EDIT:
So I've found what seems to be a solution. In gpio-keys.kl change "key 102 HOME WAKE" to "key 102 SOFT_RIGHT WAKE". Seems to not do anything other than wake the phone.

Related

Change power button toa different one?

I was wondering if there was a way to re-map the power button to the OK button so when i want to turn on my x1 screen instead of pressing the power button i press the Ok button or maybe another button?
would this be possible? thanks,
Not sure about the re-mapping, but there's a setting under settings>system>key lock that lets you wake up the device by pressing any hardware key.
I need this too!
Have you tried with one of the several button/key mapping tools available?
Did you tried long pressing end call button? Mine locks screen...
Cheers!
Edit: Try AE Button Plus to map your keys.

Lock the phone

I know we can lock the phone by pressing the end button, which turns-off the screen and locks the phone.
The problem i have is,i want to be able to unlock the phone "only" by using touch screen, by dragging the HTC curve-bar on the lock screen. This works but the real problem is you can also unlock by pressing the Menu button twice in succession.
Is there any way to stop the unlocking via Menu button ?
I've messed around with remapping hardkey actions via this thread here: http://forum.xda-developers.com/showthread.php?t=695936
Short answer: no, you will always need some button to initially turn on the screen on before you can swipe it, and by default whatever hardkey is assigned the MENU action will also unlock the phone with a subsequent press. If you want, you could edit your heroc-keypad.kl and remove "WAKE_DROPPED" from the line
key 107 ENDCALL WAKE_DROPPED
That way pressing the end button will lock your screen but won't turn it back on, leaving you with only the menu button to turn on the screen.
the new "fresh 2.3.3" rom has that perk.

[Q] power button broken

so my power button is gone on my htc touch with android. i need to poke the small button inside with a penpoint or small object.
is there a way to re-map the button or another way to turn the phone on from sleep?
My power button is working but I have same concern. Developers, why don't use D-pad key for home/back etc functions? power/camera buttons are very critical because without them you may even have difficulty to enter bootload mode.
Atools will let you remap the keys
Thanks!. I have created an update that set Vogue D-pad as:
Left: Back
Center: Home
Right: Menu
Working perfect on my SuperFroyo.
goducks3620 said:
Atools will let you remap the keys
Click to expand...
Click to collapse
min1968 said:
Thanks!. I have created an update that set Vogue D-pad as:
Left: Back
Center: Home
Right: Menu
Working perfect on my SuperFroyo.
Click to expand...
Click to collapse
hmmm... can i apply this .tar by updating in the boot menu?
will i be able to wake up my phone then? without having to push the power button?
goducks3620 said:
Atools will let you remap the keys
Click to expand...
Click to collapse
I've used Atools to remap wake up to other keys but, it only works if i press those keys after receiving a notification.
have you been successful in waking up the phone from sleep without having to press the power button? are there additional settings i need to change?
I also have the same problem - my power button stopped working this afternoon for some reason and I cant wake up my phone except by calling it from another line or restarting it - any idea how i can change the wake up key? from what i gather, the atools fix isn't working?
Exact. Same. Problem. Using Incubus RLS16 (no audio input either... grrr...)
I remapped the power button and it will turn on but only under these conditions:
Phone just went into sleep, after a few minutes no response.
If it's plugged in.
Which makes me wonder... are there two different sleep modes? ie: light sleep which lasts for a few minutes when unplugged, and a deep sleep which kicks in after that, or never, when plugged in.
I only need to wait a few more weeks for my upgrade, but I want to be productive now!
Anyone have a solution to the phone not waking up problem - Ive realized its not my power button..

Button remapping

My power button has been acting weird.(too sensitive.. functions when i just touch it and often brings up power menu)
So i want to swap power button and volume up button.
make power buttons as volume up and volume up button as power button.
/system/usr/keylayout/
i have
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 102 HOME WAKE_DROPPED
key 116 POWER WAKE
in aries-keypad.kl file.
And i'm stuck and kinda afraid to proceed.
Can anyone tell me what to do next?
to make volume up-> power, power-> volume up
readitodie said:
My power button has been acting weird.(too sensitive.. functions when i just touch it and often brings up power menu)
So i want to swap power button and volume up button.
make power buttons as volume up and volume up button as power button.
/system/usr/keylayout/
i have
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 102 HOME WAKE_DROPPED
key 116 POWER WAKE
in aries-keypad.kl file.
And i'm stuck and kinda afraid to proceed.
Can anyone tell me what to do next?
to make volume up-> power, power-> volume up
Click to expand...
Click to collapse
Before you change anything, you might want to see if your rom has the option to use volume key to wake the screen. I know CM7 can do this. But that won't make them swapped. Before you change anything, back it up (or at least know how to fix it). I don't know anything about this, but a logical assumption would be to swap the numbers of the power and volume_up. Just the numbers and leave everything else. Again, just my logical guess, so do this at your own risk
Hi there!
I had the same problem as you, changed the aries fils, and everything works.
I am now trying to improve this a bit, because my phone often come from standby to screen-on (lockscreen), als the volume_up wakes it
(as sugggested by the line).
Removing the WAKE, or replacing it by VIRTUAL does not help.
Did you find a solution?
Cheers,
Cholera

Please Help Me With Button Remap

All of my W8 buttons (except the Menu one) went broken due to the first owner's usage (mine is a secondhand one). The power button is still okay with heavy press, but others are unusable. I've tried using tons of proximity screen wake apps to wake my phone in order to not harm my power button but none of them work (the working ones use a lot of battery juice).
So I'm thinking of remapping my Menu button into a Power button. My using ROM is GingerDX. I've try to edit some in the shakira_keypad.kl in the System/Usr/Key Layout, please check it out
This is what I've changed :
from "Key 139 MENU WAKE_DROPPED" to "Key 139 POWER WAKE"
After a reboot, the MENU button did change its function, I can use it to turn my screen off. But when it's off, I can't use it to turn the screen back on.
So what mistakes did I made?
Please give me some advices
Thank You Very Much.

Categories

Resources