[Q] Possible to bind a hardware key to hang up? - XPERIA X10 Q&A, Help & Troubleshooting

I'm missing the 1.6 "feature" of the caller application hanging upp when I press the power button. Is it in any way possible to configure the phone to hang up when I press a hardware button? Preferably I'd like to bind it to the "back" button, since that's the one I'm least likely to accidentally press.

devzero42 said:
I'm missing the 1.6 "feature" of the caller application hanging upp when I press the power button. Is it in any way possible to configure the phone to hang up when I press a hardware button? Preferably I'd like to bind it to the "back" button, since that's the one I'm least likely to accidentally press.
Click to expand...
Click to collapse
I would like to have the "power-off button to hang up" feature back!!!
Is there any way we can do this?

follow up this guide
http://forum.xda-developers.com/showthread.php?t=829378
instead of changing the FOCUS button, use the key 116 that has POWER on it, change POWER to ENDCALL and change WAKE to WAKE_DROPPED, save it, restart phone and there you go

Press the "back" key. I think it will end the call in progress.
Sent from my X10i using XDA App

sometimes the back button will end it, sometimes not

dermon said:
Press the "back" key. I think it will end the call in progress.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Back key only seems to work before a call has been answered, but during the call it does not work.
Sent from my X10i using XDA App

ellokomen said:
follow up this guide
http://forum.xda-developers.com/showthread.php?t=829378
instead of changing the FOCUS button, use the key 116 that has POWER on it, change POWER to ENDCALL and change WAKE to WAKE_DROPPED, save it, restart phone and there you go
Click to expand...
Click to collapse
A W E S O M E ! ! ! ! !
Problem solved, I love you! Really.

Related

Hard to end calls

I've been searching the web and I caouln't find a End call Camera button.
Does anybody have an application that uses camera button to end calls?
Camera never see, but in the phone there is an option to end the call with te power button.
Is there any way to end calls with back button, or any of the others three?
albertiny87 said:
Is there any way to end calls with back button, or any of the others three?
Click to expand...
Click to collapse
Would appriciate to end calls with back button!
Button Remapper -> market
The power button does the job in froyo or gingbread... donno bout stock
Sent from my X8 using XDA App
madhusudan1026 said:
The power button does the job in froyo or gingbread... donno bout stock
Sent from my X8 using XDA App
Click to expand...
Click to collapse
doesn't worked for me on floyo 0.20... where did you set it?
press 'power button' to ending call
floyo 0.20
andrasandhi said:
press 'power button' to ending call
floyo 0.20
Click to expand...
Click to collapse
without success. when i press it during call screen goes off but call is still active... maybe some option in cyanogenmod setting
edit: i've found it finally, it's in settings - accessibility.
You must activate this option in settings
k3ksik said:
Button Remapper -> market
Click to expand...
Click to collapse
No ENDCALL on stock rom!
The mapping form X10 mini takes no effect on stock rom
k3ksik said:
Button Remapper -> market
Click to expand...
Click to collapse
Useless. Back button loses "back" funcionality and acts like power button.
Dare-Devil Inside said:
Back button loses "back" funcionality and acts like power button.
Click to expand...
Click to collapse
Right!
I edit the file shakira_keyboard.kl in /sysem/usr/keylayout and add the line
key 107 ENDCALL
Now I have to press the power-button zu end a call.

Any way to instantly end phone call via pressing Home button?

