Related
Given that:
1) Power and End are tied together in android so that any button that does one also can do the other. (This is set in Settings-->Accessibility-->Power Button Ends Call).
2) The Power button is now Power/End, and no longer Home as of the Oct. 11 kernel.
3) There is no point in having two buttons that both bring up the power off/airplane mode/mute menu on a long press when no buttons bring up the Recent App List.
4) While it's currently possible to assign Home to End via the Spare Parts Menu, long pressing it still gives us the power off/airplane mode/mute menu instead of the Recent App List because its keycode hasn't changed.
5) During a phone call, while holding the phone one-handed, it's easier to hit the power button to end a call then it is to hit the end button.
I'd thus like to map the End button to Home by default so that long pressing it will bring up the recent app list while leaving power as both power(sleep) and end call. Before I submit a patch to do this, I'd like to poll the community of rhodium XDAndroid users as a whole on this change.
NOTE: I can't seem to edit my poll now that I've put it up. The first option in the poll at the top is the current behavior, the second option is the old behavior, and the third behavior is what I'm proposing.
There's actually a thread over on PPCG that is all about restoring the previous functionality. Power = home, end = power basically.
We talked about making long press end key as recent apps, but that would require changes to the Android base.
Nate seems pretty dedicated to support changes and pump out new kernels accordingly, and it is a pretty simple change if you have the code and don't mind building
arrrghhh said:
There's actually a thread over on PPCG that is all about restoring the previous functionality. Power = home, end = power basically.
We talked about making long press end key as recent apps, but that would require changes to the Android base.
Nate seems pretty dedicated to support changes and pump out new kernels accordingly, and it is a pretty simple change if you have the code and don't mind building
Click to expand...
Click to collapse
I'd prefer that it be part of the official git. Is there a reason why we need to have two buttons that do exactly the same thing in the official build?
in the andriod settings, theres an option to change what the 'end' button does. works fine with me.
pantherzfinest said:
in the andriod settings, theres an option to change what the 'end' button does. works fine with me.
Click to expand...
Click to collapse
That option doesn't fix the long press, only the short press.
arrrghhh said:
There's actually a thread over on PPCG that is all about restoring the previous functionality. Power = home, end = power basically.
We talked about making long press end key as recent apps, but that would require changes to the Android base.
Click to expand...
Click to collapse
Long press as recent apps works fine for me. This isn't a problem if it's done in the navi_pad.kl files for the various rhodiums by setting end to home as the default.
Nate seems pretty dedicated to support changes and pump out new kernels accordingly, and it is a pretty simple change if you have the code and don't mind building
Click to expand...
Click to collapse
Yes, I've already done it, but I dislike the idea of dealing with forks, whether mine or someone else's. Nate's change is also the opposite of what I'm suggesting and requires changes in both the kernel and the rootfs. Mine only requires changes in rootfs. In fact, now that I think about it, it would be pretty easy to set up via a new startup.txt option that init would pull from /proc/cmdline much the way it currently does the keyboard option.
F22 said:
Given that:
1) Power and End are tied together in android so that any button that does one also does the other.
2) The Power button is now Power/End, and no longer Home.
3) There is no point in having two buttons that are both Power and End on a short press when there isn't a Home button.
3) There is no point in having two buttons that both bring up the power off/airplane mode/mute menu when no buttons bring up the Recent App List.
4) While it's currently possible to assign Home to End via the Spare Parts Menu, long pressing it still gives us the power off/ menu instead of the Recent App List.
I'd thus like to map the End button to Home by default so that long pressing it will bring up the recent app list. Before I submit a patch to do this, I'd like to poll the community of rhodium XDAndroid users as a whole on this change.
NOTE: I can't seem to edit my poll now that I've put it up. The first option in the poll at the top is the current behavior, the second option is the old behavior, and the third behavior is what I'm proposing.
Click to expand...
Click to collapse
let me be the first to say DUH!!!
noodles21o2 said:
let me be the first to say DUH!!!
Click to expand...
Click to collapse
LOL, Yup. But in my defense, let me just that I tried to edit it -before- anyone had voted. Another forum that I had dealt with extensively in the past had allowed me to edit a poll as long as nobody had voted. This one doesn't. Once it's up you're stuck with it as is.
rootfs.img
I've made available a rootfs.img for rhodiums that maps the end key to home and returns the recent apps list if you do a long press. If you have the 210 (T-Mobile US TP2), the 300 (AT&T Tilt2), the 400 (Sprint TP2), the 500 (Verizon TP2) or the Nordic version of the 100, then it also has some other keymap/layout additions baked in too like a working SYM key.
This rootfs was built from the XDAndroid rootfs git and is up to date as of the date on the file (currently Nov. 15th).
Instructions
1) Download the file from here.
2) Unzip the file via the 7zip utility
3) Rename it to rootfs.img
4) Drop it into your android boot folder.
5) Restart your phone in Android.
6) Go to to Settings->Accessibility and check the box that says: Power Button Ends Call.
7) Enjoy your new keys.
F22 said:
I've made available a rootfs.img for rhodiums that maps the end key to home and returns the recent apps list if you do a long press. If you have the 210 (T-Mobile US TP2), the 300 (AT&T Tilt2), the 400 (Sprint TP2), the 500 (Verizon TP2) or the Nordic version of the 100, then it also has some other keymap/layout additions baked in too like a working SYM key.
This rootfs was built from the XDAndroid rootfs git and is up to date as of the date on the file (currently Nov. 15th).
Instructions
1) Download the file from here.
2) Unzip the file via the 7zip utility
3) Rename it to rootfs.img
4) Drop it into your android boot folder.
5) Restart your phone.
6) Enjoy your new keys
Click to expand...
Click to collapse
Thanks, but with your changes, the end key no longer ends calls! I had to revert back.
toadlife said:
Thanks, but with your changes, the end key no longer ends calls! I had to revert back.
Click to expand...
Click to collapse
LOL that's a good point. I couldn't figure out how to end the call either... other than hitting menu, then end call. Perhaps we need to get the N1 in-call screen..
Thanks for the Feedback!
toadlife said:
Thanks, but with your changes, the end key no longer ends calls! I had to revert back.
Click to expand...
Click to collapse
The power button was supposed to play double duty, acting as end call with a telephone call, and otherwise act as sleep on a short press. But arrrghhh informs me it isn't working. Thank you for testing this and reporting back. I'll look into it further when I get back later tonight.
End Call Problem Solved
F22 said:
The power button was supposed to play double duty, acting as end call with a telephone call, and otherwise act as sleep on a short press. But arrrghhh informs me it isn't working. Thank you for testing this and reporting back. I'll look into it further when I get back later tonight.
Click to expand...
Click to collapse
I've looked into this and found an incredibly easy solution. Simply click on Settings in your launcher, go to Accessibility, and then check the box that says:
Power Button Ends Call
It's that easy. Once that's done, during a call, pressing power will end the call instead of putting the phone to sleep. Furthermore, I've tested it on my own rhodium and it works. I've updated the instructions in post #9 to include this solution.
I'm running the latest Blazn build and have the end button set up to "home, then sleep" under the Spare Parts.
Long press on the power button brings up recent apps.
bonestock said:
I'm running the latest Blazn build and have the end button set up to "home, then sleep" under the Spare Parts.
Long press on the power button brings up recent apps.
Click to expand...
Click to collapse
Must not be running the newest kernel/rootfs then.
bonestock said:
I'm running the latest Blazn build and have the end button set up to "home, then sleep" under the Spare Parts.
Long press on the power button brings up recent apps.
Click to expand...
Click to collapse
Your kernel is over a month old. That was changed in the kernel on Oct. 11th. The power button no longer behaves as home. It's now sleep on a short press and brings up the power menu (shutdown/airplane mode/mute) on a long press for all newer installations as well as old installations that have updated their kernels.
I think it would be a mistake to make a short press of the end button not end a call. Likewise, but of lesser impact probably, you should be able to press the power button to perform some power related function. These are pretty universal buttons on all phones and if you can't end a call by pressing the end call button, well, I think you are going to have problems with a lot of normal users.
Great work by the way!
mrc13an said:
I think it would be a mistake to make a short press of the end button not end a call. Likewise, but of lesser impact probably, you should be able to press the power button to perform some power related function. These are pretty universal buttons on all phones and if you can't end a call by pressing the end call button, well, I think you are going to have problems with a lot of normal users.
Great work by the way!
Click to expand...
Click to collapse
I think what I'm going to submit is a new command line option for startup.txt that makes button 4 HOME/RecentApps instead of ENDCALL/PhoneOptions. This way people who are happy with the current behavior of the end key can continue to end their calls with it, while those of us who aren't, can add an additional "b4=HOME" argument to the command line and get the behavior that we desire as well.
These buttons are by no means universal. Many phones outside of Windows Mobile lack them, or have them sharing duties. Furthermore the "power-related function" that the power button currently performs within XDAndroid during a call is sleep/lock screen without ending the call, just as it does outside of a call. Is this in any way useful to anyone? Google decided it wasn't and the power button now acts as hangup during a telephone call on newer android phones. This makes a lot of sense given that it's a lot easier to press the power button if you're operating your phone one-handed then the end call key.
F22 said:
These buttons are by no means universal. Many phones outside of Windows Mobile lack them, or have them sharing duties. Furthermore the "power-related function" that the power button currently performs within XDAndroid during a call is sleep/lock screen without ending the call, just as it does outside of a call. Is this in any way useful to anyone? Google decided it wasn't and the power button now acts as hangup during a telephone call on newer android phones. This makes a lot of sense given that it's a lot easier to press the power button if you're operating your phone one-handed then the end call key.
Click to expand...
Click to collapse
Excellent points, I agree completely. As we discussed in IRC, I believe the best option is to have the buttons do what they say they do by default, so people used to WinMo don't have heart attacks.
However, the option of being able to choose which button does what from a startup.txt command is brilliant, and I think a perfect solution to the problem. That way people who know what they're doing and know what they want can change the behavior very easily.
DO EEEEEEEET
mrc13an said:
These are pretty universal buttons on all phones and if you can't end a call by pressing the end call button, well, I think you are going to have problems with a lot of normal users.
Click to expand...
Click to collapse
Not at all. My mom's new LG P500 actually lacks both Call and End Call Buttons. It has four buttons at the front just like TP2, but these are Menu, Home, Back and Search. Power Button acts only as Sleep by default. As far as I can see it's the same story with Desire.
I think that Power Button acting as End Call would be perfectly fine for the most users. Only because we have a button labeled End Call on TP2 doesn't mean that this button must end calls.
Hi, i just updated my phone to Nougat, and i miss the feature of long pressing the recent apps button that gives me a menu button (MM feature?). Is it possible to activate that again? It seems to be replaced with split window feature. In addition, in the display settings, in the buttons section enables the menu button. Does that only show the menu (three dots) button on apps only? (has nothing to do with the capacitive buttons on the phone?)
Thank you for reading this, look forward to a reply
Before Nougat:
Choose from the options: Always open recent apps. Press for menu, press and hold for recent apps. Press for recent apps, press and hold for menu.
After Update:
Display options - buttons- menu button
holding the button on the right to open up split screen is a feature of nougat.
I knew of the feature to hold the button down to bring up a menu, but im guessing it wasnt widely utilised, hence its removal.
There may be a way, using root, to change what the button does, but I wouldnt know how. Someone else probably does though.
silegeek said:
holding the button on the right to open up split screen is a feature of nougat.
I knew of the feature to hold the button down to bring up a menu, but im guessing it wasnt widely utilised, hence its removal.
There may be a way, using root, to change what the button does, but I wouldnt know how. Someone else probably does though.
Click to expand...
Click to collapse
Hey thats a bummer, i loved that feature! i not really fond of the split screen feature, its not really that useful to me.
Thanks for letting me know. Hopefully, ill flash a custom rom on this phone soon.
This is bull****! They could at least give us a choice of choosing what does the button do. Now I will have to install a custom rom to get back that menu button
Can someone who has a Twitter account describe this menu button issue to Graham Wheeler or Mo Versi ?
We`ll get a better chance of them fixing it then.
Hi All,
In CM13 I grew accustom to long pressing the menu button (square shape on the navigation bar) to switch instantly to my previous app. In Lineage OS 14.1 this shortcut is no longer default (on my device it's a split screen shortcut).
In the settings (, I found a way to reassign the home button's long press action, but I haven't been able to find a way to reassign the menu button's long press action.
Is this possible in stock? Please let me know if I've missed it. Thanks
It's now done by double-tapping the recent apps button (where you assigned it) - a change introduced in Nougat, not just in LOS. Even faster than having to hold down the button, but sure takes some getting used to.
AndyYan said:
It's now done by double-tapping the recent apps button (where you assigned it) - a change introduced in Nougat, not just in LOS. Even faster than having to hold down the button, but sure takes some getting used to.
Click to expand...
Click to collapse
Thanks, it works and it's surprinsgly fast. Would have taken me a long time to figure this out without your help.
I just got a HTC10 to upgrade from the M9 I had, and so far, I'm liking it, even with the stock ROM (but rooted with Sprint bloatware frozen), but one thing I haven't been able to figure out is the home/fingerprint button behavior. If I'm at the home screen and I press it, I don't have a huge issue with it bringing up all the screens for me to pick which one I want (but long press for it would be better), but I find it annoying that when I am in an app and press it, it takes be to the screen where I have to select which page I want, rather than to the last one I was on. Is there a way that I am overlooking to change this behavior?
SubnetMask said:
I just got a HTC10 to upgrade from the M9 I had, and so far, I'm liking it, even with the stock ROM (but rooted with Sprint bloatware frozen), but one thing I haven't been able to figure out is the home/fingerprint button behavior. If I'm at the home screen and I press it, I don't have a huge issue with it bringing up all the screens for me to pick which one I want (but long press for it would be better), but I find it annoying that when I am in an app and press it, it takes be to the screen where I have to select which page I want, rather than to the last one I was on. Is there a way that I am overlooking to change this behavior?
Click to expand...
Click to collapse
I think you mean the multitask button rather than the home button, and if you double press it it switches back to the previous app.
Tarima said:
I think you mean the multitask button rather than the home button, and if you double press it it switches back to the previous app.
Click to expand...
Click to collapse
I think you are correct... but why why should I have to press the button once to get where I need a few more presses to get where I want or press it once plus still need few more presses to get where I want? Is there any way to change this misbehavior?
I guess you could say my annoyance with this (mis)behavior is related to muscle memory... Every other Android phone I've had would take you to your last 'home' page when you pressed the similar button.. This one is (mis)behaving differently from every other phone I've had... It woudl be really nice to change it.
FWIW, I was finally able to change the behavior of the home/multi-function/fingerprint button - by ditching the HTC ROM for LinageOS 14.1. Better battery life, no sprint junk, seems to run better overall and I can actually assign different ringtones or sounds to different contacts. For whatever reason, that option seemed to be absent on the HTC ROM.
I still don't get what behavior you mean? Or do you mean that when you press the home button you are taken to the standard home screen, instead of for example the app drawer or another home screen page? Quite confusing what you mean
Sent from my HTC 10 using XDA Labs
I've got myself a Samsung A70. and after researching for ages how to do a screen shot or what ever the new name for it is.
I find out how to do this, you have to hold the power button then press the volume button, which then turns the volume up, 2nd attempt turns the volume down, 3rd attempt you try move your hands differently and you get a screen shot, of a different page you accidentally clicked on whilst trying to screen shot, then next attempt, I think I've got it, NO I don't want to turn the phone off, grrr. But eventually when you do get a screen shot, it has the volume change across the top.
Does anyone know how to alter the screen shot to the normal power button, the the central button on the bottom?
JamieSD22 said:
I've got myself a Samsung A70. and after researching for ages how to do a screen shot or what ever the new name for it is.
I find out how to do this, you have to hold the power button then press the volume button, which then turns the volume up, 2nd attempt turns the volume down, 3rd attempt you try move your hands differently and you get a screen shot, of a different page you accidentally clicked on whilst trying to screen shot, then next attempt, I think I've got it, NO I don't want to turn the phone off, grrr. But eventually when you do get a screen shot, it has the volume change across the top.
Does anyone know how to alter the screen shot to the normal power button, the the central button on the bottom?
Click to expand...
Click to collapse
Mine doesn't work that way:
I press and hold the power button (no more than a 1 /2 second - you don't want the phone to display the power/restart options) then almost immediately press the VOLUME DOWN key for a 1/2 of a second at most (still holding the power button) and release the volume DOWN button - screenshot should be taken (screen shrinks/comes back). Release all buttons now of course.
Hope it works, let all know if it does.
:good:
JamieSD22 said:
I've got myself a Samsung A70. and after researching for ages how to do a screen shot or what ever the new name for it is.
I find out how to do this, you have to hold the power button then press the volume button, which then turns the volume up, 2nd attempt turns the volume down, 3rd attempt you try move your hands differently and you get a screen shot, of a different page you accidentally clicked on whilst trying to screen shot, then next attempt, I think I've got it, NO I don't want to turn the phone off, grrr. But eventually when you do get a screen shot, it has the volume change across the top.
Does anyone know how to alter the screen shot to the normal power button, the the central button on the bottom?
Click to expand...
Click to collapse
You put your whole thumb on the power button and the vol down button and you click both of them at the same time.
Easier to click the buttons than swipe your hand across the screen.
gaplayer26 said:
Mine doesn't work that way:
I press and hold the power button (no more than a 1 /2 second - you don't want the phone to display the power/restart options) then almost immediately press the VOLUME DOWN key for a 1/2 of a second at most (still holding the power button) and release the volume DOWN button - screenshot should be taken (screen shrinks/comes back). Release all buttons now of course.
Hope it works, let all know if it does.
:good:
Click to expand...
Click to collapse
Yep that's practically how every Samsung device works, infact every device I've owned, so it seems the issue is simply pilot error.
You can even do the same thing in TWRP.
What is TWRP.
I've had loads of other Samsung's phones been the power button and the main enter button on the bottom.
I've tried doing one first then the other and I get the power turn off option.
But them both with my thumb seems to work most of the time, cheers for that. I think the phone case I have causes me some problems, but both with my thumb seems to work for the last few mins that I've tried thanks.
ashyx said:
Yep that's practically how every Samsung device works, infact every device I've owned, so it seems the issue is simply pilot error.
You can even do the same thing in TWRP.
Click to expand...
Click to collapse
You could always turn to the dark side and say "Hey Google, take a screenshot" LOL
Just press and hold both at the same time. If you are finding that awkward using your right thumb then use your index and middle finger on your left hand.