[Q] Disable Power ON with Home Button? - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

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

Related

[Q] Possible to bind a hardware key to hang up?

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.

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

[How-To][Video] Disable Home Button Wake

One thing I noticed about the Note 2 while wearing jeans and sitting down is that that home button gets pressed accidentally. Luckily, the phone has amazing battery so it's really non issue whereas my Gnex would die even faster than normal due to it's not so big battery.
Video Instructions
http://www.youtube.com/watch?v=GhB5kJGQKsI
Written Instructions​
How to disable this, though? Easy. But you must be at least rooted. After though, you just need an app like Root Explorer.
1. Mount as R/W and open /system/usr/keylayout/gpio-keys.kl. To get into gpio, hold it, and click "edit with text editor"
2. Scroll to the line that says:
"key 172 HOME WAKE"
3. Now delete the HOME so it says:
"key 172"
4. You can change "WAKE" to "WAKE_DROPPED" if you use the stock lock screen and want your home button *NOT* to send you back to the home screen when you use it to wake.
5. Save it, reboot, profit.
And now when the screen is off, clicking the "Home" button will no longer wake up the phone. Thanks to cam30era of XDA for the help.
(if need be, this can be moved to the "Help" section, posted here cause it gets more traffic and most people seem to post here for questions regardless)

Remap power button?

I haven't been able to figure out a way to remap the physical power button. There was an xposed module that worked great long ago, but hasn't been updated to work with oreo. I want to be able to press/long press/double tap/whatever the power key to take me to the home screen. I've used the fingerprint sensor apps, but they're hit or miss at different times, which is more frustrating than not having it. The other button mapper programs seem to work for volume keys only. Rooted/Running LOS ROM
Remapping the power button seems like such a bad idea to me. What happens if you need to reboot?
nola mike said:
I want to be able to press/long press/double tap/whatever the power key to take me to the home screen.
Click to expand...
Click to collapse
Why? What does your "home" button do? On my Nova launcher, home button takes me immediately to home screen and much easier/faster than trying to double tap fingerprint sensor, which currently turns off/on display.
Or long tapping, which currently gives you reboot options.
Remapping power button seems like an answer in search of a problem, which would cause more problems?
ChazzMatt said:
Why? What does your "home" button do? On my Nova launcher, home button takes me immediately to home screen and much easier/faster than trying to double tap fingerprint sensor, which currently turns off/on display.
Or long tapping, which currently gives you reboot options.
Remapping power button seems like an answer in search of a problem, which would cause more problems.
Click to expand...
Click to collapse
Home button takes me to home screen as well, which is usually where I want to go. If I'm holding the phone it's much easier to press a physical button to get back. I rarely reboot, so could do away with that. On my G3, I had all the buttons on the back mapped to pull up assistant, go back, go to home screen using single/double/short/long taps. It was MUCH faster to do that. Anyway, I like it, it existed before, I want to know if I can get it back.
nola mike said:
Home button takes me to home screen as well, which is usually where I want to go. If I'm holding the phone it's much easier to press a physical button to get back. I rarely reboot, so could do away with that. On my G3, I had all the buttons on the back mapped to pull up assistant, go back, go to home screen using single/double/short/long taps. It was MUCH faster to do that. Anyway, I like it, it existed before, I want to know if I can get it back.
Click to expand...
Click to collapse
So found a program called "powy". It can intercept the power button keypress and then trigger tasker. It can't distinguish long v. short press, but you can program power button to trigger by pressing 1x/2x/3x/etc. Not as good as xposed additions (which hasn't been updated since MM), but functional and better than nothing.

Categories

Resources