I found the way how to set it so you can answer the incoming call by pressing the home button instead of sweeping the screen - because it sometimes doesn't respond at all. But is there any way to end the call the same way - instantly by pressing the home button? Could't find it in any settings. Need to be setting in stock firmware, not moded at all.
Thank you
You can end the call by pressing the power button. Settings>Call>Answering/Ending>"The power key ends call"
BarryH_GEG said:
You can end the call by pressing the power button. Settings>Call>Answering/Ending>"The power key ends call"
Click to expand...
Click to collapse
Thanks for the tips. I don't know about this option before.
Sent from my GT-I9100 using XDA Premium App
I know that, but I want to end the call by pressing the home key, not the power key.
Carlitos... can you tell me how you changed the sweeping option to answer the call ???? I assume that this will still have both options to answer the call right ?????
Thanks in advance...
Any answer please....
wcharon said:
Carlitos... can you tell me how you changed the sweeping option to answer the call ???? I assume that this will still have both options to answer the call right ?????
Thanks in advance...
Click to expand...
Click to collapse
As per the comment above by BarryH_GEG
Settings>Call>Answering/Ending
Thanks my friend...
Would also love to be able to switch the home and endcall keys while in conversation
I know there is an app that can remap keys, however, I only want those keys remapped while calling.
No one has taken up this challenge? Amazing. Seems like it's not enough of a challenge for the experts here. Otherwise this would be very useful instead of having to look for the power key every time to end calls

[Q] Disable Power ON with Home Button?

Hi all,
the new Xperia Mini goes ON when i press the Home Button. (and with the Power Button too)...
Is there a way to disable Power ON with the Home Button?
Thanks!
Not that I know of. I actually like pressing the home button to turn on phone. Its more natural for me bc iv been using iphone for long time. To each his own I guess
Why is it you have a problem? just wonderin
Sent from my SK17i using XDA App
Too bad...
Using a Leather Case, and the Close "Button" is direct over the Home Button.
So everytime the Case is "Pressed" the Phone turns on.
ahhh i see. at least is minimal drain on the battery for lock screen to be on 10-20 sec.
but then again the battery life for xperia isn't all that great so i see your concern. guess back to playing the waiting game
Yes, but i like the Phone really!
Just wrote an eMail to SonyEricsson...
Brudertac try changing your leather case, solved.
Brudertac said:
Is there a way to disable Power ON with the Home Button?
Click to expand...
Click to collapse
Try this (you need to be rooted):
1. using root explorer or similar, go to folder /system/usr/keylayout, make sure the filesystem is mounted as R/W
2. edit file pm8058_keypad.kl
3. change the following line:
Code:
key 102 HOME WAKE_DROPPED
into this:
Code:
key 102 HOME
4. save the file, reboot and done

buttons being pressed in my pocket

Hey guys, is there a way to put the screen to only turn on with the power button?? because in my pocket, the other buttons are pressed, so it's using battery and sometimes stop the music i'm listening. The other buttons that i'm speaking are: Search, return, home and menu. I'm using mik's v6.5.8 with fserve's goldenleaf.
I guess u can! Go to cm setting --lockscreen-- unlock options nd edit as u want ...;-) don't for to press thanks
Sent from my LG-P500 using xda premium
Already asked
Read here.
I'll upload the files, simply put them in /system/usr/keylayout/ (Overwrite existing) and set permissions to 777.
you've made it lanis! thanks, you've helped me a lot =D
now, not to detract from this threads original purpose... but it seems as if the OP got his answer, but while we are on the subject of keys and their functions.
Can we make the search button a pause / play button? with CM7 vol up and down are volume and skip buttons, but there is no physical button for pause play, it would be really nice to have that.
Nice wish they had a thanks button on this app that works great I have been meaning to do this for a while
Sent from my LG-P500 using XDA Premium App running CM7 over clocked at 806
Simply edit the 2 files I've uploaded (You can even edit the original ones) and replace each key's function with the function you want. (Ex. key 222 MENU)
Ianis G. Vasilev said:
Simply edit the 2 files I've uploaded (You can even edit the original ones) and replace each key's function with the function you want. (Ex. key 222 MENU)
Click to expand...
Click to collapse
ya i figured that out with a lil bit of googling. So i now have the search for pause n play with out waking hte phone.
But i would like it to act like the vol up and down buttons in CM7. where they have to be long pressed to skip... id like to have to long press to pause and play on the search, and ONLY when the screen is off / phone is locked like the vol up and down buttons.
dang it would be so awesome to have long press like described above.... if anyone could point me to the vol up and down rocker script that does their long presses i could go from there.

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

Categories

Resources