Please Help Me With Button Remap - XPERIA X8 Q&A, Help & Troubleshooting

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.

Related

Question about changing hardware buttons

Hi
I have some questions about „Buttons“…
For me, the on/off (power) button is too small and sometimes hard to press so I wish to use for example the volume button to do the same. Is that possible?
First:
Does it matter in terms of battery life if I press the On/Off button for standby or if I lock the device by pressing the “red” button?
Second:
How can I define the hardware buttons? I don’t get along with the “buttons” menu in the settings and I couldn’t figure it out with the “AE Button” tool.
Thanks!

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.

[Q] Wake up button with GingerDX v029 not working

hello all,
i tried to change my wake up button to my menu button due to my home and power button is a little hard to press.
its working if i press the power button and quickly press the menu button, the screen lights up.
but if i let the screen turned off by itself, let it wait a few minutes, then i press the menu button, the screen wont turn up.
ive tried using manual alteration of qwerty.kl in /system/usr/keylayout/, by adding menu button with WAKE_DROPPED
and using button remapper app here, but still it is not working.
can anyone tell me which part did i done wrong? fyi im on GingerDX v029, Alfs v09a. thanks
err.. can anyone help me?
anybody to help me?

[SOLVED] Make the physical home button only wake the device not go home?

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.

Home button remap mod + call screen issue solved!

For null ROM users that have the home button remap mod enabled (allowing you to manually turn off the screen with the power button when using 3rd party launchers), there is a documented issue where it can be difficult to wake the gear back up when in an active call.
Pressing the power button usually results in the screen flashing on and turning right back off. Sometimes you need to double tap the button or time the presses just right to get the screen to turn on and stick.
Fortunately, I stumbled upon a solution to this........this assumes you are already using Xposed.
1) Download the "Xposed Additions" module
2) Activate the module and reboot your gear for it to take effect
3) Go into Xposed Additions -> Buttons -> Add new Key and then press the power button at the prompt.
3) Select the power key option that should now appear in the list and add a new condition for "Screen off"
4) Set the "Long press action" for "End Call".
NOTE: Long pressing the power button while in a call does not actually work. BUT you will notice that you can now reliable press the power button (just once) in order to succesfully wake the gear back up from the in-call screen.
I have noticed no other adverse effects after making this change but have only been testing it for about a day.

Categories

Resources